aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2014-12-07 23:36:35 +0100
committerThomas Citharel <tcit@tcit.fr>2014-12-07 23:36:35 +0100
commit311baf86befde0557faea614ca4d13bb2bd2cc66 (patch)
treedca9d7d429680db23cd4256a1c388ed3db4049ca /themes/baggy
parent9c55ed0923273da886497cb62302a79622e34a74 (diff)
downloadwallabag-311baf86befde0557faea614ca4d13bb2bd2cc66.tar.gz
wallabag-311baf86befde0557faea614ca4d13bb2bd2cc66.tar.zst
wallabag-311baf86befde0557faea614ca4d13bb2bd2cc66.zip
implemented random button
Diffstat (limited to 'themes/baggy')
-rwxr-xr-xthemes/baggy/css/main.css3
-rwxr-xr-xthemes/baggy/home.twig2
2 files changed, 4 insertions, 1 deletions
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css
index 1df82910..78d56612 100755
--- a/themes/baggy/css/main.css
+++ b/themes/baggy/css/main.css
@@ -736,6 +736,9 @@ a.add-to-wallabag-link-after:after {
736.icon-print:before { 736.icon-print:before {
737 content: "\e80d"; 737 content: "\e80d";
738} 738}
739.icon-random:before {
740 // RANDOM ICON TO ADD
741}
739 742
740 743
741/* .icon-image class, for image-based icons 744/* .icon-image class, for image-based icons
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig
index dec848f2..eb554b11 100755
--- a/themes/baggy/home.twig
+++ b/themes/baggy/home.twig
@@ -25,7 +25,7 @@
25 {% block pager %} 25 {% block pager %}
26 {% if nb_results > 1 %} 26 {% if nb_results > 1 %}
27 <div class="results"> 27 <div class="results">
28 <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if search_term is defined %} {% trans %}found for « {{ search_term }} »{% endtrans %}{% endif %}</div> 28 <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if search_term is defined %} {% trans %}found for « {{ search_term }} »{% endtrans %}{% endif %} <span class="icon icon-random"><a href="?view=view&id={{ random }}"> {% trans "random" %}</span></div>
29 {{ page_links | raw }} 29 {{ page_links | raw }}
30 </div> 30 </div>
31 {% elseif nb_results == 1 %} 31 {% elseif nb_results == 1 %}