aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/admin
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-20 07:44:28 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-20 07:44:28 +0200
commit2207a7db83e85abf1d4cfe88a1c340e1332533f3 (patch)
tree072fc90337315f34716bdd237347a19412c74cd5 /pyaggr3g470r/templates/admin
parentImproved email notifications. (diff)
downloadnewspipe-2207a7db83e85abf1d4cfe88a1c340e1332533f3.tar.gz
newspipe-2207a7db83e85abf1d4cfe88a1c340e1332533f3.tar.bz2
newspipe-2207a7db83e85abf1d4cfe88a1c340e1332533f3.zip
Send notification messages to platform users.
Diffstat (limited to 'pyaggr3g470r/templates/admin')
-rw-r--r--pyaggr3g470r/templates/admin/dashboard.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html
index b15097d5..911ce670 100644
--- a/pyaggr3g470r/templates/admin/dashboard.html
+++ b/pyaggr3g470r/templates/admin/dashboard.html
@@ -40,7 +40,19 @@
{% endfor %}
</tbody>
</table>
-<br />
<a href="/admin/create_user/" class="btn btn-default">{{ _('Add a new user') }}</a>
+<h1>{{ _('Send notification messages') }}</h1>
+<form action="" method="post">
+ {{ form.hidden_tag() }}
+
+ {{ form.subject.label }}
+ {{ form.subject(class_="form-control") }} {% for error in form.subject.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+
+ {{ form.message.label }}
+ {{ form.message(class_="form-control", rows=8) }} {% for error in form.message.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+
+ <br />
+ {{ form.submit(class_="btn") }}
+</form>
</div>
{% endblock %}
bgstack15