aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/web/templates/bench/task_detail.html
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-08-16 08:43:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-16 08:43:35 +0000
commitfa7d89ee68d4b345530c6bc036d80ebbc0a1fc04 (patch)
treea408d01980a15e89e1b5efb7ceb743fae23d4052 /qtip/web/templates/bench/task_detail.html
parentd602404a17f1935a524e8fc46ed853d4c7717164 (diff)
parent2364c5886b6e4fa34355d0e300ebd9aae0ba8ffc (diff)
Merge "Add basic ui"
Diffstat (limited to 'qtip/web/templates/bench/task_detail.html')
-rw-r--r--qtip/web/templates/bench/task_detail.html41
1 files changed, 29 insertions, 12 deletions
diff --git a/qtip/web/templates/bench/task_detail.html b/qtip/web/templates/bench/task_detail.html
index d715022b..3f42c10a 100644
--- a/qtip/web/templates/bench/task_detail.html
+++ b/qtip/web/templates/bench/task_detail.html
@@ -1,17 +1,34 @@
{% extends 'bench/base.html' %}
{% block content %}
- <div>
- <h3>Task</h3>
- <table>
- <tr>
- <td>{{ object.repo}}</td><td>{{ object.get_status_display }}</td><td>{{ object.start_time }}</td>
- <td>{{ object.end_time }}</td><td>{{ object.duration }}</td><td>{{ object.log }}</td>
- </tr>
- </table>
- <div>
- <p>
- {{ log | linebreaks }}
- </p>
+ <div class="card">
+ <div class="header">
+ <h2>Task</h2>
+ </div>
+ <div class="body">
+ <table class="table-responsive table">
+ <thead>
+ <tr role="row">
+ <th>Repo</th>
+ <th>Status</th>
+ <th>Start Time</th>
+ <th>End Time</th>
+ <th>Run time</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr role="row">
+ <td>{{ object.repo}}</td><td>{{ object.get_status_display }}</td><td>{{ object.start_time }}</td>
+ <td>{{ object.end_time }}</td><td>{{ object.duration }}</td><td>{{ object.log }}</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="body">
+ <div>
+ <p>
+ {{ log | linebreaks }}
+ </p>
+ </div>
</div>
</div>
{% endblock %} \ No newline at end of file