aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/bookmarks.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-02-12 16:41:09 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-02-12 16:41:09 +0100
commit8bd82176356540b88eece24b96d7eb6a2260d718 (patch)
tree619caf62c174d09448e3da9c873b2df0d26dd5c2 /src/web/templates/bookmarks.html
parentNew https certificate (diff)
downloadnewspipe-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.html15
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>&nbsp;
+ <a href="{{ bookmark.href }}">{{ ", ".join(bookmark.tags) }}</a>&nbsp;
+ <a href="{{ url_for('bookmark.form', bookmark_id=bookmark.id) }}">edit</a>
+ </li>
+ {% endfor %}
+ </ul>
+</div><!-- /.container -->
+{% endblock %}
bgstack15