summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-11-25 12:23:18 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-11-25 12:23:18 +0100
commit88da4ebbc39f95a20e0b53b95957eee459c52342 (patch)
tree03586bf377cb76c3a987bd4cb39a7a6971bae2c0
parentd14af4bbb8c6986fc0d893c4c17ae7d5703683cb (diff)
downloadhyperkitty-88da4ebbc39f95a20e0b53b95957eee459c52342.tar.gz
hyperkitty-88da4ebbc39f95a20e0b53b95957eee459c52342.tar.xz
hyperkitty-88da4ebbc39f95a20e0b53b95957eee459c52342.zip
Take the graph title out of the graph itself
-rw-r--r--hyperkitty/static/css/style.css5
-rw-r--r--hyperkitty/templates/recent_activities.html7
2 files changed, 6 insertions, 6 deletions
diff --git a/hyperkitty/static/css/style.css b/hyperkitty/static/css/style.css
index 3b4633a..3a7803d 100644
--- a/hyperkitty/static/css/style.css
+++ b/hyperkitty/static/css/style.css
@@ -228,6 +228,11 @@ ul.nav.auth {
font-weight: bold;
}
+#graph h2 {
+ text-align: center;
+}
+
+
/* Month view header */
#month-view .month-header {
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html
index 61bc7a2..cca93d8 100644
--- a/hyperkitty/templates/recent_activities.html
+++ b/hyperkitty/templates/recent_activities.html
@@ -11,6 +11,7 @@
<section id="recent_activities">
<section id="graph">
+ <h2>Activities on the list over the last 30 days</h2>
<div id="fig">
<script type="text/javascript+protovis" >
@@ -57,12 +58,6 @@
return cur;
}
- var title = vis.add(pv.Label)
- .left(250)
- .top(16)
- .textAlign("center")
- .text("Activities on the list over the last 30 days");
-
vis.add(pv.Rule)
.data(y.ticks())
.bottom(function(d) Math.round(y(d)) - .5)