Author: ozizka(a)redhat.com
Date: 2009-03-13 11:53:07 -0400 (Fri, 13 Mar 2009)
New Revision: 217
Modified:
trunk/core/src/main/webapp/include/tabMenu.xhtml
Log:
Added IDs to inactive tabs - to simplify recogning them when inactive.
Modified: trunk/core/src/main/webapp/include/tabMenu.xhtml
===================================================================
--- trunk/core/src/main/webapp/include/tabMenu.xhtml 2009-03-12 20:34:17 UTC (rev 216)
+++ trunk/core/src/main/webapp/include/tabMenu.xhtml 2009-03-13 15:53:07 UTC (rev 217)
@@ -47,7 +47,7 @@
<!-- ACTIVE panel (currently being viewed) -->
<h:panelGroup layout="block" rendered="#{activeTab eq
'summary'}">
<li>
- <span
class="active">#{messages['tab.menu.summary']}</span>
+ <span id="summaryTab"
class="active">#{messages['tab.menu.summary']}</span>
</li>
</h:panelGroup>
<!-- ENABLED panel (can be viewed) -->
@@ -65,7 +65,7 @@
<!-- ACTIVE panel (currently being viewed) -->
<h:panelGroup layout="block" rendered="#{activeTab eq
'configuration'}">
<li>
- <span
class="active">#{messages['tab.menu.configuration']}</span>
+ <span id="configurationTab"
class="active">#{messages['tab.menu.configuration']}</span>
</li>
</h:panelGroup>
<!-- ENABLED panel (can be viewed) -->
@@ -80,7 +80,7 @@
<!-- DISABLED panel (can not be viewed) -->
<h:panelGroup layout="block"
rendered="#{!navigationAction.enabledTabs.contains('configuration')}">
<li>
- <span
class="disabled">#{messages['tab.menu.configuration']}</span>
+ <span id="configurationTab"
class="disabled">#{messages['tab.menu.configuration']}</span>
</li>
</h:panelGroup>
</h:panelGroup>
@@ -90,7 +90,7 @@
<!-- ACTIVE panel (currently being viewed) -->
<h:panelGroup layout="block" rendered="#{activeTab eq
'metric'}">
<li>
- <span
class="active">#{messages['tab.menu.metrics']}</span>
+ <span id="metricsTab"
class="active">#{messages['tab.menu.metrics']}</span>
</li>
</h:panelGroup>
<!-- ENABLED panel (can be viewed) -->
@@ -105,7 +105,7 @@
<!-- DISABLED panel (can not be viewed) -->
<h:panelGroup layout="block"
rendered="#{!navigationAction.enabledTabs.contains('metric')}">
<li>
- <span
class="disabled">#{messages['tab.menu.metrics']}</span>
+ <span id="metricsTab"
class="disabled">#{messages['tab.menu.metrics']}</span>
</li>
</h:panelGroup>
</h:panelGroup>
@@ -115,7 +115,7 @@
<!-- ACTIVE panel (currently being viewed) -->
<h:panelGroup layout="block" rendered="#{activeTab eq
'operation'}">
<li>
- <span
class="active">#{messages['tab.menu.control']}</span>
+ <span id="controlTab"
class="active">#{messages['tab.menu.control']}</span>
</li>
</h:panelGroup>
<!-- ENABLED panel (can be viewed) -->
@@ -130,7 +130,7 @@
<!-- DISABLED panel (can not be viewed) -->
<h:panelGroup layout="block"
rendered="#{!navigationAction.enabledTabs.contains('operation')}">
<li>
- <span
class="disabled">#{messages['tab.menu.control']}</span>
+ <span id="controlTab"
class="disabled">#{messages['tab.menu.control']}</span>
</li>
</h:panelGroup>
</h:panelGroup>
@@ -140,7 +140,7 @@
<!-- ACTIVE panel (currently being viewed) -->
<h:panelGroup layout="block" rendered="#{activeTab eq
'content'}">
<li>
- <span
class="active">#{messages['tab.menu.content']}</span>
+ <span id="contentTab"
class="active">#{messages['tab.menu.content']}</span>
</li>
</h:panelGroup>
<!-- ENABLED panel (can be viewed) -->
@@ -155,7 +155,7 @@
<!-- DISABLED panel (can not be viewed) -->
<h:panelGroup layout="block"
rendered="#{!navigationAction.enabledTabs.contains('content')}">
<li>
- <span
class="disabled">#{messages['tab.menu.content']}</span>
+ <span id="contentTab"
class="disabled">#{messages['tab.menu.content']}</span>
</li>
</h:panelGroup>
</h:panelGroup>
Show replies by date