renox-admin 1.2.1

An admin panel generated from a Renox app's models: lists, forms, filters, bulk actions and exports.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{#- The panel's home (renox-admin/dashboard.html): how many records each
    resource the user may see has, each a link to its list. -#}
{% extends "renox-admin/layout.html" %}
{% from "renox/ui.html" import page_header, stats, stat, empty %}

{% block content %}
{% call page_header(admin.text.dashboard) %}{% endcall %}
{%- if cards %}
{% call stats(4) %}
  {%- for card in cards %}
  {{ stat(card.label, card.count | number, url=card.url) }}
  {%- endfor %}
{% endcall %}
{%- else %}
{{ empty(admin.text.nothing_yet, admin.text.no_resources) }}
{%- endif %}
{% endblock %}