[llvm-commits] [LNT] r166149 - in /lnt/trunk/lnt/server/ui/templates: reporting/daily_report.html v4_daily_report.html
Daniel Dunbar
daniel at zuster.org
Wed Oct 17 16:18:49 PDT 2012
Author: ddunbar
Date: Wed Oct 17 18:18:49 2012
New Revision: 166149
URL: http://llvm.org/viewvc/llvm-project?rev=166149&view=rev
Log:
dailyreport: Put title (with prev/next links) in email as well.
Modified:
lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html
lnt/trunk/lnt/server/ui/templates/v4_daily_report.html
Modified: lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html?rev=166149&r1=166148&r2=166149&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html (original)
+++ lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html Wed Oct 17 18:18:49 2012
@@ -7,6 +7,28 @@
<body style="{{ styles['body'] }}">
{% endif %}
+<center><h2>{#
+ #}(<a href="{{ts_url}}/daily_report/{{
+ report.prior_days[1].year}}/{{
+ report.prior_days[1].month}}/{{
+ report.prior_days[1].day}}">prev</a>){#
+ #}<b> <a href="{{ts_url}}/daily_report/{{
+ report.prior_days[0].year}}/{{
+ report.prior_days[0].month}}/{{
+ report.prior_days[0].day}}">{#
+ #}Daily Report {{ '%04d-%02d-%02d' % (
+ report.prior_days[0].year, report.prior_days[0].month,
+ report.prior_days[0].day) }}</a> </b>{#
+ #}(<a href="{{ts_url}}/daily_report/{{
+ report.next_day.year}}/{{
+ report.next_day.month}}/{{
+ report.next_day.day}}">next</a>){#
+#}</h2>
+(day start is considered to be at UTC+{{ "%02d:%02d" % (
+ (report.day_start_offset.seconds // 3600),
+ (report.day_start_offset.seconds // 60) % 60,)}})
+</center>
+
{# Generate the table showing which run orders we are reporting on, for each
machine. #}
<h3 style={{ "styles.h3" }}>Reported Machine Order</h3>
Modified: lnt/trunk/lnt/server/ui/templates/v4_daily_report.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_daily_report.html?rev=166149&r1=166148&r2=166149&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_daily_report.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_daily_report.html Wed Oct 17 18:18:49 2012
@@ -5,24 +5,6 @@
{% block title %}Daily Report{% endblock %}
{% block body %}
-<center><h2>{#
- #}(<a href="{{v4_url_for('v4_daily_report',
- year=report.prior_days[1].year,
- month=report.prior_days[1].month,
- day=report.prior_days[1].day)}}">prev</a>){#
- #}<b> Daily Overview {{ '%04d-%02d-%02d' % (
- report.prior_days[0].year, report.prior_days[0].month,
- report.prior_days[0].day) }} </b>{#
- #}(<a href="{{v4_url_for('v4_daily_report',
- year=report.next_day.year,
- month=report.next_day.month,
- day=report.next_day.day)}}">next</a>){#
-#}</h2>
-(day start is considered to be at +{{ "%02d:%02d" % (
- (report.day_start_offset.seconds // 3600),
- (report.day_start_offset.seconds // 60) % 60,)}})
-</center>
-
{{ report.render(v4_url_for('v4_overview'))|safe }}
{% endblock %}
More information about the llvm-commits
mailing list