diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/default/css/shaarli.css | 20 | ||||
-rw-r--r-- | tpl/default/pluginsadmin.html | 18 | ||||
-rw-r--r-- | tpl/default/tag.cloud.html | 6 | ||||
-rw-r--r-- | tpl/default/tag.list.html | 4 |
4 files changed, 38 insertions, 10 deletions
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index 9065f887..14439402 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css | |||
@@ -1327,4 +1327,22 @@ form[name="linkform"].page-form { | |||
1327 | 1327 | ||
1328 | .markdown *:last-child { | 1328 | .markdown *:last-child { |
1329 | margin-bottom: 5px !important; | 1329 | margin-bottom: 5px !important; |
1330 | } \ No newline at end of file | 1330 | } |
1331 | |||
1332 | /** | ||
1333 | * Pure Button | ||
1334 | */ | ||
1335 | .pure-button-success, | ||
1336 | .pure-button-error, | ||
1337 | .pure-button-warning, | ||
1338 | .pure-button-primary, | ||
1339 | .pure-button-shaarli, | ||
1340 | .pure-button-secondary { | ||
1341 | color: white !important; | ||
1342 | border-radius: 4px; | ||
1343 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); | ||
1344 | } | ||
1345 | |||
1346 | .pure-button-shaarli { | ||
1347 | background-color: #1B926C; | ||
1348 | } | ||
diff --git a/tpl/default/pluginsadmin.html b/tpl/default/pluginsadmin.html index 717cb517..ca17b435 100644 --- a/tpl/default/pluginsadmin.html +++ b/tpl/default/pluginsadmin.html | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | <div> | 28 | <div> |
29 | {if="count($enabledPlugins)==0"} | 29 | {if="count($enabledPlugins)==0"} |
30 | <p>{'No plugin enabled.'|t}</p> | 30 | <p class="center">{'No plugin enabled.'|t}</p> |
31 | {else} | 31 | {else} |
32 | <table id="plugin_table"> | 32 | <table id="plugin_table"> |
33 | <thead> | 33 | <thead> |
@@ -77,7 +77,7 @@ | |||
77 | 77 | ||
78 | <div> | 78 | <div> |
79 | {if="count($disabledPlugins)==0"} | 79 | {if="count($disabledPlugins)==0"} |
80 | <p>{'No plugin disabled.'|t}</p> | 80 | <p class="center">{'No plugin disabled.'|t}</p> |
81 | {else} | 81 | {else} |
82 | <table> | 82 | <table> |
83 | <thead> | 83 | <thead> |
@@ -135,9 +135,11 @@ | |||
135 | <section id="plugin_parameters"> | 135 | <section id="plugin_parameters"> |
136 | <div> | 136 | <div> |
137 | {if="count($enabledPlugins)==0"} | 137 | {if="count($enabledPlugins)==0"} |
138 | <p>{'No plugin enabled.'|t}</p> | 138 | <p class="center">{'No plugin enabled.'|t}</p> |
139 | {else} | 139 | {else} |
140 | {$counter=0} | ||
140 | {loop="$enabledPlugins"} | 141 | {loop="$enabledPlugins"} |
142 | {$counter=$counter+count($value.parameters)} | ||
141 | {if="count($value.parameters) > 0"} | 143 | {if="count($value.parameters) > 0"} |
142 | <div class="plugin_parameters"> | 144 | <div class="plugin_parameters"> |
143 | <h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3> | 145 | <h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3> |
@@ -159,10 +161,14 @@ | |||
159 | </div> | 161 | </div> |
160 | {/if} | 162 | {/if} |
161 | {/loop} | 163 | {/loop} |
164 | {if="$counter===0"} | ||
165 | <p class="center">{'No parameter available.'|t}</p> | ||
166 | {else} | ||
167 | <div class="center"> | ||
168 | <input type="submit" name="parameters_form" value="{'Save'|t}"/> | ||
169 | </div> | ||
170 | {/if} | ||
162 | {/if} | 171 | {/if} |
163 | <div class="center"> | ||
164 | <input type="submit" name="parameters_form" value="{'Save'|t}"/> | ||
165 | </div> | ||
166 | </div> | 172 | </div> |
167 | </section> | 173 | </section> |
168 | </div> | 174 | </div> |
diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html index 68335c70..12701465 100644 --- a/tpl/default/tag.cloud.html +++ b/tpl/default/tag.cloud.html | |||
@@ -14,8 +14,10 @@ | |||
14 | {$countTags=count($tags)} | 14 | {$countTags=count($tags)} |
15 | <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2> | 15 | <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2> |
16 | {if="!empty($search_tags)"} | 16 | {if="!empty($search_tags)"} |
17 | <p class="enter"> | 17 | <p class="center"> |
18 | <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a> | 18 | <a href="?searchtags={$search_tags|urlencode}" class="pure-button pure-button-shaarli"> |
19 | {'List all links with those tags'|t} | ||
20 | </a> | ||
19 | </p> | 21 | </p> |
20 | {/if} | 22 | {/if} |
21 | 23 | ||
diff --git a/tpl/default/tag.list.html b/tpl/default/tag.list.html index a3e741d3..7140c67a 100644 --- a/tpl/default/tag.list.html +++ b/tpl/default/tag.list.html | |||
@@ -15,7 +15,9 @@ | |||
15 | <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2> | 15 | <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2> |
16 | {if="!empty($search_tags)"} | 16 | {if="!empty($search_tags)"} |
17 | <p class="center"> | 17 | <p class="center"> |
18 | <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a> | 18 | <a href="?searchtags={$search_tags|urlencode}" class="pure-button pure-button-shaarli"> |
19 | {'List all links with those tags'|t} | ||
20 | </a> | ||
19 | </p> | 21 | </p> |
20 | {/if} | 22 | {/if} |
21 | 23 | ||