mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
Added version to footer.
This commit is contained in:
parent
d958e95c59
commit
cf9ebe9f8e
3 changed files with 15 additions and 2 deletions
|
@ -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;
|
||||||
|
}
|
||||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue