aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-08-02 11:03:55 +0200
committerArthurHoaro <arthur@hoa.ro>2016-08-02 11:12:05 +0200
commit1442afe3cf928815916d73e2b7ff8f176b3a0af1 (patch)
tree071f54cc4e31ee471fa6e009d32988efd5159e49
parent15170b516429341ae8e1a9ad2111be5ef90bf6aa (diff)
downloadShaarli-1442afe3cf928815916d73e2b7ff8f176b3a0af1.tar.gz
Shaarli-1442afe3cf928815916d73e2b7ff8f176b3a0af1.tar.zst
Shaarli-1442afe3cf928815916d73e2b7ff8f176b3a0af1.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}