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

Frescha frescha at unitedseed.de
Tue Feb 28 22:09:26 UTC 2012


The following commit has been merged in the debian/master branch:
commit 1a29a36823e899c2266bc8a749b85fcc7f68ba95
Author: Frescha <frescha at unitedseed.de>
Date:   Wed Dec 21 21:43:28 2011 +0100

    enh switch menu at eltdetail mockup

diff --git a/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl b/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl
index a2bbc40..bffe6e8 100644
--- a/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl
+++ b/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl
@@ -101,17 +101,17 @@ Invalid element name
 		</div>				
 	</div>
 	<!-- Switch Start-->
-	<div class="switches grid_16">
-		<ul>
+	<div class="switches">
+		<ul class="grid_16">
 		    %if elt_type=='host':
 		       %title = 'This will also enable/disable this host services'
 		    %else:
 		       %title = ''
 		    %end
-			<li title="{{title}}" onclick="toggle_checks('{{elt.get_full_name()}}' , '{{elt.active_checks_enabled|elt.passive_checks_enabled}}')">Active/passive Checks {{!helper.get_input_bool(elt.active_checks_enabled|elt.passive_checks_enabled)}}
-			<li onclick="toggle_notifications('{{elt.get_full_name()}}' , '{{elt.notifications_enabled}}')">Notifications {{!helper.get_input_bool(elt.notifications_enabled)}} </li>
-			<li onclick="toggle_event_handlers('{{elt.get_full_name()}}' , '{{elt.event_handler_enabled}}')" >Event Handler {{!helper.get_input_bool(elt.event_handler_enabled)}} </li>
-			<li onclick="toggle_flap_detection('{{elt.get_full_name()}}' , '{{elt.flap_detection_enabled}}')" >Flap Detection {{!helper.get_input_bool(elt.flap_detection_enabled)}} </li>	
+			<li class="grid_4" title="{{title}}" onclick="toggle_checks('{{elt.get_full_name()}}' , '{{elt.active_checks_enabled|elt.passive_checks_enabled}}')"><span>Active/passive Checks</span> {{!helper.get_input_bool(elt.active_checks_enabled|elt.passive_checks_enabled)}}
+			<li class="grid_4" onclick="toggle_notifications('{{elt.get_full_name()}}' , '{{elt.notifications_enabled}}')"><span>Notifications</span> {{!helper.get_input_bool(elt.notifications_enabled)}} </li>
+			<li class="grid_4" onclick="toggle_event_handlers('{{elt.get_full_name()}}' , '{{elt.event_handler_enabled}}')" ><span>Event Handler</span> {{!helper.get_input_bool(elt.event_handler_enabled)}} </li>
+			<li class="grid_4" onclick="toggle_flap_detection('{{elt.get_full_name()}}' , '{{elt.flap_detection_enabled}}')" ><span>Flap Detection</span> {{!helper.get_input_bool(elt.flap_detection_enabled)}} </li>	
 		</ul>	
 	</div>
     <!-- Switch End-->

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list