continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r440900 - in /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp: navigations/ProjectGroupMenu.jsp projectGroupBuildDefinition.jsp projectGroupMembers.jsp projectGroupNotifier.jsp projectGroupSummary.jsp
Date Wed, 06 Sep 2006 23:40:21 GMT
Author: carlos
Date: Wed Sep  6 16:40:20 2006
New Revision: 440900

URL: http://svn.apache.org/viewvc?view=rev&rev=440900
Log:
Extract tabbed menu to an independent page

Added:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
  (with props)
Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupBuildDefinition.jsp
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupMembers.jsp
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupNotifier.jsp
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupSummary.jsp

Added: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp?view=auto&rev=440900
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
(added)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
Wed Sep  6 16:40:20 2006
@@ -0,0 +1,30 @@
+<%@ taglib uri="/webwork" prefix="ww" %>
+<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
+
+<div>
+  <p style="border-top: 1px solid transparent; border-bottom: 1px solid #DFDEDE;">
+
+    <ww:url id="projectGroupSummaryUrl" action="projectGroupSummary">
+      <ww:param name="projectGroupId" value="projectGroupId"/>
+    </ww:url>
+    <ww:url id="projectGroupMembersUrl" action="projectGroupMembers">
+      <ww:param name="projectGroupId" value="projectGroupId"/>
+    </ww:url>
+    <ww:url id="projectGroupBuildDefinitionUrl" action="projectGroupBuildDefinition">
+      <ww:param name="projectGroupId" value="projectGroupId"/>
+    </ww:url>
+    <ww:url id="projectGroupNotifierUrl" action="projectGroupNotifier">
+      <ww:param name="projectGroupId" value="projectGroupId"/>
+    </ww:url>
+<%--
+    <ww:url id="projectGroupPermissionsUrl" action="projectGroupPermissions">
+      <ww:param name="projectGroupId" value="projectGroupId"/>
+    </ww:url>
+--%>
+
+    <ww:a cssClass="tabMenuEnabled" href="%{projectGroupSummaryUrl}">Summary</ww:a>
+    <ww:a cssClass="tabMenuEnabled" href="%{projectGroupManageUrl}">Manage</ww:a>
+    <b class="tabMenuDisabled">Build Definition</b>
+    <ww:a cssStyle="tabMenuEnabled" href="%{projectGroupNotifierUrl}">Notifier</ww:a>
+  </p>
+</div>

Propchange: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupBuildDefinition.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupBuildDefinition.jsp?view=diff&rev=440900&r1=440899&r2=440900
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupBuildDefinition.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupBuildDefinition.jsp
Wed Sep  6 16:40:20 2006
@@ -10,27 +10,10 @@
 
     <body>
       <div id="h3">
-        <div>
-          <p style="border-top: 1px solid transparent; border-bottom: 1px solid #DFDEDE;">
-           <ww:url id="projectGroupSummaryUrl" action="projectGroupSummary">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupMembersUrl" action="projectGroupMembers">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupBuildDefinitionUrl" action="projectGroupBuildDefinition">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupNotifierUrl" action="projectGroupNotifier">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
 
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupSummaryUrl}">Summary</ww:a>
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupManageUrl}">Manage</ww:a>
-            <b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;">Build
Definition</b>
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupNotifierUrl}">Notifier</ww:a>
-          </p>
-        </div>
+        <jsp:include page="/navigations/ProjectGroupMenu.jsp">
+          <jsp:param name="tab" value="buildDefinition"/>
+        </jsp:include>
 
         <h3>Project Group Build Definitions</h3>
             

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupMembers.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupMembers.jsp?view=diff&rev=440900&r1=440899&r2=440900
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupMembers.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupMembers.jsp
Wed Sep  6 16:40:20 2006
@@ -10,27 +10,10 @@
 
     <body>
       <div id="h3">
-        <div>
-          <p style="border-top: 1px solid transparent; border-bottom: 1px solid #DFDEDE;">
-            <ww:url id="projectGroupSummaryUrl" action="projectGroupSummary">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupMembersUrl" action="projectGroupMembers">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupBuildDefinitionUrl" action="projectGroupBuildDefinition">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupNotifierUrl" action="projectGroupNotifier">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-    
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupSummaryUrl}">Summary</ww:a>
-            <b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;">Members</b>
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupBuildDefinitionUrl}">Build Definitions</ww:a>
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupNotifierUrl}">Notifiers</ww:a>
-          </p>
-        </div>
+
+        <jsp:include page="/navigations/ProjectGroupMenu.jsp">
+          <jsp:param name="tab" value="members"/>
+        </jsp:include>
 
         <h3>Project Group Information</h3>
     

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupNotifier.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupNotifier.jsp?view=diff&rev=440900&r1=440899&r2=440900
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupNotifier.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupNotifier.jsp
Wed Sep  6 16:40:20 2006
@@ -10,28 +10,10 @@
 
     <body>
       <div id="h3">
-        <div>
-          <p style="border-top: 1px solid transparent; border-bottom: 1px solid #DFDEDE;">
-            <ww:url id="projectGroupSummaryUrl" action="projectGroupSummary">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupMembersUrl" action="projectGroupMembers">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupBuildDefinitionUrl" action="projectGroupBuildDefinition">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupNotifierUrl" action="projectGroupNotifier">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-    
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupSummaryUrl}">Summary</ww:a>
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupMembersUrl}">Members</ww:a>
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupBuildDefinitionUrl}">Build Definitions</ww:a>
-            <b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;">Notifier</b>
-    
-          </p>
-        </div>
+
+        <jsp:include page="/navigations/ProjectGroupMenu.jsp">
+          <jsp:param name="tab" value="notifier"/>
+        </jsp:include>
     
         <h3>PROJECT GROUP Notifiers<ww:text name="projectView.section.title"/></h3>
     

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupSummary.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupSummary.jsp?view=diff&rev=440900&r1=440899&r2=440900
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupSummary.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupSummary.jsp
Wed Sep  6 16:40:20 2006
@@ -10,27 +10,11 @@
 
     <body>
       <div id="h3">
-        <div>
-          <p style="border-top: 1px solid transparent; border-bottom: 1px solid #DFDEDE;">
-            <ww:url id="projectGroupSummaryUrl" action="projectGroupSummary">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupMembersUrl" action="projectGroupMembers">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupBuildDefinitionUrl" action="projectGroupBuildDefinition">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
-            <ww:url id="projectGroupNotifierUrl" action="projectGroupNotifier">
-              <ww:param name="projectGroupId" value="projectGroupId"/>
-            </ww:url>
 
-            <b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;">Summary</b>
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupMembersUrl}">Members</ww:a>
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupBuildDefinitionUrl}">Build Definitions</ww:a>
-            <ww:a cssStyle="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="%{projectGroupNotifierUrl}">Notifiers</ww:a>
-          </p>
-        </div>
+        <jsp:include page="/navigations/ProjectGroupMenu.jsp">
+          <jsp:param name="tab" value="summary"/>
+        </jsp:include>
+
         <h3>Project Group Information</h3>
             
         <div class="axial">



Mime
View raw message