Project

General

Profile

« Previous | Next » 

Revision 5010

Added by daigle over 15 years ago

Populate admin login user dropdown with configured admins

View differences:

admin-login.jsp
28 28
%>
29 29

  
30 30
<% 
31
	Vector<String> organizationList = OrganizationUtil.getOrganizations();
31
	Vector<String> adminList = (Vector<String>)request.getAttribute("adminList");;
32 32
%>
33 33

  
34 34
<html>
......
58 58
<table class="admin-login">
59 59
	<tr>
60 60
		<td>username:</td>
61
		<td><input class="login-input" name="username" type="text" value=""></td>
61
		<td>
62
			<select class="username-input" name="username">
63
<%
64
			for(String adminName : adminList) {
65
%>
66
				<option><%= adminName %></option>
67
<%
68
	}
69
%>
70
		    
71
		  </select>
72
		</td>
62 73
	</tr>
63 74
	<tr>
64 75
	    <td></td>

Also available in: Unified diff