1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_title = "Streams" %]
3 <style type="text/css">
4 #new-srlu-table { width: 100%; }
5 #new-srlu-table th { text-align: left; padding-left: 1em; }
6 #new-srlu-table td { text-align: center; padding-right: 1em; }
7 #list-source { border: 1px #666 dashed; }
9 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
10 <div dojoType="dijit.layout.ContentPane"
11 layoutAlign="top" class="oils-header-panel">
14 <button dojoType="dijit.form.Button"
15 onClick="sstr_grid.showCreateDialog()">New Stream</button>
16 <button dojoType="dijit.form.Button"
17 onClick="multi_stream_dialog.show()">
20 <button dojoType="dijit.form.Button" onClick="rlu_editor.show()">
21 Routing List For Selected Stream
23 <button dojoType="dijit.form.Button"
24 onClick="sstr_grid.refresh()">Refresh Grid</button>
25 <button dojoType="dijit.form.Button"
26 onClick="sstr_grid.deleteSelected()">Delete Selected</button>
30 Showing streams attached to the distribution,
31 <em><a href="javascript:void(0);" id="sdist_label_here"></a></em>
32 (<span id="sdist_org_unit_name_here"></span>).
34 <table jsId="sstr_grid"
35 dojoType="openils.widget.AutoGrid"
37 fieldOrder="['id','distribution','routing_label']"
38 suppressFields="['distribution']"
39 showSequenceFields="true"
45 <th width="90%" field="routing_label"
46 formatter="format_routing_label"></th>
53 <div id="routing_list_user_template_reader">
54 Reader: ${0} / ${1}, ${2} ${3} (${4})
56 <div id="routing_list_user_template_department">Department: ${0}</div>
57 <div id="routing_list_user_template_note"><br /> <em>${0}</em></div>
58 <div id="routing_list_user_template_remove">[X]</div>
60 <div dojoType="dijit.Dialog" id="routing_list_dialog"
61 execute="rlu_editor.save()" title="Manage Routing List">
62 <ol id="list-source" dojoType="dojo.dnd.Source"
63 jsId="routing_list_source"></ol>
64 <table id="new-srlu-table">
68 <input type="radio" name="reader_xor_dept"
69 dojoType="dijit.form.RadioButton"
70 value="reader" id="reader_xor_dept-reader" />
73 <label for="reader_xor_dept-reader">
78 <input dojoType="dijit.form.TextBox" id="reader"
79 name="reader" disabled="disabled" />
82 <button dojoType="dijit.form.Button"
83 id="routing_list_add_button"
84 onClick="rlu_editor.new_user()">Add</button>
89 <input type="radio" name="reader_xor_dept"
90 dojoType="dijit.form.RadioButton"
92 id="reader_xor_dept-department" />
95 <label for="reader_xor_dept-department">
100 <input dojoType="dijit.form.TextBox" id="department"
101 name="department" disabled="disabled" />
106 <th><label for="note">Note:</label></th>
108 <input id="note" name="note"
109 dojoType="dijit.form.TextBox" />
113 <td colspan="4" style="padding-top: 1em;">
114 <button id="routing_list_save_button"
115 dojoType="dijit.form.Button" type="submit">
124 <div dojoType="dijit.Dialog"
125 execute="create_many_streams(arguments[0]);"
126 title="Create Streams"
127 jsId="multi_stream_dialog">
128 <table class="serial-dialog-table">
132 <input dojoType="dijit.form.NumberSpinner"
133 value="1" smallDelta="1" name="quantity"
134 constraints="{'min': 1, 'max': 1000}" />
139 <button dojoType="dijit.form.Button" type="submit">
146 <div dojoType="openils.widget.ProgressDialog" jsId="progress_dialog"></div>
148 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/serial/list_stream.js"> </script>