summaryrefslogtreecommitdiff
path: root/templates/userpage.hamlet
blob: 27353d0ec674c0fb96dad9c5d7cbddba5f732737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<h1>#{username}

$if isUser
  <p>
    <form method=post action=@{UserR cid}#form enctype=#{formEnctype}>
      ^{formWidget}
      <input type="submit" value="Submit time entry">
$else

<table>
    <tr>
      <th>Category
      <th>Hours
      <th>Date
  $forall (a,b,c) <- entries
    <tr .timeentry>
      <td>#{a}
      <td>#{b}
      <td>#{c}

^{pageNavWidget}