Commit ad5be706dc89eacbb785943ce71351b220a61a51
1 parent
cada3772
Exists in
dev
weather css
Showing
2 changed files
with
5 additions
and
4 deletions
Show diff stats
src/dashboard/templates/dashboard/reload_weather.html
@@ -46,16 +46,16 @@ | @@ -46,16 +46,16 @@ | ||
46 | <tr class="alert alert-danger"> | 46 | <tr class="alert alert-danger"> |
47 | <th scope="row">global_status: </th><td>KO</td> | 47 | <th scope="row">global_status: </th><td>KO</td> |
48 | </tr> | 48 | </tr> |
49 | - <tr class="alert alert-success"> | 49 | + <tr class="alert alert-info"> |
50 | <th scope="row">updated: </th><td>2018-07-18T11:57:42.594</td> | 50 | <th scope="row">updated: </th><td>2018-07-18T11:57:42.594</td> |
51 | </tr> | 51 | </tr> |
52 | <tr class="alert alert-warning"> | 52 | <tr class="alert alert-warning"> |
53 | <th scope="row">humidity: </th><td>65.3</td> | 53 | <th scope="row">humidity: </th><td>65.3</td> |
54 | </tr> | 54 | </tr> |
55 | - <tr class="alert alert-success"> | 55 | + <tr class="alert alert-info"> |
56 | <th scope="row">wind: </th><td>2.8</td> | 56 | <th scope="row">wind: </th><td>2.8</td> |
57 | </tr> | 57 | </tr> |
58 | - <tr class="alert alert-success"> | 58 | + <tr class="alert alert-info"> |
59 | <th scope="row">cloud: </th><td>null</td> | 59 | <th scope="row">cloud: </th><td>null</td> |
60 | </tr> | 60 | </tr> |
61 | </table> | 61 | </table> |
src/misc/static/js/weather.js
@@ -25,7 +25,8 @@ var sync_weather = { | @@ -25,7 +25,8 @@ var sync_weather = { | ||
25 | res += "</table>"; | 25 | res += "</table>"; |
26 | return res | 26 | return res |
27 | }, | 27 | }, |
28 | - get_success: function(name, value) {return '<tr class="alert alert-success"><th scope="row">'+name+': </th><td>'+value+'</td></tr>';}, | 28 | + // alert alert-success |
29 | + get_success: function(name, value) {return '<tr class="alert alert-info"><th scope="row">'+name+': </th><td>'+value+'</td></tr>';}, | ||
29 | get_warning: function(name, value) {return '<tr class="alert alert-warning"><th scope="row">'+name+': </th><td>'+value+'</td></tr>';}, | 30 | get_warning: function(name, value) {return '<tr class="alert alert-warning"><th scope="row">'+name+': </th><td>'+value+'</td></tr>';}, |
30 | setTimeout:function(){ | 31 | setTimeout:function(){ |
31 | //alert("change"); | 32 | //alert("change"); |