JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
update wfpl and templates
[contractor-progress.git] / index.html
index 34d035c..01b98db 100644 (file)
 </head>
 
 <body>
-  <!--~main_body {~-->
+  <!--~$body show {~-->
 
-  <h2>Progress Manager</h2>
+    <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>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 Jason</a>--><!--~}~--><!--~contractor_links {~--><a href="people">Manage accounts</a><!--~}~--><!--~su_link {~--> &bull; <a href="su">Switch login</a><!--~}~--></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>
 
-  <!--~needs_attention_header {~-->
-    <h3>Tasks needing your attention:</h3>
-  <!--~}~-->
-    <!--~needs_approval_row {~-->
-    <div class="task_link">~client html~ <a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a> (~task_state~)</div>
+    <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>
     <!--~}~-->
-    <!--~needs_fixing_row {~-->
-    <div class="task_link">~client html~ <a href="tasks?tasks_edit_id=~task_id~">#~task_id~: ~task_title html~</a> (~task_state~)</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>
     <!--~}~-->
 
-  <!--~jason {~-->
-    <h3>Tasks waiting for Jason:</h3>
-    <!--~jason_row {~-->
-    <div class="task_link"><a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a> (~task_state~)</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>
     <!--~}~-->
-  <!--~}~-->
 
-  <!--~jason_working {~-->
-    <h4>Jason is currently working on:</h4>
-    <!--~jason_working_row {~-->
-    <div class="task_link"><a href="tasks?tasks_id=~task_id~">#~task_id~: ~task_title html~</a> (~task_price money~)</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 {~-->
-    <h4>Queued tasks</h4>
-    <div>Jason hasn't started on these yet. You can use the arrows to set the priority order. Jason will do the top one first.</div>
+    <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"><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>
+    <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>
     <!--~}~-->
   <!--~}~-->