diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-02-20 09:35:22 +0000 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2017-03-03 17:11:47 +0000 |
commit | 9762c5f7227cef5d953452216dcced6014aa4aad (patch) | |
tree | 7764013362af64edb806e24f695f6cce3d184382 /reporting/pages/app/scripts/config.router.js | |
parent | 7bd55a251deae0137887ce8429d634abd81a9042 (diff) |
Create Test Reporting landing page
JIRA: RELENG-165
In this patch, I upload the backend code
usage:
docker run -itd -p 8000:8000 -e SERVER_URL=server_ip:8000 opnfv/reporting:<tag>
note: must point SERVER_URL, it is the api server.
visit landing page:
http://server_ip:8000/reporting/index.html
Change-Id: I10121574e0c4b2733a8084c986d7a2746e7ce2a4
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'reporting/pages/app/scripts/config.router.js')
-rw-r--r-- | reporting/pages/app/scripts/config.router.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reporting/pages/app/scripts/config.router.js b/reporting/pages/app/scripts/config.router.js index 641ea6a..d38ad75 100644 --- a/reporting/pages/app/scripts/config.router.js +++ b/reporting/pages/app/scripts/config.router.js @@ -23,7 +23,7 @@ angular.module('opnfvApp') $stateProvider .state('landingpage', { url: "/landingpage", - //controller: 'MainCtrl', + controller: 'MainController', templateUrl: "views/main.html", data: { pageTitle: '首页', specialClass: 'landing-page' }, resolve: { |