Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding tables

  • Loading branch information...
commit 5f4db2298b9a13e2c2a0f39d8b2408967e241023 1 parent 024fddc
@jeffsu authored
View
2  www/public/javascripts/chart-styles.js
@@ -1,6 +1,6 @@
$.elycharts.templates.upbeat = {
type : "line",
- margins : [20, 20, 25, 20],
+ margins : [25, 25, 25, 25],
tooltips: function (serialId, valueIdx, allValues, singleValue) {
return Math.round(singleValue);
},
View
5 www/public/stylesheets/style.css
@@ -2,6 +2,11 @@ body {
padding: 60px;
}
+body.plain {
+ padding: 0px;
+}
+
+
.chart { height: 300px; }
.service a {
display: block;
View
28 www/views/layout.jade
@@ -13,19 +13,21 @@ html
script(src='/javascripts/chart-styles.js')
script(src='/javascripts/charts.js')
script(src='/javascripts/jquery.sparkline.min.js')
- body
- .navbar.navbar-inverse.navbar-fixed-top
- .navbar-inner
- .container
- a.brand(href="/", title="upbeat")
- img(src="/images/upbeat_small.png")
- .nav-collapse.collapse
- ul.nav
- li: a(href="/services") Services
- li: a(href="/stats") Stats
- li: a(href="#")= "Uptime: " + process.uptime() + " secs";
+ body(class=query.plain ? 'plain' : '')
+ unless query.plain
+ .navbar.navbar-inverse.navbar-fixed-top
+ .navbar-inner
+ .container
+ a.brand(href="/", title="upbeat")
+ img(src="/images/upbeat_small.png")
+ .nav-collapse.collapse
+ ul.nav
+ li: a(href="/services") Services
+ li: a(href="/stats") Stats
+ li: a(href="#")= "Uptime: " + process.uptime() + " secs";
.container-fluid
- block breadcrumbs
- include _breadcrumbs
+ unless query.plain
+ block breadcrumbs
+ include _breadcrumbs
block content
Please sign in to comment.
Something went wrong with that request. Please try again.