618922a0697f9f23ad8124b322300b8e33f08ed0
[clamp.git] / src / main / resources / META-INF / resources / designer / partials / portfolios / clds_open_model.html
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP CLAMP
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property. All rights
6                               reserved.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License"); 
9   you may not use this file except in compliance with the License. 
10   You may obtain a copy of the License at
11   
12   http://www.apache.org/licenses/LICENSE-2.0
13   
14   Unless required by applicable law or agreed to in writing, software 
15   distributed under the License is distributed on an "AS IS" BASIS, 
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
17   See the License for the specific language governing permissions and 
18   limitations under the License.
19   ============LICENSE_END============================================
20   ===================================================================
21   
22   -->
23
24 <div attribute-test="cldsopenmodel" id="configure-widgets">
25         <div attribute-test="cldsopenmodel1" class="modal-header">
26                 <button type="button" class="close" ng-click="close(false)"
27                         aria-hidden="true" style="margin-top: -3px">&times;</button>
28                 <h4>Open Model</h4>
29         </div>
30         <div attribute-test="cldsopenmodel2" class="modal-body" style="height: 150px">
31                 <div style="height: 30px"></div>
32
33         <form name="model" class="form-horizontal">
34                         <div class="form-group clearfix">
35                                 <label for="modelName" class="col-sm-3 control-label">Model     Name</label>
36                                 <div class="col-sm-8">
37                                         <select class="form-control" id="modelName" name="modelName"
38                                                  autofocus="autofocus" required ng-trim="true">
39                                                 <option ng-repeat="x in modelNamel" value="{{x}}">{{x}}</option>
40                                                 </select>
41                                                 <div role="alert"><span ng-show="model.modelName.$error.pattern" style="color: red">Special Characters are not allowed in Model name.</span></div>
42                                 </div>
43                         </div>
44                         <div class="form-group clearfix">
45                                 <label for="modelName" class="col-sm-3 control-label">Read Only</label>
46                                 <div class="col-sm-8">
47                                         <input type="checkbox" class="form-control" id="readOnly"  name="readOnly"></input>
48                                 </div>
49                         </div>
50                 </form>
51         </div>
52         <div class="modal-footer">
53
54                 <button ng-click="openModel()" class="btn btn-primary" ng-disabled="model.modelName.$error.pattern" class="btn btn-primary">OK</button>
55                 <button ng-click="close(true)" class="btn btn-primary">Cancel</button>
56         </div>
57         <script>
58                 
59         </script>
60 </div>
61