layout.jade - various changes

This commit is contained in:
binaryatrocity committed 2014-04-04 09:22:47 -05:00
1 parent 84bfe15c54
commit c29b84fcea
5 files changed
+431 -81

No files matched your search

+22
View File
@@ -8,6 +8,27 @@ block content
h2 #{title} is
span#status offline.
div#streambox
br
div#betstats
span.uk-text-bold Betting is currently:
#{bet_status}
if bet_status === true
span.uk-text-bold.uk-text-success  Active
else
span.uk-text-bold.uk-text-danger  Inactive
if bet_board
table.uk-table
caption Current Betting Pool
thead
tr
th Option
th Total
tbody
each option in bet_board
tr
td !#{option.name}
td #{option.total}
br
div.uk-width-1-2
div.uk-panel.uk-panel-box
table.uk-table.uk-table-hover.uk-table-striped
@@ -33,6 +54,7 @@ block postscript
$("#streambox").append("<br/><br/><img src='"+data.stream.preview.medium+"' />");;
} else {
$("#streambox").append("<h3 class='uk-text-danger'>Offline</h3>");
$("#betstats").hide();
}
});
});
+1 -1
View File
@@ -34,7 +34,7 @@ html(lang="en")
// bigimagelogo
h1.uk-text-center #{title}<br/>#{slogan}
div.uk-width-1-4
img.flip(src='/img/#{logo}')
img.flip.uk-float-right(src='/img/#{logo}')
div.uk-width-1-1
nav.uk-navbar
ul.uk-navbar-nav.uk-navbar-center