diff options
author | maxbr <maxbr@mi.fu-berlin.de> | 2016-09-19 10:10:54 +0200 |
---|---|---|
committer | maxbr <maxbr@mi.fu-berlin.de> | 2016-09-19 10:10:54 +0200 |
commit | 3f96bdbe6542c2600def600514d577aea351ff3d (patch) | |
tree | 4b03eff09a7ce83fcb04371c70f0d8579eaf3171 /tools/pharos-dashboard/templates/dashboard/dev_pods.html | |
parent | 1f3498a73ca2ca15b811205e8a902780a25fb728 (diff) |
Fix table HTML
JIRA: RELENG-12
Change-Id: I780c1fc0daab9ee2f2599c51f31eb416a2c7dbbf
Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'tools/pharos-dashboard/templates/dashboard/dev_pods.html')
-rw-r--r-- | tools/pharos-dashboard/templates/dashboard/dev_pods.html | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tools/pharos-dashboard/templates/dashboard/dev_pods.html b/tools/pharos-dashboard/templates/dashboard/dev_pods.html index c4cb1ba7..2b4b0177 100644 --- a/tools/pharos-dashboard/templates/dashboard/dev_pods.html +++ b/tools/pharos-dashboard/templates/dashboard/dev_pods.html @@ -19,37 +19,37 @@ <tbody> {% for pod, booking, utilization in dev_pods %} <tr> - <th> + <td> <a href={% url 'dashboard:resource' resource_id=pod.id %}>{{ pod.name }}</a> - </th> - <th> + </td> + <td> <a target='_blank' href={{ pod.slave.url }}>{{ pod.slave.name }}</a> - </th> - <th> + </td> + <td> {{ booking.user.username }} - </th> - <th> + </td> + <td> {{ booking.end }} - </th> - <th> + </td> + <td> {{ booking.purpose }} - </th> - <th> + </td> + <td> {{ utilization }} - </th> - <th style="background-color:{{ pod.slave.status | jenkins_status_color }}"> + </td> + <td style="background-color:{{ pod.slave.status | jenkins_status_color }}"> {{ pod.slave.status }} - </th> - <th> + </td> + <td> <a href="{% url 'booking:create' resource_id=pod.id %}" class="btn btn-primary"> Book </a> - </th> - <th> + </td> + <td> <a href="{% url 'dashboard:resource' resource_id=pod.id %}" class="btn btn-primary"> Info </a> - </th> + </td> </tr> {% endfor %} </tbody> |