continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r295106 - in /maven/continuum/trunk/continuum-web/src/main/resources/templates: navigations/Menu.vm screens/ConfigureContinuum.vm
Date Wed, 05 Oct 2005 20:34:34 GMT
Author: evenisse
Date: Wed Oct  5 13:34:16 2005
New Revision: 295106

URL: http://svn.apache.org/viewcvs?rev=295106&view=rev
Log:
Add configuration screen (View)

Added:
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ConfigureContinuum.vm
  (with props)
Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/templates/navigations/Menu.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/navigations/Menu.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/navigations/Menu.vm?rev=295106&r1=295105&r2=295106&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/navigations/Menu.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/navigations/Menu.vm Wed
Oct  5 13:34:16 2005
@@ -55,6 +55,9 @@
      #if ( $continuum.security.isAuthorized( $c1user, "manageSchedule" ) )
      <div><a href="$link.setPage('Schedules.vm').addPathInfo( 'fid', 'schedules')">Schedules</a></div>
      #end
+     #if ( $continuum.security.isAuthorized( $c1user, "manageConfiguration" ) )
+     <div><a href="$link.setPage('ConfigureContinuum.vm')">Configuration</a></div>
+     #end
      #if ( $continuum.security.isAuthorized( $c1user, "manageUsers" ) )
      <div><a href="$link.setPage('UserGroups.vm')">User Groups Management</a></div>
      <div><a href="$link.setPage('Users.vm')">Users Management</a></div>

Added: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ConfigureContinuum.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ConfigureContinuum.vm?rev=295106&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ConfigureContinuum.vm
(added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ConfigureContinuum.vm
Wed Oct  5 13:34:16 2005
@@ -0,0 +1,65 @@
+$page.setTitle( "Configure Continuum" )
+
+<div class="app">
+  <div id="axial" class="h3">
+    <h3>General Configuration</h3>
+
+    <div class="axial">
+      <table border="1" cellspacing="2" cellpadding="3" width="100%">
+
+        <tr class="b">
+          <th>Guests</th>
+          <td>
+            #if ( $continuum.configuration.isGuestAccountEnabled() )
+              #set ( $guestAccess = "Enabled" )
+            #else
+              #set ( $guestAccess = "Disabled" )
+            #end
+            Guest user is <strong style="color: green;">$guestAccess</strong>
+          </td>
+        </tr>
+        <tr class="b">
+          <th>Working Directory</th>
+          <td>$continuum.configuration.workingDirectory</td>
+        </tr>
+        <tr class="b">
+          <th>Build Output Directory</th>
+          <td>$continuum.configuration.buildOutputDirectory</td>
+        </tr>
+        <tr class="b">
+          <th>Base URL</th>
+          <td>$continuum.configuration.url</td>
+        </tr>
+        <tr class="b">
+          <th>Company Name</th>
+          <td>#if ( $continuum.configuration.companyName ) $continuum.configuration.companyName
#end</td>
+        </tr>
+        <tr class="b">
+          <th>Company Logo</th>
+          <td>#if ( $continuum.configuration.companyLogo ) $continuum.configuration.companyLogo
#end</td>
+        </tr>
+        <tr class="b">
+          <th>Company URL</th>
+          <td>#if ( $continuum.configuration.companyUrl ) $continuum.configuration.companyUrl
#end</td>
+        </tr>
+      </table>
+      <!--
+      <div class="functnbar3">
+        <table>
+          <tr>
+            <td>
+              <form method="post" action="editConfiguration.html">
+
+                <input type="hidden" name="action" value="cam"/>
+
+                <input type="hidden" name="cid" value="checkoutProject"/>
+                <input type="hidden" name="id" value="43"/>
+                <input type="submit" name="edit-project" value="Edit"/>
+              </form>
+            </td>
+          </tr>
+        </table>
+      </div>
+      -->
+    </div>
+</div>

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ConfigureContinuum.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ConfigureContinuum.vm
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



Mime
View raw message