summaryrefslogtreecommitdiff
path: root/templates/todolists/public_list.html
blob: f1220f68b78a49f266c9349dc26787ce76841e7a (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
{% extends "base.html" %}

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

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