From e38a6af2b20e285373bb95fb200064af51d739f3 Mon Sep 17 00:00:00 2001 From: mdb Date: Tue, 11 Mar 2003 00:53:40 +0000 Subject: [PATCH] Use links instead of forms with image submit buttons. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1065 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- runtime/twodue/web/index.wm | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/runtime/twodue/web/index.wm b/runtime/twodue/web/index.wm index 0adcb324..72b64a4b 100644 --- a/runtime/twodue/web/index.wm +++ b/runtime/twodue/web/index.wm @@ -16,10 +16,6 @@ $ocats.clear() #foreach ($task in $otask.tasks) -
-$form.fixedHidden("action", "complete") -$form.fixedHidden("task", "$task.taskId") - #if ($ocats.checkCategory($task.complexity)) $task.complexity #set ($border = "") @@ -29,7 +25,8 @@ $form.fixedHidden("task", "$task.taskId") #if ($username == $task.owner) -$form.imageSubmit("submit", "", "images/complete.png", "Mark as completed") + +Mark as completed #else   #end @@ -41,8 +38,7 @@ $form.imageSubmit("submit", "", "images/complete.png", "Mark as completed") $task.getDisplayCategory() - -
+Edit this task #end #end @@ -84,8 +80,6 @@ Outstanding tasks: $xcats.clear() #foreach ($task in $xtask.tasks) -
-$form.fixedHidden("task", "$task.taskId") #if ($xcats.checkCategory($task.complexity)) $task.complexity @@ -95,7 +89,8 @@ $form.fixedHidden("task", "$task.taskId") #end -$form.imageSubmit("action", "claim", "images/claim.png", "Claim this task") + +Claim this task $task.summary   [$task.creator] #if (!$string.blank($task.notes)) @@ -104,9 +99,8 @@ $form.fixedHidden("task", "$task.taskId") $task.getDisplayCategory() - +Edit this task -
#end #end @@ -146,7 +140,7 @@ Filter on single word:
$task.getDisplayCategory() - +Edit this task #end