]>
Commit | Line | Data |
---|---|---|
3ba5f81b NL |
1 | {% extends "layout.twig" %} |
2 | {% block title %}{% trans "home" %}{% endblock %} | |
3 | ||
4 | {% block content %} | |
2a1791a4 | 5 | <div id="article" class="w600p"> |
8046748b | 6 | <div class="backhome"> |
3ba5f81b | 7 | <a href="./" title="{% trans "back to home" %}">←</a> |
8046748b | 8 | </div> |
9 | <div class="tools"> | |
cf3180f6 | 10 | <ul> |
a62788c6 | 11 | {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title}}%20{{ entry.url|e }}%20via%20@getpoche" target="_blank" class="tool twitter"><span></span></a></li>{% endif %} |
3ba5f81b NL |
12 | <li><a title="{% trans "toggle mark as read" %}" class="tool archive {% if entry.is_read == 0 %}archive-off{% endif %}" onclick="toggle_archive(this, {{ entry.id|e }})"><span></span></a></li> |
13 | <li><a href="#" id="themeswitch">{% trans "dark" %}</a></li> | |
14 | <li><a title="{% trans "toggle favorite" %}" class="tool fav {% if entry.is_fav == 0 %}fav-off{% endif %}" onclick="toggle_favorite(this, {{ entry.id|e }})"><span></span></a></li> | |
15 | <li><form method="post" style="display: inline;" action="index.php"><input type="hidden" name="token" id="token" value="{{ token }}" /><input type="hidden" id="view" name="view" value="index" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="id" name="id" value="{{ entry.id|e }}" /><input type="submit" class="delete" title="{% trans "toggle delete" %}" /></form></li> | |
16 | <li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li> | |
cf3180f6 | 17 | </ul> |
8046748b | 18 | </div> |
19 | <header class="mbm"> | |
3ba5f81b NL |
20 | <h1><a href="{{ entry.url|e }}">{{ entry.title|e }}</a></h1> |
21 | <div class="vieworiginal txtright small"><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{% trans "view original" %}</a></div> | |
8046748b | 22 | </header> |
23 | <article> | |
24 | <div id="readityourselfcontent"> | |
2a1791a4 | 25 | {{ content | raw }} |
8046748b | 26 | </div> |
27 | </article> | |
3ba5f81b | 28 | <div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{% trans "view original" %}</a></div> |
8046748b | 29 | <div class="backhome"> |
3ba5f81b NL |
30 | <a href="./" title="{% trans "back to home" %}">←</a> |
31 | <a href="#" title="{% trans "back to top" %}">↑</a> | |
8046748b | 32 | </div> |
70b5d24f | 33 | <div class="support"> |
3ba5f81b | 34 | {% trans "this article appears wrong?" %} <a href="https://github.com/inthepoche/poche/issues/new">{% trans "create an issue" %}</a> {% trans "or" %} <a href="mailto:support@inthepoche.com">{% trans "contact us by mail" %}</a> |
70b5d24f | 35 | </div> |
3ba5f81b NL |
36 | </div> |
37 | {% endblock %} | |
e4d2565e | 38 | |
3ba5f81b NL |
39 | {% block js %} |
40 | <script type="text/javascript" src="./tpl/js/jquery-1.9.1.min.js"></script> | |
41 | <script type="text/javascript" src="./tpl/js/poche.js"></script> | |
42 | {% endblock %} |