org.onap migration
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / view-models / previousVersion.htm
1 <div ng-controller="previousVersionContoller">
2
3         <div ng-show="isTableDialogVisible">
4                 <div class="titleLine">
5                         <img src="app/vid/images/spinner.gif"
6                                 ngx-visible="{{isTableSpinnerVisible}}"></img>
7                         <h3>{{componentName}} - {{createType}}</h3>
8                 </div>
9
10                 <div class="error" ng-show="isTableErrorVisible">
11                         <img src="app/vid/images/error.png"></img>{{error}}
12                 </div>
13                 <table att-table table-data="tableData" view-per-page="viewPerPage" current-page="currentPage" search-category="searchCategory" search-string="searchString" total-page="totalPage">
14                     <thead  att-table-row type="header">
15                                 <tr>
16                                         <th att-table-header key="action">Action</th>
17                                         <th att-table-header key="serviceInstanceName">Service Name</th>
18                                         <th att-table-header key="serviceDescription">Service Description</th>
19                                         <th att-table-header key="serviceType">Service Type</th>
20                             <th att-table-header key="serviceUuid">Service UUID</th>
21                             <th att-table-header key="serviceInvariantUuid">Service Invariant UUID</th>
22                             <th att-table-header key="serviceVersion">Service Version</th>
23                         </tr>
24                     </thead>
25                     <tbody att-table-row type="body" row-repeat="service in tableData">
26                         <tr>
27                                 <td att-table-body ><button type=button ng-click="deployService(service,true)" att-button btn-type="primary" size="small">Deploy</button></td>
28                         <td att-table-body ng-bind="service['extra-properties']['extra-property'][2]['property-value']"></td>
29                         <td att-table-body ng-bind="service['extra-properties']['extra-property'][0]['property-value']"></td>
30                         <td att-table-body ng-bind="serviceType"></td>
31                         <td att-table-body ng-bind="service['extra-properties']['extra-property'][1]['property-value']"></td>
32                         <td att-table-body ng-bind="service['extra-properties']['extra-property'][4]['property-value']"></td>
33                         <td att-table-body ng-bind="service['extra-properties']['extra-property'][6]['property-value']"></td>
34                         </tr>     
35                     </tbody>      
36                 </table>
37                 
38                 
39                 <div class="buttonRow">
40                         <button type="button" ng-click="cancelTable();" att-button
41                                 btn-type="primary" size="small">Cancel</button>
42                 </div>
43         </div>
44 </div>