mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 10:50:29 +01:00
Merge branch 'dev' of git://github.com/mariroz/wallabag into dev
This commit is contained in:
commit
a71dc5d7d0
@ -3,6 +3,9 @@
|
||||
<li><a href="./?view=fav" {% if view == 'fav' %}class="current"{% endif %}>{% trans "favorites" %}</a></li>
|
||||
<li><a href="./?view=archive" {% if view == 'archive' %}class="current"{% endif %}>{% trans "archive" %}</a></li>
|
||||
<li><a href="./?view=tags" {% if view == 'tags' %}class="current"{% endif %}>{% trans "tags" %}</a></li>
|
||||
<li><a href="javascript: void(null);" id="pocheit">{% trans "save a link" %}</a><span id="pocheit-arrow"></span></li>
|
||||
<li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li>
|
||||
<li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
{% include '_pocheit-form.twig' %}
|
||||
|
||||
|
22
themes/default/_pocheit-form.twig
Executable file
22
themes/default/_pocheit-form.twig
Executable file
@ -0,0 +1,22 @@
|
||||
<div id="pocheit-form" class="messages info">
|
||||
<center>
|
||||
<form method="get" action="index.php">
|
||||
<input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
|
||||
<input type="submit" value="{% trans "save link!" %}" />
|
||||
</form>
|
||||
</center>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#pocheit-form").hide();
|
||||
|
||||
$("#pocheit").click(function(){
|
||||
$("#pocheit-form").toggle();
|
||||
$("#pocheit").toggleClass("current");
|
||||
$("#pocheit-arrow").toggleClass("arrow-down");
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
</script>
|
@ -334,3 +334,16 @@ a.bad-display span,
|
||||
a.reading-time span {
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.arrow-down {
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
border-style: solid;
|
||||
border-width: 10px 10px 0 10px;
|
||||
border-color: #000 transparent transparent transparent;
|
||||
|
||||
position: absolute;
|
||||
margin-top: 1.5em;
|
||||
margin-left: -30px;
|
||||
}
|
||||
|
||||
|
@ -46,4 +46,5 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{{ block('pager') }}
|
||||
{% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "mark all the entries as read" %}" href="./?action=archive_all">{% trans "mark all the entries as read" %}</a>{% endif %}{% endif %}
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user