summaryrefslogtreecommitdiff
path: root/qpid/java/broker-plugins/management-http/src/main/java/resources/addExchange.html
blob: 10ac5388ffc21737d39fb80667c659016ecc78da (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
<!--
 -
 - 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 Exchange'" id="addExchange">
        <form id="formAddExchange" method="post" dojoType="dijit.form.Form">
            <table cellpadding="0" cellspacing="2">
                <tr>
                    <td valign="top"><strong>Exchange Name*: </strong></td>
                    <td><input type="text" required="true" name="name" id="formAddExchange.name" placeholder="Exchange Name"
                        dojoType="dijit.form.ValidationTextBox" missingMessage="A name must be supplied"
                        data-dojo-props="regExp:'^(?!qpid\.|amq\.|\<\<default\>\>).*$', invalidMessage:'Reserved exchange name!'"/></td>
                </tr>
                <tr>
                    <td valign="top"><strong>Durable? </strong></td>
                    <td><input type="checkbox" name="durable" id="formAddExchange.durable" value="durable" checked="checked" dojoType="dijit.form.CheckBox" /></td>
                </tr>
                <tr>
                    <td valign="top"><strong>Exchange Type: </strong></td>
                    <td>
                        <select name="type" id="formAddExchange.type" dojoType="dijit.form.FilteringSelect">
                            <option value="direct">direct</option>
                            <option value="topic">topic</option>
                            <option value="headers">headers</option>
                            <option value="fanout">fanout</option>
                        </select>
                    </td>
                </tr>
            </table>
            <br/>

            <!-- submit buttons -->
            <input type="submit" value="Create Exchange" label="Create Exchange" dojoType="dijit.form.Button" />

        </form>
    </div>
</div>