Project

General

Profile

« Previous | Next » 

Revision 8203

Redesigned the /admin configuration pages to better match our new MetacatUI design. Looks good in both /context/admin view and the #external view using metacatUI

View differences:

properties-configuration.jsp
40 40
<body>
41 41
<%@ include file="./header-section.jsp"%>
42 42

  
43
<img src="<%= request.getContextPath() %>/metacat-logo.png" width="100px" align="right"/> 
43
<img src="<%= request.getContextPath() %>/metacat-logo-darkgray.png" width="100px" align="right"/> 
44 44
<h2>Metacat Properties Configuration</h2>
45 45

  
46 46
<p>Enter Metacat System properties here.  All Fields must be filled in before saving.
......
83 83
			} else {		
84 84
%>
85 85
		<h3><%= metaDataGroup.getName()  %></h3>
86
		<hr class="config-line">
87 86
<%
88 87
			// get all the properties in this group
89 88
			Map<Integer, MetaDataProperty> propertyMap = 
......
96 95
    			if (fieldType.equals("select")) {
97 96
%> 
98 97
				<div class="form-row">
99
					<img class="question-mark" src="style/images/help.png"  
100
							onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
101
     				<div class="textinput-label"><label for="<%= metaDataProperty.getKey() %>"><%= metaDataProperty.getLabel() %></label></div>
98
   				<div class="textinput-label"><label for="<%= metaDataProperty.getKey() %>"><%= metaDataProperty.getLabel() %></label></div>
102 99
					<select class="textinput" name="<%= metaDataProperty.getKey() %>">
103 100
<%
104 101
					Vector<String> fieldOptionValues = metaDataProperty.getFieldOptionValues();
......
118 115
				}
119 116
%>
120 117
					</select>
118
					<img class="question-mark" src="style/images/help.png"  
119
							onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
121 120
				</div>
122 121
<%		
123 122
				} else if (fieldType.equals("password")) {
124 123
%>
125 124
				<div class="form-row">
126
					<img class="question-mark" src="style/images/help.png"  
127
	           		       onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
128 125
					<div class="textinput-label"><label for="<%= metaDataProperty.getKey() %>" ><%= metaDataProperty.getLabel() %></label></div>
129 126
					<input class="textinput" id="<%= metaDataProperty.getKey() %>" 
130 127
							name="<%= metaDataProperty.getKey() %>" 	             		    	    	           		    	             			
131 128
	           		    	value="<%= request.getAttribute(metaDataProperty.getKey()) %>"
132 129
	           		    	type="<%= fieldType %>"/> 
130
					<img class="question-mark" src="style/images/help.png"  
131
	           		       onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
133 132
				</div>
134 133
<%
135 134
				} else if (fieldType.equals("hidden")) {
......
142 141
				} else {
143 142
%>
144 143
				<div class="form-row">
145
					<img class="question-mark" class=question-mark 
146
					     src="style/images/help.png" 
147
					     onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
148 144
					<div class="textinput-label"><label for="<%= metaDataProperty.getKey() %> "><%= metaDataProperty.getLabel() %></label>	</div>					
149 145
					<input class="textinput" id="<%= metaDataProperty.getKey() %>" 
150 146
							name="<%= metaDataProperty.getKey() %>" 
151 147
	    			        value="<%= request.getAttribute(metaDataProperty.getKey()) %>"	             		    	    	           		    	             			
152 148
	           		    	type="<%= fieldType %> "/>	
149
					<img class="question-mark" class=question-mark 
150
					     src="style/images/help.png" 
151
					     onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
153 152
				</div>          		    
154 153
<%   			
155 154
				}

Also available in: Unified diff