1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05:00
wallabag/tpl/entries.html

21 lines
1.6 KiB
HTML
Raw Normal View History

2013-04-21 06:17:56 -04:00
<div id="content">
{loop="entries"}
<div id="entry-{$value.id}" class="entrie mb2">
<span class="content">
<h2 class="h6-like">
2013-04-19 05:41:12 -04:00
<a href="index.php?&view=view&id={$value.id}">{$value.title}</a>
</h2>
<div class="tools">
<ul>
2013-08-02 07:51:22 -04:00
<li>
<a title="toggle mark as read" class="tool archive {if="$value.is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$value.id})"><span></span></a></li>
<li><a title="toggle favorite" class="tool fav {if="$value.is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$value.id})"><span></span></a></li>
<li><form method="post" onsubmit="return confirm('Are you sure?')" style="display: inline;"><input type="hidden" name="token" id="token" value="<?php echo Session::getToken(); ?>" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="view" name="view" value="{$view}" /><input type="hidden" id="id" name="id" value="{$value.id}" /><input type="submit" class="delete" title="toggle delete" /></form>
</li>
</ul>
</div>
2013-08-02 07:51:22 -04:00
<div class="url">{$value.url}</div>
</span>
</div>
2013-04-21 06:17:56 -04:00
{/loop}
</div>