1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_title = "Streams" %]
5 src="[% ctx.media_prefix %]/js/ui/default/serial/list_stream.js">
7 <script type="text/javascript">
8 var dist_id = "[% ctx.page_args.0 %]";
10 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
11 <div dojoType="dijit.layout.ContentPane"
12 layoutAlign="top" class="oils-header-panel">
15 <button dojoType="dijit.form.Button"
16 onClick="sstr_grid.showCreateDialog()">New Stream</button>
17 <button dojoType="dijit.form.Button"
18 onClick="multi_stream_dialog.show()">
21 <button dojoType="dijit.form.Button"
22 onClick="sstr_grid.refresh()">Refresh Grid</button>
23 <button dojoType="dijit.form.Button"
24 onClick="sstr_grid.deleteSelected()">Delete Selected</button>
28 Showing streams attached to the distribution,
29 <em id="sdist_label_here"></em>
30 (<span id="sdist_org_unit_name_here"></span>).
32 <table jsId="sstr_grid"
33 dojoType="openils.widget.AutoGrid"
35 suppressFields="['distribution']"
37 defaultCellWidth="'auto'"
42 <th field="routing_label" formatter="format_routing_label">
49 <div dojoType="dijit.Dialog"
50 execute="create_many_streams(arguments[0]);"
51 title="Create Streams"
52 jsId="multi_stream_dialog">
53 <table class="serial-dialog-table">
57 <input dojoType="dijit.form.NumberSpinner"
58 value="1" smallDelta="1" name="quantity"
59 constraints="{'min': 1, 'max': 1000}" />
64 <button dojoType="dijit.form.Button" type="submit">
71 <div dojoType="openils.widget.ProgressDialog" jsId="progress_dialog"></div>