Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:jeffsu/upbeat into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
vipworld committed Sep 11, 2012
2 parents e67b18a + 5f4db22 commit 560dd40
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
@@ -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
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
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 560dd40

Please sign in to comment.