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