summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party/static/testapi-ui/components/home
diff options
context:
space:
mode:
authorEddie Arrage <eddie.arrage@huawei.com>2018-05-31 23:59:31 +0000
committerGeorg Kunz <georg.kunz@ericsson.com>2018-06-07 09:25:12 +0000
commit772983d58e28848f3945eccd278adf8cbb01a262 (patch)
treea07102184166227ae71c1e9272e331ee27c36acd /cvp/3rd_party/static/testapi-ui/components/home
parentb37fe7b72a6b6b2ba63eb4f8761c91975344a14e (diff)
Add improvements to OVP directory and logo upload
- Formatting changes to directory on home page based on OPNFV marketing - Updated branding guide link - Added test_id field to mongo applications collection to associate to approved results for directory - Set Test ID from user accounts with administrator role in Applications view - Provide file upload function for administrator to post company logos for OVP directory - Company logos are stored and served through tornado from cvp-cvpapi container rather than cvp-web JIRA: DOVETAIL-663 JIRA: DOVETAIL-664 Change-Id: I1226b42883afa2ea2eb5551e3836211abbb94b20 Signed-off-by: Eddie Arrage <eddie.arrage@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.html9
1 files changed, 5 insertions, 4 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
index f7d61cda..184980b3 100644
--- a/cvp/3rd_party/static/testapi-ui/components/home/home.html
+++ b/cvp/3rd_party/static/testapi-ui/components/home/home.html
@@ -61,7 +61,7 @@
" target="_blank">2018.01 Reviewer Guide&nbsp<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&nbsp<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/02/OPNFV_Verified_BrandGuide_021618.pdf
+ <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&nbsp<span class="glyphicon glyphicon-new-window" aria-hidden="true"></span></a></div>
<!--
<div><a target="_blank">FAQ</a></div>
@@ -113,9 +113,10 @@
</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="table-striped table-hover">
+ <table id="directory_inner" class="">
<thead>
<tr>
<th>Company</th>
@@ -125,8 +126,8 @@
</tr>
</thead>
<tbody style="overflow: hidden; text-overflow: ellipsis;">
- <tr ng-click="ctrl.getCompany(app)" ng-repeat="app in ctrl.applications | filter:{approved:true} | orderBy : 'approve_date'">
- <td width="450"><img src="testapi-ui/assets/img/{{app.company_logo}}" />&ensp;{{ app.organization_name}}</td>
+ <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>