[llvm-commits] [LNT] r156436 - in /lnt/trunk/lnt/server/ui/templates: v4_machine.html v4_order.html v4_overview.html
Daniel Dunbar
daniel at zuster.org
Tue May 8 16:07:16 PDT 2012
Author: ddunbar
Date: Tue May 8 18:07:16 2012
New Revision: 156436
URL: http://llvm.org/viewvc/llvm-project?rev=156436&view=rev
Log:
UI/v4: Show duration instead of end time, which is more interesting and
readable.
Modified:
lnt/trunk/lnt/server/ui/templates/v4_machine.html
lnt/trunk/lnt/server/ui/templates/v4_order.html
lnt/trunk/lnt/server/ui/templates/v4_overview.html
Modified: lnt/trunk/lnt/server/ui/templates/v4_machine.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_machine.html?rev=156436&r1=156435&r2=156436&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_machine.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_machine.html Tue May 8 18:07:16 2012
@@ -70,7 +70,7 @@
<tr>
<th>Run Order</th>
<th>Start Time</th>
- <th>End Time</th>
+ <th>Duration</th>
<th> </th>
</tr>
</thead>
@@ -82,7 +82,7 @@
order.as_ordered_string() }}</td>
{% endif %}
<td>{{ run.start_time }}</td>
- <td>{{ run.end_time }}s</td>
+ <td>{{ run.end_time - run.start_time }}s</td>
<td><a href="{{v4_url_for('v4_run', id=run.id)}}">
View Results</a></td>
</tr>
Modified: lnt/trunk/lnt/server/ui/templates/v4_order.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_order.html?rev=156436&r1=156435&r2=156436&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_order.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_order.html Tue May 8 18:07:16 2012
@@ -50,7 +50,7 @@
<thead>
<tr>
<th>Start Time</th>
- <th>End Time</th>
+ <th>Duration</th>
<th>Machine</th>
<th>Results</th>
</tr>
@@ -61,7 +61,7 @@
{% set m = r.machine %}
<tr>
<td>{{r.start_time}}</td>
- <td>{{r.end_time}}</td>
+ <td>{{r.end_time - r.start_time}}</td>
<td align=left><a href="{{v4_url_for('v4_machine',id=m.id)}}">{{
m.name}}:{{m.id}}</a></td>
<td><a href="{{v4_url_for('v4_run', id=r.id)}}">
Modified: lnt/trunk/lnt/server/ui/templates/v4_overview.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_overview.html?rev=156436&r1=156435&r2=156436&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_overview.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_overview.html Tue May 8 18:07:16 2012
@@ -43,7 +43,7 @@
<tr>
<th>Run Order</th>
<th>Start Time</th>
- <th>End Time</th>
+ <th>Duration</th>
<th>Machine</th>
<th>Results</th>
</tr>
@@ -56,7 +56,7 @@
<td><a href="{{v4_url_for('v4_order', id=r.order.id)}}">{{
run_order}}</a></td></td>
<td>{{r.start_time}}</td>
- <td>{{r.end_time}}</td>
+ <td>{{r.end_time - r.start_time}}</td>
<td align=left><a href="{{v4_url_for('v4_machine',id=m.id)}}">{{
m.name}}:{{m.id}}</a></td>
<td><a href="{{v4_url_for('v4_run', id=r.id)}}">
More information about the llvm-commits
mailing list