File: directory_listing.html

package info (click to toggle)
python-wikkid 0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 728 kB
  • sloc: python: 3,051; makefile: 12
file content (21 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "base.html" %}
{% block title %}{{ view.title }}{% endblock %}
{% block content %}

<table class="dir-listing">
{% for item in view.items %}
<tr class="{{ loop.cycle('odd', 'even') }}">
  <td>
    <a href="{{ item.url }}" class="{{ item.css_class }}">{{ item.name }}</a>
  </td>
</tr>
{% endfor %}
</table>

{{ view.content }}

{% endblock %}
{% block commands %}
{% if view.user %}
{% endif %}
{% endblock %}