1
0
mirror of https://github.com/moparisthebest/wallabag synced 2025-02-22 13:51:47 -05:00

implement position fixed option

This commit is contained in:
tcit 2014-10-01 19:27:05 +02:00
parent 6ddf52e11b
commit 66ec279620

View File

@ -5,7 +5,7 @@
{% block title %}{{ entry.title|raw }} ({{ entry.url | e | getDomain }}){% endblock %} {% block title %}{{ entry.title|raw }} ({{ entry.url | e | getDomain }}){% endblock %}
{% block content %} {% block content %}
{% include '_highlight.twig' %} {% include '_highlight.twig' %}
<div id="article_toolbar"> <div id="article_toolbar" {% if constant('TOOLBAR_FIXED') == 1 %}style="position:fixed;" {% endif %}>
<ul class="links"> <ul class="links">
<li class="topPosF"><a href="#top" title="{% trans "Back to top" %}" class="tool top icon icon-arrow-up-thick"><span>{% trans "Back to top" %}</span></a></li> <li class="topPosF"><a href="#top" title="{% trans "Back to top" %}" class="tool top icon icon-arrow-up-thick"><span>{% trans "Back to top" %}</span></a></li>
<li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link icon icon-link"><span>{{ entry.url | e | getDomain }}</span></a></li> <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link icon icon-link"><span>{{ entry.url | e | getDomain }}</span></a></li>