git-svn-id: https://samskivert.googlecode.com/svn/trunk@1317 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
Two Due:
|
||||
<a href="index.wm">$i18n.xlate("app_footer.summary_link")</a> |
|
||||
<a href="tasks.wm">$i18n.xlate("app_footer.tasks_link")</a> |
|
||||
<a href="bycategory.wm">$i18n.xlate("app_footer.bycategory_link")</a> |
|
||||
<a href="/register/">$i18n.xlate("app_footer.account_link")</a>
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
#set ($title = $i18n.xlate("index.title"))
|
||||
#import ("/header.wm")
|
||||
|
||||
<p align="center">
|
||||
<table><tr>
|
||||
<td><a href="index.wm">Task summary</a></td>
|
||||
<td width="15"> </td>
|
||||
<td><a href="tasks.wm">By priority</a></td>
|
||||
<td width="15"> </td>
|
||||
<form action="bycategory.wm">
|
||||
<td>Filter: <input name="query" size="10"></td>
|
||||
</form>
|
||||
<td width="15"> </td>
|
||||
<td>Click the wrench to claim a task.</td>
|
||||
</tr></table>
|
||||
|
||||
<p>
|
||||
|
||||
<b>
|
||||
#if ($query)
|
||||
Tasks matching '$query':
|
||||
#else
|
||||
Outstanding tasks:
|
||||
#end
|
||||
</b>
|
||||
|
||||
<table><tr><td valign="top"> <!-- two column table -->
|
||||
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="100%">
|
||||
#foreach ($xtask in $xtasks)
|
||||
#if ($vidx == $break)
|
||||
</table>
|
||||
</td><td width="15"> </td><td valign="top">
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="100%">
|
||||
#else
|
||||
#if ($vidx > 0)
|
||||
<tr><td colspan="4"> </td></tr>
|
||||
#end
|
||||
#end
|
||||
<tr style="color: $fcolor" bgcolor="$scolor"><td colspan="2" align="left">$xtask.name</td>
|
||||
<td colspan="2"> </td></tr>
|
||||
|
||||
$xcats.clear()
|
||||
#foreach ($task in $xtask.tasks)
|
||||
|
||||
#if ($xcats.checkCategory($task.complexity))
|
||||
<tr><td colspan="4" class="small" style="border-bottom: 1px solid"><i>$task.complexity</i></td></tr>
|
||||
#set ($border = "")
|
||||
#else
|
||||
#set ($border = 'style="border-top: 1px solid"')
|
||||
#end
|
||||
|
||||
<tr>
|
||||
<td><a href="index.wm?action=claim&task=$task.taskId">
|
||||
<img src="images/claim.png" border="0" alt="Claim this task"></a></td>
|
||||
<td $border>$task.summary
|
||||
<span class="small">[$task.creator]</span>
|
||||
#if (!$string.blank($task.notes))
|
||||
<a href="detail.wm?task=$task.taskId">[...]</a>
|
||||
#end
|
||||
</td>
|
||||
<td valign="top" $border>$task.getPriorityName()</td>
|
||||
<td valign="top" $border><a href="edit.wm?task=$task.taskId">
|
||||
<img src="images/edit.png" border="0" alt="Edit this task"></a></td>
|
||||
</tr>
|
||||
#end
|
||||
#end
|
||||
</table>
|
||||
</table>
|
||||
|
||||
#import ("/footer.wm")
|
||||
@@ -3,6 +3,7 @@
|
||||
## These colors are used for common UI elements
|
||||
#set ($tcolor = "#99CCFF")
|
||||
#set ($scolor = "#CCCCCC")
|
||||
#set ($fcolor = "#000000")
|
||||
|
||||
<html>
|
||||
<head>
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
<p>
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td valign="top">
|
||||
<tr><td width="50%">
|
||||
|
||||
<b>Owned tasks:</b>
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="100%">
|
||||
|
||||
@@ -12,7 +13,7 @@
|
||||
#if ($vidx > 0)
|
||||
<tr><td colspan="4"> </td></tr>
|
||||
#end
|
||||
<tr><td colspan="4" align="left" bgcolor="$scolor">$otask.name</td></tr>
|
||||
<tr><td colspan="4" align="left" style="color: $fcolor" bgcolor="$scolor">$otask.name</td></tr>
|
||||
|
||||
$ocats.clear()
|
||||
#foreach ($task in $otask.tasks)
|
||||
@@ -43,85 +44,10 @@ $ocats.clear()
|
||||
#end
|
||||
</table>
|
||||
|
||||
<p>
|
||||
<center class="small">Check the box to mark a task as completed.</center>
|
||||
|
||||
</td>
|
||||
|
||||
<td width="15"> </td>
|
||||
|
||||
<td valign="top">
|
||||
<b>
|
||||
#if ($query)
|
||||
Tasks matching '$query':
|
||||
#else
|
||||
Outstanding tasks:
|
||||
#if ($expand == "all")
|
||||
<a href="index.wm">[trim]</a>
|
||||
#else
|
||||
<a href="index.wm?expand=all">[show all]</a>
|
||||
#end
|
||||
#end
|
||||
</b>
|
||||
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="100%">
|
||||
#foreach ($xtask in $xtasks)
|
||||
#if ($vidx > 0)
|
||||
<tr><td colspan="4"> </td></tr>
|
||||
#end
|
||||
<tr bgcolor="$scolor"><td colspan="2" align="left">$xtask.name</td>
|
||||
<td colspan="2">
|
||||
#if ($xtask.pruned > 0)
|
||||
<a href="index.wm?expand=$xtask.name">($xtask.pruned ...)</a>
|
||||
#else
|
||||
|
||||
#end
|
||||
</td></tr>
|
||||
|
||||
$xcats.clear()
|
||||
#foreach ($task in $xtask.tasks)
|
||||
|
||||
#if ($xcats.checkCategory($task.complexity))
|
||||
<tr><td colspan="4" class="small" style="border-bottom: 1px solid"><i>$task.complexity</i></td></tr>
|
||||
#set ($border = "")
|
||||
#else
|
||||
#set ($border = 'style="border-top: 1px solid"')
|
||||
#end
|
||||
|
||||
<tr>
|
||||
<td><a href="index.wm?action=claim&task=$task.taskId">
|
||||
<img src="images/claim.png" border="0" alt="Claim this task"></a></td>
|
||||
<td $border>$task.summary
|
||||
<span class="small">[$task.creator]</span>
|
||||
#if (!$string.blank($task.notes))
|
||||
<a href="detail.wm?task=$task.taskId">[...]</a>
|
||||
#end
|
||||
</td>
|
||||
<td valign="top" $border>$task.getDisplayCategory()</td>
|
||||
<td valign="top" $border><a href="edit.wm?task=$task.taskId">
|
||||
<img src="images/edit.png" border="0" alt="Edit this task"></a></td>
|
||||
</tr>
|
||||
#end
|
||||
#end
|
||||
</table>
|
||||
|
||||
<p align="center">
|
||||
<table width="100%">
|
||||
<tr><td class="small" valign="top">Click the wrench to claim a task.</td>
|
||||
<td class="small"><form action="index.wm">
|
||||
Filter on single word:<br>
|
||||
<input name="query" size="10">
|
||||
</form>
|
||||
</center>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr><td colspan="3"> </td></tr>
|
||||
|
||||
<tr><td valign="top">
|
||||
<b>Recent completed tasks:</b>
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="100%">
|
||||
#foreach ($task in $dtasks)
|
||||
@@ -144,12 +70,10 @@ Filter on single word:<br>
|
||||
#end
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<p><b>Browse: <a href="bycategory.wm">by category</a>
|
||||
<a href="tasks.wm">by priority</a></b>
|
||||
|
||||
<td> </td>
|
||||
|
||||
<td valign="top">
|
||||
<b>Create new task:</b>
|
||||
<p><b>Create new task:</b>
|
||||
<form action="index.wm">
|
||||
$form.fixedHidden("action", "create")
|
||||
|
||||
@@ -187,13 +111,12 @@ $form.text("category", "size='10'", "")
|
||||
</td></tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" align="left" bgcolor="$scolor">
|
||||
<td colspan="2" align="left" style="color: $fcolor" bgcolor="$scolor">
|
||||
$form.checkbox("claim", false) Claim created task
|
||||
$form.checkbox("edit", false) Edit created task</td>
|
||||
<td align="right" bgcolor="$scolor">
|
||||
$form.submit("submit", "Create")</td></tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
</td></tr>
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
#set ($title = $i18n.xlate("index.title"))
|
||||
#import ("/header.wm")
|
||||
|
||||
<p align="center">
|
||||
<table><tr>
|
||||
<td><a href="index.wm">Task summary</a></td>
|
||||
<td width="15"> </td>
|
||||
<td><a href="bycategory.wm">By category</a></td>
|
||||
<td width="15"> </td>
|
||||
<form action="tasks.wm">
|
||||
<td>Filter: <input name="query" size="10"></td>
|
||||
</form>
|
||||
<td width="15"> </td>
|
||||
<td>Click the wrench to claim a task.</td>
|
||||
</tr></table>
|
||||
|
||||
<p>
|
||||
|
||||
<b>
|
||||
#if ($query)
|
||||
Tasks matching '$query':
|
||||
#else
|
||||
Outstanding tasks:
|
||||
#end
|
||||
</b>
|
||||
|
||||
<table><tr><td> <!-- two column table -->
|
||||
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="100%">
|
||||
#foreach ($xtask in $xtasks)
|
||||
#if ($xtask.name == "On the list")
|
||||
</table>
|
||||
</td><td width="15"> </td><td valign="top">
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="100%">
|
||||
#else
|
||||
#if ($vidx > 0)
|
||||
<tr><td colspan="4"> </td></tr>
|
||||
#end
|
||||
#end
|
||||
<tr style="color: $fcolor" bgcolor="$scolor"><td colspan="2" align="left">$xtask.name</td>
|
||||
<td colspan="2"> </td></tr>
|
||||
|
||||
$xcats.clear()
|
||||
#foreach ($task in $xtask.tasks)
|
||||
|
||||
#if ($xcats.checkCategory($task.complexity))
|
||||
<tr><td colspan="4" class="small" style="border-bottom: 1px solid"><i>$task.complexity</i></td></tr>
|
||||
#set ($border = "")
|
||||
#else
|
||||
#set ($border = 'style="border-top: 1px solid"')
|
||||
#end
|
||||
|
||||
<tr>
|
||||
<td><a href="index.wm?action=claim&task=$task.taskId">
|
||||
<img src="images/claim.png" border="0" alt="Claim this task"></a></td>
|
||||
<td $border>$task.summary
|
||||
<span class="small">[$task.creator]</span>
|
||||
#if (!$string.blank($task.notes))
|
||||
<a href="detail.wm?task=$task.taskId">[...]</a>
|
||||
#end
|
||||
</td>
|
||||
<td valign="top" $border>$task.getDisplayCategory()</td>
|
||||
<td valign="top" $border><a href="edit.wm?task=$task.taskId">
|
||||
<img src="images/edit.png" border="0" alt="Edit this task"></a></td>
|
||||
</tr>
|
||||
#end
|
||||
#end
|
||||
</table>
|
||||
</table>
|
||||
|
||||
#import ("/footer.wm")
|
||||
Reference in New Issue
Block a user