Rework UI
[clamp.git] / src / main / resources / META-INF / resources / designer / partials / portfolios / global_properties.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
25 <style>
26 #paramsWarn {
27         display: none;
28 }
29 </style>
30
31 <div id="configure-widgets">
32         <div class="modal-header">
33                 <button type="button" class="close" ng-click="close(false)"
34                         aria-hidden="true" style="margin-top: -3px">&times;</button>
35                 <h4>Model Properties</h4>
36         </div>
37
38         <div class="modal-body" style="height: 280px">
39                 <i hidden id="ridinSpinners" class="fa fa-spinner fa-spin"
40                         style="display: none; margin-bottom: 10px; width: 100%; text-align: center; font-size: 24px; color: black;"></i>
41                 <form id="saveProps">
42                         <div class="alert alert-danger" role="alert" id='paramsWarn'>
43                                 <strong>Ooops!</strong> Unable to load properties for <span
44                                         id='servName'>. Would you like to</span> <a
45                                         href="javascript:void(0);" class="btn-link" id='paramsRetry'>Retry
46                                 </a> / <a href="javascript:void(0);" class="btn-link" id='paramsCancel'>Cancel</a>
47                         </div>
48                         <div>
49                                 <div class="form-group clearfix">
50                                         <label for="deployParameters" class="col-sm-4 control-label">
51                                                 Deploy Parameters</label>
52
53                                         <div class="col-sm-8">
54                                                 <textarea class="form-control" id="dcaeDeployParameters"
55                                                         name="dcaeDeployParameters" rows="3">
56                                                 </textarea>
57
58                                         </div>
59                                 </div>
60
61
62                         </div>
63
64                 </form>
65                 <div class="alert alert-warning propChangeWarn" style="display: none;">
66                         <strong>Warning!</strong> Changing these properties will reset all
67                         associated GUI fields.
68                 </div>
69
70         </div>
71         <div class="modal-footer">
72                 <button id="savePropsBtn" class="btn btn-primary" ng-click="submitForm()">Save</button>
73                 <button ng-click="close(true)" id="close_button"
74                         class="btn btn-primary">Cancel</button>
75
76         </div>
77 </div>