2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 14:28:09 +00:00

[svn] Have control panel display an error for logged in, non-superuser users.

This commit is contained in:
substantialnoninfringinguser
2009-05-24 23:24:59 +01:00
parent 14b39d906c
commit b091e8eb09
3 changed files with 17 additions and 4 deletions

View File

@@ -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>