diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-10-07 17:56:27 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-10-07 17:56:50 -0400 |
commit | 26dff01b41af5213ed9c630728592e5e6281c371 (patch) | |
tree | 86fd6c43ffcbab7e1b9c89466e668aebfbaf3c64 /templates | |
parent | ea4f886d6c9fb359ba7a2af2b006952c3420d37e (diff) |
use user messages to communicate status
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 8 | ||||
-rw-r--r-- | templates/status_page.html | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/base.html b/templates/base.html index b060da20..4abc538b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -40,6 +40,14 @@ </div> </div> <div id="content"> + {% if messages %} + <div class="box" style="width: 50%; text-align: center; margin-left: auto; margin-right: auto"> + {% for message in messages %} + <p>{{message}}</p> + {% endfor %} + </div> + <br /> + {% endif %} {% block content %} <div class="right"> {% block content_right %} diff --git a/templates/status_page.html b/templates/status_page.html deleted file mode 100644 index 558c6544..00000000 --- a/templates/status_page.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - <div class="box"> - <h4>{{ message }}</h4> - </div> -{% endblock %} - |