diff --git a/src/dashboard/templates/dashboard/reload_weather.html b/src/dashboard/templates/dashboard/reload_weather.html index c63bf9d..6ae8d50 100644 --- a/src/dashboard/templates/dashboard/reload_weather.html +++ b/src/dashboard/templates/dashboard/reload_weather.html @@ -46,16 +46,16 @@ global_status: KO - + updated: 2018-07-18T11:57:42.594 humidity: 65.3 - + wind: 2.8 - + cloud: null diff --git a/src/misc/static/js/weather.js b/src/misc/static/js/weather.js index d556495..0b97e63 100644 --- a/src/misc/static/js/weather.js +++ b/src/misc/static/js/weather.js @@ -25,7 +25,8 @@ var sync_weather = { res += ""; return res }, - get_success: function(name, value) {return ''+name+': '+value+'';}, + // alert alert-success + get_success: function(name, value) {return ''+name+': '+value+'';}, get_warning: function(name, value) {return ''+name+': '+value+'';}, setTimeout:function(){ //alert("change"); -- libgit2 0.21.2