1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-05 17:05:07 -05:00
wallabag/tpl/home.twig

21 lines
1.2 KiB
Twig
Raw Normal View History

2013-04-21 06:17:56 -04:00
<body class="light-style">
<header>
2013-04-23 02:07:47 -04:00
<h1><a href="index.php"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
2013-04-21 06:17:56 -04:00
</header>
<div id="main">
2013-08-02 16:40:51 -04:00
{% block menu %}
<ul id="links">
<li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li>
<li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li>
<li><a href="?view=archive" {if="$view == 'archive'"}class="current"{/if}>archive</a></li>
2013-04-21 07:11:14 -04:00
<li><a href="?view=config" {if="$view == 'config'"}class="current"{/if}>config</a></li>
<li><a href="?logout" title="Logout">logout</a></li>
</ul>
2013-08-02 16:40:51 -04:00
{% endblock %}
{% block precontent %}
<ul id="sort">
2013-04-19 05:41:12 -04:00
<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>
<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>
</ul>
2013-08-02 16:40:51 -04:00
{% endblock %}
{include="messages"}