org.onap migration
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / view-models / deleteResumeDialog.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="deleteResumeDialogController">
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>{{dialogMethod}} {{componentName}}</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       <parameter-block control="summaryControl"></parameter-block>
35       
36       <div ngx-visible="{{isDataVisible}}">
37                 
38         <h4>
39                                 User Provided Data (<img class="requiredIndicator"
40                                         src="app/vid/images/asterisk.png" height='10' width='10'></img> indicates required field)
41                         </h4>
42                         <parameter-block control="userProvidedControl"
43                                 callback="userParameterChanged(id);" editable></parameter-block>
44
45                         <div class="prompt">
46                                 <p>
47                                         Enter Data and <span>Confirm</span> to<br />{{dialogMethod}} <span>{{componentName}}</span>
48                                 </p>
49                                 <p>
50                                         <span>Cancel</span> to Return to Previous Page.<br />Data entered
51                                         will be lost
52                                 </p>
53                         </div>
54         </div>
55
56                 <div class="buttonRow">
57                         <!-- <button type="button" ng-click="confirm();" att-button
58                                 btn-type="primary" size="small" class="confirm">Confirm</button>
59                         <button type="button" ng-click="cancel();" att-button
60                                 btn-type="primary" size="small">Cancel</button> --->
61                         <button data-tests-id="confirmResumeDeleteButton" ngx-enabled="{{isConfirmEnabled}}" att-button size="small"
62                                 ng-click="confirm();">Confirm</button>
63                         <button type="button" ng-click="cancel();" att-button
64                                 btn-type="primary" size="small">Cancel</button>
65                 </div>
66         </div>
67
68         <div ng-include="'app/vid/scripts/view-models/msoCommit.htm'"></div>
69
70 </div>