summaryrefslogtreecommitdiffstats
path: root/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/view-models/lifecyclemanagement.html
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/view-models/lifecyclemanagement.html')
-rw-r--r--usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/view-models/lifecyclemanagement.html111
1 files changed, 0 insertions, 111 deletions
diff --git a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/view-models/lifecyclemanagement.html b/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/view-models/lifecyclemanagement.html
deleted file mode 100644
index 4f50651b..00000000
--- a/usecaseui-lcm/src/main/webapp/app/uui/fusion/scripts/view-models/lifecyclemanagement.html
+++ /dev/null
@@ -1,111 +0,0 @@
-<!--
-
- Copyright 2016-2017 ZTE Corporation.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<div class="templatemo-content-wrapper" ng-controller="lcmCtrl as ctrl" ng-init="ctrl.init()">
- <div class="templatemo-content">
- <div style="float:right;width:30%" uib-alert ng-repeat="alert in ctrl.alerts" ng-class="'alert-' + (alert.type || 'warning')" close="ctrl.closeAlert($index)" dismiss-on-timeout="10000">{{alert.msg}}</div>
- <h1 style="margin-bottom:40px">Life Cycle Manager</h1>
-
- <uib-tabset active="active">
- <uib-tab heading="Services">
- <div id="serviceTable" style="margin-top:20px;">
- <label>
- <span>Customer</span>
- <span class="required">*</span>
- </label>
- <select id="customer" ng-change="ctrl.customerChanged()" ng-model="ctrl.customer" ng-options="c.name for c in ctrl.customers">
- <option value="">--select--</option>
- </select>
- <label style="margin-left:10px">
- <span>Service Type</span>
- <span class="required">*</span>
- </label>
- <select id="serviceType" ng-change="ctrl.serviceTypeChanged()" ng-model="ctrl.serviceType" ng-options="t.name for t in ctrl.serviceTypes">
- <option value="">--select--</option>
- </select>
- <button id="createService" class="btn btn-primary" style="margin-bottom:10px;margin-left:10px" ng-click="ctrl.openCreateServiceDialog()">
- <span>Create</span>
- </button>
- <table class="table table-striped table-hover table-bordered" style="margin:2px">
- <thead>
- <tr>
- <th>Service Instance Id</th>
- <th>Service Name</th>
- <th>Service Type</th>
- <th>Action</th>
- </tr>
- </thead>
- <tbody id="bb">
- <tr ng-repeat="serviceInstance in ctrl.serviceInstances" ng-if="serviceInstance.serviceType==='E2E Service'">
- <td>{{serviceInstance.serviceInstanceId}}</td>
- <td>{{serviceInstance.serviceInstanceName}}</td>
- <td>{{serviceInstance.serviceType}}</td>
- <td>
- <button class="btn btn-primary" ng-click="ctrl.scaleService(serviceInstance)">Scale</button>
- <button class="btn btn-primary" ng-click="ctrl.deleteService(serviceInstance)">Delete</button>
- <!-- <button class="btn btn-primary" ng-click="ctrl.upDateService(serviceInstance)">upDate</button> -->
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </uib-tab>
- <uib-tab heading="Vnf/NS Packages">
- <div id="vnfNsPackages" style="margin-top:20px;">
- <table id="onbaordTable" class="table table-striped table-hover table-bordered">
- <thead>
- <tr>
- <th>Name</th>
- <th>Type</th>
- <th>Version</th>
- <th>Action</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="package in ctrl.packages">
- <td>{{package.name}}</td>
- <td>{{package.type}}</td>
- <td>{{package.version}}</td>
- <td>
- <button class="btn btn-primary onboard-button" ng-click="ctrl.packageOnboard(package)">Onboard</button>
- <button class="btn btn-primary delete-button" ng-click="ctrl.packageDelete(package)">Delete</button>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </uib-tab>
- </uib-tabset>
-</div>
-
-<!-- Modal -->
-<div class="modal fade" id="confirmModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal">
- <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
- </button>
- <h4 class="modal-title" id="myModalLabel">Are you sure you want to sign out?</h4>
- </div>
- <div class="modal-footer">
- <a href="sign-in.html" class="btn btn-primary">Yes</a>
- <button type="button" class="btn btn-default" data-dismiss="modal">No</button>
- </div>
- </div>
- </div>
-</div>