-{% extends "telemeta/index.html" %}
+{% extends "telemeta/base.html" %}
{% load telemeta_utils %}
{% load i18n %}
{% block content %}
-<div class="home-content">
<div class="module-set">
{% block modules %}
<div id="module" class="module">
-
<h3>Last changes</h3>
- <table bgcolor="#FFFFFF">
+ <table class="listing" bgcolor="#FFFFFF" width="400px">
<tr>
<th class="highlight">Date</th>
<th>Type</th>
<th>User</th>
</tr>
{% for r in revisions %}
- <tr>
+ <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
<td>{{ r.revision.time }}</td>
<td>{{ r.revision.element_type }}</td>
<td>
</div>
{% endblock %}
+</div>
<div class="home-description">
<h3>Playlists</h3>
- <form method="POST" action="">{% csrf_token %}
{% for playlist in playlists %}
<h2>{{ playlist.name }} {% if playlist.is_current %}(current){% endif %}</h2>
- <table class="listing" width="75%">
+ <table class="listing" width="90%">
<tr>
<th class="highlight">{% trans "Title" %}</th>
<th>{% trans "Type" %}</th>
{% endfor %}
</table>
{% endfor %}
- </form>
-
</div>
+
{% endblock %}