Skip to content

Commit

Permalink
adding tables
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffsu committed Sep 11, 2012
1 parent 024fddc commit 5f4db22
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion www/public/javascripts/chart-styles.js
Original file line number Diff line number Diff line change
@@ -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);
},
Expand Down
5 changes: 5 additions & 0 deletions www/public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ body {
padding: 60px;
}

body.plain {
padding: 0px;
}


.chart { height: 300px; }
.service a {
display: block;
Expand Down
28 changes: 15 additions & 13 deletions www/views/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5f4db22

Please sign in to comment.