summaryrefslogtreecommitdiffstats
path: root/templates/todolists/public_list.html
blob: 7284120088fce1e758827e1bc1e22dbeac9da382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends "base.html" %}

{% block title %}Arch Linux - Todo Lists{% endblock %}

{% block content %}
<div class="box">
    <h2>Developer Todo Lists</h2>
    <div id="public_todo_lists">
        {% for list in todo_lists %}
            <h4>{{list.name}}</h4>
            <div class="todo_list">
                <p>{{list.description|safe}}</p>
                <ul>
                    {% for pkg in list.packages %}
                        <li>{{pkg.pkg.pkgname}}</li>
                    {% endfor %}
                </ul>
            </div>
        {% endfor %}
    </div>
</div>
{% load cdn %}{% jquery %}
<script type="text/javascript">
    $("#public_todo_lists h4").click(
            function(e) {
                $(this).next().toggle();
            }
    );
</script>
{% endblock %}