aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/entries.html
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-16 11:52:25 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-16 11:52:25 +0200
commit139769aa245fd58d032cb009303b0ea2cc4187cd (patch)
tree5a69fec8dedb380e034b318a4fb16e0c664c2545 /tpl/entries.html
parent643e3037e6e63befb2cec20f7986f14480d4ae4b (diff)
downloadwallabag-139769aa245fd58d032cb009303b0ea2cc4187cd.tar.gz
wallabag-139769aa245fd58d032cb009303b0ea2cc4187cd.tar.zst
wallabag-139769aa245fd58d032cb009303b0ea2cc4187cd.zip
stockage de la vue et du tri en session
Diffstat (limited to 'tpl/entries.html')
-rw-r--r--tpl/entries.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/tpl/entries.html b/tpl/entries.html
new file mode 100644
index 00000000..0d3e6bc0
--- /dev/null
+++ b/tpl/entries.html
@@ -0,0 +1,16 @@
1 {loop="entries"}
2 <div id="entry-{$value.id}" class="entrie mb2">
3 <span class="content">
4 <h2 class="h6-like">
5 <a href="view.php?id={$value.id}">{$value.title}</a>
6 </h2>
7 <div class="tools">
8 <ul>
9 <li><a title="toggle mark as read" class="tool archive {if="$value.is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$value.id}, '{$token}')"><span></span></a></li>
10 <li><a title="toggle favorite" class="tool fav {if="$value.is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$value.id}, '{$token}')"><span></span></a></li>
11 <li><form method="post" onsubmit="return confirm('Are you sure?')" style="display: inline;"><input type="hidden" name="token" id="token" value="{$token}" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="id" name="id" value="{$value.id}" /><input type="submit" class="delete" title="toggle delete" /></form></li>
12 </ul>
13 </div>
14 </span>
15 </div>
16 {/loop} \ No newline at end of file