From cf9ebe9f8e136f79fd44f320e9558fa19a4248e9 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Tue, 9 Jul 2013 22:11:57 -0700 Subject: [PATCH] Added version to footer. --- UI/Content/base.less | 10 +++++++++- UI/Index.html | 5 ++++- UI/ServerStatus.js | 2 ++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/UI/Content/base.less b/UI/Content/base.less index 953139f56..24201c5f7 100644 --- a/UI/Content/base.less +++ b/UI/Content/base.less @@ -96,9 +96,17 @@ th { &.sortable { &:hover { - background: @tableBackgroundHover; + background : @tableBackgroundHover; } .clickable(); } } + +#footer-region { + .text-center(); + position : relative; + width : 256px; + margin : 50px auto 0px auto; + display : block; +} diff --git a/UI/Index.html b/UI/Index.html index 908fe45ec..da8644019 100644 --- a/UI/Index.html +++ b/UI/Index.html @@ -90,7 +90,10 @@
- +
diff --git a/UI/ServerStatus.js b/UI/ServerStatus.js index a2605648d..7b1924ec3 100644 --- a/UI/ServerStatus.js +++ b/UI/ServerStatus.js @@ -7,3 +7,5 @@ var statusText = $.ajax({ }).responseText; window.ServerStatus = JSON.parse(statusText); + +$('#footer-region .version').html(window.ServerStatus.version);