diff options
author | Clint Adams <clint@softwarefreedom.org> | 2012-10-22 15:19:04 -0400 |
---|---|---|
committer | Clint Adams <clint@softwarefreedom.org> | 2012-10-22 15:19:04 -0400 |
commit | 025eb70c992914fbdf018c189d358ae250d2eeb1 (patch) | |
tree | 7367d3726594183bbb908d1a797cacd410c301cc /templates/userpage.hamlet |
This needs to be cleaned and sanitized before publication.
Diffstat (limited to 'templates/userpage.hamlet')
-rw-r--r-- | templates/userpage.hamlet | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/userpage.hamlet b/templates/userpage.hamlet new file mode 100644 index 0000000..27353d0 --- /dev/null +++ b/templates/userpage.hamlet @@ -0,0 +1,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} |