summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/scenarios/scenarios.html
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2018-03-15 16:42:44 +0530
committerthuva4 <tharma.thuva@gmail.com>2018-03-15 16:42:44 +0530
commit09a3a12526622154d570668cd2be850f6cfbb1e8 (patch)
treef5e8bcd640bf31819cf708ba2074982e04f0f2d5 /testapi/opnfv_testapi/ui/components/scenarios/scenarios.html
parent5e75c8f4882a64efe80640a770f8a256b150eada (diff)
Add sort in scenarios page + tests
Change-Id: I1b1e4c9cc3739c4ed13fe4c76562b8c35fed4531 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/scenarios/scenarios.html')
-rw-r--r--testapi/opnfv_testapi/ui/components/scenarios/scenarios.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/ui/components/scenarios/scenarios.html b/testapi/opnfv_testapi/ui/components/scenarios/scenarios.html
index 9057b0f..bde946c 100644
--- a/testapi/opnfv_testapi/ui/components/scenarios/scenarios.html
+++ b/testapi/opnfv_testapi/ui/components/scenarios/scenarios.html
@@ -27,7 +27,14 @@
<tr style="
text-align: center;">
<th style="width: 1%;">Bulk&nbsp;Select</th>
- <th style="width: 80%;">Name</th>
+ <th style="width: 80%;">Name
+ <a class="text-danger" ng-click="ctrl.sortBy()" ng-class="{ 'hidden': ctrl.sortName }" >
+ <span class="glyphicon glyphicon-sort-by-alphabet pull-right" aria-hidden="true"></span>
+ </a>
+ <a class="text-danger" ng-click="ctrl.sortBy()" ng-class="{ 'hidden': !ctrl.sortName}" >
+ <span class="glyphicon glyphicon-sort-by-alphabet-alt pull-right" aria-hidden="true"></span>
+ </a>
+ </th>
<th style="width: 19%;" ng-class="{'hidden': !auth.isAuthenticated}">Operations</th>
</tr>
</thead>