2 <title>Rebaseline-o-matic logs
</title>
8 background-color: lightgray;
21 <div class=
"container">
24 // This date format needs to match the format string used in loghandler.py.
25 lastDateBeforeQueryParameter
= '{{ log.date|date:"Y-m-d\TH:i:s" }}Z';
26 document
.write(new Date('{{ log.date|date:"c" }}').toLocaleString())
29 <pre>{% if log.is_no_needs_rebaseline %}No NeedsRebaseline entries in TestExpectations.{% else %}{{ log.content }}{% endif %}
</pre>
38 var urlBase
= location
.toString().replace(/\?.*/, '');
39 [3, 10, 100].forEach(function(numLogs
) {
40 var url
= urlBase
+ "?{{ before_param }}=" + lastDateBeforeQueryParameter
+ "&{{ num_logs_param }}=" + numLogs
;
41 document
.write('<a href="' + url
+ '">previous ' + numLogs
+ '</a> ');