summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/pages/app
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/pages/app')
-rw-r--r--utils/test/reporting/pages/app/404.html152
-rw-r--r--utils/test/reporting/pages/app/favicon.icobin4286 -> 0 bytes
-rw-r--r--utils/test/reporting/pages/app/images/green.pngbin5064 -> 0 bytes
-rw-r--r--utils/test/reporting/pages/app/images/green@2x.pngbin7708 -> 0 bytes
-rw-r--r--utils/test/reporting/pages/app/images/header_one.jpgbin142245 -> 0 bytes
-rw-r--r--utils/test/reporting/pages/app/images/logo.pngbin2829 -> 0 bytes
-rw-r--r--utils/test/reporting/pages/app/images/overview.pngbin113333 -> 0 bytes
-rw-r--r--utils/test/reporting/pages/app/images/word_map.pngbin89439 -> 0 bytes
-rw-r--r--utils/test/reporting/pages/app/images/yeoman.pngbin13501 -> 0 bytes
-rw-r--r--utils/test/reporting/pages/app/index.html95
-rw-r--r--utils/test/reporting/pages/app/robots.txt4
-rw-r--r--utils/test/reporting/pages/app/scripts/app.js24
-rw-r--r--utils/test/reporting/pages/app/scripts/config.js19
-rw-r--r--utils/test/reporting/pages/app/scripts/config.router.js84
-rw-r--r--utils/test/reporting/pages/app/scripts/controllers/admin.controller.js26
-rw-r--r--utils/test/reporting/pages/app/scripts/controllers/case.controller.js70
-rw-r--r--utils/test/reporting/pages/app/scripts/controllers/main.controller.js32
-rw-r--r--utils/test/reporting/pages/app/scripts/controllers/table.controller.js278
-rw-r--r--utils/test/reporting/pages/app/scripts/controllers/testvisual.controller.js125
-rw-r--r--utils/test/reporting/pages/app/scripts/factory/table.factory.js70
-rw-r--r--utils/test/reporting/pages/app/styles/custome.css102
-rw-r--r--utils/test/reporting/pages/app/views/commons/admin.html35
-rw-r--r--utils/test/reporting/pages/app/views/commons/selectTestcase.html142
-rw-r--r--utils/test/reporting/pages/app/views/commons/table.html113
-rw-r--r--utils/test/reporting/pages/app/views/commons/testCaseList.html55
-rw-r--r--utils/test/reporting/pages/app/views/commons/testCaseVisual.html127
-rw-r--r--utils/test/reporting/pages/app/views/main.html231
-rw-r--r--utils/test/reporting/pages/app/views/modal/testcasedetail.html7
-rw-r--r--utils/test/reporting/pages/app/views/testcase.html94
29 files changed, 0 insertions, 1885 deletions
diff --git a/utils/test/reporting/pages/app/404.html b/utils/test/reporting/pages/app/404.html
deleted file mode 100644
index 899828a3c..000000000
--- a/utils/test/reporting/pages/app/404.html
+++ /dev/null
@@ -1,152 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Page Not Found :(</title>
- <style>
- ::-moz-selection {
- background: #b3d4fc;
- text-shadow: none;
- }
-
- ::selection {
- background: #b3d4fc;
- text-shadow: none;
- }
-
- html {
- padding: 30px 10px;
- font-size: 20px;
- line-height: 1.4;
- color: #737373;
- background: #f0f0f0;
- -webkit-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
- }
-
- html,
- input {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- }
-
- body {
- max-width: 500px;
- padding: 30px 20px 50px;
- border: 1px solid #b3b3b3;
- border-radius: 4px;
- margin: 0 auto;
- box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
- background: #fcfcfc;
- }
-
- h1 {
- margin: 0 10px;
- font-size: 50px;
- text-align: center;
- }
-
- h1 span {
- color: #bbb;
- }
-
- h3 {
- margin: 1.5em 0 0.5em;
- }
-
- p {
- margin: 1em 0;
- }
-
- ul {
- padding: 0 0 0 40px;
- margin: 1em 0;
- }
-
- .container {
- max-width: 380px;
- margin: 0 auto;
- }
-
- /* google search */
-
- #goog-fixurl ul {
- list-style: none;
- padding: 0;
- margin: 0;
- }
-
- #goog-fixurl form {
- margin: 0;
- }
-
- #goog-wm-qt,
- #goog-wm-sb {
- border: 1px solid #bbb;
- font-size: 16px;
- line-height: normal;
- vertical-align: top;
- color: #444;
- border-radius: 2px;
- }
-
- #goog-wm-qt {
- width: 220px;
- height: 20px;
- padding: 5px;
- margin: 5px 10px 0 0;
- box-shadow: inset 0 1px 1px #ccc;
- }
-
- #goog-wm-sb {
- display: inline-block;
- height: 32px;
- padding: 0 10px;
- margin: 5px 0 0;
- white-space: nowrap;
- cursor: pointer;
- background-color: #f5f5f5;
- background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);
- background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);
- background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);
- background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- }
-
- #goog-wm-sb:hover,
- #goog-wm-sb:focus {
- border-color: #aaa;
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
- background-color: #f8f8f8;
- }
-
- #goog-wm-qt:hover,
- #goog-wm-qt:focus {
- border-color: #105cb6;
- outline: 0;
- color: #222;
- }
-
- input::-moz-focus-inner {
- padding: 0;
- border: 0;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <h1>Not found <span>:(</span></h1>
- <p>Sorry, but the page you were trying to view does not exist.</p>
- <p>It looks like this was the result of either:</p>
- <ul>
- <li>a mistyped address</li>
- <li>an out-of-date link</li>
- </ul>
- <script>
- var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
- </script>
- <script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
- </div>
- </body>
-</html>
diff --git a/utils/test/reporting/pages/app/favicon.ico b/utils/test/reporting/pages/app/favicon.ico
deleted file mode 100644
index 652790530..000000000
--- a/utils/test/reporting/pages/app/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/utils/test/reporting/pages/app/images/green.png b/utils/test/reporting/pages/app/images/green.png
deleted file mode 100644
index 57fc59927..000000000
--- a/utils/test/reporting/pages/app/images/green.png
+++ /dev/null
Binary files differ
diff --git a/utils/test/reporting/pages/app/images/green@2x.png b/utils/test/reporting/pages/app/images/green@2x.png
deleted file mode 100644
index 3bda5beb6..000000000
--- a/utils/test/reporting/pages/app/images/green@2x.png
+++ /dev/null
Binary files differ
diff --git a/utils/test/reporting/pages/app/images/header_one.jpg b/utils/test/reporting/pages/app/images/header_one.jpg
deleted file mode 100644
index 69f377cc3..000000000
--- a/utils/test/reporting/pages/app/images/header_one.jpg
+++ /dev/null
Binary files differ
diff --git a/utils/test/reporting/pages/app/images/logo.png b/utils/test/reporting/pages/app/images/logo.png
deleted file mode 100644
index 1519503eb..000000000
--- a/utils/test/reporting/pages/app/images/logo.png
+++ /dev/null
Binary files differ
diff --git a/utils/test/reporting/pages/app/images/overview.png b/utils/test/reporting/pages/app/images/overview.png
deleted file mode 100644
index f1688cf37..000000000
--- a/utils/test/reporting/pages/app/images/overview.png
+++ /dev/null
Binary files differ
diff --git a/utils/test/reporting/pages/app/images/word_map.png b/utils/test/reporting/pages/app/images/word_map.png
deleted file mode 100644
index 3b3b9d2f3..000000000
--- a/utils/test/reporting/pages/app/images/word_map.png
+++ /dev/null
Binary files differ
diff --git a/utils/test/reporting/pages/app/images/yeoman.png b/utils/test/reporting/pages/app/images/yeoman.png
deleted file mode 100644
index 92497addf..000000000
--- a/utils/test/reporting/pages/app/images/yeoman.png
+++ /dev/null
Binary files differ
diff --git a/utils/test/reporting/pages/app/index.html b/utils/test/reporting/pages/app/index.html
deleted file mode 100644
index 843a6230e..000000000
--- a/utils/test/reporting/pages/app/index.html
+++ /dev/null
@@ -1,95 +0,0 @@
-<!doctype html>
-<html ng-app="opnfvApp">
-
-<head>
- <meta charset="utf-8">
- <title>OPNFV-DASHBOARD EXAMPLE</title>
- <meta name="description" content="">
- <meta name="viewport" content="width=device-width,width=device-width,initial-scale=1">
- <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
- <!-- build:css(.) styles/vendor.css -->
- <!-- bower:css -->
- <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />
- <link rel="stylesheet" href="bower_components/metisMenu/dist/metisMenu.css" />
- <link rel="stylesheet" href="bower_components/chosen/chosen.css" />
- <link rel="stylesheet" href="bower_components/selectize/dist/css/selectize.css" />
- <link rel="stylesheet" href="bower_components/components-font-awesome/css/font-awesome.css" />
- <link rel="stylesheet" href="bower_components/angular-tooltips/dist/angular-tooltips.min.css" />
- <link rel="stylesheet" href="bower_components/animate.css/animate.css" />
- <link rel="stylesheet" href="bower_components/ng-dialog/css/ngDialog.css" />
- <link rel="stylesheet" href="bower_components/ng-dialog/css/ngDialog-theme-default.css" />
- <link rel="stylesheet" href="bower_components/inspiniacss/style.css" />
- <link rel="stylesheet" href="bower_components/angular-loading/angular-loading.css" />
- <!-- endbower -->
- <!-- endbuild -->
- <!-- build:css(.tmp) styles/style.css -->
-
- <link rel="stylesheet" href="styles/custome.css">
-
-
- <!-- endbuild -->
-</head>
-
-<body class="{{$state.current.data.specialClass}}" id="page-top">
- <!--[if lte IE 8]>
- <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
- <![endif]-->
-
- <!-- Add your site or application content here -->
- <div ui-view></div>
- <!-- Google Analytics: change UA-XXXXX-X to be your site's ID -->
- <!--<script>
- !function(A,n,g,u,l,a,r){A.GoogleAnalyticsObject=l,A[l]=A[l]||function(){
- (A[l].q=A[l].q||[]).push(arguments)},A[l].l=+new Date,a=n.createElement(g),
- r=n.getElementsByTagName(g)[0],a.src=u,r.parentNode.insertBefore(a,r)
- }(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-XXXXX-X');
- ga('send', 'pageview');
- </script>-->
-
- <!-- build:js(.) scripts/vendor.js -->
- <!-- bower:js -->
- <script src="bower_components/jquery/dist/jquery.js"></script>
- <script src="bower_components/angular/angular.js"></script>
- <script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
- <script src="bower_components/angular-animate/angular-animate.js"></script>
- <script src="bower_components/jquery-slimscroll/jquery.slimscroll.js"></script>
- <script src="bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
- <script src="bower_components/metisMenu/dist/metisMenu.js"></script>
- <script src="bower_components/chosen/chosen.jquery.js"></script>
- <script src="bower_components/oclazyload/dist/ocLazyLoad.js"></script>
- <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
- <script src="bower_components/angular-ui-router/release/angular-ui-router.js"></script>
- <script src="bower_components/angular-resource/angular-resource.js"></script>
- <script src="bower_components/sifter/sifter.js"></script>
- <script src="bower_components/microplugin/src/microplugin.js"></script>
- <script src="bower_components/selectize/dist/js/selectize.js"></script>
- <script src="bower_components/angular-selectize2/dist/angular-selectize.js"></script>
- <script src="bower_components/angular-tooltips/dist/angular-tooltips.min.js"></script>
- <script src="bower_components/jQuery-rwdImageMaps/jquery.rwdImageMaps.min.js"></script>
- <script src="bower_components/ng-dialog/js/ngDialog.js"></script>
- <script src="bower_components/angularUtils-pagination/dirPagination.js"></script>
- <script src="bower_components/spin.js/spin.js"></script>
- <script src="bower_components/angular-loading/angular-loading.js"></script>
- <script src="bower_components/spin.js/spin.js"></script>
- <!-- endbower -->
- <!-- endbuild -->
-
- <!-- build:js({.tmp,app}) scripts/scripts.js -->
- <script src="scripts/app.js"></script>
- <!--<script src="scripts/controllers/main.js"></script>-->
- <script src="scripts/config.router.js"></script>
- <script src="scripts/controllers/table.controller.js"></script>
- <script src="scripts/config.js"></script>
- <script src="scripts/factory/table.factory.js"></script>
- <script src="scripts/controllers/case.controller.js"></script>
- <script src="scripts/controllers/auth.controller.js"></script>
- <script src="scripts/controllers/admin.controller.js"></script>
- <script src="scripts/controllers/main.controller.js"></script>
- <script src="scripts/controllers/testvisual.controller.js"></script>
-
- <!-- endbuild -->
-</body>
-
-</html>
diff --git a/utils/test/reporting/pages/app/robots.txt b/utils/test/reporting/pages/app/robots.txt
deleted file mode 100644
index 4d521f952..000000000
--- a/utils/test/reporting/pages/app/robots.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-# robotstxt.org
-
-User-agent: *
-Disallow:
diff --git a/utils/test/reporting/pages/app/scripts/app.js b/utils/test/reporting/pages/app/scripts/app.js
deleted file mode 100644
index 043e3ca91..000000000
--- a/utils/test/reporting/pages/app/scripts/app.js
+++ /dev/null
@@ -1,24 +0,0 @@
-'use strict';
-
-/**
- * @ngdoc overview
- * @name opnfvApp
- * @description
- * # opnfvApp
- *
- * Main module of the application.
- */
-angular
- .module('opnfvApp', [
- 'ngAnimate',
- 'ui.router',
- 'oc.lazyLoad',
- 'ui.bootstrap',
- 'ngResource',
- 'selectize',
- '720kb.tooltips',
- 'ngDialog',
- 'angularUtils.directives.dirPagination',
- 'darthwade.dwLoading'
-
- ]); \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/scripts/config.js b/utils/test/reporting/pages/app/scripts/config.js
deleted file mode 100644
index 1010169d3..000000000
--- a/utils/test/reporting/pages/app/scripts/config.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * @ngdoc overview
- * @name opnfvApp
- * @description
- * # opnfvApp
- *
- * Main config file of the application.
- */
-angular
- .module('opnfvApp').config(['$httpProvider', '$qProvider', function($httpProvider, $qProvider) {
-
- $httpProvider.defaults.useXDomain = true;
- delete $httpProvider.defaults.headers.common['X-Requested-With'];
-
- $qProvider.errorOnUnhandledRejections(false);
-
- }
-
- ]); \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/scripts/config.router.js b/utils/test/reporting/pages/app/scripts/config.router.js
deleted file mode 100644
index d3724b765..000000000
--- a/utils/test/reporting/pages/app/scripts/config.router.js
+++ /dev/null
@@ -1,84 +0,0 @@
-'use strict'
-/**
- * @ngdoc function
- * @name opnfvdashBoardAngularApp.config:config.router.js
- * @description config of the ui router and lazy load setting
- * config of the opnfvdashBoardAngularApp
- */
-angular.module('opnfvApp')
- .run([
- '$rootScope', '$state', '$stateParams',
- function($rootScope, $state, $stateParams) {
-
- $rootScope.$state = $state;
- $rootScope.$stateParams = $stateParams;
-
- }
- ]).config(['$stateProvider', '$urlRouterProvider',
- function($stateProvider, $urlRouterProvider) {
-
- $urlRouterProvider.otherwise('/landingpage/table');
-
- $stateProvider
- .state('landingpage', {
- url: "/landingpage",
- controller: 'MainController',
- templateUrl: "views/main.html",
- data: { pageTitle: '首页', specialClass: 'landing-page' },
- resolve: {
- controller: ['$ocLazyLoad', function($ocLazyLoad) {
- return $ocLazyLoad.load([
-
- ])
- }]
- }
- })
- .state('landingpage.table', {
- url: "/table",
- controller: 'TableController',
- templateUrl: "views/commons/table.html",
- resolve: {
- controller: ['$ocLazyLoad', function($ocLazyLoad) {
- return $ocLazyLoad.load([
- // 'scripts/controllers/table.controller.js'
-
-
- ])
- }]
- }
- })
- .state('select', {
- url: '/select',
- templateUrl: "views/testcase.html",
- data: { specialClass: 'top-navigation' },
-
- })
- .state('select.selectTestCase', {
- url: "/selectCase",
- controller: 'CaseController',
- templateUrl: "views/commons/selectTestcase.html",
-
- })
- .state('select.testlist', {
- url: "/caselist",
- templateUrl: "views/commons/testCaseList.html"
- })
- .state('select.admin', {
- url: "/admin",
- controller: 'AdminController',
- templateUrl: "views/commons/admin.html"
- })
- .state('select.testVisual', {
- url: "/visual",
- controller: "testVisualController",
- templateUrl: "views/commons/testCaseVisual.html"
- })
- // .state('admin', {
- // url: '/admin',
- // data: { specialClass: ' fixed-sidebar pace-done' },
- // templateUrl: "views/commons/admin.html"
- // })
-
- }
- ])
- .run();
diff --git a/utils/test/reporting/pages/app/scripts/controllers/admin.controller.js b/utils/test/reporting/pages/app/scripts/controllers/admin.controller.js
deleted file mode 100644
index e6ecad006..000000000
--- a/utils/test/reporting/pages/app/scripts/controllers/admin.controller.js
+++ /dev/null
@@ -1,26 +0,0 @@
-'use strict';
-
-/**
- * @ngdoc function
- * @name opnfvdashBoardAngularApp.controller:AdminController
- * @description
- * # TableController
- * Controller of the opnfvdashBoardAngularApp
- */
-angular.module('opnfvApp')
- .controller('AdminController', ['$scope', '$state', '$stateParams', 'TableFactory', function($scope, $state, $stateParams, TableFactory) {
-
- init();
- $scope.showSelectValue = 0;
- $scope.scenarioList = ["os_nosdn_kvm_noha", "os_nosdn_kvm_no", "os_nosdn_kvm_"];
-
- function init() {}
-
-
-
-
-
-
-
-
- }]); \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/scripts/controllers/case.controller.js b/utils/test/reporting/pages/app/scripts/controllers/case.controller.js
deleted file mode 100644
index a4f165119..000000000
--- a/utils/test/reporting/pages/app/scripts/controllers/case.controller.js
+++ /dev/null
@@ -1,70 +0,0 @@
-'use strict';
-
-/**
- * @ngdoc function
- * @name opnfvdashBoardAngularApp.controller:CaseController
- * @description
- * # TableController
- * Controller of the opnfvdashBoardAngularApp
- */
-angular.module('opnfvApp')
- .controller('CaseController', ['$scope', '$state', '$stateParams', 'TableFactory', function($scope, $state, $stateParams, TableFactory) {
-
- init();
- $scope.projectSelect = "";
- $scope.funcTestCase = ['test1func', 'test2func', 'test3func', 'test4func'];
- $scope.yardStickCase = ['test1yard', 'test2yard', 'test3yard', 'test4yard'];
- $scope.bottleNeckCase = ['test1bottle', 'test2bottle', 'test3bottle', 'test4bottle',
- 'test5bottle', 'test6bottle', 'test7bottle', 'test8bottle',
- 'test9bottle', 'test10bottle', 'test11bottle', 'test12bottle',
- 'test13bottle', 'test14bottle', 'test15bottle', 'test16bottle',
- 'test17bottle', 'test18bottle', 'test19bottle', 'test20bottle'
- ];
- $scope.selectedFunc = ["test1func"];
- $scope.selectBottle = ["test8bottle"];
- $scope.versionlist = ["Colorado", "Master"];
- $scope.VersionOption = [
- { title: 'Colorado' },
- { title: 'Master' }
- ];
- $scope.VersionConfig = {
- create: true,
- valueField: 'title',
- labelField: 'title',
- delimiter: '|',
- maxItems: 1,
- placeholder: 'Version',
- onChange: function(value) {
- checkElementArrayValue($scope.selection, $scope.VersionOption);
- $scope.selection.push(value);
- // console.log($scope.selection);
-
- }
- };
-
-
- function init() {
- $scope.toggleSelection = toggleSelection;
- $scope.toggleSelectionMulti = toggleSelectionMulti;
-
- }
-
- function toggleSelection(status) {
- // var idx = $scope.weekselection.indexOf(status);
- $scope.projectSelect = status;
-
- }
-
- function toggleSelectionMulti(status) {
- var idx = $scope.selection.indexOf(status);
-
- if (idx > -1) {
- $scope.selection.splice(idx, 1);
- } else {
- $scope.selection.push(status);
- }
- console.log($scope.selection);
- }
-
-
- }]); \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/scripts/controllers/main.controller.js b/utils/test/reporting/pages/app/scripts/controllers/main.controller.js
deleted file mode 100644
index 2054dc2dd..000000000
--- a/utils/test/reporting/pages/app/scripts/controllers/main.controller.js
+++ /dev/null
@@ -1,32 +0,0 @@
-'use strict';
-
-/**
- * @ngdoc function
- * @name opnfvdashBoardAngularApp.controller:MainPageController
- * @description
- * # TableController
- * Controller of the opnfvdashBoardAngularApp
- */
-angular.module('opnfvApp')
- .controller('MainController', ['$scope', '$state', '$stateParams', function($scope, $state, $stateParams) {
-
- init();
-
- function init() {
- $scope.goTest = goTest;
- $scope.goLogin = goLogin;
-
- }
-
- function goTest() {
- $state.go("select.selectTestCase");
- }
-
- function goLogin() {
- $state.go("login");
- }
-
-
-
-
- }]); \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/scripts/controllers/table.controller.js b/utils/test/reporting/pages/app/scripts/controllers/table.controller.js
deleted file mode 100644
index 8d494c3ae..000000000
--- a/utils/test/reporting/pages/app/scripts/controllers/table.controller.js
+++ /dev/null
@@ -1,278 +0,0 @@
-'use strict';
-
-/**
- * @ngdoc function
- * @name opnfvdashBoardAngularApp.controller:TableController
- * @description
- * # TableController
- * Controller of the opnfvdashBoardAngularApp
- */
-angular.module('opnfvApp')
- .controller('TableController', ['$scope', '$state', '$stateParams', '$http', 'TableFactory', '$timeout',
- function($scope, $state, $stateParams, $http, TableFactory, $timeout) {
-
- init();
-
- function init() {
- $scope.filterlist = [];
- $scope.selection = [];
-
- $scope.statusList = [];
- $scope.projectList = [];
- $scope.installerList = [];
- $scope.versionlist = [];
- $scope.loopList = [];
- $scope.timeList = [];
-
- $scope.selectStatus = [];
- $scope.selectProjects = [];
- $scope.selectInstallers = [];
- $scope.selectVersion = null;
- $scope.selectLoop = null;
- $scope.selectTime = null;
-
- $scope.statusClicked = false;
- $scope.installerClicked = false;
- $scope.projectClicked = false;
-
- $scope.scenarios = {};
-
- $scope.VersionConfig = {
- create: true,
- valueField: 'title',
- labelField: 'title',
- delimiter: '|',
- maxItems: 1,
- placeholder: 'Version',
- onChange: function(value) {
- $scope.selectVersion = value;
-
- getScenarioData();
-
- }
- }
-
- $scope.LoopConfig = {
- create: true,
- valueField: 'title',
- labelField: 'title',
- delimiter: '|',
- maxItems: 1,
- placeholder: 'Loop',
- onChange: function(value) {
- $scope.selectLoop = value;
-
- getScenarioData();
-
- }
- }
-
- $scope.TimeConfig = {
- create: true,
- valueField: 'title',
- labelField: 'title',
- delimiter: '|',
- maxItems: 1,
- placeholder: 'Time',
- onChange: function(value) {
- $scope.selectTime = value;
-
- getScenarioData();
- }
- }
-
- getFilters();
- }
-
- function getFilters() {
- TableFactory.getFilter().get({
- }).$promise.then(function(response) {
- if (response != null) {
- $scope.statusList = response.filters.status;
- $scope.projectList = response.filters.projects;
- $scope.installerList = response.filters.installers;
- $scope.versionList = toSelectList(response.filters.version);
- $scope.loopList = toSelectList(response.filters.loops);
- $scope.timeList = toSelectList(response.filters.time);
-
- $scope.selectStatus = copy($scope.statusList);
- $scope.selectInstallers = copy($scope.installerList);
- $scope.selectProjects = copy($scope.projectList);
- $scope.selectVersion = response.filters.version[0];
- $scope.selectLoop = response.filters.loops[0];
- $scope.selectTime = response.filters.time[0];
-
- getScenarioData();
-
- } else {
- }
- });
- }
-
- function toSelectList(arr){
- var tempList = [];
- angular.forEach(arr, function(ele){
- tempList.push({'title': ele});
- });
- return tempList;
- }
-
- function copy(arr){
- var tempList = [];
- angular.forEach(arr, function(ele){
- tempList.push(ele);
- });
- return tempList;
- }
-
- function getScenarioData() {
-
- var data = {
- 'status': $scope.selectStatus,
- 'projects': $scope.selectProjects,
- 'installers': $scope.selectInstallers,
- 'version': $scope.selectVersion,
- 'loops': $scope.selectLoop,
- 'time': $scope.selectTime
- };
-
- TableFactory.getScenario(data).then(function(response) {
- if (response.status == 200) {
- $scope.scenarios = response.data.scenarios;
- getScenario();
- }
-
- }, function(error) {
- });
-
- }
-
- function getScenario(){
-
- $scope.project_row = [];
- angular.forEach($scope.selectInstallers, function(installer){
- angular.forEach($scope.selectProjects, function(project){
- var temp = {
- 'installer': installer,
- 'project': project
- }
- $scope.project_row.push(temp);
-
- });
- });
-
-
- $scope.scenario_rows = [];
- angular.forEach($scope.scenarios, function(scenario, name){
- var scenario_row = {
- 'name': null,
- 'status': null,
- 'statusDisplay': null,
- 'datadisplay': [],
- };
- scenario_row.name = name;
- scenario_row.status = scenario.status;
-
- var scenarioStatusDisplay;
- if (scenario.status == "success") {
- scenarioStatusDisplay = "navy";
- } else if (scenario.status == "danger") {
- scenarioStatusDisplay = "danger";
- } else if (scenario.status == "warning") {
- scenarioStatusDisplay = "warning";
- }
- scenario_row.statusDisplay = scenarioStatusDisplay;
-
- angular.forEach($scope.selectInstallers, function(installer){
- angular.forEach($scope.selectProjects, function(project){
- var datadisplay = {
- 'installer': null,
- 'project': null,
- 'value': null,
- 'label': null,
- 'label_value': null
- };
- datadisplay.installer = installer;
- datadisplay.project = project;
- datadisplay.value = scenario.installers[installer][project].score;
-
- var single_status = scenario.installers[installer][project].status;
- if (single_status == "platinium") {
- datadisplay.label = 'primary';
- datadisplay.label_value = 'P';
- } else if (single_status == "gold") {
- datadisplay.label = 'danger';
- datadisplay.label_value = 'G';
- } else if (single_status == "silver") {
- datadisplay.label = 'warning';
- datadisplay.label_value = 'S';
- } else if (single_status == null) {
- }
- scenario_row.datadisplay.push(datadisplay);
-
- });
- });
- $scope.scenario_rows.push(scenario_row);
- });
- }
-
-
- function clickBase(eleList, ele){
- var idx = eleList.indexOf(ele);
- if(idx > -1){
- eleList.splice(idx, 1);
- }else{
- eleList.push(ele);
- }
- }
-
- $scope.clickStatus = function(status){
- if($scope.selectStatus.length == $scope.statusList.length && $scope.statusClicked == false){
- $scope.selectStatus = [];
- $scope.statusClicked = true;
- }
-
- clickBase($scope.selectStatus, status);
-
- if($scope.selectStatus.length == 0 && $scope.statusClicked == true){
- $scope.selectStatus = copy($scope.statusList);
- $scope.statusClicked = false;
- }
-
- getScenarioData();
- }
-
- $scope.clickInstaller = function(installer){
- if($scope.selectInstallers.length == $scope.installerList.length && $scope.installerClicked == false){
- $scope.selectInstallers = [];
- $scope.installerClicked = true;
- }
-
- clickBase($scope.selectInstallers, installer);
-
- if($scope.selectInstallers.length == 0 && $scope.installerClicked == true){
- $scope.selectInstallers = copy($scope.installerList);
- $scope.installerClicked = false;
- }
-
- getScenarioData();
- }
-
- $scope.clickProject = function(project){
- if($scope.selectProjects.length == $scope.projectList.length && $scope.projectClicked == false){
- $scope.selectProjects = [];
- $scope.projectClicked = true;
- }
-
- clickBase($scope.selectProjects, project);
-
- if($scope.selectProjects.length == 0 && $scope.projectClicked == true){
- $scope.selectProjects = copy($scope.projectList);
- $scope.projectClicked = false;
- }
-
- getScenarioData();
- }
-
- }
- ]);
diff --git a/utils/test/reporting/pages/app/scripts/controllers/testvisual.controller.js b/utils/test/reporting/pages/app/scripts/controllers/testvisual.controller.js
deleted file mode 100644
index 894e10f77..000000000
--- a/utils/test/reporting/pages/app/scripts/controllers/testvisual.controller.js
+++ /dev/null
@@ -1,125 +0,0 @@
-'use strict';
-
-/**
- * @ngdoc function
- * @name opnfvdashBoardAngularApp.controller:testVisualController
- * @description
- * # TableController
- * Controller of the opnfvdashBoardAngularApp
- */
-angular.module('opnfvApp')
- .controller('testVisualController', ['$scope', '$state', '$stateParams', 'TableFactory', 'ngDialog', '$http', '$loading',
- function($scope, $state, $stateParams, TableFactory, ngDialog, $http, $loading) {
- $scope.dovet = "50,168,177,443";
- $scope.functest = "194,173,356,442";
- $scope.yardstick = "377,183,521,412";
- $scope.vsperf = "542,185,640,414";
- $scope.stor = "658,187,750,410";
- $scope.qtip = "769,190,852,416";
- $scope.bottlenecks = "870,192,983,419";
- $scope.noPopArea1 = "26,8,1190,180";
- $scope.noPopArea2 = "1018,193,1190,590";
- $scope.noPopArea3 = "37,455,1003,584";
-
- init();
- $scope.showSelectValue = 0;
- $scope.scenarioList = ["os_nosdn_kvm_noha", "os_nosdn_kvm_no", "os_nosdn_kvm_"];
-
- function init() {
- $scope.myTrigger = myTrigger;
- $scope.openTestDetail = openTestDetail;
- $scope.pop = pop;
- $scope.getDetail = getDetail;
- getUrl();
-
-
-
- }
-
- function myTrigger(name) {
- $loading.start('Key');
- $scope.tableData = null;
- $scope.modalName = name;
-
- TableFactory.getProjectTestCases(name).then(function(response) {
- if (response.status == 200) {
- $scope.tableData = response.data;
-
- $scope.tableData = constructObjectArray($scope.tableData);
- console.log($scope.tableData);
- $loading.finish('Key');
- }
- }, function(error) {
-
- })
-
- }
-
- //construct key value for tableData
- function constructObjectArray(array) {
- var templateArray = [];
- for (var i = 0; i < array.length; i++) {
- var key = Object.keys(array[i])[0];
- var value = array[i][key];
- var temp = {
- 'key': key,
- 'value': value
- };
- templateArray.push(temp);
-
- }
-
- return templateArray;
- }
-
- function getDetail(casename) {
- TableFactory.getProjectTestCaseDetail().get({
- 'project': $scope.modalName,
- 'testcase': casename
- }).$promise.then(function(response) {
- if (response != null) {
- $scope.name_modal = response.name;
- $scope.description_modal = response.description;
- openTestDetail();
- }
- })
-
- }
-
-
- function openTestDetail() {
- ngDialog.open({
- template: 'views/modal/testcasedetail.html',
- className: 'ngdialog-theme-default',
- scope: $scope,
- showClose: false
- })
- }
-
- function getUrl() {
- TableFactory.getProjectUrl().get({
-
- }).$promise.then(function(response) {
- if (response != null) {
- $scope.functesturl = response.functest;
- $scope.yardstickurl = response.yardstick;
- $scope.vsperfurl = response.vsperf;
- $scope.storperfurl = response.storperf;
- $scope.qtipurl = response.qtip;
- $scope.bottlenecksurl = response.bottlenecks;
- $scope.doveturl = null;
- }
- })
- }
-
-
-
-
-
-
-
-
-
-
- }
- ]);
diff --git a/utils/test/reporting/pages/app/scripts/factory/table.factory.js b/utils/test/reporting/pages/app/scripts/factory/table.factory.js
deleted file mode 100644
index e715c5c28..000000000
--- a/utils/test/reporting/pages/app/scripts/factory/table.factory.js
+++ /dev/null
@@ -1,70 +0,0 @@
-'use strict';
-
-/**
- * get data factory
- */
-angular.module('opnfvApp')
- .factory('TableFactory', function($resource, $rootScope, $http) {
-
- var BASE_URL = 'http://testresults.opnfv.org/reporting2';
- $.ajax({
- url: 'config.json',
- async: false,
- dataType: 'json',
- success: function (response) {
- BASE_URL = response.url;
- },
- error: function (response){
- alert('fail to get api url, using default: http://testresults.opnfv.org/reporting2')
- }
- });
-
- return {
- getFilter: function() {
- return $resource(BASE_URL + '/landing-page/filters', {}, {
- 'get': {
- method: 'GET',
-
- }
- });
- },
- getScenario: function(data) {
-
- var config = {
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8;'
- }
- }
-
- return $http.post(BASE_URL + '/landing-page/scenarios', data, config);
- },
-
-
- getProjectUrl: function() {
- return $resource(BASE_URL + '/projects-page/projects', {}, {
- 'get': {
- method: 'GET'
- }
- })
- },
- getProjectTestCases: function(name) {
- var config = {
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8;'
- }
- };
- return $http.get(BASE_URL + '/projects/' + name + '/cases', {}, config)
-
-
- },
- getProjectTestCaseDetail: function() {
- return $resource(BASE_URL + '/projects/:project/cases/:testcase', { project: '@project', testcase: '@testcase' }, {
- 'get': {
-
- method: 'GET'
- }
- })
- }
-
- };
- });
diff --git a/utils/test/reporting/pages/app/styles/custome.css b/utils/test/reporting/pages/app/styles/custome.css
deleted file mode 100644
index 8e567ca6e..000000000
--- a/utils/test/reporting/pages/app/styles/custome.css
+++ /dev/null
@@ -1,102 +0,0 @@
-.container-tablesize {
- margin: auto 5%;
-}
-
-.btn-outline {
- border-color: white;
-}
-
-.chosen-container-single .chosen-single {
- background: #ffffff;
- box-shadow: none;
- -moz-box-sizing: border-box;
- background-color: #FFFFFF;
- border: 1px solid #CBD5DD;
- border-radius: 2px;
- cursor: text;
- height: 25px;
- margin: 0;
- min-height: 30px;
- overflow: hidden;
- padding: 4px 12px;
- position: relative;
- width: 100%;
-}
-
-.selectize-input {
- height: 30px;
- width: 100px;
-}
-
-.myhr {
- border: 0.5px dashed #e7eaec;
- border-top: 1px;
- margin-bottom: 3px;
-}
-
-td.null {
- background-color: #e7eaec;
- color: #e7eaec;
-}
-
-input[type="radio"][disabled],
-input[type="checkbox"][disabled],
-input[type="radio"].disabled,
-input[type="checkbox"].disabled,
-fieldset[disabled] input[type="radio"],
-fieldset[disabled] input[type="checkbox"] {
- cursor: not-allowed;
- display: none;
-}
-
-body,
-html {
- margin: 0;
- padding: 0;
- min-height: 100%;
-}
-
-
-/*img[usemap] {
- border: none;
- height: auto;
- max-width: 100%;
- width: auto;
-}*/
-
-.popup {
- position: absolute;
- display: none;
- /*background-color: #dd8;*/
- border-radius: 5px 5px 5px 5px;
- background-color: #f3f3f4;
- opacity: 0.9;
- width: 200px;
-}
-
-.ngdialog.ngdialog.ngdialog-theme-default .ngdialog-content {
- background-color: #ffffff;
- border-radius: 5px;
-}
-
-
-/*
-body {
- height: 1200px;
-}
-
-html {
- min-height: 100%;
-}*/
-
-
-/*html,
-body {
- height: 100%;
-}
-
-#page-wrapper {
- position: inherit;
- margin: 0 0 0 220px;
- min-height: 773px;
-}*/ \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/views/commons/admin.html b/utils/test/reporting/pages/app/views/commons/admin.html
deleted file mode 100644
index 25911ac96..000000000
--- a/utils/test/reporting/pages/app/views/commons/admin.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="row">
- <div classs="container">
- <div class="col-lg-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
-
- <div>
- <h3 class="font-bold no-margins">
- My Scenarios
- </h3>
- <small>List all your Scenarios.</small>
- </div>
- <hr>
- <table class="table table-striped">
- <tbody>
- <tr ng-init="count=1" ng-click="showSelect(count)" ng-repeat=" list in scenarioList">
-
- <td> {{list}}</td>
- <td> <input type="checkbox"></i>
- </td>
-
- </tr>
- </tbody>
- </table>
-
- </div>
-
- </div>
- </div>
- </div>
- <div style="margin-top: 10px;" class="pull-right">
- <button class="btn btn-primary" ng-click="test()">Create</button>
- <button class="btn btn-primary" ng-click="test()">Delete</button>
- </div>
-</div> \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/views/commons/selectTestcase.html b/utils/test/reporting/pages/app/views/commons/selectTestcase.html
deleted file mode 100644
index 4c9e2b346..000000000
--- a/utils/test/reporting/pages/app/views/commons/selectTestcase.html
+++ /dev/null
@@ -1,142 +0,0 @@
-<!--select page-->
-<div class="row">
- <div classs="container">
- <div class="col-lg-8">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div>
- <!--<span class="pull-right text-right">
- <small>Average value of sales in the past month in: <strong>United states</strong></small>
- <br/>
- All sales: 162,862
- </span>-->
- <h3 class="font-bold no-margins">
- Select Project
- </h3>
- <small>Choose a Project to Select Test cases.</small>
- <div class="pull-right">
- <selectize options="VersionOption" ng-model="VersionSelected" config="VersionConfig"></selectize>
- </div>
- </div>
- <hr>
-
- <div class="m-t-sm">
-
- <div class="row">
-
- <center>
- <div data-toggle="buttons" class="m-t-sm">
- <label class="btn btn-outline btn-success " style=" margin-right: 5px;" ng-click="toggleSelection('FuncTest')">
- <input type="radio" disabled="disabled" >FuncTest
-
- </label>
- <label class="btn btn-outline btn-success " style=" margin-right: 5px;" ng-click="toggleSelection('YardStick')">
- <input type="radio" disabled="disabled" > YardStick
-
- </label>
- <label class="btn btn-outline btn-success " style=" margin-right: 5px;" ng-click="toggleSelection('Bottleneck')">
- <input type="radio" disabled="disabled" > Bottleneck
-
- </label>
- </div>
- </center>
-
- </div>
-
- </div>
-
- </div>
- </div>
- </div>
- <div class="col-lg-4">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div>
- <!--<span class="pull-right text-right">
- <small>Average value of sales in the past month in: <strong>United states</strong></small>
- <br/>
- All sales: 162,862
- </span>-->
- <h3 class="font-bold no-margins">
- Project Description
-
- </h3>
-
-
-
- </div>
- <hr>
- <div class="m-t-sm" ng-show="projectSelect.indexOf('YardStick')!=-1">
- <p>
- YardStick is a someting.......
- </p>
- </div>
- <div class="m-t-sm" ng-show="projectSelect.indexOf('FuncTest')!=-1">
- <p>
- FuncTest is a someting.......
- </p>
- </div>
- <div class="m-t-sm" ng-show="projectSelect.indexOf('Bottleneck')!=-1">
- <p>
- Bottleneck is a someting.......
- </p>
- </div>
-
-
- </div>
- </div>
-
- </div>
-
- <div class="col-lg-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div>
- <!--<span class="pull-right text-right">
- <small>Average value of sales in the past month in: <strong>United states</strong></small>
- <br/>
- All sales: 162,862
- </span>-->
- <h3 class="font-bold no-margins">
- Select Test Case
- </h3>
- <small>Choose Test Cases </small>
-
- </div>
- <hr>
-
- <div class="m-t-sm">
- <div data-toggle="buttons" class="m-t-sm" ng-show="projectSelect.indexOf('FuncTest')!=-1">
- <label class="btn btn-outline btn-success " style=" margin-right: 5px;" tooltips tooltip-template="FuncTest is something" tooltip-size="small" ng-repeat="case in funcTestCase" value={{case}} ng-class="{'active': case == selectedFunc}">
- <input type="checkbox" disabled="disabled" >{{case}}
-
- </label>
- </div>
- <div data-toggle="buttons" class="m-t-sm" ng-show="projectSelect.indexOf('YardStick')!=-1">
- <label class="btn btn-outline btn-success " style=" margin-right: 5px;" tooltips tooltip-template="FuncTest is something" tooltip-size="small" ng-repeat="case in yardStickCase" value={{case}}>
- <input type="checkbox" disabled="disabled" >{{case}}
-
- </label>
- </div>
- <div data-toggle="buttons" class="m-t-sm" ng-show="projectSelect.indexOf('Bottleneck')!=-1">
- <label class="btn btn-outline btn-success " style=" margin-right: 5px;" tooltips tooltip-template="FuncTest is something" tooltip-size="small" ng-repeat="case in bottleNeckCase" value={{case}} ng-class="{'active': case == selectBottle}">
- <input type="checkbox" disabled="disabled" >{{case}}
-
- </label>
- </div>
-
- </div>
-
- </div>
-
-
- </div>
-
- </div>
- </div>
- <div style="margin-top: 10px;" class="pull-right">
- <button class="btn btn-primary" ng-click="test()">Submit</button>
- </div>
-
-
-</div> \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/views/commons/table.html b/utils/test/reporting/pages/app/views/commons/table.html
deleted file mode 100644
index a33c48312..000000000
--- a/utils/test/reporting/pages/app/views/commons/table.html
+++ /dev/null
@@ -1,113 +0,0 @@
-<section class="container-tablesize">
- <div class="row border-bottom white-bg dashboard-header">
- <div class="row">
-
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>Reporting </h5>
- <div class="ibox-tools">
- <a class="collapse-link">
- <i class="fa fa-chevron-up"></i>
- </a>
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">
- <i class="fa fa-wrench"></i>
- </a>
- <ul class="dropdown-menu dropdown-user">
- <li><a href="#">Config option 1</a>
- </li>
- <li><a href="#">Config option 2</a>
- </li>
- </ul>
- <a class="close-link">
- <i class="fa fa-times"></i>
- </a>
- </div>
- </div>
-
- <div class="ibox-content row">
-
- <div class=" col-md-12" data-toggle="buttons" aria-pressed="false">
-
- <label> Status </label> &nbsp;&nbsp; &nbsp;
- <label class="btn btn-outline btn-success btn-sm" style="height:25px; margin-right: 5px;" ng-repeat="status in statusList" value={{status}} ng-checked="selectStatus.indexOf(status)>-1" ng-click="clickStatus(status)">
- <input type="checkbox" disabled="disabled" > {{status}}
-
- </label>
- </div>
-
- <hr class="myhr">
-
- <div class=" col-md-12" data-toggle="buttons">
- <label> Projects </label> &nbsp;
- <label class="btn btn-outline btn-success btn-sm " style="height:25px;margin-right: 5px;" ng-repeat="project in projectList" value={{project}} ng-checked="selectProjects.indexOf(project)>-1" ng-click="clickProject(project)">
- <input type="checkbox" disabled="disabled"> {{project}}
- </label>
-
- </div>
- <hr class="myhr">
- <div class=" col-md-12" data-toggle="buttons">
- <label> Installers </label>
- <label class="btn btn-outline btn-success btn-sm" style="height:25px;margin-right: 5px;" ng-repeat="installer in installerList" value={{installer}} ng-checked="selectInstallers.indexOf(installer)>-1" ng-click="clickInstaller(installer)">
- <input type="checkbox" disabled="disabled"> {{installer}}
- </label>
- </div>
-
- <hr style="border:0.5px dashed #e7eaec;border-top:1px;margin-bottom:10px;">
-
-
- <div class=" col-md-1" style="margin-top:5px;margin-right: 5px;">
- <selectize options="versionList" ng-model="selectVersion" config="VersionConfig"></selectize>
-
- </div>
-
- <div class=" col-md-1" style="margin-top:5px;margin-right: 5px;">
- <selectize options="loopList" ng-model="selectLoop" config="LoopConfig"></selectize>
-
- </div>
-
- <div class=" col-md-1" style="margin-top:5px;margin-right: 5px;">
- <selectize options="timeList" ng-model="selectTime" config="TimeConfig"></selectize>
- </div>
- </div>
- <div class="table-responsive">
-
- <table class="table table-bordered" id="table" ng-model="tableDataAll">
- <thead class="thead">
- <tr>
- <th>Scenario </th>
- <th colspan={{selectProjects.length}} ng-show="selectInstallers.indexOf(key)!=-1" value={{key}} ng-repeat="key in selectInstallers"><a href="notfound.html">{{key}}</a> </th>
- </tr>
-
- <tr>
-
- <td></td>
- <td ng-show="selectProjects.indexOf(project.project)!=-1 && selectInstallers.indexOf(project.installer)!=-1" ng-repeat="project in project_row track by $index" data={{project.installer}} value={{project.project}}>{{ project.project }}</td>
-
- </tr>
- </thead>
- <tbody class="tbody">
- <tr ng-repeat="scenario in scenario_rows" ng-show="selectStatus.indexOf(scenario.status)!=-1">
-
- <td nowrap="nowrap" data={{scenario.status}}><span class="fa fa-circle text-{{scenario.statusDisplay}}"></span> <a href="notfound.html">{{scenario.name}}</a> </td>
-
- <!--<td style="background-color:#e7eaec" align="justify" ng-if="data[0]=='Not Support'" ng-repeat="data in scenario.datadisplay track by $index" data={{data[1]}} value={{data[2]}}></td>-->
-
- <td nowrap="nowrap" ng-show="selectInstallers.indexOf(data.installer)!=-1 && selectProjects.indexOf(data.project)!=-1" ng-repeat="data in scenario.datadisplay track by $index" data={{data.project}} value={{data.installer}} class={{data.value}}>
- <span class="label label-{{data.label}}">{{data.label_value}}</a></span> {{data.value}}</td>
-
-
- </tr>
- </tbody>
- </table>
- </div>
-
- <div class="pull-right" style="margin-top: 5px">
- <span class="label label-danger">G</span>gold<span style="padding-left:20px"></span>
- <span class="label label-primary">P</span><span>platinium</span><span style="padding-left:20px"></span>
- <span class="label label-warning">S</span><span>silver</span>
- </div>
- </div>
- </div>
- </div>
-
-</section>
diff --git a/utils/test/reporting/pages/app/views/commons/testCaseList.html b/utils/test/reporting/pages/app/views/commons/testCaseList.html
deleted file mode 100644
index 0a28b6ce6..000000000
--- a/utils/test/reporting/pages/app/views/commons/testCaseList.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<div class="col-lg-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div>
- <h3 class="font-bold no-margins">
- Test Case List
- </h3>
- <small>list for test case </small>
- </div>
- <hr>
-
- <table class="table table-striped">
- <thead>
- <tr>
- <th>Scenario Name</th>
- <th>Owner</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td> os_nosdn_kvm_noha</td>
- <td>username</td>
- <td>balalalalala</td>
- </tr>
- <tr>
- <td> os_nosdn_kvm_</td>
- <td>username</td>
- <td>balalalalala</td>
- </tr>
- <tr>
- <td> os_nosdn_kvm_noha</td>
- <td>username</td>
- <td>balalalalala</td>
- </tr>
-
- </tbody>
-
-
-
-
-
- </table>
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-</div> \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/views/commons/testCaseVisual.html b/utils/test/reporting/pages/app/views/commons/testCaseVisual.html
deleted file mode 100644
index 4de4e187f..000000000
--- a/utils/test/reporting/pages/app/views/commons/testCaseVisual.html
+++ /dev/null
@@ -1,127 +0,0 @@
-<!--select page-->
-
-
-<div class="row">
-
-
- <div class="row border-bottom white-bg dashboard-header" style="border-radius: 5px 5px 5px 5px;width:90%;margin-left:30px; ">
-
- <h3>OPNFV Test ecosystem
- <small> *mouse over display test case list</small>
- </h3>
- <p>There are several projects dealing with integration and testing</p>
-
- <div>
- <img src="images/overview.png" usemap="#overview" class="img-responsive">
- <map name="overview">
- <area shape="rect" coords={{dovet}} alt="test" href="{{doveturl}}" onmouseover="pop(event)" ng-mouseover="myTrigger('dovetail')"/>
- <area shape="rect" coords={{functest}} alt="test" href="{{functesturl}}" onmouseover="pop(event)" ng-mouseover="myTrigger('functest')" />
- <area shape="rect" coords={{yardstick}} alt="test" href="{{yardstickurl}}" onmouseover="pop(event)" ng-mouseover="myTrigger('yardstick')"/>
- <area shape="rect" coords={{vsperf}} alt="test" href="{{vsperfurl}}" onmouseover="pop(event)" ng-mouseover="myTrigger('vsperf')" />
- <area shape="rect" coords={{stor}} alt="test" href="{{storperfurl}}" onmouseover="pop(event)" ng-mouseover="myTrigger('storperf')"/>
- <area shape="rect" coords={{qtip}} alt="test" href="{{qtipurl}}" onmouseover="pop(event)" ng-mouseover="myTrigger('qtip')" />
- <area shape="rect" coords={{bottlenecks}} alt="test" href="{{bottlenecksurl}}" onmouseover="pop(event)" ng-mouseover="myTrigger('bottlenecks')" />
- <area shape="rect" coords={{noPopArea1}} alt="test" onmouseover="pophide(event)" />
- <area shape="rect" coords={{noPopArea2}} alt="test" onmouseover="pophide(event)" />
- <area shape="rect" coords={{noPopArea3}} alt="test" onmouseover="pophide(event)" />
-
- </map>
-
- </div>
- </div>
- <div style="display: inline-block;">
- <div class="row border-bottom white-bg dashboard-header" style="border-radius: 5px 5px 5px 5px;margin-right:30px;margin-top:10px;display:inline-block; ">
- <h4>Introduction</h4>
- <p>
- Testing is still a key challenge for OPNFV.
- </p>
- <p>
- All the projects must manage their test strategy (unit, functional, security, performance)
- </p>
- <p>
- Several specific test projects have been validated by TSC and already deal with:
- <ul>
- <li>Define testcases</li>
- <li>Perform tests not covered by a single project</li>
- <li>Create tooling</li>
- <li>Study Performance end to end</li>
- </ul>
- </p>
-
-
- </div>
- <div class="row border-bottom white-bg dashboard-header" style="border-radius: 5px 5px 5px 5px;margin-top:10px;display:inline-block;">
- <h4>Project details</h4>
-
- We consider the projects referenced on the wiki main page:
- <ul>
- <li>Functest: VIM and NFVI funcionnal testing Umbrella project for functional testing</li>
- <li>Yardstick: Verification of the infrastructure compliance when running VNF applications.
- <br>Umbrella project for performance testing</li>
- <li>Storperf: Storage Perfomance testing</li>
- <li>VSperf: Data-plane performance testing</li>
- <li>CPerf: Controller performance testing</li>
- <li>Bottlenecks:Detect Bottlenecks in OPNFV solution</li>
- <li>QTIP: Platform Performance Benchmarking</li>
- <li>Dovetail: Test OPNFV validation criteria for use of OPNFV trademarks</li>
- </ul>
- </p>
- </div>
- </div>
-
-
- <div id="popup" class="popup" style="width: 40%;height: 35%" dw-loading="Key">
-
- <div ng-show="tableData.length==0">
- <center>
- <h3> No Data </h3>
- </center>
- </div>
- <div ng-show="tableData.length!=0">
-
- <table class="table">
- <thead>
- <tr>
- <td>
- <h3>Name</h3>
- </td>
- </tr>
- </thead>
-
- <tbody>
- <tr dir-paginate="data in tableData | itemsPerPage: 8 track by $index ">
- <td ng-if="data.value!=null"><a ng-click="getDetail(data.key)"> {{data.value}}</a></td>
- <td ng-if="data.value==null"><a ng-click="getDetail(data.key)"> null</a></td>
- <tr>
-
- </tbody>
-
- </table>
-
- <center>
- <dir-pagination-controls></dir-pagination-controls>
- </center>
- </div>
-
- </div>
-
-
- <script>
- $(document).ready(function(e) {
- $('img[usemap]').rwdImageMaps();
-
- });
-
- function pop(e) {
- var thing = document.getElementById("popup");
- thing.style.left = e.clientX + 'px';
- thing.style.top = e.clientY + 'px';
- setTimeout('$("#popup").show()', 1000);
- return true;
- }
-
- function pophide(e) {
- $('#popup').hide();
- return true;
- }
- </script>
diff --git a/utils/test/reporting/pages/app/views/main.html b/utils/test/reporting/pages/app/views/main.html
deleted file mode 100644
index 6c53dc019..000000000
--- a/utils/test/reporting/pages/app/views/main.html
+++ /dev/null
@@ -1,231 +0,0 @@
-<div class="navbar-wrapper">
- <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
- <div class="container">
- <div class="navbar-header page-scroll">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="index.html">OPNFV-DASHBOARD</a>
- </div>
- <div class="navbar-collapse collapse">
- <ul class="nav navbar-nav navbar-right">
- <li><a href="#page-top">Home</a></li>
- <li><a href="#DashBoard">DashBoard</a></li>
- <li><a ui-sref="select.selectTestCase">TestCase</a></li>
- <li><a ui-sref="select.testVisual">catalogue page</a></li>
- <li><a ui-sref="login">Login</a></li>
- <!--<li><a href="#team">Team</a></li>
- <li><a href="#testimonials">Testimonials</a></li>
- <li><a href="#pricing">Pricing</a></li>
- <li><a href="#contact">Contact</a></li>-->
- </ul>
- </div>
- </div>
- </nav>
-</div>
-
-
-<div id="inSlider" class="carousel carousel-fade" data-ride="carousel">
- <ol class="carousel-indicators">
- <!--<li data-target="#inSlider" data-slide-to="0" class="active"></li>
- <li data-target="#inSlider" data-slide-to="1"></li>-->
- </ol>
- <div class="carousel-inner" role="listbox">
- <div class="item active">
- <div class="container">
- <div class="carousel-caption">
- <h1>OPNFV<br/> facilitates the development and evolution<br/> of NFV components across<br/> various open source ecosystems<br/>
- </h1>
- <!--<p>Lorem Ipsum is simply dummy text of the printing.</p>
- <p>-->
- <a class="btn btn-lg btn-primary" href="#" role="button">READ MORE</a>
- <!--<a class="caption-link" href="#" role="button">Inspinia Theme</a>-->
- <!--</p>-->
- </div>
-
- </div>
- <!-- Set background for slide in css -->
- <div class="header-back one" style="background: url('images/header_one.jpg') 50% 0 no-repeat;"></div>
-
- </div>
-
- </div>
-
-</div>
-
-<section id="DashBoard" class="container services">
- <div class="row">
-
- <h1>
- OPNFV’s goals are to:
- </h1>
- <div class="col-sm-3">
-
- <p>Develop an integrated and tested open source platform that can be used to build NFV functionality--accelerating the introduction of new products and services</p>
- <p><a class="navy-link" href="#" role="button">Details &raquo;</a></p>
- </div>
- <div class="col-sm-3">
-
- <p>Include participation of leading end users to validate that OPNFV meets the needs of user community</p>
- <p><a class="navy-link" href="#" role="button">Details &raquo;</a></p>
- </div>
- <div class="col-sm-3">
-
- <p>Contribute to and participate in relevant open source projects that will be leveraged in the OPNFV platform; ensuring consistency, performance and interoperability among open source components</p>
- <p><a class="navy-link" href="#" role="button">Details &raquo;</a></p>
- </div>
- <div class="col-sm-3">
-
- <p>Establish an ecosystem for NFV solutions based on open standards and software to meet the needs of end users</p>
- <p><a class="navy-link" href="#" role="button">Details &raquo;</a></p>
- </div>
- <div class="col-sm-3">
-
- <p>Promote OPNFV as the preferred platform and community for open source NFV</p>
- <p><a class="navy-link" href="#" role="button">Details &raquo;</a></p>
- </div>
- </div>
-</section>
-
-
-<div ui-view></div>
-
-<section id="contact" class="gray-section contact" style="background-image: url(images/word_map.png)">
- <div class="container">
- <div class="row m-b-lg">
- <div class="col-lg-12 text-center">
- <div class="navy-line"></div>
- <h1>Contact Us</h1>
- </div>
- </div>
- <div class="row m-b-lg">
- <div class="col-lg-3 col-lg-offset-3">
- <address>
- <strong><span class="navy">Press, Analyst, or Speaking Inquiries</span></strong><br/> pr@opnfv.org
- <br/>
- </address>
- <address>
- <strong><span class="navy">OPNFV Events</span></strong><br/> events@opnfv.org
- <br/>
- </address>
- <address>
- <strong><span class="navy">IT Support</span></strong><br/>opnfv-helpdesk@rt.linuxfoundation.org
- <br/>
- </address>
- </div>
-
- <div class="col-lg-4">
- <address>
- <strong><span class="navy">To submit and track bugs related to OPNFV</span></strong><br/>Please visit https://jira.opnfv.org
- <br/>
- </address>
- <address>
- <strong><span class="navy">Newsletter</span></strong><br/>Sign up for the OPNFV newsletter
- <br/>
- </address>
- <address>
- <strong><span class="navy">Membership</span></strong><br/>Please visit the Join as a Member page
- <br/>
- </address>
-
- </div>
- </div>
- <div class="row">
- <div class="col-lg-12 text-center">
- <img src="images/logo.png" />
-
- </div>
- </div>
- <div class="row">
- <div class="col-lg-8 col-lg-offset-2 text-center m-t-lg m-b-lg">
- <p><strong>&copy; 2016 Open Platform for NFV Project, Inc</strong><br/> A Linux Foundation Collaborative Project. All Rights Reserved. Open Platform for NFV and OPNFV are trademarks of the Open Platform for NFV Project, Inc. Linux Foundation
- is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds. Please see our terms of use, trademark policy, and privacy policy.
- </p>
- </div>
- </div>
- </div>
-</section>
-
-<script>
- $(document).ready(function() {
-
- // $('body').scrollspy({
- // target: '.navbar-fixed-top',
- // offset: 80
- // });
-
- //Page scrolling feature
- $('a.page-scroll').bind('click', function(event) {
- var link = $(this);
- $('html, body').stop().animate({
- scrollTop: $(link.attr('href')).offset().top - 50
- }, 500);
- event.preventDefault();
- $("#navbar").collapse('hide');
- });
-
- $('a.page-scroll').bind('click', function(event) {
- var link = $(this);
- $('html, body').stop().animate({
- scrollTop: $(link.attr('href')).offset().top - 50
- }, 500);
- event.preventDefault();
- $("#navbar").collapse('hide');
- });
-
- });
-
- var config = {
- '.chosen-select': {},
- '.chosen-select-deselect': {
- allow_single_deselect: true
- },
- '.chosen-select-no-single': {
- disable_search_threshold: 10
- },
- '.chosen-select-no-results': {
- no_results_text: 'Oops, nothing found!'
- },
- '.chosen-select-width': {
- width: "95%"
- }
- }
- for (var selector in config) {
- $(selector).chosen(config[selector]);
- }
-
- var cbpAnimatedHeader = (function() {
- var docElem = document.documentElement,
- header = document.querySelector('.navbar-default'),
- didScroll = false,
- changeHeaderOn = 200;
-
- function init() {
- window.addEventListener('scroll', function(event) {
- if (!didScroll) {
- didScroll = true;
- setTimeout(scrollPage, 250);
- }
- }, false);
- }
-
- function scrollPage() {
- var sy = scrollY();
- if (sy >= changeHeaderOn) {
- $(header).addClass('navbar-scroll')
- } else {
- $(header).removeClass('navbar-scroll')
- }
- didScroll = false;
- }
-
- function scrollY() {
- return window.pageYOffset || docElem.scrollTop;
- }
- init();
-
- })();
-</script> \ No newline at end of file
diff --git a/utils/test/reporting/pages/app/views/modal/testcasedetail.html b/utils/test/reporting/pages/app/views/modal/testcasedetail.html
deleted file mode 100644
index db6f71295..000000000
--- a/utils/test/reporting/pages/app/views/modal/testcasedetail.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<h4>Test Case Detail</h4>
-<div class="hr-line-dashed"></div>
-
-
-<strong> name</strong>: {{name_modal}}<br>
-
-<strong>description</strong>: {{description_modal}}<br>
diff --git a/utils/test/reporting/pages/app/views/testcase.html b/utils/test/reporting/pages/app/views/testcase.html
deleted file mode 100644
index 0a4f266ae..000000000
--- a/utils/test/reporting/pages/app/views/testcase.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<div id="wrapper" style="min-height:100%;">
- <div id="page-wrapper" class="gray-bg">
- <div class="row border-bottom white-bg">
- <nav class="navbar navbar-static-top" role="navigation">
- <div class="navbar-header">
- <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
- <i class="fa fa-reorder"></i>
- </button>
- <a href="#" class="navbar-brand">OPNFV-TESTCASE</a>
- </div>
- <div class="navbar-collapse collapse" id="navbar">
- <ul class="nav navbar-nav">
- <!--<li class="active">
- <a aria-expanded="false" role="button" href="layouts.html"> Back to main Layout page</a>
- </li>-->
- <li class="dropdown" ng-class="{active: $state.includes('select.selectTestCase')}">
- <a aria-expanded="false" role="button" ui-sref="select.selectTestCase" data-toggle="dropdown"> Test Case Selection</a>
- <!--<ul role="menu" class="dropdown-menu">
- <li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>
- </ul>-->
- </li>
- <li class="dropdown" ng-class="{active: $state.includes('select.testlist')}">
- <a aria-expanded="false" role="button" ui-sref="select.testlist" data-toggle="dropdown"> Test Case List</a>
- </li>
- <li class="dropdown" ng-class="{active: $state.includes('select.admin')}">
- <a aria-expanded="false" role="button" data-toggle="dropdown"> Owner Center <span class="caret"></span></a>
- <ul role="menu" class="dropdown-menu">
- <li ng-class="{active:$state.includes('select.admin')}"><a ui-sref="select.admin">My Scenarios</a></li>
- <li><a href="">others</a></li>
- <!--<li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>-->
- </ul>
- </li>
-
- <li class="dropdown" ng-class="{active: $state.includes('select.testVisual')}">
- <a aria-expanded="false" role="button" ui-sref="select.testVisual" data-toggle="dropdown"> Catalogue Page</a>
- </li>
- <li class="dropdown" ng-class="{active: $state.includes('landingpage.table')}">
- <a aria-expanded="false" role="button" ui-sref="landingpage.table" data-toggle="dropdown"> Landing Page</a>
- </li>
-
- <!--<li class="dropdown">
- <a aria-expanded="false" role="button" href="#" class="dropdown-toggle" data-toggle="dropdown"> Menu item <span class="caret"></span></a>
- <ul role="menu" class="dropdown-menu">
- <li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a aria-expanded="false" role="button" href="#" class="dropdown-toggle" data-toggle="dropdown"> Menu item <span class="caret"></span></a>
- <ul role="menu" class="dropdown-menu">
- <li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>
- <li><a href="">Menu item</a></li>
- </ul>
- </li>-->
-
- </ul>
- <ul class="nav navbar-top-links navbar-right">
- <li>
- <a ui-sref="login">
- <i class="fa fa-sign-in"></i> Log in
- </a>
- </li>
- </ul>
- </div>
- </nav>
- </div>
- <div class="wrapper wrapper-content">
-
- <div ui-view></div>
-
- </div>
- <div class="footer">
- <!--<div class="pull-right">
- 10GB of <strong>250GB</strong> Free.
- </div>-->
- <div>
- <strong>Copyright</strong> OPNFV &copy; 2014-2015
- </div>
- </div>
-
- </div>
-</div>
-
-<script>
- $("document").scrollTop();
-</script> \ No newline at end of file