1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-07 01:25:11 +01:00

Simplified card (no action), fix for no-title

This commit is contained in:
2016-07-19 15:31:52 +02:00
parent 2384d062da
commit 5c61d0c142

View File

@@ -16,24 +16,24 @@
#} #}
<div class="card green darken-3"> <div class="card green darken-3">
<div class="card-content white-text"> <div class="card-content white-text">
<span class="card-title activator"> <span class="card-title">
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}"> <a href="{{ bookmark.url }}" title="{{ bookmark.url }}">
{{ bookmark.title }} {% if bookmark.title %}
{{ bookmark.title }}
{% else %}
[ no title ]
{% endif %}
</a> </a>
<i class="material-icons right">more_vert</i>
</span> </span>
</div> </div>
<div class="card-reveal green darken-3"> <div class="card-reveal green darken-3">
<span class="card-title white-text">{{ bookmark.title }}<i class="material-icons right">close</i></span> <span class="card-title white-text">{{ bookmark.title }}</span>
<div class="card-action">
<a href="{{ url_for('editbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}">edit</a>
</div>
</div> </div>
<div class="card-action"> <div class="card-action">
{% if bookmark.favicon %} {% if bookmark.favicon %}
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" /> <img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" />&nbsp;&nbsp;&nbsp;
{% endif %} {% endif %}
<a href="{{ url_for('editbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}">edit</a> <a href="{{ url_for('editbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}">edit</a>
</div> </div>
</div> </div>
</div> </div>