summaryrefslogtreecommitdiffstats
path: root/templates/controlPanel.html
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-24 23:24:59 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-24 23:24:59 +0100
commitb091e8eb09fe9c1f3949d5727acc79146e3cdf10 (patch)
tree98fa23a09befd6de1f7768e51a7422686cd0558d /templates/controlPanel.html
parent14b39d906c74bd491f2cb2ff13338efe7f190d8a (diff)
downloadtroggle-b091e8eb09fe9c1f3949d5727acc79146e3cdf10.tar.gz
troggle-b091e8eb09fe9c1f3949d5727acc79146e3cdf10.tar.bz2
troggle-b091e8eb09fe9c1f3949d5727acc79146e3cdf10.zip
[svn] Have control panel display an error for logged in, non-superuser users.
Diffstat (limited to 'templates/controlPanel.html')
-rw-r--r--templates/controlPanel.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/controlPanel.html b/templates/controlPanel.html
index 209fa20..49725e1 100644
--- a/templates/controlPanel.html
+++ b/templates/controlPanel.html
@@ -1,9 +1,8 @@
{% extends "base.html" %}
{% block content %}
-
{% if jobs_completed %}
- <div style="border:thin black solid; width: 40%; color:#F00; margin-left:auto; margin-right:auto">
+ <div class="noticeBox">
Just finished running:
<ul>
{% for job in jobs_completed %}
@@ -15,6 +14,13 @@
</div>
{% endif %}
+{% if error %}
+ <div class="noticeBox">
+ {{ error }}
+ <a href="#" class="closeDiv">dismiss this message</a>
+ </div>
+{% endif %}
+
<form name="reset" method="post" action="">
<h3>Wipe:</h3>