mirror of https://github.com/apache/archiva.git
Created one input form used by register.jsp and registerAdmin.jsp.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442940 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d63313093d
commit
afbb9de2b4
|
@ -0,0 +1,23 @@
|
|||
<%--
|
||||
~ Copyright 2006 The Apache Software Foundation.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
--%>
|
||||
<%@ taglib prefix="ww" uri="/webwork" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<ww:textfield label="Username" name="username" size="30" required="true"/>
|
||||
<ww:password label="Password" name="password" size="20" required="true"/>
|
||||
<ww:password label="Confirm Password" name="confirmPassword" size="20" required="true"/>
|
||||
<ww:textfield label="Full Name" name="fullName" size="30" required="true"/>
|
||||
<ww:textfield label="Email Address" name="email" size="50" required="true"/>
|
|
@ -34,56 +34,8 @@
|
|||
|
||||
<h2>Setup an Administrator Account</h2>
|
||||
<ww:form action="registerAdminAccount" method="post" namespace="/admin">
|
||||
<table class="bodyTable">
|
||||
<tr class="b">
|
||||
<th>
|
||||
Username
|
||||
</th>
|
||||
<td>
|
||||
<ww:textfield name="username" size="30"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="a">
|
||||
<th>
|
||||
Password
|
||||
</th>
|
||||
<td>
|
||||
<ww:password name="password" size="20"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="b">
|
||||
<th>
|
||||
Confirm Password
|
||||
</th>
|
||||
<td>
|
||||
<ww:password name="confirmPassword" size="20"/>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="a">
|
||||
<th>
|
||||
Full Name
|
||||
</th>
|
||||
<td>
|
||||
<ww:textfield name="fullName" size="30"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="b">
|
||||
<th>
|
||||
Email
|
||||
</th>
|
||||
<td>
|
||||
<ww:textfield name="email" size="50 "/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="a">
|
||||
<td></td>
|
||||
<td>
|
||||
<ww:submit value="Register"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%@ include file="/WEB-INF/jsp/admin/include/registerUserForm.jspf" %>
|
||||
<ww:submit value="Register"/>
|
||||
</ww:form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -46,12 +46,8 @@
|
|||
- Joakim --%>
|
||||
|
||||
<ww:form action="register" method="post">
|
||||
<ww:textfield label="Username" name="username" size="30" required="true"/>
|
||||
<ww:password label="Password" name="password" size="20" required="true"/>
|
||||
<ww:password label="Confirm Password" name="confirmPassword" size="20" required="true"/>
|
||||
<ww:textfield label="Full Name" name="fullName" size="30" required="true"/>
|
||||
<ww:textfield label="Email Address" name="email" size="50" required="true"/>
|
||||
<ww:submit value="Register"/>
|
||||
<%@ include file="/WEB-INF/jsp/admin/include/registerUserForm.jspf" %>
|
||||
<ww:submit value="Register"/>
|
||||
</ww:form>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue