mirror of https://github.com/lidarr/Lidarr
Added version to footer.
This commit is contained in:
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="row">
|
||||
<div class="span12">
|
||||
<div id="footer-region"></div>
|
||||
<div id="footer-region">
|
||||
NzbDrone Ver.
|
||||
<span class="version"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -7,3 +7,5 @@ var statusText = $.ajax({
|
|||
}).responseText;
|
||||
|
||||
window.ServerStatus = JSON.parse(statusText);
|
||||
|
||||
$('#footer-region .version').html(window.ServerStatus.version);
|
||||
|
|
Loading…
Reference in New Issue