aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/install.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-23 18:32:26 +0100
committerGitHub <noreply@github.com>2017-03-23 18:32:26 +0100
commitbae74cb292833a4482b3a42b78c020b7f97b7ffd (patch)
treeb872dd34a32cace7dab4463c3e5f669cef85ae94 /tpl/default/install.html
parent4296080c8e0bc0576564bfb52bfe2cbc94fafed3 (diff)
parent76be95e199fb0ebbbcdfff4843b59b805762e475 (diff)
downloadShaarli-bae74cb292833a4482b3a42b78c020b7f97b7ffd.tar.gz
Shaarli-bae74cb292833a4482b3a42b78c020b7f97b7ffd.tar.zst
Shaarli-bae74cb292833a4482b3a42b78c020b7f97b7ffd.zip
Merge pull request #831 from ArthurHoaro/theme/install-api-enable
Add API setting in the new theme during the installation
Diffstat (limited to 'tpl/default/install.html')
-rw-r--r--tpl/default/install.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/tpl/default/install.html b/tpl/default/install.html
index 33f8a453..663397ac 100644
--- a/tpl/default/install.html
+++ b/tpl/default/install.html
@@ -7,6 +7,8 @@
7 7
8{$ratioLabel='1-4'} 8{$ratioLabel='1-4'}
9{$ratioInput='3-4'} 9{$ratioInput='3-4'}
10{$ratioLabelMobile='7-8'}
11{$ratioInputMobile='1-8'}
10 12
11<form method="POST" action="#" name="installform" id="installform"> 13<form method="POST" action="#" name="installform" id="installform">
12<div class="pure-g"> 14<div class="pure-g">
@@ -98,6 +100,22 @@
98 </div> 100 </div>
99 </div> 101 </div>
100 102
103 <div class="pure-g">
104 <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile}">
105 <div class="form-label">
106 <label for="enableApi">
107 <span class="label-name">{'Enable REST API'|t}</span><br>
108 <span class="label-desc">{'Allow third party software to use Shaarli such as mobile application'|t}</span>
109 </label>
110 </div>
111 </div>
112 <div class="pure-u-lg-{$ratioInput} pure-u-{$ratioInputMobile}">
113 <div class="form-input">
114 <input type="checkbox" name="enableApi" id="enableApi" checked />
115 </div>
116 </div>
117 </div>
118
101 <div class="center"> 119 <div class="center">
102 <input type="submit" value="{'Install'|t}" name="Save"> 120 <input type="submit" value="{'Install'|t}" name="Save">
103 </div> 121 </div>