blob: 753d41c80d6dbb968271ade5f961e2f6d954da69 [file] [log] [blame]
<!--
~ 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" data-dojo-props="title:'Connection Limit Rule'"
id="connectionLimitRule">
<form id="connectionLimitRule.form" method="post" data-dojo-type="dijit/form/Form">
<div class="formBox">
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Identity*:</div>
<div class="formLabel-controlCell tableContainer-valueCell">
<input type="text" id="connectionLimitRule.name"
data-dojo-type="dijit/form/ValidationTextBox"
data-dojo-props="
name: 'identity',
placeHolder: 'all',
required: true,
promptMessage: 'Enter an identity',
title: 'Identity'"/>
</div>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Port:</div>
<div class="formLabel-controlCell tableContainer-valueCell">
<input type="text" id="connectionLimitRule.port"
data-dojo-type="dijit/form/ValidationTextBox"
data-dojo-props="
name: 'port',
placeHolder: 'all',
required: false,
promptMessage: 'Enter a port name',
title: 'Port'"/>
</div>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Blocked user</div>
<div class="formLabel-controlCell tableContainer-valueCell">
<input type="checkbox" id="connectionLimitRule.blocked"
data-dojo-type="dijit/form/CheckBox"
data-dojo-props="
name: 'blocked',
required: false,
checked: false"/>
</div>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Count limit:</div>
<input type="text" id="connectionLimitRule.countLimit"
data-dojo-type="dijit/form/NumberTextBox"
data-dojo-props="
name: 'countLimit',
required: false,
promptMessage: 'Enter the opening connection count limit',
title: 'Connection count limit',
invalidMessage:'Please enter an integer'"/>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Frequency limit:</div>
<input type="text" id="connectionLimitRule.frequencyLimit"
data-dojo-type="dijit/form/NumberTextBox"
data-dojo-props="
name: 'frequencyLimit',
required: false,
promptMessage: 'Enter the opening connection frequency limit',
title: 'Connection frequency limit',
invalidMessage:'Please enter an integer'"/>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Frequency period:</div>
<input type="text" id="connectionLimitRule.frequencyPeriod"
data-dojo-type="dijit/form/NumberTextBox"
data-dojo-props="
name: 'frequencyPeriod',
required: false,
promptMessage: 'Enter the frequency period in ms',
title: 'Frequency period [ms]',
invalidMessage:'Please enter an integer'"/>
</div>
</div>
</form>
<div class="dijitDialogPaneActionBar qpidDialogPaneActionBar">
<button data-dojo-type="dijit/form/Button" id="connectionLimitRule.saveButton"
data-dojo-props="label: 'Save'" type="submit"></button>
<button data-dojo-type="dijit/form/Button" id="connectionLimitRule.deleteButton"
data-dojo-props="label: 'Delete'" type="button"></button>
<button data-dojo-type="dijit/form/Button" id="connectionLimitRule.cancelButton"
data-dojo-props="label: 'Cancel'" type="button"></button>
</div>
</div>
</div>