mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 23:05:10 +01:00
66 lines
2.4 KiB
HTML
66 lines
2.4 KiB
HTML
{% extends "base.html" %}
|
|
{% if not action %}
|
|
{% set action = 'Bookmarks' %}
|
|
{% endif %}
|
|
{% block title %}{{ action }}{% endblock %}
|
|
{% block pageheader %}{{ action }}{% endblock %}
|
|
{% block pagecontent %}
|
|
|
|
{% if message %}
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<div class="card-panel orange lighten-2">
|
|
<span class="white-text">
|
|
{{ message }}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<a href="{{ url_for('publictagfeed', tagkey=tagkey) }}"><i class="material-icons tiny">rss_feed</i> feed</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
{% for bookmark in bookmarks %}
|
|
<div class="col s12 m6 l4">
|
|
<div class="card horizontal tiny green darken-3">
|
|
<div class="card-image">
|
|
{% if bookmark.favicon %}
|
|
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" class="favicon" />
|
|
{% endif %}
|
|
{% if bookmark.http_status != 200 %}
|
|
<i class="small material-icons red-text" title="HTTP status {{ bookmark.http_status }}">report_problem</i><br />
|
|
{% endif %}
|
|
{% if bookmark.starred == True %}
|
|
<i class="small material-icons yellow-text">star</i>
|
|
{% endif %}
|
|
</div>
|
|
<div class="card-stacked">
|
|
<div class="card-content white-text">
|
|
<span class="digimark-card-header activator">
|
|
<i class="material-icons right">more_vert</i>
|
|
</span>
|
|
<div class="digimark-card-content">
|
|
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}" rel="noreferrer">
|
|
{% if bookmark.title %}
|
|
{{ bookmark.title }}
|
|
{% else %}
|
|
[ no title ]
|
|
{% endif %}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-reveal green darken-3">
|
|
<span class="card-title white-text">Added @ {{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}<i class="material-icons right">close</i></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|