Project

General

Profile

« Previous | Next » 

Revision 8222

Matched the admin config pages to the default metacatUI theme. Changed the background image of the docs and config pages to a big cat for some metacat branding.

View differences:

admin-login.jsp
41 41

  
42 42
</head>
43 43
<body>
44
<img src="<%= request.getContextPath() %>/metacat-logo-darkgray.png"
45
	width="100px" align="right" />
46
<h2>Administrator Login</h2>
47

  
48
Account login page.
49
<br class="auth-header">
50

  
51
<%@ include file="./page-message-section.jsp"%>
52

  
53
<form name="loginform" method="post" action="<%= request.getContextPath() %>/admin"
54
	target="_top" onsubmit="return validateAndSubmitForm(this);" id="loginform">
55

  
56
<table class="admin-login">
57
	<tr>
58
		<td>username:</td>
59
		<td>
60
			<select class="username-input" name="username">
61
<%
62
			for(String adminName : adminList) {
63
%>
64
				<option><%= adminName %></option>
65
<%
66
	}
67
%>
68
		    
69
		  </select>
70
		</td>
71
	</tr>
72
	<tr>
73
	    <td></td>
74
	    <td class="textinput-description">[Fully qualified administrator username]</td>
75
	</tr>
76
	<tr>
77
		<td>password:</td>
78
		<td><input class="login-input" name="password" type="password" maxlength="50" value=""></td>
79
	</tr>
80
	<tr>
81
	    <td></td>
82
	    <td class="textinput-description">[Administrator password]</td>
83
	</tr>
84
</table>
85

  
86

  
87
	<input class="left-button" input type="submit" name="loginAction" value="Login" class="button_login"></td>
88
	<input class="button" type="button" value="Cancel" onClick="forward('<%= request.getContextPath() %>')"> 
89

  
90

  
91
<input type="hidden" name="configureType" value="login"/>
92
<input type="hidden" name="processForm" value="true"/>
93

  
94
</form>
95

  
44
<%@ include file="./header-section.jsp"%>
45
	
46
<div class="document">
47
	<h2>Administrator Login</h2>
48
	
49
	<p>Account login page.</p>
50
	
51
	<%@ include file="./page-message-section.jsp"%>
52
	
53
	<form name="loginform" method="post" action="<%= request.getContextPath() %>/admin"
54
		target="_top" onsubmit="return validateAndSubmitForm(this);" id="loginform">
55
	
56
	<table class="admin-login">
57
		<tr>
58
			<td><h4>Username</h4></td>
59
			<td>
60
				<select class="username-input" name="username">
61
	<%
62
				for(String adminName : adminList) {
63
	%>
64
					<option><%= adminName %></option>
65
	<%
66
		}
67
	%>
68
			    
69
			  </select>
70
			</td>
71
		</tr>
72
		<tr>
73
		    <td></td>
74
		    <td class="textinput-description">[Fully qualified administrator username]</td>
75
		</tr>
76
		<tr>
77
			<td><h4>Password</h4></td>
78
			<td><input class="login-input" name="password" type="password" maxlength="50" value=""></td>
79
		</tr>
80
		<tr>
81
		    <td></td>
82
		    <td class="textinput-description">[Administrator password]</td>
83
		</tr>
84
	</table>
85
	
86
	<div class="buttons-wrapper">
87
		<input class="button" input type="submit" name="loginAction" value="Login" class="button_login"></td>
88
		<input class="button" type="button" value="Cancel" onClick="forward('<%= request.getContextPath() %>')"> 
89
		<input type="hidden" name="configureType" value="login"/>
90
		<input type="hidden" name="processForm" value="true"/>
91
	</div>
92
	</form>
93
</div>
96 94
</body>
97 95
</html>

Also available in: Unified diff