2
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml"
5
xmlns:py="http://genshi.edgewall.org/"
6
xmlns:xi="http://www.w3.org/2001/XInclude">
7
<xi:include href="layout.html" />
8
<xi:include href="macros.html" />
10
<title>Timeline</title>
14
<div id="content" class="timeline">
18
<form id="prefs" method="get" action="">
20
<label>View changes from <input type="text" size="10" name="from" value="${format_date(fromdate)}" /></label> <br />
21
and <label><input type="text" size="3" name="daysback" value="$daysback" /> days back</label>.
24
<label py:for="filter in filters">
25
<input type="checkbox" name="${filter.name}"
26
checked="${filter.enabled or None}"/> ${filter.label}
30
<input type="submit" name="update" value="Update" />
34
<py:for each="day, events in groupby(events, key=lambda e: format_date(e.date))">
35
<h2>${day}: ${day == today and 'Today' or day == yesterday and 'Yesterday' or None}</h2>
37
<py:for each="event in events"
38
py:with="highlight = precision and precisedate and timedelta(0) <= (event.date - precisedate) < precision">
39
<dt class="${classes(event.kind, highlight=highlight)}">
40
<a href="${event.render('url', context)}">
41
<span class="time">${format_time(event.date, str('%H:%M'))}</span> ${event.render('title', context)}
42
<py:if test="event.author">by <span class="author">${format_author(event.author)}</span></py:if>
45
<dd class="${classes(event.kind, highlight=highlight)}">
46
${event.render('description', context)}
53
<strong>Note:</strong> See <a href="${href.wiki('TracTimeline')}">TracTimeline</a>
54
for information about the timeline view.