1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE overlay PUBLIC "" ""[
3 <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
5 <overlay id="pattern_wizard_overlay"
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
8 <script type="text/javascript" src="/xul/server/serial/common.js" />
9 <script type="text/javascript" src="/xul/server/serial/pattern_wizard.js" />
11 <box orient="vertical" id="pattern_wizard_main" flex="1">
12 <caption class="top" label="Pattern Code Wizard" />
14 <hbox align="center" class="padded_bottom">
15 <button id="wizard_previous_step" disabled="true"
16 icon="go-back" label="Previous"
17 oncommand="wizard.previous_step();" />
19 <button id="wizard_next_step" disabled="true"
20 icon="go-forward" label="Next"
21 oncommand="wizard.next_step();" />
23 <vbox id="wizard_step_captions" class="hideme">
24 <checkbox id="use_enum"
25 oncommand="wizard.enum_editor.toggle(event);"
26 label="Use enumerations?" />
27 <vbox id="enum_editor_here" class="hideme">
28 <description class="step">
29 "v." and "no." are common first and second level
40 <row id="enum_row_headings">
41 <label value="Enumeration Caption" />
42 <label value="Units Per Higher Level" />
43 <label value="Numbering Continuity" />
46 <row id="enum_row_template" align="top">
48 <label name="caption_label" />
51 <textbox size="6" name="caption" />
54 <radiogroup name="units_per">
56 <radio label="Number" value="number" />
57 <textbox name="units_per_number"
60 <radio label="Varies" value="var" />
61 <radio label="Undetermined" value="und" />
63 <menulist name="continuity">
65 <menuitem value="c" label="Increments continuously" />
66 <menuitem value="r" label="Restarts at unit completion" />
69 <button icon="remove" name="remover" label="Remove" />
75 <button id="enum_add_normal_row"
77 label="Add Enumeration" accesskey="E"
78 oncommand="wizard.enum_editor.add_normal_row();"
81 <button id="enum_add_alt_row"
83 label="Add Alternate Enumeration" accesskey="A"
84 oncommand="wizard.enum_editor.add_alt_row();"
90 <vbox id="wizard_step_calendar_change" class="hideme">
91 <checkbox id="use_calendar_change"
93 oncommand="wizard.calendar_change_editor.toggle(event);"
94 label="Use calendar changes?" />
95 <vbox id="calendar_change_editor_here" class="hideme">
96 <description class="step">
97 Identify any points during the year at which the
98 highest level enumeration caption changes.
107 <row id="calendar_change_row_headings">
108 <label value="Type" />
109 <label value="Point" />
112 <row id="calendar_row_template">
113 <menulist name="type">
115 <menuitem value="month" label="At start of a month" />
116 <menuitem value="season" label="At start of a season" />
117 <menuitem value="date" label="On a date" />
120 <hbox align="center">
121 <menulist name="month">
125 <menulist name="season" class="hideme">
127 <menuitem value="21" label="Spring" />
128 <menuitem value="22" label="Summer" />
129 <menuitem value="23" label="Autumn" />
130 <menuitem value="24" label="Winter" />
133 <hbox name="date" class="hideme">
134 <menulist name="date_month">
138 <textbox name="date_day" size="3"
139 type="number" min="1" max="31" />
142 <button icon="remove" name="remover" label="Remove" />
148 id="calendar_change_add_row"
149 label="Add Calendar Change"
151 oncommand="wizard.calendar_change_editor.add_row();" />
155 <vbox id="wizard_step_chronology" class="hideme">
156 <checkbox id="use_chron"
157 oncommand="wizard.chron_editor.toggle(event);"
158 label="Use chronology captions?" />
159 <vbox id="chron_editor_here" class="hideme">
160 <description class="step">
161 Each caption must be a smaller unit of
162 time than the preceding caption.<!-- XXX TODO enforce -->
172 <row id="chron_row_headings">
174 <label value="Caption" />
175 <label value="Include this actual word in the caption?" />
178 <row id="chron_row_template">
179 <label name="caption_label" />
180 <menulist name="caption">
182 <menuitem label="Year" value="year" />
183 <menuitem label="Season" value="season" />
184 <menuitem label="Month" value="month" />
185 <menuitem label="Week" value="week" />
186 <menuitem label="Day" value="day" />
187 <menuitem label="Hour" value="hour" />
190 <checkbox name="display_in_holding" />
191 <button icon="remove" name="remover" label="Remove" />
198 label="Add Chronology Caption"
200 oncommand="wizard.chron_editor.add_row();" />
204 <vbox id="wizard_step_basics" class="hideme">
205 <grid class="padded_bottom">
210 <rows><!-- TODO hide these inputs if we're doing an 855 -->
212 <label align="right" value="Compressibility and Expandability:" />
215 <menuitem value="0" label="Cannot compress or expand" />
216 <menuitem value="1" label="Can compress but not expand" />
217 <menuitem value="2" label="Can compress or expand" />
218 <menuitem value="3" label="Unknown" />
223 <label align="right" value="Caption Evaluation:" />
226 <menuitem value="0" label="Captions verified; all levels present" />
227 <menuitem value="1" label="Captions verified; all levels may not be present" />
228 <menuitem value="2" label="Captions unverified; all levels present" />
229 <menuitem value="3" label="Captions unverified; all levels may not be present" />
236 oncommand="wizard.frequency_type_toggle(this.value);">
238 <columns><column /><column /></columns>
242 label="Select frequency:"
243 accesskey="F" selected="true"
245 <menulist id="hard_w">
247 <menuitem label="Annual" value="a" />
248 <menuitem label="Bimonthly" value="b" />
249 <menuitem label="Semiweekly" value="c" />
250 <menuitem label="Daily" value="d" />
251 <menuitem label="Biweekly" value="e" />
252 <menuitem label="Semiannual" value="f" />
253 <menuitem label="Biennial" value="g" />
254 <menuitem label="Triennial" value="h" />
255 <menuitem label="Three times a week" value="i" />
256 <menuitem label="Three times a month" value="j" />
257 <menuitem label="Continuously updated" value="k" />
258 <menuitem label="Monthly" value="m" />
259 <menuitem label="Quarterly" value="q" />
260 <menuitem label="Semimonthly" value="s" />
261 <menuitem label="Three times a year" value="t" />
262 <menuitem label="Weekly" value="w" />
263 <menuitem label="Completely irregular" value="x" />
269 label="Use number of issues per year:"
271 selected="false" accesskey="I" />
272 <textbox id="soft_w" disabled="true" />
278 <vbox id="wizard_step_regularity" class="hideme">
279 <checkbox id="use_regularity"
280 oncommand="wizard.regularity_editor.toggle(event);"
281 label="Use specific regularity information (published,
282 omitted, and/or combined issues)?" />
283 <vbox id="regularity_editor_here" class="hideme">
291 <rows id="y_rows_here">
292 <row id="regularity_template_y" align="top">
293 <menulist name="poc">
295 <menuitem disabled="true" label="---" />
296 <menuitem value="p" label="Published" />
297 <menuitem value="o" label="Omitted" />
298 <menuitem value="c" label="Combined" />
301 <menulist name="type_and_code_pattern">
303 <menuitem disabled="true" label="---" />
304 <menuitem value="d:dd"
305 label="Day of the week" />
306 <menuitem value="d:DD"
307 label="Day of the month" />
308 <menuitem value="d:MMDD"
309 label="Date of the year" />
310 <menuitem value="m:MM" label="Month" />
311 <menuitem value="s:SS" label="Season" />
312 <menuitem value="w:WWdd"
313 label="Weekday of the month" />
314 <menuitem value="w:MMWWdd"
315 label="Weekday of specific month" />
316 <menuitem value="w:MMWW"
317 label="Week of specific month" />
318 <menuitem value="y:YYYY"
319 label="Span over two years" />
322 <vbox name="sub_rows_here"></vbox>
324 <button label="Add sub-row" icon="add"
325 disabled="true" name="add_sub_row" />
326 <button label="Remove whole row"
327 icon="remove" name="remove" />
332 <hbox id="y_row_before_this" pack="center"
333 style="padding-top: 1ex;">
334 <button id="regularity_add_y"
335 label="Add More Regularity Information"
336 accesskey="Y" icon="add"
337 oncommand="wizard.regularity_editor.add_row();" />
341 <vbox id="wizard_step_submit" class="hideme">
342 <description class="step">
343 Are you ready to create a pattern code from your
344 selections in this wizard?
347 <button oncommand="wizard.submit();" icon="accept"
348 accesskey="P" label="Create Pattern Code" />