aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-02-01 12:05:10 +0100
committerThomas Citharel <tcit@tcit.fr>2015-02-01 12:05:10 +0100
commitd4b6e20e2f04c5e93ab77b732a1108aee1b639d6 (patch)
tree848f2cce953b88a94bcc834176b9836e39c2fcdc /themes/default
parentb05f482dd219acd5f5c7e9669ad8bd168ba224c6 (diff)
parent3831c1525ccc512e27309f2cd531f0beff8dc430 (diff)
downloadwallabag-d4b6e20e2f04c5e93ab77b732a1108aee1b639d6.tar.gz
wallabag-d4b6e20e2f04c5e93ab77b732a1108aee1b639d6.tar.zst
wallabag-d4b6e20e2f04c5e93ab77b732a1108aee1b639d6.zip
merge
Diffstat (limited to 'themes/default')
-rwxr-xr-xthemes/default/css/style.css10
-rwxr-xr-xthemes/default/home.twig3
-rw-r--r--themes/default/img/default/dice.pngbin0 -> 243 bytes
3 files changed, 12 insertions, 1 deletions
diff --git a/themes/default/css/style.css b/themes/default/css/style.css
index b25373d6..a122dc54 100755
--- a/themes/default/css/style.css
+++ b/themes/default/css/style.css
@@ -151,6 +151,16 @@ a:visited {
151 text-indent: -9999px; 151 text-indent: -9999px;
152} 152}
153 153
154.random {
155 display: inline-block;
156 width: 16px;
157 height: 16px;
158 overflow: hidden;
159 text-align: left;
160 text-indent: -9999px;
161 background-image: url('../img/default/dice.png');
162}
163
154/*** ***/ 164/*** ***/
155 165
156/*** ARTICLE PAGE ***/ 166/*** ARTICLE PAGE ***/
diff --git a/themes/default/home.twig b/themes/default/home.twig
index b9000559..abc96af8 100755
--- a/themes/default/home.twig
+++ b/themes/default/home.twig
@@ -31,7 +31,8 @@
31 {% block pager %} 31 {% block pager %}
32 {% if nb_results > 1 %} 32 {% if nb_results > 1 %}
33 <div class="results"> 33 <div class="results">
34 <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}</div> 34 <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}
35 <a class="random" href="?view=view&id={{ random }}"><span>{% trans "random" %}</span></a></div>
35 {{ page_links | raw }} 36 {{ page_links | raw }}
36 </div> 37 </div>
37 {% elseif nb_results == 1 %} 38 {% elseif nb_results == 1 %}
diff --git a/themes/default/img/default/dice.png b/themes/default/img/default/dice.png
new file mode 100644
index 00000000..70af6d0b
--- /dev/null
+++ b/themes/default/img/default/dice.png
Binary files differ