Project

General

Profile

« Previous | Next » 

Revision 4585

Added by daigle about 16 years ago

Remove organization from login screen. Require fully qualified user name.

View differences:

lib/admin/admin.css
80 80
}
81 81

  
82 82
.login-input {
83
	width: 150px;
83
	width: 300px;
84 84
}
85 85

  
86 86
br {
87 87
	clear: left;
88 88
}
89 89

  
90
br.ldap-header {
90
br.auth-header {
91 91
	margin-bottom: 80px;
92 92
}
93 93

  
lib/admin/admin-login.jsp
46 46
<h2>Administrator Login</h2>
47 47

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

  
51 51
<%@ include file="./page-message-section.jsp"%>
52 52
<hr class="config-line">
......
60 60
		<td>username:</td>
61 61
		<td><input class="login-input" name="username" type="text" value=""></td>
62 62
	</tr>
63

  
64 63
	<tr>
65
		<td>organization:</td>
66
		<td><select class="login-input"
67
			name="organization">
68
			<option value="" selected>&#8212; choose one &#8212;</option>
69
<%
70
			for (String orgName : organizationList) {
71
%>
72
			<option value="<%= orgName %>"
73
<%
74
			if (PropertyService.getProperty("organization.base." + orgName) == null || PropertyService.getProperty("organization.base." + orgName).equals("")) {
75
%>
76
			disabled="disabled"
77
<%
78
			}
79
%>			
80
			><%= orgName %></option>
81
<%
82
			}
83
%>
84
		</select></td>
64
	    <td></td>
65
	    <td class="textinput-description">[Fully qualified administrator username]</td>
85 66
	</tr>
86 67
	<tr>
87 68
		<td>password:</td>
88 69
		<td><input class="login-input" name="password" type="password" maxlength="50" value=""></td>
89 70
	</tr>
71
	<tr>
72
	    <td></td>
73
	    <td class="textinput-description">[Administrator password]</td>
74
	</tr>
90 75
</table>
91 76

  
92 77
<br>

Also available in: Unified diff