Lines 1-311
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %]<title>Koha › Web installer › Step 3</title> |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% IF ( finish ) %]<meta http-equiv="refresh" content="10; url=/cgi-bin/koha/installer/onboarding.pl">[% END %] |
2 |
<title>Koha › Web installer › |
|
|
3 |
[% IF ( proposeimport ) %] |
4 |
Set up database |
5 |
[% END %] |
6 |
[% IF ( importdatastructure ) %] |
7 |
[% IF ( error ) %] |
8 |
Error creating database tables |
9 |
[% ELSE %] |
10 |
Database tables created |
11 |
[% END %] |
12 |
[% END %] |
13 |
[% IF ( default ) %] |
14 |
[% IF ( upgrading ) %] |
15 |
Update database |
16 |
[% ELSE %] |
17 |
Install basic configuration settings |
18 |
[% END %] |
19 |
[% END %] |
20 |
[% IF ( choosemarc ) %] |
21 |
Select your MARC flavor |
22 |
[% END %] |
23 |
[% IF ( selectframeworks ) %] |
24 |
Selecting default settings |
25 |
[% END %] |
26 |
</title> |
27 |
[% IF ( finish ) %]<meta http-equiv="refresh" content="5; url=/cgi-bin/koha/installer/onboarding.pl">[% END %] |
3 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
28 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
4 |
<div> |
|
|
5 |
<h1 id="logo"><img alt="Koha" src="[% interface %]/[% theme %]/img/koha.org-logo.gif" /> Koha web installer › Step 3</h1> |
6 |
|
7 |
[% IF ( selectframeworks ) %] |
8 |
<script type="text/javascript"> |
9 |
//<![CDATA[ |
10 |
|
11 |
var surl = unescape(window.location.pathname); |
12 |
|
29 |
|
13 |
function doLoad() |
30 |
<div class="container-fluid"> |
14 |
{ |
31 |
<div class="row"> |
15 |
// the timeout value should be the same as in the "refresh" meta-tag |
32 |
<div id="installer-step3" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
16 |
setTimeout( "refresh()", 2*1000 ); |
|
|
17 |
} |
18 |
|
33 |
|
19 |
function refresh(value) |
34 |
<h1 id="logo"><a href="#">Koha</a></h1> |
20 |
{ |
|
|
21 |
// The argument to the location.reload function determines |
22 |
// if the browser should retrieve the document from the |
23 |
// web-server. In our example all we need to do is cause |
24 |
// the JavaScript block in the document body to be |
25 |
// re-evaluated. If we needed to pull the document from |
26 |
// the web-server again (such as where the document contents |
27 |
// change dynamically) we would pass the argument as 'true'. |
28 |
// |
29 |
surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value; |
30 |
|
35 |
|
31 |
window.location.replace( surl ); |
36 |
[% IF ( finish ) %] |
32 |
} |
37 |
<h2>Web installer › Installation complete</h2> |
33 |
|
38 |
<h3>Congratulations, installation complete</h3> |
34 |
function selectAllFrameworks() |
39 |
<p> |
35 |
{ |
40 |
If this page does not redirect in 5 seconds, <a href="/cgi-bin/koha/installer/onboarding.pl">Start onboarding process</a>. |
36 |
// A handy short link that selects all available checkboxes |
41 |
</p> |
37 |
// on the page. |
42 |
[% END %] |
38 |
// |
|
|
39 |
var checkboxes = document.getElementsByTagName("input"); |
40 |
for (var i = 0; i < checkboxes.length; i++) |
41 |
{ |
42 |
if (checkboxes[i].type == 'checkbox') |
43 |
{ |
44 |
checkboxes[i].checked = true; |
45 |
} |
46 |
} |
47 |
|
48 |
// Prevent event propergation. |
49 |
return false; |
50 |
} |
51 |
|
52 |
function Hide(link) |
53 |
{ |
54 |
// Toggle the display of a given element on the page. |
55 |
// |
56 |
subfield = document.getElementById('bloc'+link); |
57 |
var initstyle = subfield.style.display; |
58 |
if (initstyle == 'block') subfield.style.display = 'none' ; |
59 |
if (initstyle == 'none') subfield.style.display = 'block' ; |
60 |
} |
61 |
|
43 |
|
62 |
//]]> |
|
|
63 |
</script> |
64 |
[% END %] |
65 |
|
44 |
|
|
|
45 |
[% IF ( choosemarc ) %] |
46 |
<h2>Choose your setup</h2> |
47 |
<p>Basic setup selects recommended settings by default.</p> |
48 |
<form name="frameworkselection" method="post" action="install.pl"> |
49 |
<input type="hidden" name="step" value="3" /> |
50 |
<input type="hidden" name="op" value="selectframeworks"/> |
51 |
|
52 |
<p> |
53 |
<label><input type="radio" name="setup" value="Basic" checked="checked" /> Basic</label> |
54 |
</p> |
55 |
<p> |
56 |
<label><input type="radio" name="setup" value="Advanced"/> Advanced</label> |
57 |
</p> |
58 |
|
59 |
<h2>Select your MARC flavor</h2> |
60 |
<p>MARC stands for Machine Readable Cataloging, containing information about a bibliographic record. MARC21 is used globally, whereas UNIMARC tends to be used in Europe. </p> |
61 |
|
62 |
[% FOREACH flavourloo IN flavourloop %] |
63 |
[% IF ( flavourloo.label == "Unimarc") %] |
64 |
<p> |
65 |
<label><input type="radio" name="marcflavour" value="[% flavourloo.code %]" /> [% flavourloo.label %]</label> |
66 |
</p> |
67 |
[% ELSE %] |
68 |
<p> |
69 |
<label><input type="radio" name="marcflavour" value="[% flavourloo.code %]" checked="checked" /> [% flavourloo.label %]</label> |
70 |
</p> |
71 |
[% END %] |
72 |
[% END %] |
73 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p> |
74 |
</form> |
75 |
[% END # / IF choosemarc %] |
66 |
|
76 |
|
67 |
[% IF ( finish ) %] |
77 |
[% IF ( selectframeworks ) %] |
68 |
<h1>Congratulations, installation complete</h1> |
78 |
<h2>Web installer › [% setup %] setup › Selecting default settings</h2> |
69 |
<p>If this page does not redirect in 10 seconds, click <a href="/cgi-bin/koha/installer/onboarding.pl">Start onboarding process</a>.</p> |
|
|
70 |
[% END %] |
71 |
|
79 |
|
|
|
80 |
[% IF setup == "Advanced" %] |
81 |
<p id="selectall"><a href="#">Select all sample data</a></p> |
82 |
[% END %] |
72 |
|
83 |
|
73 |
[% IF ( choosemarc ) %] |
84 |
<form name="frameworkselection" method="post" action="install.pl"> |
74 |
<h2 align="center">Choose your setup</h2> |
85 |
<input type="hidden" name="step" value="3" /> |
75 |
<p>Basic setup selects recommended settings by default.</p> |
86 |
<input type="hidden" name="op" value="addframeworks" /> |
76 |
<form name="frameworkselection" method="post" action="install.pl"> |
87 |
[% IF ( frameworksloop ) %] |
77 |
<input type="hidden" name="step" value="3" /> |
88 |
<h3>MARC frameworks: [% marcflavour %]</h3> |
78 |
<input type="hidden" name="op" value="selectframeworks"/> |
89 |
[% IF ( en_marc_frameworks ) %] |
|
|
90 |
<h4><span class="error">No MARC frameworks are available for your language. |
91 |
Defaulting to the frameworks supplied for English (en)<span></h4> |
92 |
[% END %] |
93 |
[% FOREACH frameworksloo IN frameworksloop %] |
94 |
<h4>[% frameworksloo.label %]</h4> |
95 |
[% FOREACH framework IN frameworksloo.frameworks %] |
96 |
<div class="checkbox"> |
97 |
<label> |
98 |
[% IF (frameworksloo.label == "Default") && (setup=="Basic") %] |
99 |
<input type="hidden" name="framework" value="[% framework.fwkfile %]" id ="[%framework.fwkname%]" /> |
100 |
[% ELSE %] |
101 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id ="[%framework.fwkname%]" /> |
102 |
[% END %] |
103 |
[% framework.fwkdescription %] |
104 |
<em>([% framework.fwkname %])</em> |
105 |
</label> |
106 |
</div> |
107 |
<hr /> |
108 |
[% END # / FOREACH framework %] |
109 |
[% END # / FOREACH frameworksloo %] |
110 |
[% END # / IF frameworkdsloop %] |
111 |
|
112 |
<h2>Other data</h2> |
113 |
|
114 |
[% IF ( en_sample_data ) %] |
115 |
<h4><span class="error">No sample data and settings are available for your language. |
116 |
Defaulting to the samples supplied for English (en)<span></h4> |
117 |
[% END %] |
79 |
|
118 |
|
80 |
<div> |
119 |
[% FOREACH levelloo IN levelloop %] |
81 |
<input type="radio" name="setup" value="Basic" checked="checked">Basic<br/> |
120 |
<h4>[% levelloo.label %]</h4> |
82 |
<input type="radio" name="setup" value="Advanced"/>Advanced<br/> |
|
|
83 |
</div> |
84 |
|
121 |
|
85 |
<h2 align="center">Select your MARC flavor</h2> |
122 |
[% IF (setup == "Basic" && levelloo.label == "Optional") %] |
86 |
<p>MARC stands for Machine Readable Cataloging, containing information about a bibliographic record. MARC21 is more commonly used globally, whereas UNIMARC tends to be used in Europe. </p> |
123 |
<p id="selectall"><a href="#">Select all sample data</a></p> |
|
|
124 |
[% END %] |
87 |
|
125 |
|
88 |
[% FOREACH flavourloo IN flavourloop %] |
126 |
[% FOREACH framework IN levelloo.frameworks %] |
89 |
<div> |
127 |
<div class="checkbox"> |
90 |
[% IF ( flavourloo.label == "Unimarc") %] |
128 |
<label for="[% framework.fwkname %]"> |
91 |
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" /> [% flavourloo.label %]<br/> |
129 |
[% IF (levelloo.label == "Default" ) && (setup=="Basic")%] |
92 |
[% ELSE %] |
130 |
<input type="hidden" name="framework" value="[% framework.fwkfile %]" id="[%framework.fwkname %]" /> |
93 |
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" checked="checked" /> [% flavourloo.label %] <br/> |
131 |
[% ELSE %] |
94 |
[% END %] |
132 |
<input type="checkbox" name="framework" value="[%framework.fwkfile %]" id="[%framework.fwkname%]"/> |
95 |
</div> |
133 |
[% END %] |
96 |
[% END %] |
134 |
[% framework.fwkdescription %] |
|
|
135 |
<em>([% framework.fwkname %])</em> |
136 |
</label> |
137 |
</div> <!-- /div.checkbox --> |
138 |
[% END # / FOREACH framework %] |
139 |
[% END # / FOREACH levelloo %] |
97 |
|
140 |
|
98 |
<p>Click 'Next' to continue <input value="Next >>" type="submit" /></p> |
141 |
<p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete, |
|
|
142 |
please be patient.</p> |
99 |
|
143 |
|
100 |
</form> |
144 |
<p><input type="submit" value="Import" class="btn btn-primary" /></p> |
|
|
145 |
</form> |
146 |
[% END # / IF selectframeworks %] |
101 |
|
147 |
|
102 |
[% END %] |
148 |
[% IF ( addframeworks ) %] |
|
|
149 |
<h2>Web installer › Default data loaded</h2> |
103 |
|
150 |
|
104 |
[% IF ( selectframeworks ) %] |
151 |
[% FOREACH lis IN list %] |
105 |
<h2 align= "center"> [% setup %] setup</h2> |
152 |
<h3>[% lis.level FILTER ucfirst %] data added</h3> |
106 |
<h2 align="center">Selecting Default Settings</h2> |
|
|
107 |
|
153 |
|
108 |
[% IF setup == "Advanced" %] |
154 |
<ul> |
109 |
<script type="text/javascript"> |
155 |
[% FOREACH fwklis IN lis.fwklist %] |
110 |
var linklabel = _("Select all options"); |
|
|
111 |
document.write('<p><a href="#" onclick="return selectAllFrameworks();"><button>'+linklabel+'</button></a></p>'); |
112 |
</script> |
113 |
[% END %] |
114 |
<form name="frameworkselection" method="post" action="install.pl"> |
115 |
<input type="hidden" name="step" value="3" /> |
116 |
<input type="hidden" name="op" value="addframeworks" /> |
117 |
[% IF ( frameworksloop ) %] |
118 |
<h2>MARC frameworks: [% marcflavour %]</h2> |
119 |
[% IF ( en_marc_frameworks ) %] |
120 |
<h4><span class="error">No MARC frameworks are available for your language. |
121 |
Defaulting to the frameworks supplied for English (en)<span></h4> |
122 |
[% END %] |
123 |
[% FOREACH frameworksloo IN frameworksloop %] |
124 |
<div> |
125 |
<h3>[% frameworksloo.label %]</h3> |
126 |
[% FOREACH framework IN frameworksloo.frameworks %] |
127 |
<table style="border:1px;vertical-align:top;"> |
128 |
<tr> |
129 |
<td style = "border:1px; vertical-align:top;"> |
130 |
[% IF (frameworksloo.label == "Default") && (setup=="Basic") %] |
131 |
<input type="hidden" name="framework" value="[% framework.fwkfile %]" id ="[%framework.fwkname%]" /> |
132 |
[% ELSE %] |
133 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id ="[%framework.fwkname%]" /> |
134 |
[% END %] |
135 |
</td> |
136 |
<td> |
137 |
[% IF (frameworksloo.label == "Default") && (setup=="Basic") %] |
138 |
<ul> |
139 |
<li> |
156 |
<li> |
140 |
<label for="[% framework.fwkname %]"> |
157 |
[% fwklis.fwkname %] |
141 |
[% framework.fwkdescription %] |
158 |
[% IF ( fwklis.error ) %]<p class="bg-danger">[% fwklis.error %]</p>[% END %] |
142 |
<em>([% framework.fwkname %])</em> |
|
|
143 |
</label> |
144 |
</li> |
159 |
</li> |
145 |
</ul> |
160 |
[% END %] |
146 |
</td> |
161 |
</ul> |
147 |
[% ELSE %] |
|
|
148 |
<td> |
149 |
<label for= "[% framework.fwkname %]"> |
150 |
[% framework.fwkdescription %] |
151 |
<em>([% framework.fwkname %])</em> |
152 |
</label> |
153 |
</td> |
154 |
[% END %] |
155 |
</tr> |
156 |
</table> |
157 |
[% END %] |
158 |
</div> |
159 |
[% END %] |
160 |
<h2>Other data</h2> |
161 |
[% END %] |
162 |
[% IF ( en_sample_data ) %] |
163 |
<h4><span class="error">No sample data and settings are available for your language. |
164 |
Defaulting to the samples supplied for English (en)<span></h4> |
165 |
[% END %] |
166 |
[% FOREACH levelloo IN levelloop %] |
167 |
<div> |
168 |
<h3>[% levelloo.label %]</h3> |
169 |
|
170 |
[% IF (setup == "Basic" && levelloo.label == "Optional") %] |
171 |
<script type="text/javascript"> |
172 |
var linklabel = _("Select all options"); |
173 |
document.write('<p><a href="#" onclick="return selectAllFrameworks();"><button>'+linklabel+'</button></a></p>'); |
174 |
</script> |
175 |
[% END %] |
176 |
|
177 |
[% FOREACH framework IN levelloo.frameworks %] |
178 |
<table style="border:1px;vertical-align:top;"> |
179 |
<tr> |
180 |
<td style="vertical-align:top;"> |
181 |
[% IF (levelloo.label == "Default" ) && (setup=="Basic")%] |
182 |
<input type="hidden" name="framework" value="[% framework.fwkfile %]" id="[%framework.fwkname %]" /> |
183 |
[% ELSE %] |
184 |
<input type="checkbox" name="framework" value="[%framework.fwkfile %]" id="[%framework.fwkname%]"/> |
185 |
[% END %] |
162 |
[% END %] |
186 |
</td> |
163 |
|
187 |
<td> |
164 |
<h3>All done!</h3> |
188 |
[% IF (levelloo.label == "Default") && (setup=="Basic")%] |
165 |
<p>Installation complete.</p> |
189 |
<ul> |
166 |
<form action="/cgi-bin/koha/installer/install.pl" method="post" name="finish"> |
190 |
<li> |
167 |
<input type="hidden" name="step" value="3" /> |
191 |
<label for="[% framework.fwkname %]"> |
168 |
<input type="hidden" name="op" value="finish" /> |
192 |
[% framework.fwkdescription %] |
169 |
<p> <input value="Set up some of Koha's basic requirements" class="btn btn-primary" type="submit" /> </p> |
193 |
<em>([% framework.fwkname %])</em> |
170 |
</form> |
194 |
</label> |
171 |
|
195 |
</li> |
172 |
[% END # / IF addframeworks %] |
196 |
</ul> |
173 |
|
197 |
</td> |
174 |
[% IF ( importdatastructure ) %] |
|
|
175 |
[% IF ( error ) %] |
176 |
<p>The following error occurred while importing the database structure:</p> |
177 |
<div class="alert alert-warning"><p>[% error %] </p></div> |
178 |
<p>Please contact your system administrator</p> |
198 |
[% ELSE %] |
179 |
[% ELSE %] |
199 |
<td> |
180 |
<h2>Web installer › Success</h2> |
200 |
<label for= "[% framework.fwkname %]"> |
181 |
<div class="alert alert-success"><p>Database tables created</p></div> |
201 |
[% framework.fwkdescription %] |
182 |
<form action="install.pl" method="post"> |
202 |
<em>([% framework.fwkname %])</em> |
183 |
<input type="hidden" name="step" value="3" /> |
203 |
</label> |
184 |
<p> <input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p> |
204 |
</td> |
185 |
</form> |
205 |
[% END %] |
186 |
[% END %] |
206 |
</tr> |
187 |
[% END %] |
207 |
</table> |
|
|
208 |
[% END %] |
209 |
</div> |
210 |
[% END %] |
211 |
<p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete, |
212 |
please be patient.</p> |
213 |
<p><input type="submit" value="Import >>" /> |
214 |
</p> |
215 |
</form> |
216 |
[% END %] |
217 |
|
218 |
|
219 |
[% IF ( addframeworks ) %] |
220 |
[% FOREACH lis IN list %] |
221 |
<h3>[% lis.level %] data added</h3> |
222 |
<ul> |
223 |
[% FOREACH fwklis IN lis.fwklist %] |
224 |
<li>[% fwklis.fwkname %][% IF ( fwklis.error ) %]<br /><span class="error">[% fwklis.error %]</span>[% END %] </li> |
225 |
[% END %] |
226 |
</ul> |
227 |
[% END %] |
228 |
<h3>All done!</h3> |
229 |
<p>Installation complete.<br /> |
230 |
<p>Click on 'Set up Koha with the onboarding tool' to complete and load the Koha onboarding tool. |
231 |
<form name="finish"> |
232 |
<input type="hidden" name="step" value="3" /> |
233 |
<input type="hidden" name="op" value="finish" /> |
234 |
<input type="submit" value="Set up Koha with the onboarding tool"/> |
235 |
</form> |
236 |
</p> |
237 |
</p> |
238 |
[% END %] |
239 |
|
240 |
|
188 |
|
241 |
[% IF ( importdatastructure ) %] |
189 |
[% IF ( proposeimport ) %] |
242 |
[% IF ( error ) %] |
190 |
<h2>Web installer › Set up database</h2> |
243 |
<p>The following error occurred while importing the database structure:</p> |
191 |
<p>Now we're ready to create the database tables and fill them with some default data.</p> |
244 |
<p class="error">[% error %] </p> |
192 |
<form action="install.pl" method="post"> |
245 |
<p>Please contact your system administrator</p> |
193 |
<input type="hidden" name="step" value="3" /> |
246 |
[% ELSE %] |
194 |
<input type="hidden" name="op" value="importdatastructure" /> |
247 |
<h2 align="center">Success</h2> |
195 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
248 |
<ul> |
196 |
</form> |
249 |
<li>Database tables created</li> |
197 |
[% END %] |
250 |
</ul> |
|
|
251 |
<form action="install.pl"> |
252 |
<input type="hidden" name="step" value="3" /> |
253 |
<p> Click 'Next' to continue <input value="Next >>" type="submit" /></p> |
254 |
</form> |
255 |
[% END %] |
256 |
[% END %] |
257 |
|
198 |
|
|
|
199 |
[% IF ( default ) %] |
200 |
[% IF ( upgrading ) %] |
201 |
<h2>Web installer › Update database</h2> |
202 |
<p>We are upgrading from Koha [% dbversion %] to [% kohaversion %]</p> |
203 |
<p><a href="install.pl?step=3&op=updatestructure" class="btn btn-primary">Update your database</a></p> |
204 |
[% ELSE %] |
205 |
<h2>Web installer › Install basic configuration settings</h2> |
206 |
<p>We are ready to do some basic configuration.</p> |
207 |
<p> <a href="install.pl?step=3&op=choosemarc" class="btn btn-primary">Continue to the next step</a> </p> |
208 |
[% END %] |
209 |
[% END %] |
258 |
|
210 |
|
259 |
[% IF ( proposeimport ) %] |
211 |
[% IF ( updatestructure ) %] |
260 |
<p>Now we're ready to create the database tables and fill them with some default data.</p> |
212 |
<h2>Updating database structure</h2> |
261 |
<form action="install.pl"> |
213 |
[% IF ( has_update_succeeds ) %] |
262 |
<input type="hidden" name="step" value="3" /> |
214 |
<p>Update report :</p> |
263 |
<input type="hidden" name="op" value="importdatastructure" /> |
215 |
<ul> |
264 |
<p> Click 'Next' to continue <input value="Next >>" type="submit" /></p> |
216 |
[% FOREACH update_repor IN update_report %] |
265 |
</form> |
217 |
<li>[% update_repor.line |html %]</li> |
266 |
[% END %] |
218 |
[% END %] |
|
|
219 |
</ul> |
220 |
[% END %] |
267 |
|
221 |
|
268 |
[% IF ( default ) %] |
222 |
[% IF ( has_update_errors ) %] |
269 |
[% IF ( upgrading ) %] |
223 |
<p>Update errors :</p> |
270 |
<p> |
224 |
<ul> |
271 |
We are upgrading from Koha [% dbversion %] to [% kohaversion %], you must update your database. |
225 |
[% FOREACH update_error IN update_errors %] |
272 |
<br> |
226 |
<li class="update_error">[% update_error.line |html %]</li> |
273 |
<a href="install.pl?step=3&op=updatestructure" class="button"><button>Update Database</button></a> |
227 |
[% END %] |
274 |
</p> |
228 |
</ul> |
275 |
[% ELSE %] |
229 |
[% END %] |
276 |
<p>We are ready to do some basic configuration. Please install some basic configuration settings to continue the installation: |
|
|
277 |
<br> |
278 |
<br> |
279 |
<a href="install.pl?step=3&op=choosemarc" class="button"><button>Install Basic Configuration Settings</button></a> |
280 |
|
230 |
|
281 |
[% END %] |
231 |
[% UNLESS ( has_update_errors ) %] |
282 |
[% END %] |
232 |
<p>Everything went okay. Update done.</p> |
|
|
233 |
[% END %] |
234 |
<p><a href="install.pl?step=3&op=finished" class="btn btn-primary">Continue to log in to Koha</a></p> |
235 |
[% END # / IF updatestructure %] |
236 |
</div> |
237 |
</div> |
283 |
|
238 |
|
284 |
[% IF ( updatestructure ) %] |
239 |
[% IF ( selectframeworks ) %] |
285 |
<div><h2 align="center">Updating database structure</h2> |
240 |
<script type="text/javascript"> |
286 |
[% IF ( has_update_succeeds ) %] |
241 |
$(document).ready(function(){ |
287 |
<p>Update report :</p> |
242 |
$("#selectall").on("click",function(e){ |
288 |
<ul> |
243 |
e.preventDefault(); |
289 |
[% FOREACH update_repor IN update_report %] |
244 |
$("input:checkbox").prop("checked", true); |
290 |
<li>[% update_repor.line |html %]</li> |
245 |
}); |
291 |
[% END %] |
246 |
}); |
292 |
</ul> |
247 |
</script> |
293 |
[% END %] |
|
|
294 |
[% IF ( has_update_errors ) %] |
295 |
<p>Update errors :</p> |
296 |
<ul> |
297 |
[% FOREACH update_error IN update_errors %] |
298 |
<li class="update_error">[% update_error.line |html %]</li> |
299 |
[% END %] |
300 |
</ul> |
301 |
[% END %] |
302 |
[% UNLESS ( has_update_errors ) %] |
303 |
<p>Everything went OK, update done.</p> |
304 |
[% END %] |
305 |
<a href="install.pl?step=3&op=choosemarc" class="button"><button>Back to Installation</button></a> |
306 |
</div> |
307 |
[% END %] |
248 |
[% END %] |
308 |
|
249 |
|
309 |
</div> |
250 |
[% INCLUDE 'intranet-bottom.inc' %] |
310 |
</body> |
|
|
311 |
</html> |