forked from wallabag/wallabag
implemented random button
This commit is contained in:
@ -151,6 +151,16 @@ a:visited {
|
||||
text-indent: -9999px;
|
||||
}
|
||||
|
||||
.random {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
text-indent: -9999px;
|
||||
background-image: url('../img/default/dice.png');
|
||||
}
|
||||
|
||||
/*** ***/
|
||||
|
||||
/*** ARTICLE PAGE ***/
|
||||
|
||||
@ -31,7 +31,8 @@
|
||||
{% block pager %}
|
||||
{% if nb_results > 1 %}
|
||||
<div class="results">
|
||||
<div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}</div>
|
||||
<div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}
|
||||
<a class="random" href="?view=view&id={{ random }}"><span>{% trans "random" %}</span></a></div>
|
||||
{{ page_links | raw }}
|
||||
</div>
|
||||
{% elseif nb_results == 1 %}
|
||||
|
||||
BIN
themes/default/img/default/dice.png
Normal file
BIN
themes/default/img/default/dice.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 243 B |
Reference in New Issue
Block a user