summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/header-full.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html
index c73cf0463..5a5db9620 100644
--- a/httemplate/elements/header-full.html
+++ b/httemplate/elements/header-full.html
@@ -207,7 +207,7 @@ Example:
% my ($message, $type) = split /=/, $status_msg;
% $type ||= 'status';
<TABLE CLASS="fsinnerbox" STYLE="background-color:<% $status_color{$type} %>"><TR>
- <TD><IMG SRC="<% $fsurl %>images/tick.png"> <% $message |h %></TD>
+ <TD><IMG SRC="<% $fsurl %><% $status_image{$type} %>"> <% $message |h %></TD>
</TR></TABLE>
% }
<script src="<% $fsurl %>elements/js.cookie.js"></script>
@@ -274,5 +274,6 @@ if ( scalar(@agentnums) == 1 ) {
## status->green(#eeffee), warning->yellow(#fdfd96), error->red(#f97c7c)
my %status_color = ( 'status' => '#eeffee', 'warning' => '#fefbd0', 'error' => '#f97c7c', );
+my %status_image = ( 'status' => 'images/tick.png', 'warning' => 'images/tick.png', 'error' => 'images/error.png', );
</%init>