[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

Naparuba naparuba at gmail.com
Tue Feb 28 22:08:47 UTC 2012


The following commit has been merged in the debian/master branch:
commit 3460b7cd6a6a1fa344cadef1f006b8ca58a8256c
Author: Naparuba <naparuba at gmail.com>
Date:   Thu Dec 15 13:16:04 2011 +0100

    Enh : stars on the mobile/impacts page.

diff --git a/shinken/webui/plugins/mobile/htdocs/css/impacts.css b/shinken/webui/plugins/mobile/htdocs/css/impacts.css
index 3811d11..c3094e6 100644
--- a/shinken/webui/plugins/mobile/htdocs/css/impacts.css
+++ b/shinken/webui/plugins/mobile/htdocs/css/impacts.css
@@ -12,4 +12,45 @@
     width: 250px; 
     height: 150px;
     position : absolute;
-}
\ No newline at end of file
+}
+
+
+
+/* The same stars, but in the proble panel */
+.criticity-inpb-icon-1 {
+    width: 20px;
+    height: 20px;
+    position: absolute;
+    margin-left: 60px;
+    z-index: 1;
+    outline: none;
+    left: 20px;
+    top : 10px;
+}
+
+
+/* The show problem image, on the right of the impact*/
+.criticity-inpb-icon-2 {
+    width: 20px;
+    height: 20px;
+    position: absolute;
+    margin-left: 72px;
+    z-index: 1;
+    outline: none;
+    left: 20px;
+    top : 10px;
+}
+
+
+/* The show problem image, on the right of the impact*/
+.criticity-inpb-icon-3 {
+    width: 20px;
+    height: 20px;
+    position: absolute;
+    margin-left: 84px;
+    z-index: 1;
+    outline: none;
+    left: 20px;
+    top : 10px;
+}
+
diff --git a/shinken/webui/plugins/mobile/views/mobile_impacts.tpl b/shinken/webui/plugins/mobile/views/mobile_impacts.tpl
index bfe3ba2..393dc66 100644
--- a/shinken/webui/plugins/mobile/views/mobile_impacts.tpl
+++ b/shinken/webui/plugins/mobile/views/mobile_impacts.tpl
@@ -19,8 +19,6 @@
 <div class="impacts">
   %for impact in impacts:
     <div class="impact" id="impact-{{i}}" style="left:{{i*250}}px;">
-      <p class="{{impact.state.lower()}}">{{impact.get_full_name()}} is {{impact.state}}</p>
-
       %for j in range(2, impact.business_impact):
       <div class="criticity-inpb-icon-{{j-1}}">
 	<img src="/static/images/star.png">

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list