From 642e1301aef038c28893aae1c434ff1ded8b6f46 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 7 Jun 2017 14:09:39 +0200 Subject: [locationinfo] Change order of status bars in overview frontend --- modules-available/locationinfo/frontend/panel.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'modules-available/locationinfo/frontend') diff --git a/modules-available/locationinfo/frontend/panel.html b/modules-available/locationinfo/frontend/panel.html index 7b15f640..dd5fc25d 100644 --- a/modules-available/locationinfo/frontend/panel.html +++ b/modules-available/locationinfo/frontend/panel.html @@ -71,11 +71,11 @@ .pc-idle { background-color: green; - border-radius: 3px 0px 0px 3px; } .pc-occupied { background-color: red; + border-radius: 3px 0px 0px 3px; } .pc-off { @@ -532,10 +532,10 @@ } $('#parent_' + id).parent().show(); var total = parseInt(idle) + parseInt(occupied) + parseInt(off) + parseInt(broken); - $("#div_pc_Idle_" + id).text(idle).width((idle / total) * 100 + '%'); - $("#div_pc_Occupied_" + id).text(occupied).width((occupied / total) * 100 + '%'); - $("#div_pc_Off_" + id).text(off).width((off / total) * 100 + '%'); - $("#div_pc_Broken_" + id).text(broken).width((broken / total) * 100 + '%'); + $("#pc_Idle_" + id).text(idle).width((idle / total) * 100 + '%'); + $("#pc_Occupied_" + id).text(occupied).width((occupied / total) * 100 + '%'); + $("#pc_Off_" + id).text(off).width((off / total) * 100 + '%'); + $("#pc_Broken_" + id).text(broken).width((broken / total) * 100 + '%'); } /** @@ -575,10 +575,10 @@ "
" + "
" + name + "
" + "
" + - "
?
" + - "
?
" + - "
?
" + - "
?
" + + "
?
" + + "
?
" + + "
?
" + + "
?
" + "
" + "
" + "
?
" + -- cgit v1.2.3-55-g7522