<div style="color: black; padding: 10px; margin-bottom: 10px" class="card" id="article">
|
|
<a href="/article/{{article[0]}}" class="cell">{{ article[2] }}</a>
|
|
<a href="{{ article[1] }}" target="_blank" style="color: darkgray">{{ article[3] }}</a>
|
|
<span style="padding-top: 10px;">
|
|
{% if request.path == url_for('archived') %}
|
|
<a href="/unarchive/{{article[0]}}" style="color: gray" data-toggle="tooltip" data-placement="bottom" title="Unarchive"><svg
|
|
width="24"
|
|
height="24"
|
|
fill="none"
|
|
stroke="currentColor"
|
|
stroke-width="2"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
style="line-height: 1; vertical-align: middle; margin-bottom: 4px;">
|
|
<use xlink:href="{{url_for('.static', filename='feather-sprite.svg')}}#plus-square"/></svg></a>
|
|
{% else %}
|
|
<a href="/archive/{{article[0]}}" class="cell-button" data-toggle="tooltip" data-placement="bottom" title="Archive"><svg
|
|
width="24"
|
|
height="24"
|
|
fill="none"
|
|
stroke="currentColor"
|
|
stroke-width="2"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
style="line-height: 1; vertical-align: middle; margin-bottom: 4px;">
|
|
<use xlink:href="{{url_for('.static', filename='feather-sprite.svg')}}#archive"/></svg></a>
|
|
{% endif %}
|
|
|
|
<a href="/delete/{{article[0]}}" class="cell-button" data-toggle="tooltip" data-placement="bottom" title="Trash"><svg
|
|
width="24"
|
|
height="24"
|
|
fill="none"
|
|
stroke="currentColor"
|
|
stroke-width="2"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
style="line-height: 1; vertical-align: middle; margin-bottom: 4px;">
|
|
<use xlink:href="{{url_for('.static', filename='feather-sprite.svg')}}#trash"/></svg></a>
|
|
</span>
|
|
</div>
|