summaryrefslogtreecommitdiff
path: root/qpid/java/broker-plugins/management-http/src/main/java/resources/addBinding.html
blob: 1b30c6ddcc40df1c9b28cc249e781f0cd4d2d99d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<div class="dijitHidden">
    <div data-dojo-type="dijit/Dialog" style="width:600px;" data-dojo-props="title:'Add Binding'" id="addBinding">
        <form id="formAddBinding" method="post" data-dojo-type="dijit/form/Form">

            <div class="clear">
                <div class="formLabel-labelCell tableContainer-labelCell">Exchange Name*:</div>
                <div class="formLabel-controlCell tableContainer-valueCell">
                    <div id="addBinding.selectExchangeDiv"></div>
                </div>
            </div>
            <div class="clear">
                <div class="formLabel-labelCell tableContainer-labelCell">Queue Name*: </div>
                <div class="formLabel-controlCell tableContainer-valueCell">
                    <div id="addBinding.selectQueueDiv"></div>
                </div>
            </div>
            <div class="clear">
                <div class="formLabel-labelCell tableContainer-labelCell">Binding Key*:</div>
                <div class="formLabel-controlCell tableContainer-valueCell">
                    <input type="text" id="formAddbinding.bindingKey"
                           data-dojo-type="dijit/form/ValidationTextBox"
                           data-dojo-props="
                              name: 'name',
                              placeHolder: 'Binding Key',
                              required: true,
                              promptMessage: 'Binding key',
                              title: 'Enter binding key'" />
                </div>
            </div>

            <div class="clear formBox">
                <fieldset>
                    <legend>Binding Arguments</legend>
                    <div class="editNoteBanner">NOTE: Only arguments with name and value will be submitted. To edit, please, click on a grid cell.</div>
                    <div id="formAddbinding.bindingArguments"></div>
                    <div>
                        <button data-dojo-type="dijit/form/Button" id="formAddbinding.addArgumentButton" type="button" data-dojo-props="title:'Add new binding argument'">+</button>
                        <button data-dojo-type="dijit/form/Button" id="formAddbinding.deleteArgumentButton" type="button" data-dojo-props="title:'Remove selected binding argument(s)'">-</button>
                    </div>
                </fieldset>
            </div>

            <div class="dijitDialogPaneActionBar">
                <input type="submit" value="Create Binding" label="Create Binding"  data-dojo-type="dijit/form/Button" />
            </div>
        </form>
    </div>
</div>