Added version to footer.

This commit is contained in:
kay.one 2013-07-09 22:11:57 -07:00
parent d958e95c59
commit cf9ebe9f8e
3 changed files with 15 additions and 2 deletions

View File

@ -96,9 +96,17 @@
th { th {
&.sortable { &.sortable {
&:hover { &:hover {
background: @tableBackgroundHover; background : @tableBackgroundHover;
} }
.clickable(); .clickable();
} }
} }
#footer-region {
.text-center();
position : relative;
width : 256px;
margin : 50px auto 0px auto;
display : block;
}

View File

@ -90,7 +90,10 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="span12"> <div class="span12">
<div id="footer-region"></div> <div id="footer-region">
NzbDrone Ver.
<span class="version"></span>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -7,3 +7,5 @@ var statusText = $.ajax({
}).responseText; }).responseText;
window.ServerStatus = JSON.parse(statusText); window.ServerStatus = JSON.parse(statusText);
$('#footer-region .version').html(window.ServerStatus.version);