JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
update wfpl and templates
[contractor-progress.git] / index.html
index 41b508a..01b98db 100644 (file)
 </head>
 
 <body>
-  <!--~main_body start~-->
-
-  <h2>Progress Manager</h2>
-
-  <p>This page is for giving Jason Woofenden work and figuring out the details of the associated tasks, costs and priorities.</p>
-
-  <p><a href="tasks?tasks_new=1">Add a task</a> &bull; <a href="tasks?tasks_new_bug=1">Report a problem</a><!--~su_link start~--> &bull; <a href="su">Switch login</a><!--~end~--><!-- &bull; <a href="pay">Pay Jason</a>--></p>
-
-  <!--~needs_attention_header start~-->
-    <h3>Tasks needing your attention:</h3>
-  <!--~end~-->
-    <!--~needs_approval_row start~-->
-    <div class="task_link">~client.html~ <a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title.html~</a> (~task_state~)</div>
-    <!--~end~-->
-    <!--~needs_fixing_row start~-->
-    <div class="task_link">~client.html~ <a href="tasks?tasks_edit_id=~task_id~">#~task_id~: ~task_title.html~</a> (~task_state~)</div>
-    <!--~end~-->
-
-  <!--~jason start~-->
-    <h3>Tasks waiting for Jason:</h3>
-    <!--~jason_row start~-->
-    <div class="task_link"><a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title.html~</a> (~task_state~)</div>
-    <!--~end~-->
-  <!--~end~-->
-
-  <!--~jason_working start~-->
-    <h4>Jason is currently working on:</h4>
-    <!--~jason_working_row start~-->
-    <div class="task_link"><a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title.html~</a> (~task_price.money~)</div>
-    <!--~end~-->
-  <!--~end~-->
-
-  <!--~queue start~-->
-    <h4>Queued tasks</h4>
-    <div>Jason hasn't started on these yet, so you can change them if you want. At some point you'll also be able to prioritize them.</div>
-    <!--~queue_row start~-->
-    <div class="task_link"><span class="updown"><div class="updown_links"> <a href="tasks?tasks_edit_id=~task_id~&amp;bump=down">later</a> <a href="tasks?tasks_edit_id=~task_id~&amp;bump=up">sooner</a> <a href="tasks?tasks_edit_id=~task_id~&amp;bump=bottom">last</a> <a href="tasks?tasks_edit_id=~task_id~&amp;bump=top">first</a></div></span> ~client.html~ <a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title.html~</a> (~task_price.money~)</div>
-    <!--~end~-->
-  <!--~end~-->
-
-  <!--~finished_unpaid start~-->
+  <!--~$body show {~-->
+
+    <h2>Progress Manager</h2>
+
+    <p>This page is for giving ~contractor_full_name html~ work and figuring out the details of the associated tasks, costs and priorities.</p>
+
+    <p><a href="tasks?tasks_new=1">Add a task</a> &bull; <!--~not_contractor_links {~--><a href="tasks?tasks_new_bug=1">Report a problem</a><!-- &bull; <a href="pay">Pay ~contractor_name html~</a>--><!--~}~--><!--~contractor_links {~--><a href="people">Manage accounts</a><!--~}~--><!--~su_link {~--> &bull; <a href="su">Switch login</a><!--~}~--></p>
+
+    <div class="cb1">
+    <div class="cb2">
+    <div class="cb3">
+
+
+
+    <!--~contractor_todo {~-->
+      <div class="cbh1"><div class="cbh2"><div class="cbh3">Do these soon!</div></div></div>
+      <div>(And don't forget the queue below this section.)</div>
+    <!--~}~-->
+
+    <!--~nothing_needs_your_attention {~-->
+      <div class="cbh1"><div class="cbh2"><div class="cbh3">Nothing is waiting for you!</div></div></div>
+      <div>There are no tasks in the database that are waiting for your attention.</div>
+    <!--~}~-->
+
+    <!--~these_need_your_attention {~-->
+      <div class="cbh1"><div class="cbh2"><div class="cbh3">Tasks waiting for you</div></div></div>
+      <div>These tasks are waiting for your attention.</div>
+    <!--~}~-->
+
+    <!--~this_needs_your_attention {~-->
+      <div class="cbh1"><div class="cbh2"><div class="cbh3">A task waiting on you</div></div></div>
+      <div>This task is waiting for your attention.</div>
+    <!--~}~-->
+
+    <!--~do_fix {~-->
+      <h3>Fix</h3>
+      <!--~do_fix_row {~-->
+        <div class="task_link">~client html~: <a href="tasks?tasks_edit_id=~task_id~">#~task_id~: ~task_title html~</a></div>
+      <!--~}~-->
+    <!--~}~-->
+
+    <!--~do_finish {~-->
+      <h3>Finish</h3>
+      <!--~do_finish_row {~-->
+        <div class="task_link">~client html~: <a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a></div>
+      <!--~}~-->
+    <!--~}~-->
+
+    <!--~do_price {~-->
+      <h3>Price</h3>
+      <!--~do_price_row {~-->
+        <div class="task_link">~client html~: <a href="tasks?tasks_edit_id=~task_id~">#~task_id~: ~task_title html~</a></div>
+      <!--~}~-->
+    <!--~}~-->
+
+
+
+
+    <!--~do_approve_price {~-->
+      <h3>Approve Prices</h3>
+      <!--~do_approve_price_plural {~-->
+        <div class="task_state_note">(These tasks are waiting for you to approve their prices.)</div>
+      <!--~}~-->
+      <!--~do_approve_price_singular {~-->
+        <div class="task_state_note">(This task is waiting for you to approve its price.)</div>
+      <!--~}~-->
+      <!--~do_approve_price_row {~-->
+        <div class="task_link"><a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a></div>
+      <!--~}~-->
+    <!--~}~-->
+
+    <!--~do_clarify {~-->
+      <h3>Clarify</h3>
+      <!--~do_clarify_plural {~-->
+        <div class="task_state_note">(These tasks are waiting for you to clarify their descriptions. Please replace all occurences of "FIXME" in their descriptions with details on exactly what you'd like.)</div>
+      <!--~}~-->
+      <!--~do_clarify_singular {~-->
+        <div class="task_state_note">(This task is waiting for you to clarify its description. Please replace all occurences of "FIXME" in the description with details on exactly what you'd like.)</div>
+      <!--~}~-->
+      <!--~do_clarify_row {~-->
+        <div class="task_link"><a href="tasks?tasks_edit_id=~task_id~">#~task_id~: ~task_title html~</a></div>
+      <!--~}~-->
+    <!--~}~-->
+
+    <!--~do_test {~-->
+      <h3>Test</h3>
+      <!--~do_test_plural {~-->
+        <div class="task_state_note">(These tasks are waiting for you to test them. Please read through each description, and see that every part of it has been finished before clicking "Mark this task as finished".)</div>
+      <!--~}~-->
+      <!--~do_test_singular {~-->
+        <div class="task_state_note">(This tasks is waiting for you to test it. Please read through the description, and see that every part of it has been finished before clicking "Mark this task as finished".)</div>
+      <!--~}~-->
+      <!--~do_test_row {~-->
+        <div class="task_link"><a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a></div>
+      <!--~}~-->
+    <!--~}~-->
+
+    <!--~do_draft {~-->
+      <h3>Drafts</h3>
+      <!--~do_draft_plural {~-->
+        <div class="task_state_note">(When you are finished writing these task descriptions, you can click "Save and request price".)</div>
+      <!--~}~-->
+      <!--~do_draft_singular {~-->
+        <div class="task_state_note">(When you are finished writing this task description, you can click "Save and request price".)</div>
+      <!--~}~-->
+      <!--~do_draft_row {~-->
+        <div class="task_link"><a href="tasks?tasks_edit_id=~task_id~">#~task_id~: ~task_title html~</a></div>
+      <!--~}~-->
+    <!--~}~-->
+
+    <!--~do_on_hold {~-->
+      <h3>On Hold</h3>
+      <!--~do_on_hold_plural {~-->
+        <div class="task_state_note">(These tasks are on hold. When/if you are ready for one to be implemented, click on it, then click "Save and request price".)</div>
+      <!--~}~-->
+      <!--~do_on_hold_singular {~-->
+        <div class="task_state_note">(This task is on hold. When/if you are ready for it to be implemented, click on it, then click "Save and request price".)</div>
+      <!--~}~-->
+      <!--~do_on_hold_row {~-->
+        <div class="task_link"><a href="tasks?tasks_edit_id=~task_id~">#~task_id~: ~task_title html~</a></div>
+      <!--~}~-->
+    <!--~}~-->
+
+  </div>
+  </div>
+  </div>
+
+
+  <!--~contractor_will {~-->
+    <h3>~contractor_name html~'s To-Do list</h3>
+    <!--~contractor_will_plural {~-->
+      <div class="task_state_note">(These tasks are waiting for ~contractor_name html~'s attention.)</div>
+    <!--~}~-->
+    <!--~contractor_will_singular {~-->
+      <div class="task_state_note">(This task is waiting for ~contractor_name html~'s attention.)</div>
+    <!--~}~-->
+    <!--~contractor_will_row {~-->
+    <div class="task_link"><a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a> (~task_state~)</div>
+    <!--~}~-->
+  <!--~}~-->
+
+  <!--~queue {~-->
+    <h3>Queued tasks</h3>
+    <!--~queue_plural {~-->
+      <div class="task_state_note">(You can use the arrows to set which tasks ~contractor_name html~ will do next.)</div>
+    <!--~}~-->
+    <!--~queue_singular {~-->
+      <div class="task_state_note">(~contractor_name html~ will do the following task next.)</div>
+    <!--~}~-->
+    <!--~queue_row {~-->
+    <div class="task_link"><!--~not_the_only_queued {~--><span class="updown"><div class="updown_links"> <a href="tasks?tasks_edit_id=~task_id~&amp;bump=down">later</a> <a href="tasks?tasks_edit_id=~task_id~&amp;bump=up">sooner</a> <a href="tasks?tasks_edit_id=~task_id~&amp;bump=bottom">last</a> <a href="tasks?tasks_edit_id=~task_id~&amp;bump=top">first</a></div></span> <!--~}~--><!--~queued_for {~-->~client html~: <!--~}~--><a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a> (~task_price money~)</div>
+    <!--~}~-->
+  <!--~}~-->
+
+  <!--~finished_untested {~-->
+    <h3>Finished but not tested</h3>
+    <!--~finished_untested_row {~-->
+    <div class="task_link">~client html~ <a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a> (~task_price money~)</div>
+    <!--~}~-->
+    <div>Total: ~task_total money~</div>
+  <!--~}~-->
+
+  <!--~finished_unpaid {~-->
     <h3>Finished tasks</h3>
-    <!--~finished_unpaid_row start~-->
-    <div class="task_link">~client.html~ <a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title.html~</a> (~task_price.money~)</div>
-    <!--~end~-->
-    <div>Total: ~task_total.money~</div>
-  <!--~end~-->
+    <!--~finished_unpaid_row {~-->
+    <div class="task_link">~client html~ <a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a> (~task_price money~)</div>
+    <!--~}~-->
+    <div>Total: ~task_total money~</div>
+  <!--~}~-->
+
+  <!--~unpaid_totals {~-->
+    <h3>Unpaid totals</h3>
+    <table cellpadding="3" cellspacing="0" border="1" summary="">
+    <tr><th>Client</th><th>Queued<br />&amp; WIP</th><th>Done</th><th>Done &amp;<br />Tested</th><th>Done But<br />Not Tested</th></tr>
+    <!--~unpaid_totals_row {~-->
+    <tr><td>~client html~</td><td class="num">~queued_total money~</td><td class="num">~done_total money~</td><td class="num">~tested_total money~</td><td class="num">~not_tested_total money~</td></tr>
+    <!--~}~-->
+    </table>
+  <!--~}~-->
 
-  <!--~finished_paid start~-->
+  <!--~finished_paid {~-->
     <h3>Finished and paid for</h3>
-    <!--~finished_paid_row start~-->
-    <div class="task_link"><a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title.html~</div>
-    <!--~end~-->
-    <!--~finished_paid_and_more start~-->
+    <!--~finished_paid_row {~-->
+    <div class="task_link">~client html~ <a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a></div>
+    <!--~}~-->
+    <!--~finished_paid_and_more {~-->
     <div class="task_link">...</div>
-    <!--~end~-->
-  <!--~end~-->
+    <!--~}~-->
+  <!--~}~-->
 
-<!--~end~-->
+<!--~}~-->
 </body>
 </html>