diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-01-03 11:42:21 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-01-05 16:16:23 +0100 |
commit | a0df06517bada0f811b464017ce385290e02c2bf (patch) | |
tree | 6bc3e99a9e9b93eb3e0f531f67a607dec748f407 /tpl | |
parent | adc4aee80f7cd3242f65f0b316af2b560a64712c (diff) | |
download | Shaarli-a0df06517bada0f811b464017ce385290e02c2bf.tar.gz Shaarli-a0df06517bada0f811b464017ce385290e02c2bf.tar.zst Shaarli-a0df06517bada0f811b464017ce385290e02c2bf.zip |
Minor improvements regarding #705 (coding style, unit tests, etc.)
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/default/configure.html | 13 | ||||
-rw-r--r-- | tpl/default/css/reset.css (renamed from tpl/default/inc/reset.css) | 0 | ||||
-rw-r--r-- | tpl/default/css/shaarli.css (renamed from tpl/default/inc/shaarli.css) | 0 | ||||
-rw-r--r-- | tpl/default/daily.html | 8 | ||||
-rw-r--r-- | tpl/default/images/floral_left.png | bin | 0 -> 1284 bytes | |||
-rw-r--r-- | tpl/default/images/floral_right.png | bin | 0 -> 1309 bytes | |||
-rw-r--r-- | tpl/default/images/squiggle.png | bin | 0 -> 720 bytes | |||
-rw-r--r-- | tpl/default/images/squiggle_closing.png | bin | 0 -> 1244 bytes | |||
-rw-r--r-- | tpl/default/includes.html | 4 |
9 files changed, 13 insertions, 12 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html index 94f6df69..e71133b4 100644 --- a/tpl/default/configure.html +++ b/tpl/default/configure.html | |||
@@ -25,14 +25,15 @@ | |||
25 | <td> | 25 | <td> |
26 | <select name="theme" id="theme"> | 26 | <select name="theme" id="theme"> |
27 | {loop="$theme_available"} | 27 | {loop="$theme_available"} |
28 | {if="$value===$theme"} | 28 | <option value="{$value}" |
29 | <option selected value="{$value}">{$value|ucfirst}</option> | 29 | {if="$value===$theme"} |
30 | {else} | 30 | selected="selected" |
31 | <option value="{$value}">{$value|ucfirst}</option> | 31 | {/if} |
32 | {/if} | 32 | > |
33 | {$value|ucfirst} | ||
34 | </option> | ||
33 | {/loop} | 35 | {/loop} |
34 | </select> | 36 | </select> |
35 | <label for="theme">(default value is: Default)</label> | ||
36 | </td> | 37 | </td> |
37 | </tr> | 38 | </tr> |
38 | 39 | ||
diff --git a/tpl/default/inc/reset.css b/tpl/default/css/reset.css index e29699e2..e29699e2 100644 --- a/tpl/default/inc/reset.css +++ b/tpl/default/css/reset.css | |||
diff --git a/tpl/default/inc/shaarli.css b/tpl/default/css/shaarli.css index 45890f62..45890f62 100644 --- a/tpl/default/inc/shaarli.css +++ b/tpl/default/css/shaarli.css | |||
diff --git a/tpl/default/daily.html b/tpl/default/daily.html index 024ee32e..e86e90b1 100644 --- a/tpl/default/daily.html +++ b/tpl/default/daily.html | |||
@@ -28,9 +28,9 @@ | |||
28 | </div> | 28 | </div> |
29 | 29 | ||
30 | <div class="dailyTitle"> | 30 | <div class="dailyTitle"> |
31 | <img src="../../images/floral_left.png" width="51" height="50" class="nomobile" alt="floral_left"> | 31 | <img src="images/floral_left.png" width="51" height="50" class="nomobile" alt="floral_left"> |
32 | The Daily Shaarli | 32 | The Daily Shaarli |
33 | <img src="../../images/floral_right.png" width="51" height="50" class="nomobile" alt="floral_right"> | 33 | <img src="images/floral_right.png" width="51" height="50" class="nomobile" alt="floral_right"> |
34 | </div> | 34 | </div> |
35 | 35 | ||
36 | <div class="dailyDate"> | 36 | <div class="dailyDate"> |
@@ -50,7 +50,7 @@ | |||
50 | <div class="dailyEntry"> | 50 | <div class="dailyEntry"> |
51 | <div class="dailyEntryPermalink"> | 51 | <div class="dailyEntryPermalink"> |
52 | <a href="?{$value.shorturl}"> | 52 | <a href="?{$value.shorturl}"> |
53 | <img src="../../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink"> | 53 | <img src="images/squiggle.png" width="25" height="26" title="permalink" alt="permalink"> |
54 | </a> | 54 | </a> |
55 | </div> | 55 | </div> |
56 | {if="!$hide_timestamps || isLoggedIn()"} | 56 | {if="!$hide_timestamps || isLoggedIn()"} |
@@ -94,7 +94,7 @@ | |||
94 | {$value} | 94 | {$value} |
95 | {/loop} | 95 | {/loop} |
96 | </div> | 96 | </div> |
97 | <div id="closing"><img src="../../images/squiggle_closing.png" width="66" height="61" alt="-"></div> | 97 | <div id="closing"><img src="images/squiggle_closing.png" width="66" height="61" alt="-"></div> |
98 | </div> | 98 | </div> |
99 | {include="page.footer"} | 99 | {include="page.footer"} |
100 | </body> | 100 | </body> |
diff --git a/tpl/default/images/floral_left.png b/tpl/default/images/floral_left.png new file mode 100644 index 00000000..f09a861d --- /dev/null +++ b/tpl/default/images/floral_left.png | |||
Binary files differ | |||
diff --git a/tpl/default/images/floral_right.png b/tpl/default/images/floral_right.png new file mode 100644 index 00000000..0dfb6112 --- /dev/null +++ b/tpl/default/images/floral_right.png | |||
Binary files differ | |||
diff --git a/tpl/default/images/squiggle.png b/tpl/default/images/squiggle.png new file mode 100644 index 00000000..c795f0a3 --- /dev/null +++ b/tpl/default/images/squiggle.png | |||
Binary files differ | |||
diff --git a/tpl/default/images/squiggle_closing.png b/tpl/default/images/squiggle_closing.png new file mode 100644 index 00000000..3f9d02b1 --- /dev/null +++ b/tpl/default/images/squiggle_closing.png | |||
Binary files differ | |||
diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 2ff5d8df..c3b837f5 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html | |||
@@ -6,8 +6,8 @@ | |||
6 | <link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" /> | 6 | <link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" /> |
7 | <link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" /> | 7 | <link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" /> |
8 | <link href="images/favicon.ico#" rel="shortcut icon" type="image/x-icon" /> | 8 | <link href="images/favicon.ico#" rel="shortcut icon" type="image/x-icon" /> |
9 | <link type="text/css" rel="stylesheet" href="inc/reset.css" /> | 9 | <link type="text/css" rel="stylesheet" href="css/reset.css" /> |
10 | <link type="text/css" rel="stylesheet" href="inc/shaarli.css" /> | 10 | <link type="text/css" rel="stylesheet" href="css/shaarli.css" /> |
11 | {if="is_file('inc/user.css')"}<link type="text/css" rel="stylesheet" href="inc/user.css#" />{/if} | 11 | {if="is_file('inc/user.css')"}<link type="text/css" rel="stylesheet" href="inc/user.css#" />{/if} |
12 | {loop="$plugins_includes.css_files"} | 12 | {loop="$plugins_includes.css_files"} |
13 | <link type="text/css" rel="stylesheet" href="{$value}#"/> | 13 | <link type="text/css" rel="stylesheet" href="{$value}#"/> |