summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/employmentpage.hamlet6
-rw-r--r--templates/vacationpage.hamlet13
-rw-r--r--templates/vacationpage.lucius3
3 files changed, 22 insertions, 0 deletions
diff --git a/templates/employmentpage.hamlet b/templates/employmentpage.hamlet
new file mode 100644
index 0000000..b60b710
--- /dev/null
+++ b/templates/employmentpage.hamlet
@@ -0,0 +1,6 @@
+<h1>Employment span for #{username}
+
+<p>
+ <form method=post action=@{EmploymentR eid}#form enctype=#{formEnctype}>
+ ^{formWidget}
+ <input type="submit" value="Submit">
diff --git a/templates/vacationpage.hamlet b/templates/vacationpage.hamlet
new file mode 100644
index 0000000..1bdfeee
--- /dev/null
+++ b/templates/vacationpage.hamlet
@@ -0,0 +1,13 @@
+<h1>#{username}
+
+<table>
+ <tr>
+ <th>Activity
+ <th>Balance
+ $forall (s,rt) <- transacts
+ <tr .vacentry>
+ <td .activity>#{s}
+ <td .balance>#{show rt}
+
+<p>
+ <a href=@{UserR cid}>Time entry page
diff --git a/templates/vacationpage.lucius b/templates/vacationpage.lucius
new file mode 100644
index 0000000..84012c1
--- /dev/null
+++ b/templates/vacationpage.lucius
@@ -0,0 +1,3 @@
+tr.vacentry:nth-child(even) {background: #9f9}
+tr.vacentry:nth-child(odd) {background: #fff}
+td.activity {border-right: double}