summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/templates/dashboard/dev_pods.html
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2016-09-19 10:10:54 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2016-09-19 10:10:54 +0200
commit176188d16eab0a8c56537c2c6d119a6807f47999 (patch)
tree022c19dc8de6c605702687c956e287fbd15f68e1 /pharos-dashboard/templates/dashboard/dev_pods.html
parented84f733591f2b6cede955ce1ff91f647581f0ff (diff)
Fix table HTML
JIRA: RELENG-12 Change-Id: I780c1fc0daab9ee2f2599c51f31eb416a2c7dbbf Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/templates/dashboard/dev_pods.html')
-rw-r--r--pharos-dashboard/templates/dashboard/dev_pods.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/pharos-dashboard/templates/dashboard/dev_pods.html b/pharos-dashboard/templates/dashboard/dev_pods.html
index c4cb1ba..2b4b017 100644
--- a/pharos-dashboard/templates/dashboard/dev_pods.html
+++ b/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>