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:

page-message-section.jsp
29 29
<%  
30 30
   if (request.getAttribute("processingSuccess") != null && ((Vector<String>)request.getAttribute("processingSuccess")).size() > 0) { 
31 31
%> 
32
   <div class=success-text>
32
   <div class="alert alert-success">
33 33
<%     
34 34
      Vector<String> processingSuccesses = (Vector<String>)request.getAttribute("processingSuccess");
35 35
      for (String processingSuccess : processingSuccesses) { 
......
44 44

  
45 45
   if (request.getAttribute("processingMessage") != null && ((Vector<String>)request.getAttribute("processingMessage")).size() > 0) { 
46 46
%> 
47
   <div class=message-text>
47
   <div class="alert">
48 48
<%     
49 49
      Vector<String> processingMessages = (Vector<String>)request.getAttribute("processingMessage");
50 50
      for (String processingMessage : processingMessages) { 
......
59 59
   
60 60
   if (request.getAttribute("formFieldErrors") != null && ((Vector<String>)request.getAttribute("formFieldErrors")).size() > 0) { 
61 61
%>
62
   <div class=formfield-error-header>
62
   <div class="alert alert-error">
63 63
      Please correct the following form errors and resubmit: <br><br>
64
   </div>  
65
   <div class=formfield-error-text>
66 64
<%     
67 65
      Vector<String> formErrors = (Vector<String>)request.getAttribute("formFieldErrors");
68 66
      for (String formError : formErrors) { 
......
75 73
<% 
76 74
   } else if (request.getAttribute("processingErrors") != null && ((Vector<String>)request.getAttribute("processingErrors")).size() > 0) { 
77 75
%>
78
   <div class=error-header>
76
   <div class="alert alert-error">
79 77
      The following errors occurred.  Please correct errors if possible or contact your system adminstrator or contact support at <%= (String)request.getAttribute("supportEmail") %> <br><br>
80
   </div>  
81
   <div class=error-text>
82 78
<%     
83 79
      Vector<String> processingErrors = (Vector<String>)request.getAttribute("processingErrors");
84 80
      for (String processingError : processingErrors) { 

Also available in: Unified diff