aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/bookmarks.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-02-26 11:27:31 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-02-26 11:27:31 +0100
commit62b3afeeedfe054345f86093e2d243e956c1e3c9 (patch)
treebbd58f5c8c07f5d87b1c1cca73fa1d5af6178f48 /src/web/templates/bookmarks.html
parentUpdated Python dependencies. (diff)
downloadnewspipe-62b3afeeedfe054345f86093e2d243e956c1e3c9.tar.gz
newspipe-62b3afeeedfe054345f86093e2d243e956c1e3c9.tar.bz2
newspipe-62b3afeeedfe054345f86093e2d243e956c1e3c9.zip
The project is now using Poetry.
Diffstat (limited to 'src/web/templates/bookmarks.html')
-rw-r--r--src/web/templates/bookmarks.html74
1 files changed, 0 insertions, 74 deletions
diff --git a/src/web/templates/bookmarks.html b/src/web/templates/bookmarks.html
deleted file mode 100644
index a3ec4580..00000000
--- a/src/web/templates/bookmarks.html
+++ /dev/null
@@ -1,74 +0,0 @@
-{% extends "layout.html" %}
-{% block content %}
-<div class="container">
- <div class="row">
- <div class="col-md-6">
- {{ pagination.info }}
- </div>
- <div class="col-md-6 text-right">
- {% if current_user.is_authenticated %}
- <a class="text-muted" href="{{ url_for('bookmarks.list_') }}">all</a>&nbsp;⸱&nbsp;
- <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'private' }}">private</a>&nbsp;⸱&nbsp;
- <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'public' }}">public</a>&nbsp;⸱&nbsp;
- <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'unread' }}">unread</a>
- {% endif %}
- </div>
- </div>
- <br />
- <div class="row">
- <div class="col-md-6">
- {% if tag %}
- <span class="glyphicon glyphicon-tags" aria-hidden="true"></span>&nbsp;&nbsp;{{ tag }}
- {% endif %}
- {% if query %}
- <span class="glyphicon glyphicon-search" aria-hidden="true"></span>&nbsp;&nbsp;{{ query }}
- {% endif %}
- </div>
- <div class="col-md-6 text-right">
- <form method="GET">
- <div class="form-inline">
- <input type="text" name="query" class="form-control" />
- <button type="submit" class="btn btn-default">Search</button>
- </div>
- </form>
- </div>
- </div>
- <br />
- <div class="row">
- <div class="col-md-8">
- {{ pagination.links }}
- </div>
- </div>
-
- <div class="row">
- <div class="col-md-8">
- <ul class="list-group">
- {% for bookmark in bookmarks %}
- <li class="list-group-item">
- <a href="#">
- <h4 class="list-group-item-heading">
- <a href="{{ bookmark.href }}">{{ bookmark.title }}</a>
- </h4>
- <p class="list-group-item-text">
- <div class="text-muted">{{ bookmark.description }}</div>
- <div>{% for tag in bookmark.tags %}<a href="{{ url_for('bookmarks.list_', tag=tag.text) }}">{{ tag.text }}&nbsp;</a>{% endfor %}</div>
- {{ bookmark.time | datetime }}
- {% if current_user.is_authenticated %}
- <a class="text-muted" href="{{ url_for('bookmark.form', bookmark_id=bookmark.id) }}">edit</a>
- <a class="text-muted" href="{{ url_for('bookmark.delete', bookmark_id=bookmark.id) }}">delete</a>
- {% endif %}
- </p>
- </a>
- </li>
- {% endfor %}
- </ul>
- </div>
- </div>
- <br />
- <div class="row">
- <div class="col-md-8">
- {{ pagination.links }}
- </div>
- </div>
-</div><!-- /.container -->
-{% endblock %}
bgstack15