view MoinMoin/apps/admin/templates/admin/item_acl_report.html @ 2704:2ca8e9c8bfe2

Added css to acl reports in modernized and foobar themes
author Ajitesh Gupta <ajgupta93@gmail.com>
date Sat, 09 Aug 2014 23:29:11 +0530
parents 5e518c71b581
children 63267bfa9099
line wrap: on
line source
{% extends theme("layout.html") %}
{% import "utils.html" as utils %}
{% block content %}
    <h1>{{ _("Item ACL Report") }}</h1>
    <table class="zebra table table-hover tablesorter tablesorter-default moin-sortable" data-sortlist="[[0,0]]">
        <thead>
            <tr>
                <th>{{ _("Item Names") }}</th>
                <th>{{ _("ACL") }}</th>
            </tr>
        </thead>
        <tbody>
            {% for item in items_acls %}
                <tr>
                    <td><a href="{{ url_for('frontend.modify_item', item_name=item['fqname']) }}">{% if item['name'] %}{{ item['name'] | join(', ') }}{% else %}{{ _("Item Id") }}: {{ item['itemid'] }}{% endif %}</a></td>
                    <td>{{ item['acl'] }}</td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
{% endblock %}