summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2012-01-11 01:28:01 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2012-01-11 01:28:01 +0100
commitd49358409d9e02ce258a6c52b700dbfbcc48a67e (patch)
tree0b328bff1628c46167a1dca155032954c2834f5b
parenta623647d714495439523c124e7efe517d6c15314 (diff)
downloadkosten-d49358409d9e02ce258a6c52b700dbfbcc48a67e.tar.gz
kosten-d49358409d9e02ce258a6c52b700dbfbcc48a67e.tar.bz2
kosten-d49358409d9e02ce258a6c52b700dbfbcc48a67e.zip
Add expense to const navigation
Diffstat (limited to '')
-rw-r--r--static/css/style.css14
-rw-r--r--templates/pages/const.mako2
2 files changed, 14 insertions, 2 deletions
diff --git a/static/css/style.css b/static/css/style.css
index a450496..9731684 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -65,18 +65,30 @@ img {
float: left;
margin-right: 15px;
text-decoration: none;
+ text-align: center;
}
#right {
float: right;
margin-left: 15px;
text-decoration: none;
+ text-align: center;
}
-#left > img, #right > img {
+#left > img {
width: 20px;
height: 20px;
vertical-align: middle;
+ float: left;
+ padding-right: 5px;
+}
+
+#right > img {
+ width: 20px;
+ height: 20px;
+ vertical-align: middle;
+ float: right;
+ padding-left: 5px;
}
.heading {
diff --git a/templates/pages/const.mako b/templates/pages/const.mako
index acb672b..502cd64 100644
--- a/templates/pages/const.mako
+++ b/templates/pages/const.mako
@@ -22,7 +22,7 @@
<%
def create(p):
- return ("const/%s" % p.id, "%s (%s-%s)" % (p.description, dformat(p.start), dformat(p.end)))
+ return ("const/%s" % p.id, "%s (%s-%s)<br>%s EUR" % (p.description, dformat(p.start), dformat(p.end), p.expense))
p = exp.prev
if p: