diff options
Diffstat (limited to 'src/web/templates/bookmarks.html')
-rw-r--r-- | src/web/templates/bookmarks.html | 74 |
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> ⸱ - <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'private' }}">private</a> ⸱ - <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'public' }}">public</a> ⸱ - <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> {{ tag }} - {% endif %} - {% if query %} - <span class="glyphicon glyphicon-search" aria-hidden="true"></span> {{ 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 }} </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 %} |