Mercurial > kraina_muminkow
diff frontend/mfrontend/templates/newjob.html @ 10:58a993029d9f
Dodawanie nowych zadań i dekorator sprawdzający zalogowanie.
author | Michał Rudowicz <michal.rudowicz@fl9.eu> |
---|---|
date | Mon, 07 Mar 2011 10:47:48 +0100 |
parents | |
children | c87f82a15606 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/frontend/mfrontend/templates/newjob.html Mon Mar 07 10:47:48 2011 +0100 @@ -0,0 +1,14 @@ +{% extends "layout.html" %} +{% block body %} + <h2>Login</h2> + {% if error %}<p class=error><strong>Błąd:</strong> {{ error }}{% endif %} + <form action="{{ url_for('add') }}" method=post> + <dl> + <dt>Opis zadania: + <dd><input type=text name=label> + <dt>Hash: + <dd><input type=text name=hash> + <dd><input type=submit value=Dodaj> + </dl> + </form> +{% endblock %}