diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-03 08:24:42 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-03 08:24:42 +0200 |
commit | c67e13e04baab64bcc63fd0dca46125513250c44 (patch) | |
tree | eaad9f73fd1e50e192312d73c3739c3d82c4d323 /tpl/home.twig | |
parent | afe60d614b5c3c7700db93e51a991b0180887726 (diff) | |
download | wallabag-c67e13e04baab64bcc63fd0dca46125513250c44.tar.gz wallabag-c67e13e04baab64bcc63fd0dca46125513250c44.tar.zst wallabag-c67e13e04baab64bcc63fd0dca46125513250c44.zip |
new tpl files
Diffstat (limited to 'tpl/home.twig')
-rw-r--r-- | tpl/home.twig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tpl/home.twig b/tpl/home.twig new file mode 100644 index 00000000..8b602a25 --- /dev/null +++ b/tpl/home.twig | |||
@@ -0,0 +1,21 @@ | |||
1 | <body class="light-style"> | ||
2 | <header> | ||
3 | <h1><a href="index.php"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1> | ||
4 | </header> | ||
5 | <div id="main"> | ||
6 | {% block menu %} | ||
7 | <ul id="links"> | ||
8 | <li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li> | ||
9 | <li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li> | ||
10 | <li><a href="?view=archive" {if="$view == 'archive'"}class="current"{/if}>archive</a></li> | ||
11 | <li><a href="?view=config" {if="$view == 'config'"}class="current"{/if}>config</a></li> | ||
12 | <li><a href="?logout" title="Logout">logout</a></li> | ||
13 | </ul> | ||
14 | {% endblock %} | ||
15 | {% block precontent %} | ||
16 | <ul id="sort"> | ||
17 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ia');" title="by date asc" /> by date <img src="img/down.png" onclick="sort_links('{$view}', 'id');" title="by date desc" /></li> | ||
18 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ta');" title="by title asc" /> by title <img src="img/down.png" onclick="sort_links('{$view}', 'td');" title="by title desc" /></li> | ||
19 | </ul> | ||
20 | {% endblock %} | ||
21 | {include="messages"} \ No newline at end of file | ||