summaryrefslogtreecommitdiff
path: root/www/js/index.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-11-18 19:34:37 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2016-08-15 20:02:49 +0200
commit9486c208b3f1ee988b31b17e7db666e2bbe1ecbd (patch)
treef722161726aa4b5002e5e5659ede9868c16e4890 /www/js/index.js
parent29c1dbf23cf29204ec03ed72ffe19e754825d459 (diff)
downloadwvs-vplan-9486c208b3f1ee988b31b17e7db666e2bbe1ecbd.tar.gz
wvs-vplan-9486c208b3f1ee988b31b17e7db666e2bbe1ecbd.zip
Neues Feature: Nachricht des Tages
Diffstat (limited to 'www/js/index.js')
-rw-r--r--www/js/index.js5
1 files changed, 4 insertions, 1 deletions
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;