aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/configure.html
diff options
context:
space:
mode:
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>