[VID-12] Delivery of remaining features for v1.1
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / view-models / creationDialog.htm
1 <!--
2   ============LICENSE_START=======================================================
3   VID
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END=========================================================
19   -->
20
21 <div ng-controller="creationDialogController">
22
23         <div ng-show="isDialogVisible">
24                 <div class="titleLine">
25                         <img src="app/vid/images/spinner.gif"
26                                 ngx-visible="{{isSpinnerVisible}}"></img>
27                         <h3>Create {{componentName}} -- {{createType}}</h3>
28                 </div>
29
30                 <div class="error" ng-show="isErrorVisible">
31                         <img src="app/vid/images/error.png"></img>{{error}}
32                 </div>
33
34                 <div ngx-visible="{{isDataVisible}}">
35                         <parameter-block control="summaryControl"></parameter-block>
36                         <h4>
37                                 User Provided Data (<img class="requiredIndicator"
38                                         src="app/vid/images/asterisk.png" height='10' width='10'></img> indicates required field)
39                         </h4>
40                         <parameter-block control="userProvidedControl"
41                                 callback="userParameterChanged(id);" editable></parameter-block>
42 \r
43                         <div class="prompt">
44                                 <p>
45                                         Enter Data and <span>Confirm</span> to<br />Create <span>{{componentName}}</span>
46                                 </p>
47                                 <p>
48                                         <span>Cancel</span> to Return to Previous Page.<br />Data entered
49                                         will be lost
50                                 </p>
51                         </div>
52
53                 </div>
54                 <div class="buttonRow">
55                         <button ngx-enabled="{{isConfirmEnabled}}" att-button size="small"
56                                 ng-click="confirm();">Confirm</button>
57                         <button type="button" ng-click="cancel();" att-button
58                                 btn-type="primary" size="small">Cancel</button>
59                 </div>
60         </div>
61
62         <div ng-include="'app/vid/scripts/view-models/msoCommit.htm'"></div>
63
64 </div>