aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/view.html
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-15 09:38:41 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-15 09:38:41 +0200
commit8046748b424f95a92ab599ecc973f57eb05246ce (patch)
treee3a2a66569337662a58cf8eba71125f7154c799a /tpl/view.html
parent3e188a7c8de484a57c05126072f76860c7746b39 (diff)
downloadwallabag-8046748b424f95a92ab599ecc973f57eb05246ce.tar.gz
wallabag-8046748b424f95a92ab599ecc973f57eb05246ce.tar.zst
wallabag-8046748b424f95a92ab599ecc973f57eb05246ce.zip
découpage des vues dans plusieurs fichiers tpl
Diffstat (limited to 'tpl/view.html')
-rwxr-xr-xtpl/view.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/tpl/view.html b/tpl/view.html
new file mode 100755
index 00000000..1e057889
--- /dev/null
+++ b/tpl/view.html
@@ -0,0 +1,29 @@
1{include="head"}
2 <body class="article">
3 <div id="article" class="w600p">
4 <div class="backhome">
5 <a href="index.php" title="back to home">&larr;</a>
6 </div>
7 <div class="tools">
8 <a title="toggle mark as read" class="tool archive {if="$is_read == 0"}archive-off{/if}" onclick="toggle_archive(this, {$id}, 1)"><span></span></a>
9 <a title="toggle favorite" class="tool fav {if="$is_fav == 0"}fav-off{/if}" onclick="toggle_favorite(this, {$id})"><span></span></a>
10 <a href="index.php?action=delete&id={$id}" title="toggle delete" onclick="return confirm('Are you sure?')" class="tool delete"><span></span></a>
11 </div>
12 <header class="mbm">
13 <h1><a href="{$url}">{$title}</a></h1>
14 <div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="original : {$title}">view original</a></div>
15 </header>
16 <article>
17 <div id="readityourselfcontent">
18 {$content}
19 </div>
20 </article>
21 <div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="original : {$title}">view original</a></div>
22 <div class="backhome">
23 <a href="index.php" title="back to home">&larr;</a>
24 </div>
25 </div>
26 {include="footer"}
27 {include="js"}
28 </body>
29</html>