JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
reorganized main page, and got my name out of the code
[contractor-progress.git] / tasks.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5   <title>tasks entry</title>
6   <link rel="stylesheet" href="style.css" type="text/css" />
7 </head>
8
9 <body>
10   <!--~main_body {~-->
11
12 <!--~display_body {~-->
13   <h3><!--~normal_title {~-->Task #~task_id~<!--~}~--><!--~bug_title {~-->Problem Report<!--~}~--> "~title html~"</h3>
14
15
16   <p><strong>Title</strong>: ~title html~</p>
17
18   <p><strong>Status</strong>: ~state html~<!--~finished_at_section {~--> (finished on ~finished_at mmddyyyy~)<!--~}~--><!--~tested_at_section {~--> (tested on ~tested_at mmddyyyy~)<!--~}~--></p>
19
20   <p><strong>URL</strong>: <a target="_new" href="~url attr~">~url html~</a></p>
21
22   <p style="padding-left: 20px; text-indent: -20px"><strong>Narrative</strong>:<br />
23   ~description htmlbrtab~</p>
24
25   <!--~price_row {~--><p><strong>Price</strong>: ~price money~<!--~marked_paid {~--> &nbsp;&nbsp;<strong>Paid</strong><!--~}~--></p><!--~}~-->
26
27   <!--~mark_paid_link {~--><p><a href="tasks?tasks_mark_paid_id=~task_id attr~">Mark as paid</a></p><!--~}~-->
28
29   <!--~approve_price_link {~--><p><a href="tasks?tasks_approve_price_id=~task_id attr~">Approve price</a></p><!--~}~-->
30
31   <!--~normal_edit_link {~--><p><a href="tasks?tasks_edit_id=~task_id attr~">Edit this task</a></p><!--~}~-->
32   <!--~warning_edit_link {~--><p><a href="tasks?tasks_edit_id=~task_id attr~" onclick="return confirm('Editing this task will invalidate the price, proceed anyway?')">Edit this task</a></p><!--~}~-->
33
34   <!--~working_link {~--><p><a href="tasks?tasks_working_id=~task_id attr~">I'm starting on this now</a></p><!--~}~-->
35
36   <!--~hold_link {~--><p><a href="tasks?tasks_hold_id=~task_id attr~">Place this task on hold</a></p><!--~}~-->
37
38   <!--~needs_testing_link {~--><p><a href="tasks?tasks_needs_testing_id=~task_id attr~">Mark this task as finished (request testing)</a></p><!--~}~-->
39
40   <!--~finished_link {~--><p>Please test everything in the narrative! If everything is working, <a href="tasks?tasks_finished_id=~task_id attr~">Mark this task as finished</a> Otherwise please e-mail or call Jason.</p><!--~}~-->
41
42   <p><a href="./">Back</a></p>
43 <!--~}~-->
44
45 <!--~edit_body {~-->
46   <h3><!--~bug_msg {~-->Report a problem<!--~}~--><!--~new_msg {~-->Add a new task<!--~}~--><!--~edit_msg {~-->Edit task #~tasks_edit_id~ "~title html~"<!--~}~--></h3>
47
48   <form action="tasks" method="post"><!--~editing {~--><input type="hidden" name="tasks_edit_id" value="~tasks_edit_id attr~" /><!--~}~-->
49     <table cellspacing="0" cellpadding="4" border="0" summary="">
50
51 <!--~client_row {~-->
52       <tr><td class="caption">Client: </td><td class="field"><select name="client_id"><option value="">Choose One...</option><!--~client_id options~--></select></td></tr>
53 <!--~}~-->
54
55       <tr><td class="caption">Title: </td><td class="field"><input type="text" size="40" name="title" value="~title attr~" /></td></tr>
56
57       <tr><td class="caption">URL: </td><td class="field"><input type="text" size="40" name="url" value="~url attr~" /></td></tr>
58
59
60       <tr><td colspan="2">
61       <!--~fixme_instructions {~-->The narrative below contains "FIXME". This is Jason's way of marking the places in the narrative that need your attention. Please update these parts of the narrative to be more complete/specific and remove the "FIXME".<!--~}~-->
62       <!--~set_price_instructions {~-->Mark trouble spots with "FIXME".<!--~}~-->
63       <!--~normal_instructions {~-->Below, write as if the change/addition you would like has already been implemented. Write a first-person narrative with the specifics of what you do and what you see as a result. <a target="_new" href="narrative_example">See an example</a>.<!--~}~-->
64       <!--~bug_instructions {~-->Below, describe in detail 1) what you do, 2) what you expect to see, 3) what you see instead<!--~}~-->
65       </td></tr>
66       <tr><td colspan="2" class="field"><textarea rows="20" cols="50" name="description">~description html~</textarea></td></tr>
67 <!--~price_field {~-->
68       <tr><td class="caption">Price: </td><td class="field"><input type="text" size="10" name="price" value="~price attr~" /></td></tr>
69 <!--~}~-->
70 <!--~contractor_submits {~-->
71       <tr><td colspan="2"><input type="submit" name="save_price" value="Save With Price" /> (directly to queue if &lt;= tiny)</td></tr>
72       <tr><td colspan="2"><input type="submit" name="save_price_no_tiny" value="Await Price Approval" /> (even if it's &lt;= tiny agreement)</td></tr>
73       <tr><td colspan="2"><input type="submit" name="save_draft" value="Save As Draft" /></td></tr>
74       <tr><td colspan="2"><input type="submit" name="needs_clarification" value="Needs Clarification" /></td></tr>
75 <!--~}~-->
76 <!--~normal_submits {~-->
77       <tr><td class="submit_row" colspan="2"><input type="submit" name="request_price" value="Save and Request Price" /></td></tr>
78       <tr><td class="submit_row" colspan="2"><input type="submit" name="save_draft" value="Save Draft" /></td></tr>
79 <!--~}~-->
80 <!--~bug_submit {~-->
81       <tr><td class="submit_row" colspan="2"><input type="submit" name="save_bug" value="Send Problem Report" /></td></tr>
82 <!--~}~-->
83     </table>
84   </form>
85
86   <p><a href="./">Cancel</a></p>
87 <!--~}~-->
88
89
90 <!--~}~-->
91 </body>
92 </html>