Title: [opsview] [5320] Introduce text aligning for enterprise module menu icon
Revision
5320
Author
tvoon
Date
2010-11-05 12:12:31 +0000 (Fri, 05 Nov 2010)

Log Message

Introduce text aligning for enterprise module menu icon

Modified Paths


Modified: trunk/opsview-core/share/stylesheets/opsview2.css
===================================================================
--- trunk/opsview-core/share/stylesheets/opsview2.css	2010-11-05 11:16:00 UTC (rev 5319)
+++ trunk/opsview-core/share/stylesheets/opsview2.css	2010-11-05 12:12:31 UTC (rev 5320)
@@ -39,6 +39,13 @@
 	border: 0;
 }
 
+li.external_menu_icon a img {
+    display: block;
+    float: left;
+    padding-bottom: 5px;
+    padding-right: 4px;
+}
+
 /* Global link styles */
 a:link, a:visited { 
     text-decoration: none; 

Modified: trunk/opsview-web/root/wrapper_nav_menus
===================================================================
--- trunk/opsview-web/root/wrapper_nav_menus	2010-11-05 11:16:00 UTC (rev 5319)
+++ trunk/opsview-web/root/wrapper_nav_menus	2010-11-05 12:12:31 UTC (rev 5320)
@@ -30,6 +30,11 @@
   extra_classes = [ "first" ];
   FOREACH entry IN menu.entries;
     item_target="";
+    IF entry.module_external_link;
+      extra_classes.push("external_menu_icon");
+      item_target=' target="opsview-enterprise-modules"';
+    END;
+
     IF target;
       item_target = ' target="' _ target _ '"';
     ELSIF entry.target;

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to