mirror of
https://github.com/apache/archiva.git
synced 2025-03-06 08:29:09 +00:00
applied patch from joakim that cleaned up some jsp, thanks!
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442771 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f4aef56ff6
commit
6aafdc87a0
@ -59,8 +59,8 @@
|
|||||||
|
|
||||||
<div id="breadcrumbs">
|
<div id="breadcrumbs">
|
||||||
<div class="xleft">
|
<div class="xleft">
|
||||||
<ww:url id="loginUrl" action="login" namespace="/" includeParams="none"/>
|
<ww:url id="loginUrl" action="login" method="input" namespace="/" includeParams="none"/>
|
||||||
<ww:url id="registerUrl" action="register" namespace="/" includeParams="none"/>
|
<ww:url id="registerUrl" action="register" method="input" namespace="/" includeParams="none"/>
|
||||||
|
|
||||||
<ww:if test="${sessionScope.authStatus != true}">
|
<ww:if test="${sessionScope.authStatus != true}">
|
||||||
<ww:a href="%{loginUrl}">Login</ww:a> - <ww:a href="%{registerUrl}">Register</ww:a>
|
<ww:a href="%{loginUrl}">Login</ww:a> - <ww:a href="%{registerUrl}">Register</ww:a>
|
||||||
|
@ -27,50 +27,46 @@
|
|||||||
|
|
||||||
<div id="contentArea">
|
<div id="contentArea">
|
||||||
<div id="searchBox">
|
<div id="searchBox">
|
||||||
<div style="float: right">
|
|
||||||
<a href="#">Forgotten your Password?</a>
|
<div id="results">
|
||||||
|
<%-- This is where the "Account Created Successfully" type message goes. --%>
|
||||||
|
<div class="success">
|
||||||
|
<ww:actionmessage />
|
||||||
|
</div>
|
||||||
|
<%-- This is where errors from the action and other non-form field specific errors appear. --%>
|
||||||
|
<div class="errors">
|
||||||
|
<ww:actionerror />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
|
||||||
<ww:actionmessage/>
|
|
||||||
<ww:actionerror/>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2>Login</h2>
|
<h2>Login</h2>
|
||||||
|
|
||||||
|
<%-- You don't need a table to wrap form elements in,
|
||||||
|
the ww:form creates the table, labels, context sensitive actionerrors, requirements indicators, etc...
|
||||||
|
- Joakim --%>
|
||||||
|
|
||||||
<ww:form action="login" method="post">
|
<ww:form action="login" method="post">
|
||||||
<table class="bodyTable">
|
<ww:textfield label="Username" name="username" size="30" required="true" />
|
||||||
<tr class="a">
|
<ww:password label="Password" name="password" size="20" required="true" />
|
||||||
<th>
|
<ww:submit value="Login"/>
|
||||||
Username
|
|
||||||
</th>
|
|
||||||
<td>
|
|
||||||
<ww:textfield name="username" size="30"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="b">
|
|
||||||
<th>
|
|
||||||
Password
|
|
||||||
</th>
|
|
||||||
<td>
|
|
||||||
<ww:password name="password" size="20"/>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="a">
|
|
||||||
<td></td>
|
|
||||||
<td>
|
|
||||||
<ww:submit value="Login"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</ww:form>
|
</ww:form>
|
||||||
|
|
||||||
<p>
|
<ul class="tips">
|
||||||
<ww:url id="registerUrl" action="register"/>
|
<li>
|
||||||
Need an Account? <ww:a href="%{registerUrl}">Register!</ww:a>
|
Forgot your Username?
|
||||||
</p>
|
<ww:url id="forgottenAccount" action="findAccount" />
|
||||||
|
<ww:a href="%{forgottenAccount}">Email me my account information.</ww:a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Forgot your Password?
|
||||||
|
<ww:url id="forgottenPassword" action="resetPassword" />
|
||||||
|
<ww:a href="%{forgottenPassword}">Request a password reset.</ww:a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Need an Account?
|
||||||
|
<ww:url id="registerUrl" action="register" />
|
||||||
|
<ww:a href="%{registerUrl}">Register!</ww:a>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -27,63 +27,31 @@
|
|||||||
|
|
||||||
<div id="contentArea">
|
<div id="contentArea">
|
||||||
<div id="searchBox">
|
<div id="searchBox">
|
||||||
<p>
|
|
||||||
<ww:actionmessage/>
|
<div id="results">
|
||||||
<ww:actionerror/>
|
<%-- This is where the "Account Created Successfully" type message goes. --%>
|
||||||
</p>
|
<div class="success">
|
||||||
|
<ww:actionmessage />
|
||||||
|
</div>
|
||||||
|
<%-- This is where errors from the action and other non-form field specific errors appear. --%>
|
||||||
|
<div class="errors">
|
||||||
|
<ww:actionerror />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h2>Register for an Account</h2>
|
<h2>Register for an Account</h2>
|
||||||
|
|
||||||
|
<%-- You don't need a table to wrap form elements in,
|
||||||
|
the ww:form creates the table, labels, context sensitive actionerrors, requirements indicators, etc...
|
||||||
|
- Joakim --%>
|
||||||
|
|
||||||
<ww:form action="register" method="post">
|
<ww:form action="register" method="post">
|
||||||
<table class="bodyTable">
|
<ww:textfield label="Username" name="username" size="30" required="true"/>
|
||||||
<tr class="b">
|
<ww:password label="Password" name="password" size="20" required="true"/>
|
||||||
<th>
|
<ww:password label="Confirm Password" name="confirmPassword" size="20" required="true"/>
|
||||||
Username
|
<ww:textfield label="Full Name" name="fullName" size="30" required="true"/>
|
||||||
</th>
|
<ww:textfield label="Email Address" name="email" size="50" required="true"/>
|
||||||
<td>
|
<ww:submit value="Register"/>
|
||||||
<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>
|
|
||||||
</ww:form>
|
</ww:form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user