aboutsummaryrefslogtreecommitdiffstats
path: root/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-07-31 08:47:35 +0000
committerPamela Dragosh <pdragosh@research.att.com>2017-07-31 15:51:10 -0400
commit073cc188efe9abb4c010cf674e34e2cf46ef1c52 (patch)
tree155c23fbdf3a838ecb5f4183fc3bb6b09aac41eb /ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models
parent4ca818fdfb9b807562166800a086b413593d6894 (diff)
[POLICY-73] replace openecomp for policy-engine
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models')
-rw-r--r--ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/post.html3
-rw-r--r--ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/profile_searchDS2.html59
-rw-r--r--ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/self_profile.html189
-rw-r--r--ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/samplePage.html62
-rw-r--r--ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/footer.html13
5 files changed, 0 insertions, 326 deletions
diff --git a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/post.html b/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/post.html
deleted file mode 100644
index 43bec5214..000000000
--- a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/post.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<div id="page-content">
- <h1 class="heading-page" id="profileSearch">User Search</h1>
-</div>
diff --git a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/profile_searchDS2.html b/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/profile_searchDS2.html
deleted file mode 100644
index 36b8c2a42..000000000
--- a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/profile_searchDS2.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<div id="page-content">
- <div>
- <h1 class="heading-page" id="profileSearch">Profile Search</h1>
- <div ng-show="showLoader" class="span loader-container">
- <i class="icon-primary-spinner" role="img"
- aria-label="Please wait while we load your content"></i>
- </div>
-
- <div ng-hide="showLoader">
- <table class="striped" table-data="tableData">
- <thead>
- <tr>
- <th>User ID</th>
- <th>Last Name</th>
- <th>First Name</th>
- <th>Email</th>
- <th>User ID</th>
- <th>Manager User ID</th>
- <th>Edit</th>
- <th>Active?</th>
- </tr>
- </thead>
- <tbody type="body" ng-repeat="rowData in tableData">
- <tr>
- <td>{{rowData.id}}</td>
- <td>{{rowData.lastName}}</td>
- <td>{{rowData.firstName}}</td>
- <td>{{rowData.email}}</td>
- <td>{{rowData.orgUserId}}</td>
- <td>{{rowData.orgManagerUserId}}</td>
- <!-- Include an edit image with respective redirection -->
- <td><a href="#/profile/{{rowData.id}}" class="icon-misc-pen"
- style="color: #888; font-size: 20px;"></a></td>
- <td>
- <div class="form-row">
- <label class="btn-switch-label" tabindex="0" role="option">
- <input type="checkbox" b2b-switches ng-model="rowData.active"
- ng-disabled="allDisabled" aria-disabled="{{allDisabled}}">
- <div class="sr-text hidden-spoken" ng-if="!allDisabled">Double
- tap to turn</div>
- </label>
- </div>
- </td>
-
- </tr>
- </tbody>
- </table>
-
- <div class="well" style="padding-bottom: 35px;">
- <div class="row -page short">
- <div b2b-pagination="" total-pages="totalPages1"
- current-page="currentPage1" click-handler="customHandler"
- role="navigation" aria-label="Customer Data Pages"></div>
- </div>
- </div>
-
- </div>
- </div>
-</div>
diff --git a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/self_profile.html b/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/self_profile.html
deleted file mode 100644
index 3b5ef525a..000000000
--- a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-profile/self_profile.html
+++ /dev/null
@@ -1,189 +0,0 @@
-<div id="page-content">
- <div>
- <h1 class="heading-page" id="profileSearch">{{pageTitle}}</h1>
- <div ng-show="showLoader" class="span loader-container">
- <i class="icon-primary-spinner" role="img" aria-label="Please wait while we load your content"></i>
- </div>
- <div ng-hide="showLoader" >
- <h3 class="heading-small">Please edit the profile details below:</h3>
- <div class="row-nowrap">
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-2a">*First Name</label>
- <div class="field-group">
- <input id="textinputID-2a" b2b-reset="" class="span12" type="text" data-ng-model="profile.lastName">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">*Last Name</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.firstName">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">Organization User ID</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.orgUserId" disabled="true">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">Organization Manager ID</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.orgManagerUserId" disabled="true">
- </div>
- </div>
- </div>
- </div>
-
- <div class="row-nowrap">
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-2a">Login Id</label>
- <div class="field-group">
- <input id="textinputID-2a" b2b-reset="" class="span12" type="text" data-ng-model="profile.loginId" disabled="true">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">Password</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.loginPwd" disabled="true">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">*Phone</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.phone">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">Fax</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.fax">
- </div>
- </div>
- </div>
- </div>
-
- <div class="row-nowrap">
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-2a">Cellular</label>
- <div class="field-group">
- <input id="textinputID-2a" b2b-reset="" class="span12" type="text" data-ng-model="profile.cellular">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">*Email</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.email">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">Address 1</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.address1">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">Address 2</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.address2">
- </div>
- </div>
- </div>
- </div>
-
- <div class="row-nowrap">
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-2a">City</label>
- <div class="field-group">
- <input id="textinputID-2a" b2b-reset="" class="span12" type="text" data-ng-model="profile.city">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">State</label>
- <select name="dropdown1" b2b-dropdown ng-model="stateList.selected.value">
- <option b2b-dropdown-list option-repeat="d in stateList.options" value="{{d.value}}" init-value="{{stateList.selected.title}}">{{d.title}}</option>
- </select>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">Zip Code</label>
- <div class="field-group">
- <input id="textinputID-3a" b2b-reset="" class="span12" type="text" data-ng-model="profile.zipCode">
- </div>
- </div>
- </div>
- <div class="span12">
- <div class="form-row">
- <label for="textinputID-3a">Country</label>
- <select name="dropdown1" b2b-dropdown ng-model="selectedCountry.value">
- <option b2b-dropdown-list option-repeat="d in countries" value="{{d.value}}" init-value="{{selectedCountry.title}}">{{d.title}}</option>
- </select>
- </div>
- </div>
- </div>
- <div class="span3">
- <div class="form-row">
- <label for="textinputID-3a">Time Zone</label>
- <select name="dropdown1" b2b-dropdown ng-model="selectedTimeZone.value">
- <option b2b-dropdown-list option-repeat="d in timeZones" value="{{d.value}}" init-value="{{selectedTimeZone.title}}">{{d.title}}</option>
- </select>
- </div>
- </div>
-
- <div>
- <button class="btn btn-alt btn-small" type="button" ng-click="saveProfile()">Save</button>
- </div>
- <br>
- <div>
- Role
- <a ng-click="addNewRoleFunctionModalPopup(role.roleFunctions,role.name, role);" class="icon-primary-accordion-plus" size="small"></a>
- </div>
-
- <div id="rolesTable" title="Role Functions">
- <table class="striped" table-data="profile.roles">
- <thead>
- <tr>
- <th>Name</th>
- <th>Delete</th>
- </tr>
- </thead>
- <tbody type="body" ng-repeat="rowData in profile.roles">
- <tr>
- <td ng-bind="rowData['name']"></td>
-
- <td>
- <div style="font-size: 20px;">
- <a href="javascript:void(0)" ng-click="removeRole(rowData);" class="icon-misc-trash"></a>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
-</div>
diff --git a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/samplePage.html b/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/samplePage.html
deleted file mode 100644
index 06d62f676..000000000
--- a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/samplePage.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<!DOCTYPE html>
-<!-- Single-page application for EPSDK-App demonstration pages using DS2 look and feel -->
-<html>
-<head>
- <meta charset="ISO-8859-1">
- <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
- <title>Sample Page</title>
-
- <!-- B2b Library -->
- <link rel="stylesheet" type="text/css" href="app/fusion/external/b2b/css/b2b-angular/b2b-angular.css">
-
- <!-- icons in open source -->
- <link rel="stylesheet" type="text/css" href="app/fusion/external/ds2/css/digital-ng-library/ionicons.css">
- <link rel="stylesheet" type="text/css" href="app/fusion/styles/ecomp.css">
-
- <!-- Common scripts -->
-
- <script src="app/fusion/external/angular-1.4.8/angular.min.js"></script>
- <script src="app/fusion/external/angular-1.4.8/angular-messages.js"></script>
- <script src="app/fusion/external/angular-1.4.8/angular-touch.js"></script>
- <script src="app/fusion/external/angular-1.4.8/angular-sanitize.js"></script>
- <script src="app/fusion/external/angular-1.4.8/angular-route.min.js"></script>
- <script src="app/fusion/external/angular-1.4.8/angular-cookies.min.js"></script>
- <script src="app/fusion/external/b2b/js/b2b-angular/b2b-library.min.js"></script>
- <script src="app/fusion/external/jquery/dist/jquery.min.js"></script>
- <script src="app/fusion/external/javascript-detect-element-resize/jquery.resize.js"></script>
- <script src="app/fusion/external/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
- <script src="app/fusion/external/angular-gridster/dist/angular-gridster.min.js"></script>
- <script src="app/fusion/scripts/DS2-services/ds2-modal/modalService.js"></script>
- <script src="app/fusion/external/ds2/js/appDS2.js"></script>
-
- <script src="app/fusion/scripts/DS2-services/userInfoServiceDS2.js"></script>
- <script src="app/fusion/scripts/DS2-services/headerServiceDS2.js"></script>
- <script src="app/fusion/scripts/DS2-services/leftMenuServiceDS2.js"></script>
- <script src="app/fusion/scripts/DS2-services/manifestService.js"></script>
- <script src="app/fusion/scripts/DS2-directives/footer.js"></script>
- <script src="app/fusion/scripts/DS2-directives/ds2Header.js"></script>
- <script src="app/fusion/scripts/DS2-directives/ds2LeftMenu.js"></script>
- <script src="app/fusion/scripts/DS2-directives/b2b-leftnav-ext.js"></script>
- <script src="app/fusion/external/utils/js/browserCheck.js"></script>
-
- <!-- Page-specific items -->
- <script src="app/fusion/scripts/DS2-services/adminService.js"></script>
- <script src="app/fusion/scripts/DS2-services/adminMenuService.js"></script>
-
- <script src="app/fusion/scripts/DS2-controllers/samplePage-route.js"></script>
- <script src="app/fusion/scripts/DS2-controllers/collaborateList-route.js"></script>
- <script src="app/fusion/scripts/DS2-controllers/collaborate-list-controller.js"></script>
- <script src="app/fusion/scripts/DS2-services/ds2-sample-page/droolsService.js"></script>
- <script src="app/fusion/scripts/DS2-controllers/ds2-sample/drools-controller.js"></script>
- <script src="app/fusion/scripts/DS2-controllers/ds2-sample/notebook-controller.js"></script>
- <script src="app/fusion/scripts/DS2-controllers/ds2-sample/notebookFrameController.js"></script>
- <script src="app/fusion/scripts/DS2-controllers/ds2-sample/nbook-framecontroller.js"></script>
-
-</head>
- <body class="appBody" ng-app="abs">
- <div ds2-Header class="header-container" ></div>
- <div ds2-menu id="menuContainer" class="menu-container" ></div>
- <div ng-view id="rightContentProfile" class="content-container"></div>
- <div ds2-Footer class="footer-container"></div>
- </body>
-</html>
diff --git a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/footer.html b/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/footer.html
deleted file mode 100644
index f4d8d7edb..000000000
--- a/ECOMP-SDK-APP/src/main/webapp/app/fusion/scripts/DS2-view-models/footer.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<div style="width: 100%">
- <footer class="b2b-footer-wrapper" role="contentinfo" aria-label="footer">
- <div class="b2b-footer-container" >
- <div class="divider-bottom-footer">
- <div class="span12 footerLogo">
- <p class="copyright-text">
- Copyright 2017 Open ECOMP and Linux Foundation. <span class="build_number">Build Number: {{build_number}}</span>
- </p>
- </div>
- </div>
- </div>
- </footer>
-</div> \ No newline at end of file