|
Lines 27-36
Link Here
|
| 27 |
</title> |
27 |
</title> |
| 28 |
[% IF ( finish ) %]<meta http-equiv="refresh" content="10; url=/cgi-bin/koha/installer/onboarding.pl">[% END %] |
28 |
[% IF ( finish ) %]<meta http-equiv="refresh" content="10; url=/cgi-bin/koha/installer/onboarding.pl">[% END %] |
| 29 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
29 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
| 30 |
<div class="container-fluid"> |
30 |
|
| 31 |
<div class="row"> |
|
|
| 32 |
<div id="installer-step3" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
| 33 |
<h1 id="logo"><a href="#">Koha</a></h1> |
| 34 |
[% IF ( selectframeworks ) %] |
31 |
[% IF ( selectframeworks ) %] |
| 35 |
<script type="text/javascript"> |
32 |
<script type="text/javascript"> |
| 36 |
//<![CDATA[ |
33 |
//<![CDATA[ |
|
Lines 90-290
function Hide(link)
Link Here
|
| 90 |
</script> |
87 |
</script> |
| 91 |
[% END %] |
88 |
[% END %] |
| 92 |
|
89 |
|
|
|
90 |
<div class="container-fluid"> |
| 91 |
<div class="row"> |
| 92 |
<div id="installer-step3" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
| 93 |
<h1 id="logo"><a href="#">Koha</a></h1> |
| 94 |
[% IF ( finish ) %] |
| 95 |
<h2>Web installer › Installation complete</h2> |
| 96 |
<p>If this page does not redirect in 10 seconds, click <a href="/cgi-bin/koha/installer/onboarding.pl">Start onboarding process</a>.</p> |
| 97 |
[% END %] |
| 93 |
|
98 |
|
| 94 |
[% IF ( finish ) %] |
99 |
[% IF ( choosemarc ) %] |
| 95 |
<h2>Web installer › Installation complete</h2> |
100 |
<h2 align="center">Select your MARC flavor</h2> |
| 96 |
<p>If this page does not redirect in 10 seconds, click <a href="/cgi-bin/koha/installer/onboarding.pl">Start onboarding process</a>.</p> |
101 |
<form name="frameworkselection" method="post" action="install.pl"> |
| 97 |
[% END %] |
102 |
<input type="hidden" name="step" value="3" /> |
| 98 |
|
103 |
<input type="hidden" name="op" value="selectframeworks" /> |
| 99 |
|
104 |
<p> |
| 100 |
[% IF ( choosemarc ) %] |
105 |
[% FOREACH flavourloo IN flavourloop %] |
| 101 |
<h2 align="center">Select your MARC flavor</h2> |
106 |
<div> |
| 102 |
<form name="frameworkselection" method="post" action="install.pl"> |
107 |
[% IF ( flavourloo.checked ) %] |
| 103 |
<input type="hidden" name="step" value="3" /> |
108 |
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" checked /> [% flavourloo.label %] <br/> |
| 104 |
<input type="hidden" name="op" value="selectframeworks" /> |
109 |
[% ELSE %] |
| 105 |
<p> |
110 |
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" /> [% flavourloo.label %] <br/> |
| 106 |
[% FOREACH flavourloo IN flavourloop %] |
111 |
[% END %] |
| 107 |
<div> |
112 |
</div> |
| 108 |
[% IF ( flavourloo.checked ) %] |
113 |
[% END %] |
| 109 |
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" checked /> [% flavourloo.label %] <br/> |
114 |
</p> |
| 110 |
[% ELSE %] |
115 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
| 111 |
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" /> [% flavourloo.label %] <br/> |
116 |
</form> |
| 112 |
[% END %] |
117 |
[% END %] |
| 113 |
</div> |
118 |
[% IF ( selectframeworks ) %] |
| 114 |
[% END %] |
119 |
<h2>Web installer › [% setup %] setup › Selecting default settings</h2> |
| 115 |
</p> |
120 |
<script type="text/javascript"> |
| 116 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
121 |
var linklabel = _("Select all sample data"); |
| 117 |
</form> |
122 |
document.write('<p><a href="#" onclick="return selectAllFrameworks();">'+linklabel+'</a></p>'); |
| 118 |
[% END %] |
123 |
</script> |
| 119 |
[% IF ( selectframeworks ) %] |
124 |
<form name="frameworkselection" method="post" action="install.pl"> |
| 120 |
<h2>Web installer › [% setup %] setup › Selecting default settings</h2> |
125 |
<input type="hidden" name="step" value="3" /> |
| 121 |
<script type="text/javascript"> |
126 |
<input type="hidden" name="op" value="addframeworks" /> |
| 122 |
var linklabel = _("Select all sample data"); |
127 |
[% IF ( frameworksloop ) %] |
| 123 |
document.write('<p><a href="#" onclick="return selectAllFrameworks();">'+linklabel+'</a></p>'); |
128 |
<h2>MARC frameworks: [% marcflavour %]</h2> |
| 124 |
</script> |
129 |
[% IF ( en_marc_frameworks ) %] |
| 125 |
<form name="frameworkselection" method="post" action="install.pl"> |
130 |
<h4><span class="error">No MARC frameworks are available for your language. |
| 126 |
<input type="hidden" name="step" value="3" /> |
131 |
Defaulting to the frameworks supplied for English (en)<span></h4> |
| 127 |
<input type="hidden" name="op" value="addframeworks" /> |
132 |
[% END %] |
| 128 |
[% IF ( frameworksloop ) %] |
133 |
[% FOREACH frameworksloo IN frameworksloop %] |
| 129 |
<h2>MARC frameworks: [% marcflavour %]</h2> |
134 |
<div> |
| 130 |
[% IF ( en_marc_frameworks ) %] |
135 |
<h3>[% frameworksloo.label %]</h3> |
| 131 |
<h4><span class="error">No MARC frameworks are available for your language. |
136 |
[% FOREACH framework IN frameworksloo.frameworks %] |
| 132 |
Defaulting to the frameworks supplied for English (en)<span></h4> |
137 |
<table style="border:1px;vertical-align:top;"> |
| 133 |
[% END %] |
138 |
<tr> |
| 134 |
[% FOREACH frameworksloo IN frameworksloop %] |
139 |
<td style="vertical-align:top;"> |
| 135 |
<div> |
140 |
<label> |
| 136 |
<h3>[% frameworksloo.label %]</h3> |
141 |
[% IF ( framework.checked ) %] |
| 137 |
[% FOREACH framework IN frameworksloo.frameworks %] |
142 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" /> |
| 138 |
<table style="border:1px;vertical-align:top;"> |
143 |
[% ELSE %] |
| 139 |
<tr> |
144 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" /> |
| 140 |
<td style="vertical-align:top;"> |
145 |
[% END %] |
| 141 |
[% IF ( framework.checked ) %] |
146 |
</label> |
| 142 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" /> |
147 |
</td> |
| 143 |
[% ELSE %] |
148 |
<td> |
| 144 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" /> |
149 |
<label for="[% framework.fwkname %]"> |
| 145 |
[% END %] |
150 |
[% framework.fwkdescription %] |
| 146 |
</td> |
151 |
<em>([% framework.fwkname %])</em> |
| 147 |
<td> |
152 |
</label> |
| 148 |
<label for="[% framework.fwkname %]"> |
153 |
</td> |
| 149 |
[% framework.fwkdescription %] |
154 |
</table> |
| 150 |
<em>([% framework.fwkname %])</em> |
155 |
[% END %] |
| 151 |
</label> |
156 |
</div> |
| 152 |
</td> |
157 |
[% END %] |
| 153 |
</table> |
158 |
<h2>Other data</h2> |
| 154 |
[% END %] |
159 |
[% END %] |
| 155 |
</div> |
160 |
[% IF ( en_sample_data ) %] |
| 156 |
[% END %] |
161 |
<h4><span class="error">No sample data and settings are available for your language. |
| 157 |
<h2>Other data</h2> |
162 |
Defaulting to the samples supplied for English (en)<span></h4> |
| 158 |
[% END %] |
163 |
[% END %] |
| 159 |
[% IF ( en_sample_data ) %] |
164 |
[% FOREACH levelloo IN levelloop %] |
| 160 |
<h4><span class="error">No sample data and settings are available for your language. |
165 |
<div> |
| 161 |
Defaulting to the samples supplied for English (en)<span></h4> |
166 |
<h3>[% levelloo.label %]</h3> |
| 162 |
[% END %] |
167 |
[% FOREACH framework IN levelloo.frameworks %] |
| 163 |
[% FOREACH levelloo IN levelloop %] |
168 |
<table style="border:1px;vertical-align:top;"> |
| 164 |
<div> |
169 |
<tr> |
| 165 |
<h3>[% levelloo.label %]</h3> |
170 |
<td style="vertical-align:top;"> |
| 166 |
[% FOREACH framework IN levelloo.frameworks %] |
171 |
[% IF ( framework.checked ) %] |
| 167 |
<table style="border:1px;vertical-align:top;"> |
172 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" /> |
| 168 |
<tr> |
173 |
[% ELSE %] |
| 169 |
<td style="vertical-align:top;"> |
174 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" /> |
| 170 |
[% IF ( framework.checked ) %] |
175 |
[% END %] |
| 171 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" /> |
176 |
</td> |
| 172 |
[% ELSE %] |
177 |
<td> |
| 173 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" /> |
178 |
<label for="[% framework.fwkname %]"> |
| 174 |
[% END %] |
179 |
[% framework.fwkdescription %] |
| 175 |
</td> |
180 |
<em>([% framework.fwkname %])</em> |
| 176 |
<td> |
181 |
</label> |
| 177 |
<label for="[% framework.fwkname %]"> |
182 |
</td> |
| 178 |
[% framework.fwkdescription %] |
183 |
</tr> |
| 179 |
<em>([% framework.fwkname %])</em> |
184 |
</table> |
| 180 |
</label> |
185 |
[% END %] |
| 181 |
</td> |
186 |
</div> |
| 182 |
</table> |
187 |
[% END %] |
| 183 |
[% END %] |
188 |
<p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete, |
| 184 |
</div> |
189 |
please be patient.</p> |
| 185 |
[% END %] |
190 |
<p><input type="submit" value="Import" class="btn btn-primary" /></p> |
| 186 |
<p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete, |
191 |
</p> |
| 187 |
please be patient.</p> |
192 |
</form> |
| 188 |
<p><input type="submit" value="Import" class="btn btn-primary" /></p> |
193 |
[% END %] |
| 189 |
</p> |
|
|
| 190 |
</form> |
| 191 |
[% END %] |
| 192 |
|
194 |
|
| 193 |
[% IF ( addframeworks ) %] |
195 |
[% IF ( addframeworks ) %] |
| 194 |
<h2>Web installer › Default data loaded</h2> |
196 |
<h2>Web installer › Default data loaded</h2> |
| 195 |
[% FOREACH lis IN list %] |
197 |
[% FOREACH lis IN list %] |
| 196 |
<h3>[% lis.level %] data added</h3> |
198 |
<h3>[% lis.level %] data added</h3> |
| 197 |
<ul> |
199 |
<ul> |
| 198 |
[% FOREACH fwklis IN lis.fwklist %] |
200 |
[% FOREACH fwklis IN lis.fwklist %] |
| 199 |
<li>[% fwklis.fwkname %][% IF ( fwklis.error ) %]<br /><span class="error">[% fwklis.error %]</span>[% END %] </li> |
201 |
<li>[% fwklis.fwkname %][% IF ( fwklis.error ) %]<br /><span class="error">[% fwklis.error %]</span>[% END %] </li> |
|
|
202 |
[% END %] |
| 203 |
</ul> |
| 200 |
[% END %] |
204 |
[% END %] |
| 201 |
</ul> |
205 |
<h3>All done!</h3> |
| 202 |
[% END %] |
206 |
<p>Installation complete.<br /> |
| 203 |
<h3>All done!</h3> |
207 |
<p> |
| 204 |
<p>Installation complete.<br /> |
208 |
You can help the Koha community by sharing your statistics with us. |
| 205 |
<p> |
209 |
<br>If you wish to share some of your data, please enable the functionality in the "Share your usage statistics" section of the admin module. |
| 206 |
You can help the Koha community by sharing your statistics with us. |
210 |
</p> |
| 207 |
<br>If you wish to share some of your data, please enable the functionality in the "Share your usage statistics" section of the admin module. |
211 |
<p>Click on 'Set up Koha with the onboarding tool' to complete and load the Koha onboarding tool. |
| 208 |
</p> |
212 |
<form name="finish"> |
| 209 |
<p>Click on 'Set up Koha with the onboarding tool' to complete and load the Koha onboarding tool. |
213 |
<input type="hidden" name="step" value="3" /> |
| 210 |
<form name="finish"> |
214 |
<input type="hidden" name="op" value="finish" /> |
| 211 |
<input type="hidden" name="step" value="3" /> |
215 |
<p> <input value="Set up Koha with the onboarding tool" class="btn btn-primary" type="submit" /> </p> |
| 212 |
<input type="hidden" name="op" value="finish" /> |
216 |
</form> |
| 213 |
<p> <input value="Set up Koha with the onboarding tool" class="btn btn-primary" type="submit" /> </p> |
217 |
</p> |
| 214 |
</form> |
218 |
</p> |
| 215 |
</p> |
219 |
[% END %] |
| 216 |
</p> |
|
|
| 217 |
[% END %] |
| 218 |
|
220 |
|
| 219 |
[% IF ( importdatastructure ) %] |
221 |
[% IF ( importdatastructure ) %] |
| 220 |
[% IF ( error ) %] |
222 |
[% IF ( error ) %] |
| 221 |
<p>The following error occurred while importing the database structure:</p> |
223 |
<p>The following error occurred while importing the database structure:</p> |
| 222 |
<p class="error">[% error %] </p> |
224 |
<p class="error">[% error %] </p> |
| 223 |
<p>Please contact your system administrator</p> |
225 |
<p>Please contact your system administrator</p> |
| 224 |
[% ELSE %] |
226 |
[% ELSE %] |
| 225 |
<h2>Web installer › Success</h2> |
227 |
<h2>Web installer › Success</h2> |
| 226 |
<ul> |
228 |
<ul> |
| 227 |
<li>Database tables created</li> |
229 |
<li>Database tables created</li> |
| 228 |
</ul> |
230 |
</ul> |
| 229 |
<form action="install.pl"> |
231 |
<form action="install.pl"> |
| 230 |
<input type="hidden" name="step" value="3" /> |
232 |
<input type="hidden" name="step" value="3" /> |
| 231 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
233 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
| 232 |
</form> |
234 |
</form> |
| 233 |
[% END %] |
235 |
[% END %] |
| 234 |
[% END %] |
236 |
[% END %] |
| 235 |
|
237 |
|
| 236 |
[% IF ( proposeimport ) %] |
238 |
[% IF ( proposeimport ) %] |
| 237 |
<h2>Web installer › Set up database</h2> |
239 |
<h2>Web installer › Set up database</h2> |
| 238 |
<p>Now we're ready to create the database tables and fill them with some default data.</p> |
240 |
<p>Now we're ready to create the database tables and fill them with some default data.</p> |
| 239 |
<form action="install.pl"> |
241 |
<form action="install.pl"> |
| 240 |
<input type="hidden" name="step" value="3" /> |
242 |
<input type="hidden" name="step" value="3" /> |
| 241 |
<input type="hidden" name="op" value="importdatastructure" /> |
243 |
<input type="hidden" name="op" value="importdatastructure" /> |
| 242 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
244 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
| 243 |
</form> |
245 |
</form> |
| 244 |
[% END %] |
246 |
[% END %] |
| 245 |
|
247 |
|
| 246 |
[% IF ( default ) %] |
248 |
[% IF ( default ) %] |
| 247 |
[% IF ( upgrading ) %] |
249 |
[% IF ( upgrading ) %] |
| 248 |
<h2>Web installer › Update database</h2> |
250 |
<h2>Web installer › Update database</h2> |
| 249 |
<p> We are upgrading from Koha [% dbversion %] to [% kohaversion %], you must update your database. |
251 |
<p> We are upgrading from Koha [% dbversion %] to [% kohaversion %], you must update your database. |
| 250 |
<br> |
252 |
<br> |
| 251 |
<a href="install.pl?step=3&op=updatestructure" class="button">Update your database</a> |
253 |
<a href="install.pl?step=3&op=updatestructure" class="button">Update your database</a> |
| 252 |
</p> |
254 |
</p> |
| 253 |
[% ELSE %] |
255 |
[% ELSE %] |
| 254 |
<h2>Web installer › Install basic configuration settings</h2> |
256 |
<h2>Web installer › Install basic configuration settings</h2> |
| 255 |
<p>We are ready to do some basic configuration. Please install some basic configuration settings to continue the installation: |
257 |
<p>We are ready to do some basic configuration. Please install some basic configuration settings to continue the installation: |
| 256 |
<br> |
258 |
<br> |
| 257 |
<br> |
259 |
<br> |
| 258 |
<p> <a href="install.pl?step=3&op=choosemarc" class="btn btn-primary">Install basic configuration settings</a> </p> |
260 |
<p> <a href="install.pl?step=3&op=choosemarc" class="btn btn-primary">Install basic configuration settings</a> </p> |
| 259 |
[% END %] |
261 |
[% END %] |
| 260 |
[% END %] |
262 |
[% END %] |
| 261 |
|
263 |
|
| 262 |
[% IF ( updatestructure ) %] |
264 |
[% IF ( updatestructure ) %] |
| 263 |
<div><h2 align="center">Updating database structure</h2> |
265 |
<div><h2 align="center">Updating database structure</h2> |
| 264 |
[% IF ( has_update_succeeds ) %] |
266 |
[% IF ( has_update_succeeds ) %] |
| 265 |
<p>Update report :</p> |
267 |
<p>Update report :</p> |
| 266 |
<ul> |
268 |
<ul> |
| 267 |
[% FOREACH update_repor IN update_report %] |
269 |
[% FOREACH update_repor IN update_report %] |
| 268 |
<li>[% update_repor.line |html %]</li> |
270 |
<li>[% update_repor.line |html %]</li> |
| 269 |
[% END %] |
271 |
[% END %] |
| 270 |
</ul> |
272 |
</ul> |
| 271 |
[% END %] |
273 |
[% END %] |
| 272 |
[% IF ( has_update_errors ) %] |
274 |
[% IF ( has_update_errors ) %] |
| 273 |
<p>Update errors :</p> |
275 |
<p>Update errors :</p> |
| 274 |
<ul> |
276 |
<ul> |
| 275 |
[% FOREACH update_error IN update_errors %] |
277 |
[% FOREACH update_error IN update_errors %] |
| 276 |
<li class="update_error">[% update_error.line |html %]</li> |
278 |
<li class="update_error">[% update_error.line |html %]</li> |
|
|
279 |
[% END %] |
| 280 |
</ul> |
| 281 |
[% END %] |
| 282 |
[% UNLESS ( has_update_errors ) %] |
| 283 |
<p>Everything went OK, update done.</p> |
| 284 |
[% END %] |
| 285 |
<a href="install.pl?step=3&op=finished" class="button">Continue to log in to Koha</a> |
| 286 |
</div> |
| 277 |
[% END %] |
287 |
[% END %] |
| 278 |
</ul> |
288 |
</div> |
| 279 |
[% END %] |
289 |
</div> |
| 280 |
[% UNLESS ( has_update_errors ) %] |
|
|
| 281 |
<p>Everything went OK, update done.</p> |
| 282 |
[% END %] |
| 283 |
<a href="install.pl?step=3&op=finished" class="button">Continue to log in to Koha</a> |
| 284 |
</div> |
| 285 |
[% END %] |
| 286 |
</div> |
| 287 |
</div> |
| 288 |
</div> |
290 |
</div> |
| 289 |
</body> |
291 |
</body> |
| 290 |
</html> |
292 |
</html> |