{% load unfold %}

System Metrics (Component Class)

{% component "unfold/components/card.html" with title="Database" component_class="SystemMetricsComponent" %} {% if data.database %} {% component "unfold/components/progress.html" with value=data.database.value title=data.database.title description=data.database.description %} {% endcomponent %} {% endif %} {% endcomponent %} {% component "unfold/components/card.html" with title="Cache" component_class="SystemMetricsComponent" %} {% if data.cache %} {% component "unfold/components/progress.html" with value=data.cache.value title=data.cache.title description=data.cache.description %} {% endcomponent %} {% endif %} {% endcomponent %} {% component "unfold/components/card.html" with title="Storage" component_class="SystemMetricsComponent" %} {% if data.storage %} {% component "unfold/components/progress.html" with value=data.storage.value title=data.storage.title description=data.storage.description %} {% endcomponent %} {% endif %} {% endcomponent %} {% component "unfold/components/card.html" with title="API" component_class="SystemMetricsComponent" %} {% if data.api %} {% component "unfold/components/progress.html" with value=data.api.value title=data.api.title description=data.api.description %} {% endcomponent %} {% endif %} {% endcomponent %}

Recent Users (Component Class)

{% component "unfold/components/card.html" with title="Latest Registrations" component_class="RecentUsersComponent" %} {% if data.rows %} {% component "unfold/components/table.html" with table=data striped=1 height=400 %} {% endcomponent %} {% else %}

No users yet

{% endif %} {% endcomponent %}

Analytics (Component Class)

{% component "unfold/components/card.html" with title="User Registrations" component_class="ChartsComponent" days=7 %} {% if data.registrations %} {% component "unfold/components/chart/line.html" with data=data.registrations height=300 %} {% endcomponent %} {% else %}

No data available

{% endif %} {% endcomponent %} {% component "unfold/components/card.html" with title="User Activity" component_class="ChartsComponent" days=7 %} {% if data.activity %} {% component "unfold/components/chart/bar.html" with data=data.activity height=300 %} {% endcomponent %} {% else %}

No data available

{% endif %} {% endcomponent %}

Activity Tracker (Component Class)

{% component "unfold/components/card.html" with title="365 Day Heatmap" component_class="ActivityTrackerComponent" %} {% if data %} {% component "unfold/components/tracker.html" with data=data %} {% endcomponent %} {% else %}

No activity data

{% endif %} {% endcomponent %}