aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-08-02 11:03:55 +0200
committerArthurHoaro <arthur@hoa.ro>2016-11-05 14:29:52 +0100
commit3be3979c63d8092d646cebf2456831136c85cd09 (patch)
tree6a7284a8f980525be0561ecb2e5d72190960cb39
parentf47d81248d7bcbb478a67c0d0eb2a876c43b9570 (diff)
downloadShaarli-3be3979c63d8092d646cebf2456831136c85cd09.tar.gz
Shaarli-3be3979c63d8092d646cebf2456831136c85cd09.tar.zst
Shaarli-3be3979c63d8092d646cebf2456831136c85cd09.zip
Plugin parameter description: Update the templates to display them
-rw-r--r--inc/shaarli.css4
-rw-r--r--tpl/pluginsadmin.html5
2 files changed, 5 insertions, 4 deletions
diff --git a/inc/shaarli.css b/inc/shaarli.css
index 305afddc..5808320c 100644
--- a/inc/shaarli.css
+++ b/inc/shaarli.css
@@ -1156,7 +1156,7 @@ ul.errors {
1156} 1156}
1157 1157
1158#pluginsadmin .plugin_parameter { 1158#pluginsadmin .plugin_parameter {
1159 padding: 5px 0; 1159 padding: 10px 0;
1160 border-width: 1px 0; 1160 border-width: 1px 0;
1161 border-style: solid; 1161 border-style: solid;
1162 border-color: #c0c0c0; 1162 border-color: #c0c0c0;
@@ -1164,7 +1164,7 @@ ul.errors {
1164 1164
1165#pluginsadmin .float_label { 1165#pluginsadmin .float_label {
1166 float: left; 1166 float: left;
1167 width: 20%; 1167 width: 40%;
1168} 1168}
1169 1169
1170#pluginsadmin a { 1170#pluginsadmin a {
diff --git a/tpl/pluginsadmin.html b/tpl/pluginsadmin.html
index 5ddcf061..966360ea 100644
--- a/tpl/pluginsadmin.html
+++ b/tpl/pluginsadmin.html
@@ -104,11 +104,12 @@
104 <div class="plugin_parameter"> 104 <div class="plugin_parameter">
105 <div class="float_label"> 105 <div class="float_label">
106 <label for="{$key}"> 106 <label for="{$key}">
107 <code>{$key}</code> 107 <code>{$key}</code><br>
108 {$value.desc}
108 </label> 109 </label>
109 </div> 110 </div>
110 <div class="float_input"> 111 <div class="float_input">
111 <input name="{$key}" value="{$value}" id="{$key}"/> 112 <input name="{$key}" value="{$value.value}" id="{$key}"/>
112 </div> 113 </div>
113 </div> 114 </div>
114 {/loop} 115 {/loop}