summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorClint Adams <clint@softwarefreedom.org>2015-04-21 15:42:17 -0400
committerClint Adams <clint@softwarefreedom.org>2015-04-21 15:42:17 -0400
commitfabf030cc6ecc561572a59ab53a779c96a723cf0 (patch)
tree8c99e87c5f2c33653a6694c14c94b86cb27eb2e6 /templates
parentb7bdac567ffe809b36e16fe29a663c1f437b38ae (diff)
stragglers
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}