continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r161811 - in maven/continuum/trunk/continuum-web/src/main/resources: META-INF/plexus/components.xml forms/continuumProject.xml forms/login.xml localization/Continuum.properties templates/layouts/Index.vm templates/screens/ProjectBuilds.vm
Date Mon, 18 Apr 2005 23:03:39 GMT
Author: jvanzyl
Date: Mon Apr 18 16:03:38 2005
New Revision: 161811

URL: http://svn.apache.org/viewcvs?view=rev&rev=161811
Log: (empty)


Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
    maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml
    maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
    maven/continuum/trunk/continuum-web/src/main/resources/templates/layouts/Index.vm
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml?view=diff&r1=161810&r2=161811
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
Mon Apr 18 16:03:38 2005
@@ -3,6 +3,24 @@
 
     <!--
      |
+     | Summit configuration
+     |
+     -->
+    <component>
+      <role>org.codehaus.plexus.summit.resolver.Resolver</role>
+      <role-hint>new</role-hint>
+      <implementation>org.codehaus.plexus.summit.resolver.NewResolver</implementation>
+      <configuration>
+        <default-view>Index.vm</default-view>
+        <!--
+        <default-view>continuumProject.form</default-view>
+        -->
+        <error-view>Error.vm</error-view>
+      </configuration>
+    </component>
+
+    <!--
+     |
      | System components
      |
      |-->
@@ -76,11 +94,11 @@
       <configuration>
         <views>
           <view>
-            <id>projectOverview</id>
+            <id>ProjectBuilds</id>
             <scalars>
               <scalar>
-                <id>projects</id>
-                <expression>getProjects()</expression>
+                <id>project</id>
+                <expression>getProject(#id)</expression>
               </scalar>
             </scalars>
           </view>
@@ -94,24 +112,6 @@
               <scalar>
                 <id>latestBuild</id>
                 <expression>getLatestBuildForProject(#id)</expression>
-              </scalar>
-            </scalars>
-          </view>
-          <view>
-            <id>editProject</id>
-            <scalars>
-              <scalar>
-                <id>project</id>
-                <expression>getProject(#id)</expression>
-              </scalar>
-            </scalars>
-          </view>
-          <view>
-            <id>confirmRemoveProject</id>
-            <scalars>
-              <scalar>
-                <id>project</id>
-                <expression>getProject(#id)</expression>
               </scalar>
             </scalars>
           </view>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml?view=diff&r1=161810&r2=161811
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml Mon
Apr 18 16:03:38 2005
@@ -69,11 +69,17 @@
       <summary-element>
         <id>project.name</id>
       </summary-element>
+      <!--
       <summary-element>
         <id>project.type</id>
       </summary-element>
+      -->
     </summary-elements>
     <operations>
+      <operation>
+        <name>Builds</name>
+        <action>target/ProjectBuilds.vm?view=ProjectBuilds&amp;id=$id$</action>
+      </operation>
       <operation>
         <name>View</name>
         <action>target/$type$Project.form?mode=view&amp;id=$id$</action>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml?view=diff&r1=161810&r2=161811
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml Mon Apr 18 16:03:38
2005
@@ -4,17 +4,11 @@
     <element>
       <id>login.username</id>
       <validator>default</validator>
-      <message-key>login.username.message</message-key>
-      <label-key>login.username.label</label-key>
-      <error-message-key>login.username.error</error-message-key>
       <type>text</type>
     </element>
     <element>
       <id>login.password</id>
       <validator>default</validator>
-      <message-key>login.password.message</message-key>
-      <label-key>login.password.label</label-key>
-      <error-message-key>login.password.error</error-message-key>
       <type>password</type>
     </element>
   </elements>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties?view=diff&r1=161810&r2=161811
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
Mon Apr 18 16:03:38 2005
@@ -22,7 +22,6 @@
 
 project.state.label = Status
 
-
 // ----------------------------------------------------------------------
 // Project Form
 // ----------------------------------------------------------------------
@@ -36,10 +35,15 @@
 project.name.error = You must provide a project name
 project.name.message = Enter the project name
 
-
 project.scmUrl.label = Scm Url
 project.scmUrl.error = You must provide an scm url
 project.scmUrl.message = Enter the Maven SCM url
+
+// ----------------------------------------------------------------------
+// Delete
+// ----------------------------------------------------------------------
+
+delete.confirmation.message = Are you sure you want to delete this project?
 
 // ----------------------------------------------------------------------
 // Maven 1

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/layouts/Index.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/layouts/Index.vm?view=diff&r1=161810&r2=161811
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/layouts/Index.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/layouts/Index.vm Mon
Apr 18 16:03:38 2005
@@ -43,8 +43,8 @@
 
  <div id="breadcrumbs">
   <div align="right">
-    <a href="http://maven.apache.org/">Maven</a>
-   <a href="http://www.apache.org/">Apache</a> |
+    <a href="http://maven.apache.org/">Maven</a> |
+    <a href="http://www.apache.org/">Apache</a>
   </div>
  </div>
 

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm?view=diff&r1=161810&r2=161811
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm
Mon Apr 18 16:03:38 2005
@@ -1,6 +1,3 @@
-## Input
-##  $project ContinuumProject
-##  $builds List of BuildResults
 <div class="app">
   <h3>Build results for $project.name</h3>
   <p>
@@ -17,6 +14,7 @@
         <td>$build.startTime</td>
         <td>$build.endTime</td>
         <td>$build.state</td>
+        <td><a href=""></a></td>
       </tr>
       #if ( $class == "a" )
         #set ( $class = "b" )



Mime
View raw message