summaryrefslogtreecommitdiff
path: root/templates/userpage.hamlet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/userpage.hamlet')
-rw-r--r--templates/userpage.hamlet21
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}