diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-19 14:00:46 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-19 14:00:46 +0100 |
commit | b7fd7b15968e3a29e75d479a88c8cd9e66c4e194 (patch) | |
tree | e103675b5674c8187768781d63f88a1adbe53e74 /source/static/templates/subscriptions.html | |
parent | MongoDB index. (diff) | |
download | newspipe-b7fd7b15968e3a29e75d479a88c8cd9e66c4e194.tar.gz newspipe-b7fd7b15968e3a29e75d479a88c8cd9e66c4e194.tar.bz2 newspipe-b7fd7b15968e3a29e75d479a88c8cd9e66c4e194.zip |
Added new views: subscriptions in order to list subscribed feeds.
Diffstat (limited to 'source/static/templates/subscriptions.html')
-rw-r--r-- | source/static/templates/subscriptions.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/static/templates/subscriptions.html b/source/static/templates/subscriptions.html new file mode 100644 index 00000000..48781e1e --- /dev/null +++ b/source/static/templates/subscriptions.html @@ -0,0 +1,18 @@ +## subscriptions.html +<%inherit file="base.html"/> +<div class="left inner"> + <h1>Subscriptions</h1> + %if feeds: + <ul> + %for feed in feeds: + <li>${feed['feed_title']}</li> + %endfor + </ul> + %endif + + <br /> + <h1>Add a feed</h1> + <form method=get action="/add_feed/"> + <input type="url" name="url" placeholder="URL of a site" maxlength=2048 autocomplete="off"> + <input type="submit" value="OK"> + </form>
\ No newline at end of file |