Lines 7-53
Link Here
|
7 |
[% END %] |
7 |
[% END %] |
8 |
</title> |
8 |
</title> |
9 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
9 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
10 |
[% INCLUDE 'validator-strings.inc' %] |
|
|
11 |
[% INCLUDE 'installer-strings.inc' %] |
12 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/onboarding.js"></script> |
13 |
</head> |
10 |
</head> |
14 |
|
11 |
|
15 |
<body id="installer" class="installer"> |
12 |
<body id="installer" class="installer"> |
16 |
<div class="container-fluid"> |
13 |
<div class="container-fluid"> |
17 |
<div class="row"> |
14 |
<div class="row"> |
18 |
<div id="onboarding-step5" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
15 |
<div id="onboarding-step6" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
19 |
<h1 id="logo"><a href="#">Koha</a></h1> |
16 |
<h1 id="logo"><a href="#">Koha</a></h1> |
20 |
[% IF all_done %] |
17 |
[% IF all_done %] |
21 |
<h2>Web installer › Complete</h2> |
18 |
<h2>Web installer › Complete</h2> |
22 |
[% INCLUDE 'onboarding_messages.inc' %] |
19 |
[% INCLUDE 'onboarding_messages.inc' %] |
23 |
<h3>Congratulations you have finished and are ready to use Koha</h3> |
20 |
<h3>Congratulations! You have finished and are ready to use Koha</h3> |
24 |
<a class="btn btn-success" href="/cgi-bin/koha/mainpage.pl">Start using Koha</a> |
21 |
<a class="btn btn-success" href="/cgi-bin/koha/mainpage.pl">Start using Koha</a> |
25 |
[% ELSE %] |
22 |
[% ELSE %] |
26 |
<h2>Web installer › Set minPasswordLength system preference </h2> |
23 |
<h2>Web installer › Create a new circulation rule </h2> |
27 |
[% INCLUDE 'onboarding_messages.inc' %] |
24 |
[% INCLUDE 'onboarding_messages.inc' %] |
28 |
|
25 |
|
29 |
The minPasswordLength system preference is a setting for the shortest length library staff and patrons can set their passwords to. |
26 |
<form name="createcirculationrule" method="post" action="onboarding.pl"> |
30 |
|
|
|
31 |
<form name="setMinPasswordLength" method="post" action="onboarding.pl"> |
32 |
<fieldset class="rows"> |
27 |
<fieldset class="rows"> |
33 |
<input type="hidden" name="step" value="6"/> |
28 |
<input type="hidden" name="step" value="6"/> |
34 |
<input type="hidden" name="op" value="set_validate_min_password_length" /> |
29 |
<input type="hidden" name="op" value="add_validate_circ_rule" /> |
35 |
<ol> |
30 |
<ol> |
36 |
<li> |
31 |
<li> |
37 |
<label for="minPasswordname" class="required"> Set your minPasswordLength</label> |
32 |
<label for="branchname" class="required"> Library branch</label> |
38 |
<input type="number" id="pref_minPasswordLength" name="pref_minPasswordLength" value="[% minPasswordLength%]" min=1></input> |
33 |
<select name="branch" id="branchname" required="required"> |
|
|
34 |
<option value=""> Choose</option> |
35 |
<option value="*" selected="selected">All</option> |
36 |
[% FOREACH library IN libraries %] |
37 |
<option value="[% library.branchcode | html %]"> [% library.branchname | html %]</option> |
38 |
[% END %] |
39 |
</select> |
40 |
<span class="required">Required</span> |
41 |
</li> |
42 |
<li> |
43 |
<label for="categorycode" class="required">Patron category: </label> |
44 |
<select name="categorycode" id="categorycode" required="required"> |
45 |
<option value=""> Choose</option> |
46 |
<option value="*" selected="selected">All</option> |
47 |
[% FOREACH category IN categories %] |
48 |
<option value = "[% category.categorycode | html %]"> [% category.description | html %]</option> |
49 |
[%END%] |
50 |
</select> |
51 |
<span class="required">Required</span> |
52 |
</li> |
53 |
|
54 |
<li> |
55 |
<label for="itemtype"> Item type: </label> |
56 |
<select id="itemtype" name="itemtype" required="required"> |
57 |
<option value=""> Choose </option> |
58 |
<option value="*" selected="selected">All</option> |
59 |
[% FOREACH item IN itemtypes %] |
60 |
<option value = "[% item.itemtype | html %]"> [% item.itemtype | html %] |
61 |
[%END%] |
62 |
</select> |
63 |
<span class="required"> Required</span> |
64 |
</li> |
65 |
<li> |
66 |
<label for="maxissueqty" class="required">Current checkouts allowed: </label> |
67 |
<input type="number" min="0" name="maxissueqty" id="maxissueqty" size="10" value="50" class="required" required="required" /> |
68 |
<span class="required">Required</span> |
69 |
</li> |
70 |
|
71 |
<li> |
72 |
<label for="issuelength" class="required">Loan period: </label> |
73 |
<input type="number" min="0" name="issuelength" id="issuelength" size="10" value="14" class="required" required="required" /> |
74 |
<span class="required">Required</span> |
75 |
</li> |
76 |
<li> |
77 |
<label for="lengthunit">Units: </label> |
78 |
<select name="lengthunit" id="lengthunit" required="required"> |
79 |
<option value=""> Choose </option> |
80 |
[% SET units = 'days' %] |
81 |
[% IF category %] |
82 |
[% SET default_privacy = category.default_privacy %] |
83 |
[% END %] |
84 |
|
85 |
[% SWITCH units %] |
86 |
[% CASE 'days' %] |
87 |
<option value="days" selected="selected">Days</option> |
88 |
<option value="hours">Hours</option> |
89 |
[% CASE 'hours' %] |
90 |
<option value="days">Days</option> |
91 |
<option value="hours" selected="selected">Hours</option> |
92 |
[% END %] |
93 |
</select> |
94 |
</li> |
95 |
<li> |
96 |
<label for="renewalsallowed" class="required">Renewals allowed: </label> |
97 |
<input type="number" min="0" name="renewalsallowed" id="renewalsallowed" size="10" max="10" value="10" class="required" required="required" /> |
39 |
<span class="required">Required</span> |
98 |
<span class="required">Required</span> |
40 |
</li> |
99 |
</li> |
|
|
100 |
|
101 |
<li> |
102 |
<label for="renewalperiod" class="required">Renewals period: </label> |
103 |
<input type="number" min="0" name="renewalperiod" id="renewalperiod" size="10" value="14" class="required" required="required" /> |
104 |
<span class="required">Required</span> |
105 |
</li> |
106 |
|
107 |
<li> |
108 |
<label for="onshelfholds">On shelf holds allowed: </label> |
109 |
<select name="onshelfholds" id="onshelfholds" required="required"> |
110 |
<option value="">Choose</option> |
111 |
<option value="1" selected="selected">Yes</option> |
112 |
<option value="0">If any unavailable</option> |
113 |
<option value="2">If all unavailable</option> |
114 |
</select> |
115 |
</li> |
41 |
</ol> |
116 |
</ol> |
42 |
<p> |
117 |
<p> |
43 |
To amend the minPasswordLength system preference go to: |
118 |
To create circulation rule, go to: |
44 |
<span class="breadcrumbs">Administration › Global system preferences › Patrons </span> |
119 |
<span class="breadcrumbs">Administration › Circulation and fine rules </span> |
45 |
</p> |
120 |
</p> |
|
|
121 |
|
46 |
</fieldset> |
122 |
</fieldset> |
|
|
123 |
|
47 |
<input type="submit" class="btn btn-primary" value="Submit" /> |
124 |
<input type="submit" class="btn btn-primary" value="Submit" /> |
48 |
</form> |
125 |
</form> |
49 |
[% END %] |
126 |
[% END %] |
50 |
</div> <!-- / #onboarding-step6 --> |
127 |
</div> <!-- / #onboarding-step6 --> |
51 |
</div> <!-- / .row --> |
128 |
</div> <!-- / .row --> |
|
|
129 |
</div><!-- / .container-fluid --> |
130 |
|
131 |
[% MACRO jsinclude BLOCK %] |
132 |
[% INCLUDE 'validator-strings.inc' %] |
133 |
[% INCLUDE 'installer-strings.inc' %] |
134 |
<script src="[% interface | html %]/[% theme | html %]/js/onboarding.js"></script> |
135 |
[% END %] |
52 |
|
136 |
|
53 |
[% INCLUDE 'intranet-bottom.inc' %] |
137 |
[% INCLUDE 'installer-intranet-bottom.inc' %] |
54 |
- |
|
|