Permalink
Browse files

Improve styling

- add header and body to HTML
- link in report footer to help navigation
  • Loading branch information...
1 parent cae90c8 commit d9ecb62d35e4fe18c165103f64c52e934efab933 @olleolleolle olleolleolle committed Oct 19, 2011
Showing with 27 additions and 2 deletions.
  1. +10 −1 static/style.css
  2. +17 −1 templates/report.html
View
11 static/style.css
@@ -8,4 +8,13 @@ body {
}
span {
font-weight: bold;
-}
+}
+
+#report {
+ font-size: 0.8em;
+}
+
+.footer {
+ font-style: italic;
+ font-size: 70%;
+}
View
18 templates/report.html
@@ -1,5 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <title>Forskningsavdelningen: Studiecirklar</title>
+ <link type=text/css rel=stylesheet href={{ url_for('static', filename='style.css') }}>
+ <script type=text/javascript src={{ url_for('static', filename='jquery.js') }}></script>
+ <script type=text/javascript src={{ url_for('static', filename='forsk.js') }}></script>
+</head>
+<body id=report>
<h1>Forskningsavdelningen report card</h1>
-
{% for day in report %}
<h2>{{ day['date']}}</h2>
<div>
@@ -13,3 +22,10 @@
{% endfor %}
</div>
{% endfor %}
+
+<hr>
+<p class=footer>
+ Usage: <a href=?month=2011-10>?month=2011-10</a>
+ </p>
+</body>
+</html>

0 comments on commit d9ecb62

Please sign in to comment.