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 | 46 | <tr class="alert alert-danger"> |
47 | 47 | <th scope="row">global_status: </th><td>KO</td> |
48 | 48 | </tr> |
49 | - <tr class="alert alert-success"> | |
49 | + <tr class="alert alert-info"> | |
50 | 50 | <th scope="row">updated: </th><td>2018-07-18T11:57:42.594</td> |
51 | 51 | </tr> |
52 | 52 | <tr class="alert alert-warning"> |
53 | 53 | <th scope="row">humidity: </th><td>65.3</td> |
54 | 54 | </tr> |
55 | - <tr class="alert alert-success"> | |
55 | + <tr class="alert alert-info"> | |
56 | 56 | <th scope="row">wind: </th><td>2.8</td> |
57 | 57 | </tr> |
58 | - <tr class="alert alert-success"> | |
58 | + <tr class="alert alert-info"> | |
59 | 59 | <th scope="row">cloud: </th><td>null</td> |
60 | 60 | </tr> |
61 | 61 | </table> | ... | ... |
src/misc/static/js/weather.js
... | ... | @@ -25,7 +25,8 @@ var sync_weather = { |
25 | 25 | res += "</table>"; |
26 | 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 | 30 | get_warning: function(name, value) {return '<tr class="alert alert-warning"><th scope="row">'+name+': </th><td>'+value+'</td></tr>';}, |
30 | 31 | setTimeout:function(){ |
31 | 32 | //alert("change"); | ... | ... |