diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-11-23 19:04:17 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-11-23 19:08:50 +0800 |
commit | c3f531f408638a3831ad63b93ae38995c5e396b2 (patch) | |
tree | 1c3261f91a4df1270c9850a346007fe12480244d /testapi/opnfv_testapi/ui/app.js | |
parent | 2b0da4f9ccdd488005f8b01c94153b4b41cad59c (diff) |
clear web pages
1. delete 'My Results' page, it means to be used in dovetail,
now dovetail has an independent repo
2. rename 'Community Results' to 'Results'
3. delete vendor/products/result-reports ... code,
they are useless for now, and probably in the future
Change-Id: I6678fdadf5f11842bb1614d7eaa4cf21256385b6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/ui/app.js')
-rw-r--r-- | testapi/opnfv_testapi/ui/app.js | 50 |
1 files changed, 2 insertions, 48 deletions
diff --git a/testapi/opnfv_testapi/ui/app.js b/testapi/opnfv_testapi/ui/app.js index dbb56a6..77fb1fb 100644 --- a/testapi/opnfv_testapi/ui/app.js +++ b/testapi/opnfv_testapi/ui/app.js @@ -74,22 +74,11 @@ templateUrl: 'testapi-ui/components/projects/project/project.html', controller: 'ProjectController as ctrl' }). - state('communityResults', { - url: '/community_results', + state('results', { + url: '/results', templateUrl: 'testapi-ui/components/results/results.html', controller: 'ResultsController as ctrl' }). - state('userResults', { - url: '/user_results', - templateUrl: 'testapi-ui/components/results/results.html', - controller: 'ResultsController as ctrl' - }). - state('resultsDetail', { - url: '/results/:testID', - templateUrl: 'testapi-ui/components/results-report' + - '/resultsReport.html', - controller: 'ResultsReportController as ctrl' - }). state('profile', { url: '/profile', templateUrl: 'testapi-ui/components/profile/profile.html', @@ -104,41 +93,6 @@ url: '/logout', templateUrl: 'testapi-ui/components/logout/logout.html', controller: 'LogoutController as ctrl' - }). - state('userVendors', { - url: '/user_vendors', - templateUrl: '/testapi-ui/components/vendors/vendors.html', - controller: 'VendorsController as ctrl' - }). - state('publicVendors', { - url: '/public_vendors', - templateUrl: '/testapi-ui/components/vendors/vendors.html', - controller: 'VendorsController as ctrl' - }). - state('vendor', { - url: '/vendor/:vendorID', - templateUrl: '/swagger/testapi-ui/components/vendors/vendor.html', - controller: 'VendorController as ctrl' - }). - state('userProducts', { - url: '/user_products', - templateUrl: '/testapi-ui/components/products/products.html', - controller: 'ProductsController as ctrl' - }). - state('publicProducts', { - url: '/public_products', - templateUrl: '/testapi-ui/components/products/products.html', - controller: 'ProductsController as ctrl' - }). - state('cloud', { - url: '/cloud/:id', - templateUrl: '/testapi-ui/components/products/cloud.html', - controller: 'ProductController as ctrl' - }). - state('distro', { - url: '/distro/:id', - templateUrl: '/testapi-ui/components/products/distro.html', - controller: 'ProductController as ctrl' }); } |