aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/configure.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-02-21 14:16:48 +0100
committerArthurHoaro <arthur@hoa.ro>2017-02-27 20:01:54 +0100
commit7040169069322d72cec4276b7b812291b57a0d40 (patch)
treed038b8d560873852c2cbf0ef147ed71543b255a6 /tpl/default/configure.html
parent430ff0710265ff281727ef6824cf292d1dfc50f1 (diff)
downloadShaarli-7040169069322d72cec4276b7b812291b57a0d40.tar.gz
Shaarli-7040169069322d72cec4276b7b812291b57a0d40.tar.zst
Shaarli-7040169069322d72cec4276b7b812291b57a0d40.zip
Multiple minor improvements and bugfixes regarding the new templates:
* Add API settings in `configure.html` * Fix textarea autoresize * Load user.css from data folder * Move fold/expand all button to the right and fix an issue with already folded items * Reset datetime display to international datetime * Temporarilly remove JS login panel (need improvement and integration with the plugin system) * Body background is slightly lighter * Fix an issue where thumbnails were hidden by description * Fix an issue where private orange bar wasn't displayed with thumbnails * Remove the gradient bar behind titles * Fix empty bookmarklet name in Firefox
Diffstat (limited to 'tpl/default/configure.html')
-rw-r--r--tpl/default/configure.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html
index a2425601..2f54a085 100644
--- a/tpl/default/configure.html
+++ b/tpl/default/configure.html
@@ -183,6 +183,36 @@
183 </div> 183 </div>
184 </div> 184 </div>
185 </div> 185 </div>
186 <div class="pure-g">
187 <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile}">
188 <div class="form-label">
189 <label for="apiEnabled">
190 <span class="label-name">{'Enable REST API'|t}</span><br>
191 <span class="label-desc">{'Allow third party software to use Shaarli such as mobile application'|t}</span>
192 </label>
193 </div>
194 </div>
195 <div class="pure-u-lg-{$ratioInput} pure-u-{$ratioInputMobile}">
196 <div class="form-input">
197 <input type="checkbox" name="apiEnabled" id="apiEnabled"
198 {if="$api_enabled"}checked{/if}/>
199 </div>
200 </div>
201 </div>
202 <div class="pure-g">
203 <div class="pure-u-lg-{$ratioLabel} pure-u-1">
204 <div class="form-label">
205 <label for="apiSecret">
206 <span class="label-name">{'API secret'|t}</span><br>
207 </label>
208 </div>
209 </div>
210 <div class="pure-u-lg-{$ratioLabel} pure-u-1">
211 <div class="form-input">
212 <input type="text" name="apiSecret" id="apiSecret" size="50" value="{$api_secret}">
213 </div>
214 </div>
215 </div>
186 <div class="center"> 216 <div class="center">
187 <input type="submit" value="{'Save'|t}" name="save"> 217 <input type="submit" value="{'Save'|t}" name="save">
188 </div> 218 </div>