diff options
author | Ofir Sonsino <os0695@att.com> | 2017-09-20 13:20:42 +0300 |
---|---|---|
committer | Ofir Sonsino <os0695@att.com> | 2017-09-20 13:37:03 +0300 |
commit | 9dfd7e28c1eb348fcb4a2de8c6faae2a01b34942 (patch) | |
tree | c273862f59b0b64c19ccfea5f59ab574071cb323 /vid-app-common/src/main/webapp/app/vid/scripts/view-models/previousVersion.htm | |
parent | c3722d135481cfab5978c84853d8229d1e7d9cb3 (diff) |
Global Read only role, Support VID specific Roles
Issue-ID: VID-46 , VID-47
Change-Id: Ib100d20ac40a65d39e27a6e2741b19a173a2b8ea
Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/view-models/previousVersion.htm')
-rw-r--r-- | vid-app-common/src/main/webapp/app/vid/scripts/view-models/previousVersion.htm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/view-models/previousVersion.htm b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/previousVersion.htm new file mode 100644 index 00000000..dd604632 --- /dev/null +++ b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/previousVersion.htm @@ -0,0 +1,44 @@ +<div ng-controller="previousVersionContoller"> + + <div ng-show="isTableDialogVisible"> + <div class="titleLine"> + <img src="app/vid/images/spinner.gif" + ngx-visible="{{isTableSpinnerVisible}}"></img> + <h3>{{componentName}} - {{createType}}</h3> + </div> + + <div class="error" ng-show="isTableErrorVisible"> + <img src="app/vid/images/error.png"></img>{{error}} + </div> + <table att-table table-data="tableData" view-per-page="viewPerPage" current-page="currentPage" search-category="searchCategory" search-string="searchString" total-page="totalPage"> + <thead att-table-row type="header"> + <tr> + <th att-table-header key="action">Action</th> + <th att-table-header key="serviceInstanceName">Service Name</th> + <th att-table-header key="serviceDescription">Service Description</th> + <th att-table-header key="serviceType">Service Type</th> + <th att-table-header key="serviceUuid">Service UUID</th> + <th att-table-header key="serviceInvariantUuid">Service Invariant UUID</th> + <th att-table-header key="serviceVersion">Service Version</th> + </tr> + </thead> + <tbody att-table-row type="body" row-repeat="service in tableData"> + <tr> + <td att-table-body ><button type=button ng-click="deployService(service,true)" att-button btn-type="primary" size="small">Deploy</button></td> + <td att-table-body ng-bind="service['extra-properties']['extra-property'][2]['property-value']"></td> + <td att-table-body ng-bind="service['extra-properties']['extra-property'][0]['property-value']"></td> + <td att-table-body ng-bind="serviceType"></td> + <td att-table-body ng-bind="service['extra-properties']['extra-property'][1]['property-value']"></td> + <td att-table-body ng-bind="service['extra-properties']['extra-property'][4]['property-value']"></td> + <td att-table-body ng-bind="service['extra-properties']['extra-property'][6]['property-value']"></td> + </tr> + </tbody> + </table> + + + <div class="buttonRow"> + <button type="button" ng-click="cancelTable();" att-button + btn-type="primary" size="small">Cancel</button> + </div> + </div> +</div> |