diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-02-12 16:41:09 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-02-12 16:41:09 +0100 |
commit | 8bd82176356540b88eece24b96d7eb6a2260d718 (patch) | |
tree | 619caf62c174d09448e3da9c873b2df0d26dd5c2 /src/web/templates/bookmarks.html | |
parent | New https certificate (diff) | |
download | newspipe-8bd82176356540b88eece24b96d7eb6a2260d718.tar.gz newspipe-8bd82176356540b88eece24b96d7eb6a2260d718.tar.bz2 newspipe-8bd82176356540b88eece24b96d7eb6a2260d718.zip |
prototypefor bookmarks
Diffstat (limited to 'src/web/templates/bookmarks.html')
-rw-r--r-- | src/web/templates/bookmarks.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/web/templates/bookmarks.html b/src/web/templates/bookmarks.html new file mode 100644 index 00000000..9e6f0ab1 --- /dev/null +++ b/src/web/templates/bookmarks.html @@ -0,0 +1,15 @@ +{% extends "layout.html" %} +{% block content %} +<div class="container"> + <h1>{{ _('Bookmarks') }}</h1> + <ul class="list-group"> + {% for bookmark in bookmarks %} + <li class="list-group-item"> + <a href="{{ bookmark.href }}">{{ bookmark.href }}</a> + <a href="{{ bookmark.href }}">{{ ", ".join(bookmark.tags) }}</a> + <a href="{{ url_for('bookmark.form', bookmark_id=bookmark.id) }}">edit</a> + </li> + {% endfor %} + </ul> +</div><!-- /.container --> +{% endblock %} |