summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/index.html2
-rw-r--r--www/js/index.js5
2 files changed, 5 insertions, 2 deletions
diff --git a/www/index.html b/www/index.html
index d8ca2a1..da8ca5e 100644
--- a/www/index.html
+++ b/www/index.html
@@ -130,7 +130,7 @@
<div data-role="footer">
<p id="versioninfo" style="display: none; text-align: center"></p>
- <p style="font-size: 0.8em;font-weight: 300; text-align: center">Version <span class="version"></span></p>
+ <p style="font-size: 0.8em;font-weight: 300; text-align: center">Version <span class="version"></span> <span class="motd"></span></p>
</div>
</div> <!-- page -->
diff --git a/www/js/index.js b/www/js/index.js
index a6dc18e..ab7a740 100644
--- a/www/js/index.js
+++ b/www/js/index.js
@@ -55,10 +55,13 @@ function updateCheck(){
request.done(function(resultHtml){
var appStatus = $('li[id="' + version + '"]', resultHtml).text().trim();
+ var motd = $('li[id="motd"]', resultHtml).html().trim();
+
var loginOk = true;
- console.log('Appstatus: ' + appStatus);
+ console.log('Appstatus: ' + appStatus + ' Nachricht des Tages: ' + motd);
+ $('.motd').html(motd);
switch(appStatus){
case 'ok':
break;