forked from apache/ambari
-
Notifications
You must be signed in to change notification settings - Fork 0
/
edit_widget_popup_single_threshold.hbs
47 lines (43 loc) · 2.08 KB
/
edit_widget_popup_single_threshold.hbs
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
{{!
* 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.
}}
<form autocomplete="off" class="form-horizontal">
<div class="each-row">
<div class="alert alert-info">
{{{view.parentView.widgetView.hintInfo}}}
</div>
</div>
<div class="row" id= "min-height-limit">
<div class="col-md-12">
<div id="slider-range"></div>
</div>
</div>
<div class="row">
<div id="slider-value1" class="value-on-slider col-md-2">
<input type="text" value="0" disabled="disabled" class="form-control" />
</div>
<div id="slider-value2" {{bindAttr class="view.parentView.sliderHandlersManager.thresholdMinError:slider-error :value-on-slider :col-md-4 :col-md-offset-2 :col-sm-offset-2 view.parentView.sliderHandlersManager.thresholdMinError:has-error"}}>
{{view Ember.TextField valueBinding="view.parentView.sliderHandlersManager.thresholdMin" class="form-control"}}
{{#if view.parentView.sliderHandlersManager.thresholdMinErrorMessage}}
<span class="help-block validation-block">{{view.parentView.sliderHandlersManager.thresholdMinErrorMessage}}</span>
{{/if}}
</div>
<div id="slider-value3" class="value-on-slider col-md-2 col-md-offset-2 col-sm-offset-2">
{{view Em.TextField valueBinding="view.parentView.sliderHandlersManager.maxValue" classNames="form-control" disabled="disabled"}}
</div>
</div>
</form>