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 | 176188d16eab0a8c56537c2c6d119a6807f47999 (patch) | |
tree | 022c19dc8de6c605702687c956e287fbd15f68e1 /pharos-dashboard/templates/dashboard | |
parent | ed84f733591f2b6cede955ce1ff91f647581f0ff (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')
5 files changed, 54 insertions, 54 deletions
diff --git a/pharos-dashboard/templates/dashboard/ci_pods.html b/pharos-dashboard/templates/dashboard/ci_pods.html index a754252..7ef62a4 100644 --- a/pharos-dashboard/templates/dashboard/ci_pods.html +++ b/pharos-dashboard/templates/dashboard/ci_pods.html @@ -17,29 +17,29 @@ <tbody> {% for pod in ci_pods %} <tr> - <th> + <td> <a target='_blank' href={{ pod.url }}>{{ pod.name }}</a> - </th> - <th> + </td> + <td> <a target='_blank' href={{ pod.slave.url }}>{{ pod.slave.name }}</a> - </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 {{ pod.slave.last_job_result | jenkins_job_blink }}> + </td> + <td {{ pod.slave.last_job_result | jenkins_job_blink }}> {{ pod.slave.last_job_installer }} - </th> - <th {{ pod.slave.last_job_result | jenkins_job_blink }}> + </td> + <td {{ pod.slave.last_job_result | jenkins_job_blink }}> {{ pod.slave.last_job_scenario }} - </th> - <th {{ pod.slave.last_job_result | jenkins_job_blink }}> + </td> + <td {{ pod.slave.last_job_result | jenkins_job_blink }}> {{ pod.slave.last_job_branch }} - </th> - <th><a {{ pod.slave.last_job_result | jenkins_job_blink }} + </td> + <td><a {{ pod.slave.last_job_result | jenkins_job_blink }} style="color:{{ pod.slave.last_job_result | jenkins_job_color }}" target='_blank' href={{ pod.slave.last_job_url }}>{{ pod.slave.last_job_name }}</a> - </th> + </td> </tr> {% endfor %} </tbody> 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> diff --git a/pharos-dashboard/templates/dashboard/jenkins_slaves.html b/pharos-dashboard/templates/dashboard/jenkins_slaves.html index 830ed19..aa74507 100644 --- a/pharos-dashboard/templates/dashboard/jenkins_slaves.html +++ b/pharos-dashboard/templates/dashboard/jenkins_slaves.html @@ -14,17 +14,17 @@ <tbody> {% for slave in slaves %} <tr> - <th><a target='_blank' + <td><a target='_blank' href={{ slave.url }}>{{ slave.name }}</a> - </th> - <th style="background-color:{{ slave.status | jenkins_status_color }}"> + </td> + <td style="background-color:{{ slave.status | jenkins_status_color }}"> {{ slave.status }} - </th> - <th><a {{ slave.last_job_result | jenkins_job_blink }} + </td> + <td><a {{ slave.last_job_result | jenkins_job_blink }} style="color:{{ slave.last_job_result | jenkins_job_color }}" target="_blank" href={{ slave.last_job_url }}> {{ slave.last_job_name }}</a> - </th> + </td> </tr> {% endfor %} </tbody> diff --git a/pharos-dashboard/templates/dashboard/resource_detail.html b/pharos-dashboard/templates/dashboard/resource_detail.html index 6067e1e..657d565 100644 --- a/pharos-dashboard/templates/dashboard/resource_detail.html +++ b/pharos-dashboard/templates/dashboard/resource_detail.html @@ -164,15 +164,15 @@ <tbody> {% for user in resource.vpn_users.all %} <tr> - <th> + <td> {{ user.username }} - </th> - <th> + </td> + <td> {{ user.email }} - </th> - <th> + </td> + <td> {{ user.userprofile.company }} - </th> + </td> </tr> {% endfor %} </table> diff --git a/pharos-dashboard/templates/dashboard/server_table.html b/pharos-dashboard/templates/dashboard/server_table.html index fee7e8b..f01bd60 100644 --- a/pharos-dashboard/templates/dashboard/server_table.html +++ b/pharos-dashboard/templates/dashboard/server_table.html @@ -10,21 +10,21 @@ <tbody> {% for server in resource.server_set.all %} <tr> - <th> + <td> {{ server.name }} - </th> - <th> + </td> + <td> {{ server.model }} - </th> - <th> + </td> + <td> {{ server.cpu }} - </th> - <th> + </td> + <td> {{ server.ram }} - </th> - <th> + </td> + <td> {{ server.storage }} - </th> + </td> </tr> {% endfor %} </tbody>
\ No newline at end of file |