Added version to footer.

pull/2/head
kay.one 12 years ago
parent d958e95c59
commit cf9ebe9f8e

@ -102,3 +102,11 @@ th {
} }
} }
#footer-region {
.text-center();
position : relative;
width : 256px;
margin : 50px auto 0px auto;
display : block;
}

@ -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>

@ -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);

Loading…
Cancel
Save