summaryrefslogtreecommitdiffstats
path: root/qtip/web/templates/bench/task_detail.html
diff options
context:
space:
mode:
authorakhilbatra898 <akhil.batra@research.iiit.ac.in>2017-07-25 03:30:18 +0530
committerAkhil Batra <akhil.batra@research.iiit.ac.in>2017-07-25 02:03:23 +0000
commit971df12c95bfa17459d042857e5200f4a7f60cd4 (patch)
treed75610f678ed9c40ac7b63e88143e35fc52ccc07 /qtip/web/templates/bench/task_detail.html
parent05ed8bbe8a4e3c6092152382fdb42e33fd3841a2 (diff)
Implement benchmark running and logging the output
- Run benchmark by adding new tasks - Modify Task model to have log as log files - Add new urls for respective views - Module for running benchmarks in background - Updating status of tasks - Listing and detailed log of all tasks - Add corresponding html templates Change-Id: I244d1bb74949eeb470c738363f6917191e0f052d Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
Diffstat (limited to 'qtip/web/templates/bench/task_detail.html')
-rw-r--r--qtip/web/templates/bench/task_detail.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/qtip/web/templates/bench/task_detail.html b/qtip/web/templates/bench/task_detail.html
new file mode 100644
index 00000000..d715022b
--- /dev/null
+++ b/qtip/web/templates/bench/task_detail.html
@@ -0,0 +1,17 @@
+{% 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>
+ </div>
+{% endblock %} \ No newline at end of file