mirror of https://github.com/apache/archiva.git
added a couple of sample pages for role assignment and login
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440884 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e0386221ad
commit
23d539a3c3
|
@ -10,6 +10,7 @@
|
|||
<publishDate position="none"/>
|
||||
<body>
|
||||
<links>
|
||||
<item name="Login" href="/admin/login.html"/>
|
||||
<item name="Archiva" href="http://maven.apache.org/archiva/"/>
|
||||
<item name="Maven" href="http://maven.apache.org/"/>
|
||||
<item name="Apache" href="http://www.apache.org/"/>
|
||||
|
@ -23,6 +24,7 @@
|
|||
<item name="Reports" href="/reports.html"/>
|
||||
<item name="Synchronisation" href="/sync.html"/>
|
||||
<item name="Administration" href="/admin/index.html">
|
||||
<item name="User Management" href="/admin/users.html"/>
|
||||
<item name="Proxied Repositories" href="/admin/proxies.html"/>
|
||||
<item name="Synced Repositories" href="/admin/sync.html"/>
|
||||
</item>
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
<document>
|
||||
<properties>
|
||||
<title>Archiva</title>
|
||||
</properties>
|
||||
<body>
|
||||
<h1>login</h1>
|
||||
|
||||
<div id="sidebar">
|
||||
<p>reserved sidebar</p>
|
||||
</div>
|
||||
|
||||
<div id="contentArea">
|
||||
<div id="searchBox">
|
||||
<form action="../results.html">
|
||||
<p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Username:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" size="50"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Password:
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" size="50"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" name="Go!"/>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</document>
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
<document>
|
||||
<properties>
|
||||
<title>Archiva</title>
|
||||
</properties>
|
||||
<body>
|
||||
<h1>User Management</h1>
|
||||
|
||||
<div id="sidebar">
|
||||
<p>reserved sidebar</p>
|
||||
</div>
|
||||
|
||||
<div id="contentArea">
|
||||
<div id="searchBox">
|
||||
<p>
|
||||
Currently Assigned Roles
|
||||
</p>
|
||||
<ul>
|
||||
<li>Manager of central</li>
|
||||
<li>Observer of central-plugins</li>
|
||||
<li>Project Manager of org.apache.maven.*</li>
|
||||
</ul>
|
||||
<hr/>
|
||||
<form action="user.html">
|
||||
<p>
|
||||
Grant Adminstrative Role
|
||||
</p>
|
||||
<p>
|
||||
<select>
|
||||
<option>admin1</option>
|
||||
<option>admin2</option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" name="Add Role"/>
|
||||
</p>
|
||||
</form>
|
||||
<hr/>
|
||||
<form action="user.html">
|
||||
<p>
|
||||
Grant Repository Role
|
||||
</p>
|
||||
<p>
|
||||
<select>
|
||||
<option>manager of X</option>
|
||||
<option>obverser of X</option>
|
||||
<option>manager of Y</option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" name="Add Role"/>
|
||||
</p>
|
||||
</form>
|
||||
<hr/>
|
||||
<form action="confirm-roles.html">
|
||||
<p>
|
||||
Grant Project Role
|
||||
</p>
|
||||
<p>
|
||||
<select>
|
||||
<option>manager</option>
|
||||
<option>obverser</option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
Project:
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<select>
|
||||
<option>p1</option>
|
||||
<option>p2</option>
|
||||
<option>p3</option>
|
||||
<option>p4</option>
|
||||
<option>p5</option>
|
||||
<option>p6</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
or
|
||||
</td>
|
||||
<td>
|
||||
Expression (ex: org.apache.maven.*):
|
||||
<input type="text" name="projectExpression"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" name="Add Role"/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</document>
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
<document>
|
||||
<properties>
|
||||
<title>Archiva</title>
|
||||
</properties>
|
||||
<body>
|
||||
<h1>Users Management</h1>
|
||||
|
||||
<div id="sidebar">
|
||||
<p>reserved sidebar</p>
|
||||
</div>
|
||||
|
||||
<div id="contentArea">
|
||||
<div id="searchBox">
|
||||
<p>
|
||||
Select a user to administer:
|
||||
</p>
|
||||
<form action="user.html">
|
||||
<p>
|
||||
<select name="user">
|
||||
<option>user1</option>
|
||||
<option>user2</option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" name="Manage"/>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</document>
|
||||
|
Loading…
Reference in New Issue