Initial implementation of a simple week view.
[timetracker.git] / WEB-INF / templates / week.tpl
1 {include file="time_script.tpl"}
2
3 <style>
4 .not_billable td {
5   color: #ff6666;
6 }
7 </style>
8
9 {$forms.weekTimeForm.open}
10 <table cellspacing="4" cellpadding="0" border="0">
11 {if defined(WEEK_VIEW_DEBUG)}
12   <tr>
13     <td align="center" colspan=2">
14       <a href="time.php?date={$selected_date->toString()}">{$i18n.label.day_view}</a>&nbsp;/&nbsp;<a href="week.php?date={$selected_date->toString()}">{$i18n.label.week_view}</a>
15     </td>
16   </tr>
17 {/if}
18   <tr>
19     <td valign="top">
20       <table>
21 {if $on_behalf_control}
22         <tr>
23           <td align="right">{$i18n.label.user}:</td>
24           <td>{$forms.weekTimeForm.onBehalfUser.control}</td>
25         </tr>
26 {/if}
27       </table>
28     </td>
29     <td valign="top">
30       <table>
31         <tr><td>{$forms.weekTimeForm.date.control}</td></tr>
32       </table>
33     </td>
34   </tr>
35 </table>
36 <table width="720">
37   <tr valign="top">
38     <td>{$forms.weekTimeForm.week_durations.control}</td>
39   </tr>
40 </table>
41 <!--
42 <table>
43   <tr>
44     <td align="center" colspan="2">{$forms.weekTimeForm.btn_submit.control}</td>
45   </tr>
46 </table>
47 -->
48 {$forms.weekTimeForm.close}