Line 0
Link Here
|
|
|
1 |
<style type="text/css"> |
2 |
#onboardingModal{ |
3 |
background-color:#EDF4F6; |
4 |
} |
5 |
</style> |
6 |
|
7 |
[% BLOCK translate_justification_types %] |
8 |
[% SWITCH type %] |
9 |
[% CASE 'L' %]Left |
10 |
[% CASE 'C' %]Center |
11 |
[% CASE 'R' %]Right |
12 |
[% END %] |
13 |
[% END %] |
14 |
|
15 |
[% BLOCK translate_label_types %] |
16 |
[% SWITCH type %] |
17 |
[% CASE 'BIB' %]Biblio |
18 |
[% CASE 'BARBIB' %]Barcode/Biblio |
19 |
[% CASE 'BIBBAR' %]Biblio/Barcode |
20 |
[% CASE 'ALT' %]Alternating |
21 |
[% CASE 'BAR' %]Barcode |
22 |
[% END %] |
23 |
[% END %] |
24 |
|
25 |
[% IF displayonboarding =="acqui" %] |
26 |
<div id="onboardingModal"> |
27 |
<h2> Acquisition onboarding wizard</h2> |
28 |
<h3> This onboarding wizard will take you through the process of setting up Acquistions </h3> |
29 |
<p>Start by completing this form to create a currency which you will be used to create your first budget and fund.<br> |
30 |
A fund is the accounting value you use to create orders</p> |
31 |
<form action="/cgi-bin/koha/admin/currency.pl" name="Aform" method="post" class="validated"> |
32 |
<input type="hidden" name="op" value="add_validate" /> |
33 |
<input type="hidden" name="step" value="2"/> |
34 |
<input type="hidden" name="aqcurrency" value=1 /> |
35 |
<fieldset class="rows"> |
36 |
<legend> |
37 |
New currency |
38 |
</legend> |
39 |
<ol> |
40 |
<li> |
41 |
[% IF currency %] |
42 |
<span class="label">Currency: </span> |
43 |
<input type="hidden" name="is_a_modif" value="1" /> |
44 |
<input type="hidden" name="currency_code" id="currency" value="[% currency.currency %]" />[% currency.currency %] |
45 |
[% ELSE %] |
46 |
<label for="currency_code" class="required">Currency: </label> |
47 |
<input type="text" name="currency_code" id="currency_code" size="50" maxlength="50" required="required" class="required" /> <span class="required">Required</span> |
48 |
[% END %] |
49 |
</li> |
50 |
<li> |
51 |
<label for="rate" class="required">Rate: </label> |
52 |
<input type="text" name="rate" id="rate" size="10" maxlength="10" value="[% currency.rate %]" required="required" class="required" /> <span class="required">Required</span> |
53 |
</li> |
54 |
<li> |
55 |
<label for="symbol" class="required">Symbol: </label> |
56 |
<input type="text" name="symbol" id="symbol" size="5" maxlength="5" value="[% currency.symbol %]" required="required" class="required" /> <span class="required">Required</span> |
57 |
</li> |
58 |
<li> |
59 |
<label for="isocode">ISO code: </label> |
60 |
<input type="text" name="isocode" id="isocode" size="5" maxlength="5" value="[% currency.isocode %]" /> |
61 |
</li> |
62 |
<li> |
63 |
<label for="active">Active: </label> |
64 |
<input type="checkbox" id="active" name="active" value="1" checked="checked" /> |
65 |
<span id="hint" class="hint"></span> |
66 |
</li> |
67 |
</ol> |
68 |
</fieldset> |
69 |
<fieldset class="action"> |
70 |
<input type="submit" value="Submit" /> |
71 |
</fieldset> |
72 |
</form> |
73 |
</div> |
74 |
|
75 |
[% ELSIF displayonboarding == "label" %] |
76 |
<div id="onboardingModal"> |
77 |
<form name="input" action="/cgi-bin/koha/labels/label-edit-layout.pl" method="get"> |
78 |
<fieldset class="rows"> |
79 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] label layout</legend> |
80 |
<ol> |
81 |
<li> |
82 |
<label for="layout_name">Layout name: </label> |
83 |
<input type="text" name="layout_name" id="layout_name" size="20" value="DEFAULT" /> |
84 |
</li> |
85 |
<li> |
86 |
<label for="barcode_type">Choose barcode type (encoding): </label> |
87 |
<select name="barcode_type" id="barcode_type"> |
88 |
[% FOREACH barcode_type IN barcode_types %] |
89 |
[% IF ( barcode_type.selected ) %] |
90 |
<option value="[% barcode_type.type %]" selected="selected">[% barcode_type.name %]</option> |
91 |
[% ELSE %] |
92 |
<option value="[% barcode_type. type %]">[% barcode_type.name %]</option> |
93 |
[% END %] |
94 |
[% END %] |
95 |
</select> |
96 |
</li> |
97 |
<li> |
98 |
<label for="printing_type">Choose layout type: </label> |
99 |
<select name="printing_type" id="printing_type"> |
100 |
[% FOREACH label_type IN label_types %] |
101 |
[% IF ( label_type.selected ) %] |
102 |
<option value="[% label_type.type %]" selected="selected">[% PROCESS translate_label_types type=label_type.type %]</option> |
103 |
[% ELSE %] |
104 |
<option value="[% label_type.type %]">[% PROCESS translate_label_types type=label_type.type %]</option> |
105 |
[% END %] |
106 |
[% END %] |
107 |
</select> |
108 |
</li> |
109 |
<li> |
110 |
<fieldset> |
111 |
<legend>Bibliographic data to print</legend> |
112 |
<ol> |
113 |
<li class="radio">[% IF ( layout_string ) %] |
114 |
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="checked" /><label for="layout_choice_order">Choose order of text fields to print</label> |
115 |
[% ELSE %] |
116 |
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" /><label for="layout_choice_order">Choose Order Of Text Fields to Print</label> |
117 |
[% END %] |
118 |
<div id="layout_table"> |
119 |
<p> |
120 |
[% FOREACH text_field IN fields %] |
121 |
<select name="[% text_field.field_name %]" id="[% text_field.field_name |url %]"> |
122 |
<option value=""></option> |
123 |
[% FOREACH orde IN [1..field_count] %] |
124 |
[% IF ( orde == text_field.order ) %] |
125 |
<option value="[% orde %]" selected="1">[% orde %]</option> |
126 |
[% ELSE %] |
127 |
<option value="[% orde %]">[% orde %]</option> |
128 |
[% END %] |
129 |
[% END %] |
130 |
</select> <label for="[% text_field.field_name |url %]">[% text_field.field_label %]</label> |
131 |
|
132 |
[% END %] |
133 |
</p> |
134 |
</div> |
135 |
</fieldset> |
136 |
</li> |
137 |
<li> |
138 |
<label for="guidebox">Draw guide boxes: </label> |
139 |
[% IF ( guidebox ) %] |
140 |
<input type="checkbox" name="guidebox" id="guidebox" value="1" checked="checked" /> |
141 |
[% ELSE %] |
142 |
<input type="checkbox" name="guidebox" id="guidebox" value="1" /> |
143 |
[% END %] |
144 |
</li> |
145 |
<li> |
146 |
<label for="callnum_split">Split call numbers: </label> |
147 |
[% IF ( callnum_split ) %] |
148 |
<input type="checkbox" name="callnum_split" id="callnum_split" value="1" checked="checked" /> |
149 |
[% ELSE %] |
150 |
<input type="checkbox" name="callnum_split" id="callnum_split" value="1" /> |
151 |
[% END %] |
152 |
</li> |
153 |
<li> |
154 |
<label for="text_justify">Text justification: </label> |
155 |
<select name="text_justify" id="text_justify"> |
156 |
[% FOREACH text_justification_type IN text_justification_types %] |
157 |
[% IF ( text_justification_type.selected ) %] |
158 |
<option value="[% text_justification_type.type %]" selected="selected">[% PROCESS translate_justification_types type=text_justification_type.type %]</option> |
159 |
[% ELSE %] |
160 |
<option value="[% text_justification_type.type %]">[% PROCESS translate_justification_types type=text_justification_type.type %]</option> |
161 |
[% END %] |
162 |
[% END %] |
163 |
</select> |
164 |
</li> |
165 |
<li> |
166 |
<label for="font">Font: </label> |
167 |
<select name="font" id="font"> |
168 |
[% FOREACH font_type IN font_types %] |
169 |
[% IF ( font_type.selected ) %] |
170 |
<option value="[% font_type.type %]" selected="selected">[% font_type.name %]</option> |
171 |
[% ELSE %] |
172 |
<option value="[% font_type.type %]">[% font_type.name %]</option> |
173 |
[% END %] |
174 |
[% END %] |
175 |
</select> |
176 |
</li> |
177 |
<li> |
178 |
<label for="font_size">Font size: </label> |
179 |
<input type="text" name="font_size" id="font_size" size="2" value="3" /> |
180 |
</li> |
181 |
<li> |
182 |
<label for="oblique_title">Oblique title: </label> |
183 |
[% IF ( oblique_title ) %] |
184 |
<input type="checkbox" name="oblique_title" id="oblique_title" value="1" checked="checked" /> |
185 |
[% ELSE %] |
186 |
<input type="checkbox" name="oblique_title" id="oblique_title" value="1" /> |
187 |
[% END %] |
188 |
</li> |
189 |
</ol> |
190 |
</fielset> |
191 |
<fieldset class="action"> |
192 |
<input type="submit" value="Save" /> |
193 |
<a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Cancel</a> |
194 |
<input type="hidden" name="op" value="save" /> |
195 |
<input type="hidden" name="layout_id" value="[% layout_id %]" /> |
196 |
<input type="hidden" name="layoutsubmitted" value=1 /> |
197 |
</fieldset> |
198 |
</form> |
199 |
</div> |
200 |
[% END %] |