continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r191406 - in /maven/continuum/trunk/continuum-web/src/main/resources/templates/screens: Add.vm Edit.vm Index.vm Login.vm Summary.vm View.vm
Date Mon, 20 Jun 2005 06:50:51 GMT
Author: jvanzyl
Date: Sun Jun 19 23:50:50 2005
New Revision: 191406

URL: http://svn.apache.org/viewcvs?rev=191406&view=rev
Log:
o adding stub login template

Added:
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Login.vm
Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Add.vm
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Edit.vm
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Index.vm
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Add.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Add.vm?rev=191406&r1=191405&r2=191406&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Add.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Add.vm Sun Jun
19 23:50:50 2005
@@ -1,12 +1,9 @@
 $page.setTitle( "Add Project" )
-#if ( !$fid )
-  #set ( $fid = $data.getParameters().getString( "fid" ) )
-#end
-#set ( $form = $formtool.getForm( $fid ) )
+
 <div class="app">
   <div id="axial" class="h3">
     <h3>$i18n.getString( $form.add.titleKey )</h3>
-    <form method="post" action="$link">
+    <form method="post" action="$link" #if( $form.attributes.multipart )enctype="multipart/form-data"#end>
       #hidden ( "formId" $form.id )
       #hidden ( "action" $form.add.action )
       #hidden ( "view" $form.add.view )

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Edit.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Edit.vm?rev=191406&r1=191405&r2=191406&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Edit.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Edit.vm Sun Jun
19 23:50:50 2005
@@ -1,13 +1,5 @@
-#if ( !$fid )
-  #set ( $fid = $data.getParameters().getString( "fid" ) )
-#end
-#set ( $form = $formtool.getForm( $fid ) )
-#if ( !$id )
-  #set ( $id = $data.getParameters().getString( "id" ) )
-#end
-#if ( $id )
-  #set( $item = $formtool.getItem( $form, $id ) )
-#end
+$page.setTitle( $item.name )
+
 <div class="app">
   <div id="axial" class="h3">
     <h3>$i18n.getString( $form.update.titleKey )</h3>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Index.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Index.vm?rev=191406&r1=191405&r2=191406&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Index.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Index.vm Sun
Jun 19 23:50:50 2005
@@ -1,3 +1,5 @@
+$page.setTitle( "Welcome to Continuum" )
+
 <div class="app">
   <h3>Welcome to Continuum!</h3>
 </div>

Added: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Login.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Login.vm?rev=191406&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Login.vm (added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Login.vm Sun
Jun 19 23:50:50 2005
@@ -0,0 +1,8 @@
+$page.setTitle( "Login" )
+
+<div class="app">
+  <div id="axial" class="h3">
+    <form method="post" action="$link">
+    </form>
+  </div>
+</div>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm?rev=191406&r1=191405&r2=191406&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm Sun
Jun 19 23:50:50 2005
@@ -1,8 +1,5 @@
-#set ( $fid = $data.getParameters().getString( "fid" ) )
-#if ( !$fid )
-  #set ( $fid = "continuumProject" )
-#end
-#set ( $form = $formtool.getForm( $fid ) )
+$page.setTitle( "Continuum" )
+
 <div class="app">
   <div id="h3">
     <h3>$i18n.getString( $form.summary.titleKey )</h3>
@@ -13,7 +10,7 @@
         #end
         <th colspan="$form.summary.operations.size()"></th>
       </tr>
-      #set ( $items = $formtool.getSummaryItems( $fid ) )
+      #set ( $items = $formtool.getSummaryItems( $form.id ) )
       #foreach ( $item in $items )
       <tr class="$css.nextClass">
         #foreach ( $se in $form.summary.summaryElements )
@@ -44,7 +41,7 @@
             #end
             </form>
           </td>
-1          <td>
+          <td>
           <img src="/continuum/images/icon_error_sml.gif" alt="Failed"/> $projectsWithFailures
           <img src="/continuum/images/icon_warning_sml.gif" alt="Error"/> $projectsWithErrors
           </td>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm?rev=191406&r1=191405&r2=191406&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm Sun Jun
19 23:50:50 2005
@@ -1,7 +1,5 @@
-#set ( $fid = $data.getParameters().getString( "fid" ) )
-#set ( $form = $formtool.getForm( $fid ) )
-#set ( $id = $data.getParameters().getString( "id" ) )
-#set ( $item = $formtool.getItem( $form, $id ) )
+$page.setTitle( $item.name )
+
 <div class="app">
   <div id="axial" class="h3">
     <h3>$i18n.getString( $form.view.titleKey )</h3>
@@ -19,9 +17,7 @@
       #bar()
     </div>
 
-    $item.url
-    $item.groupId
-    
+    ## This is an extension which could be done by a parse or include
 
     <h3>$i18n.getString( $form.view.titleKey )</h3>
     <div class="axial">



Mime
View raw message