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:

footer-section.jsp
26 26
 */
27 27
%>
28 28

  
29
<hr class="config-line">
30 29

  
31 30
<%
32 31
if( request.getSession().getAttribute("userId") != null) {  
33 32
%>
34 33
  <div class=small-message>
35 34
    <p>You are logged in as: <%= request.getSession().getAttribute("userId") %></p>
36
    <a href="<%= request.getContextPath() %>/admin?configureType=login">log in as different user</a> |
37
    <a href="<%= request.getContextPath() %>/metacat?action=logout">logout</a> |
38
    <a href="<%= request.getContextPath() %>/docs/user/index.html" target="_blank">view metacat user documentation</a>
35
    <a href="<%= request.getContextPath() %>/admin?configureType=login">log in as different user</a>
36
    <a href="<%= request.getContextPath() %>/metacat?action=logout">logout</a>
37
    <a href="<%= request.getContextPath() %>/docs/user/index.html" target="_blank">metacat user documentation</a>
39 38
  </div>
40 39
<% 
41 40
} else {
42 41
%>
43 42
  <div class=small-message>
44 43
    <p>You are not logged in.</p>
45
    <a href="<%= request.getContextPath() %>/admin?configureType=login">log in</a> |
46
    <a href="<%= request.getContextPath() %>/docs/user/index.html" target="_blank">view metacat user documentation</a>
44
    <a href="<%= request.getContextPath() %>/admin?configureType=login">log in</a>
45
    <a href="<%= request.getContextPath() %>/docs/user/index.html" target="_blank">metacat user documentation</a>
47 46
  </div>
48 47
<%
49 48
}

Also available in: Unified diff