Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added index view (slowly migrating to realistic use)
- Loading branch information
Showing
4 changed files
with
108 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<title>Voter's Daily</title> | ||
</head> | ||
<body> | ||
<h1>Voter's Daily</h1> | ||
Total executive events: {{ executive_events|length }} | ||
<table border="1" margin="0" padding="0"> | ||
<tbody> | ||
{% for event in executive_events %} | ||
<tr> | ||
<td>{{ event.datetime }}</td> | ||
<td>{{ event.title }}</td> | ||
<td>{{ event.description }}</td> | ||
<td>{{ event.end_datetime }}</td> | ||
<td>{{ event.entity }}</td> | ||
<td>{{ event.source_url }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
||
Total judicial events: {{ judicial_events|length }} | ||
<table border="1" margin="0" padding="0"> | ||
<tbody> | ||
{% for event in judicial_events %} | ||
<tr> | ||
<td>{{ event.datetime }}</td> | ||
<td>{{ event.title }}</td> | ||
<td>{{ event.description }}</td> | ||
<td>{{ event.end_datetime }}</td> | ||
<td>{{ event.entity }}</td> | ||
<td>{{ event.source_url }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
||
Total legislative events: {{ legislative_events|length }} | ||
<table border="1" margin="0" padding="0"> | ||
<tbody> | ||
{% for event in legislative_events %} | ||
<tr> | ||
<td>{{ event.datetime }}</td> | ||
<td>{{ event.title }}</td> | ||
<td>{{ event.description }}</td> | ||
<td>{{ event.end_datetime }}</td> | ||
<td>{{ event.entity }}</td> | ||
<td>{{ event.source_url }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters