summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/pods/pods.html
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2017-12-05 05:13:32 +0530
committerthuva4 <tharma.thuva@gmail.com>2017-12-05 05:47:00 +0530
commit41ff15069d96ea1040cb457b39f909967dabb8bc (patch)
treecc60bf106552ccb7223434cb387fdb0df258ae78 /testapi/opnfv_testapi/ui/components/pods/pods.html
parentae88dfd997ae0516ec097033c378740ea8580483 (diff)
Add view option in pods page
Created the view function for the pods page. It will redirect to pods/:name page where user can see the more details about the pod. Change-Id: I0d6c06098fd78ecca523a49e2bb532001adaeaa8 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/pods/pods.html')
-rw-r--r--testapi/opnfv_testapi/ui/components/pods/pods.html22
1 files changed, 8 insertions, 14 deletions
diff --git a/testapi/opnfv_testapi/ui/components/pods/pods.html b/testapi/opnfv_testapi/ui/components/pods/pods.html
index ca0458b..02f4a48 100644
--- a/testapi/opnfv_testapi/ui/components/pods/pods.html
+++ b/testapi/opnfv_testapi/ui/components/pods/pods.html
@@ -7,7 +7,7 @@
<div cg-busy="{promise:ctrl.authRequest,message:'Loading'}"></div>
<div cg-busy="{promise:ctrl.podsRequest,message:'Loading'}"></div>
<br>
-<div class="row podTable" style="vertical-align:middle">
+<div class="row podsTable" style="vertical-align:middle">
<div class="col-sm-1 pull-right" ng-class="{ 'hidden': !auth.isAuthenticated }" >
<button type="button" class="btn btn-danger" ng-click="ctrl.openBatchDeleteModal()">
<i class="fa fa-minus"></i> Delete</button>
@@ -50,10 +50,8 @@
text-align: center;">
<th>Bulk Select</th>
<th>Name</th>
- <th>Details</th>
<th>Role</th>
<th>Mode</th>
- <th>CreatedAt</th>
<th>Operation</th>
</tr>
</thead>
@@ -65,20 +63,16 @@
</div>
</td>
<td>{{pod.name}}</td>
- <td style="width:20%;">{{pod.details}}</td>
<td>{{pod.role}}</td>
<td>{{pod.mode}}</td>
<td>
- {{pod.creation_date}}
- </td>
- <td>
- <span class="podTable-col">
- <a class="text-warning" title="Edit" ng-class="{ 'hidden': !auth.isAuthenticated }" >
- <i class="fa fa-pencil-square-o"></i></a>
- <a class="text-danger" ng-click="ctrl.openDeleteModal(pod.name)" title="Delete" ng-class="{ 'hidden': !auth.isAuthenticated }">
- <i class="fa fa-trash-o"></i></a>
- <a class="text-info" ><i class="fa fa-eye"></i></a>
- </span>
+ <span class="podsTable-col">
+ <a class="text-warning" title="Edit" ng-class="{ 'hidden': !auth.isAuthenticated }" >
+ <i class="fa fa-pencil-square-o"></i></a>
+ <a class="text-danger" ng-click="ctrl.openDeleteModal(pod.name)" title="Delete" ng-class="{ 'hidden': !auth.isAuthenticated }">
+ <i class="fa fa-trash-o"></i></a>
+ <a class="text-info" ng-click="ctrl.viewPod(pod.name)"><i class="fa fa-eye"></i></a>
+ </span>
</td>
</tr>
<tr ng-repeat-end=>