mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-07 00:15:10 +01:00
42 lines
1.6 KiB
HTML
42 lines
1.6 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Bookmarks{% endblock %}
|
|
{% block pageheader %}Bookmarks{% endblock %}
|
|
{% block pagecontent %}
|
|
<div class="row">
|
|
{% for bookmark in bookmarks %}
|
|
<div class="col s4">
|
|
{#
|
|
<div class="thumbnail">
|
|
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}">
|
|
<img style="width:450px;" src="{{ bookmark.image }}" />
|
|
</a>
|
|
<p><a href="{{ bookmark.url }}">{{ bookmark.url|urlize(25) }}</a></p>
|
|
<p>{{ bookmark.created_date.strftime("%m/%d/%Y %H:%M") }}</p>
|
|
</div>
|
|
#}
|
|
<div class="card blue-grey darken-1">
|
|
<div class="card-content white-text">
|
|
<span class="card-title activator">
|
|
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}">
|
|
{{ bookmark.title }}
|
|
</a>
|
|
<i class="material-icons right">more_vert</i>
|
|
</span>
|
|
</div>
|
|
<div class="card-reveal teal darken-4">
|
|
<span class="card-title">{{ bookmark.title }}<i class="material-icons right">close</i></span>
|
|
<div><a href="{{ url_for('editbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}">edit</a></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{#
|
|
<div class="pagination">
|
|
{% if page > 1 %}<a href="./?page={{ page - 1 }}">Previous</a>{% endif %}
|
|
{% if pagination.get_pages() > page %}<a href="./?page={{ page + 1 }}">Next</a>{% endif %}
|
|
</div>
|
|
#}
|
|
</div>
|
|
{% endblock %}
|