~bnrubin/bantrackertwo/devel

« back to all changes in this revision

Viewing changes to templates/bt/events.html

  • Committer: Benjamin Rubin
  • Date: 2009-08-10 16:53:45 UTC
  • Revision ID: bnrubin@romulus-20090810165345-c6en6tdw7k6rydfh
- Comments now are part of the parent Event to make templating easier
- Began some basic template work

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "bt/base.html" %}
 
2
{% block content %}
 
3
{% block log %}
 
4
<div id="log"><center>LOG PLACEHOLDER</center></div>
 
5
{% endblock log %}
 
6
<div id="events">
 
7
<table>
 
8
<tr class="event-header">
 
9
    <th class="operator">Operator</th>
 
10
    <th class="channel">Channel</th>
 
11
    <th class="event-time">Time</th>
 
12
    <th class="event-log">Log</th>
 
13
</tr>
 
14
{% for e in events %}
 
15
<tr class="event-info">
 
16
    <td class="operator">{{ e.operator }}</td>
 
17
    <td class="channel">{{ e.channel }}</td>
 
18
    <td class="event-time">{{ e.create_date|date:"M d, Y H:i" }} </td>
 
19
    <td class="event-log"><a href="#">LOG</a></td>
 
20
</tr>
 
21
{% endfor %}
 
22
</table>
 
23
</div>
 
24
{% endblock content %}