diff options
author | xudan <xudan16@huawei.com> | 2018-07-05 22:37:35 -0400 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2018-07-25 09:17:09 +0000 |
commit | 58b91dd3baaaf72ab65062a4804403cd4a5935b2 (patch) | |
tree | 801b1f39b3bee25ecbaae387339955d55651e98b /cvp/3rd_party/static/testapi-ui/components/home | |
parent | 947f1bf0147c40971fdae36feecd477ab3caf3b8 (diff) |
Move OVP web portal code to a separate repo
The new repo for web portal is https://gerrit.opnfv.org/gerrit/dovetail-webportal
JIRA: DOVETAIL-671
Change-Id: Iac085abc3d175b9a091d70d0448af56c7a6845e9
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/components/home')
-rw-r--r-- | cvp/3rd_party/static/testapi-ui/components/home/home.html | 142 | ||||
-rw-r--r-- | cvp/3rd_party/static/testapi-ui/components/home/homeController.js | 58 |
2 files changed, 0 insertions, 200 deletions
diff --git a/cvp/3rd_party/static/testapi-ui/components/home/home.html b/cvp/3rd_party/static/testapi-ui/components/home/home.html deleted file mode 100644 index 184980b3..00000000 --- a/cvp/3rd_party/static/testapi-ui/components/home/home.html +++ /dev/null @@ -1,142 +0,0 @@ -<div class="container-fluid"> - <div class="row"> - <div class="col-md-2 home-category" ng-style="{'height': ctrl.height}"> - <div class="panel-group" id="accordion"> - <div class="panel panel-default"> - <div class="panel-heading"> - <div class="panel-title"> - <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> - Governance & Workflow - </a> - </div> - </div> - <div id="collapseOne" class="panel-collapse collapse"> - <div class="panel-body"> - <div><a href="https://www.opnfv.org/verified" target="_blank">Overview <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <div><a href="https://www.opnfv.org/wp-content/uploads/sites/12/2018/01/OVP-Governance-Guidelines-1.0.1-012218.pdf" target="_blank">Governance Guidelines <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <div><a href="https://www.opnfv.org/wp-content/uploads/sites/12/2018/01/OVP-Terms-and-Conditions-011918.pdf" target="_blank">Terms & Conditions <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <div><a href="http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/certificationworkflow/index.html - " target="_blank">Process Workflow <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <div><a href="https://na3.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=579ac00d-0a1f-4db3-82ea-ddd977769a60" target="_blank">Participation Form <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <!-- - <div><a target="_blank">Approved 3rd Party Labs <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - --> - </div> </div> - </div> - <div class="panel panel-default" style="margin-top:0px"> - <div class="panel-heading"> - <div class="panel-title"> - <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"> - Training Resources - </a> - </div> - </div> - <div id="collapseTwo" class="panel-collapse collapse"> - <div class="panel-body"> - <div><a href="http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/userguide/testing_guide.html - " target="_blank">OVP / Dovetail User Guide <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <!-- - <div><a href="https://wiki.opnfv.org/download/attachments/11698759/Dovetail%20CVP%20Tutorial.ppt?version=2&modificationDate=1508175962000&api=v2 - " target="_blank">OVP / Dovetail Tutorial Slides <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - --> - <div><a href="http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/userguide/cli_reference.html - " target="_blank">Dovetail CLI <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <div><a href="http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/testspecification" target="_blank">Test Specifications <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - </div> - </div> - </div> - <div class="panel panel-default" style="margin-top:0px"> - <div class="panel-heading"> - <div class="panel-title"> - <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree"> - Release Information - </a> - </div> - </div> - <div id="collapseThree" class="panel-collapse collapse"> - <div class="panel-body"> - <div><a href="http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/release/release-notes/index.html - " target="_blank">2018.01 Release Notes <span class="glyphicon glyphicon-new-window" aria-hidden="ture"></span></a></div> - <div><a href="http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/reviewerguide/index.html - " target="_blank">2018.01 Reviewer Guide <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <div><a href="http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/ovpaddendum/index.html - " target="_blank">2018.01 Guidelines Addendum <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <div><a href="https://www.opnfv.org/wp-content/uploads/sites/12/2018/05/OPNFV_Verified_BrandGuide_021618.pdf - " target="_blank">OPNFV Verified Brand Guidelines <span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div> - <!-- - <div><a target="_blank">FAQ</a></div> - <div><a target="_blank">Known issues</a></div> - <div><a target="_blank">Dovetail and dependent container versioning</a></div> - <div><a target="_blank">Other - TBD</a></div> - --> - </div> - </div> - </div> - <!-- - <div class="panel panel-default" style="margin-top:0px"> - <div class="panel-heading"> - <div class="panel-title"> - <a data-toggle="collapse" data-parent="#accordion" href="#collapseFour"> - OVP Registry - </a> - </div> - </div> - <div id="collapseFour" class="panel-collapse collapse"> - <div class="panel-body"> - </div> - </div> - </div> - --> - </div> - </div> - - <div class="col-md-10"> - <div class="common-main-container"> - <div class="home-content-title"> - <h1>OPNFV is offering an OPNFV Verified Program (OVP) that verifies products and services with the "OPNFV Verified" mark.</h1> - </div> - <div class="home-content"> - <div class="col-md-2"> - <img class="home-content-img" src="testapi-ui/assets/img/icon.png" /> - </div> - <div class="col-md-10"> - <p class="home-content-text" style="padding-bottom:40px;"> - The OPNFV Verified program demonstrates the readiness and availability of commercial products based on OPNFV. - Verified products and services submitted by vendors and service providers become compliant by implementing explicitly defined interfaces, - behaviors and key features while retaining distinct and value-added innovations across features and capabilities. - Navigate through the links in the left-hand menu to learn more and get started. You'll find step-step-instructions as well as a participation form. - Use this portal to upload your test results when ready. Please send any questions to verified@opnfv.org<sup><span class="glyphicon glyphicon-envelope" style="font-size:60%;" aria-hidden="true"></span></sup>. - </p> - </div> - </div> - <div id="directory_break"> - </div> - <div class="home-content-title"> - <h1>OPNFV Verified Products Directory</h1> - Click on rows for more product verification details per company. - </div> - <div class="directory_main"> - <table id="directory_inner" class=""> - <thead> - <tr> - <th>Company</th> - <th>Product</th> - <th>Cateogry</th> - <th>Version</th> - </tr> - </thead> - <tbody style="overflow: hidden; text-overflow: ellipsis;"> - <tr class="company_row" ng-click="ctrl.getCompany(app)" ng-repeat="app in ctrl.applications | filter:{approved:true} | orderBy : 'approve_date'"> - <td width="400"><img class="company_logo" src="api/v1/cvp/applications/getlogo/{{app.company_logo}}" />{{ app.organization_name}}</td> - <td width="300">{{ app.product_name}}</td> - <td width="150">{{ app.ovp_category}}</td> - <td width="150">{{ app.ovp_version}}</td> - </tr> - </tbody> - </table> - </div> - - </div> - </div> - </div> -</div> diff --git a/cvp/3rd_party/static/testapi-ui/components/home/homeController.js b/cvp/3rd_party/static/testapi-ui/components/home/homeController.js deleted file mode 100644 index bed86ab7..00000000 --- a/cvp/3rd_party/static/testapi-ui/components/home/homeController.js +++ /dev/null @@ -1,58 +0,0 @@ -/* - * 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. - */ - -(function () { - 'use strict'; - - angular - .module('testapiApp') - .controller('HomeController', HomeController); - - HomeController.$inject = [ - '$http', '$scope', '$rootScope', '$state', 'testapiApiUrl' - ]; - - /** - * TestAPI Results Controller - * This controller is for the '/results' page where a user can browse - * a listing of community uploaded results. - */ - function HomeController($http, $scope, $rootScope, $state, testapiApiUrl) { - var ctrl = this; - getApplication(); - - ctrl.height = $(document).height() + 500; - - ctrl.gotoApplication = function(){ - if($rootScope.auth.isAuthenticated){ - $state.go('application'); - }else{ - $rootScope.auth.doSignIn('cas'); - } - } - - function getApplication(){ - $http.get(testapiApiUrl + "/cvp/applications").then(function(response){ - ctrl.applications = response.data.applications; - }, function(error){ - }); - } - - ctrl.getCompany = function(row){ - //console.log(row) - $state.go('directory', {'companyID': row.organization_name, 'logo': row.company_logo}); - } - - } -})(); |