diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-01 15:33:36 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-01 15:33:36 +0100 |
commit | 6cc4bfdf8d67029b5038693dc99c27e669d0234c (patch) | |
tree | 8f379e249007cd753d291b44013b581b13881c6b /pyaggr3g470r/templates/management.html | |
parent | Added users management. (diff) | |
download | newspipe-6cc4bfdf8d67029b5038693dc99c27e669d0234c.tar.gz newspipe-6cc4bfdf8d67029b5038693dc99c27e669d0234c.tar.bz2 newspipe-6cc4bfdf8d67029b5038693dc99c27e669d0234c.zip |
It is now possible to add a feed via a form for different users.
Diffstat (limited to 'pyaggr3g470r/templates/management.html')
-rw-r--r-- | pyaggr3g470r/templates/management.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html index 65b589f8..ed7a5667 100644 --- a/pyaggr3g470r/templates/management.html +++ b/pyaggr3g470r/templates/management.html @@ -2,6 +2,24 @@ {% block content %} <div class="container"> <div class="jumbotron"> + <h1>Add a feed</h1> + <form action="/add_feed/" method="post" name="save"> + {{ form.hidden_tag() }} + + {{ form.title.label }} + {{ form.title(class_="form-control") }} {% for error in form.title.errors %} <span style="color: red;">{{ error }}</span>{% endfor %} + + {{ form.link.label }} + {{ form.link(class_="form-control") }} {% for error in form.link.errors %} <span style="color: red;">{{ error }}</span>{% endfor %} + + {{ form.site_link.label }} + {{ form.site_link(class_="form-control") }} {% for error in form.site_link.errors %} <span style="color: red;">{{ error }}</span>{% endfor %} + + {{ form.submit(class_="btn") }} + </form> + </div> + + <div class="jumbotron"> <h1>Subscriptions</h1> <p>You are subscribed to {{ nb_feeds }} <a href="/feeds">feeds</a>.</p> </div> |