Django admin dashboard template
The AdminVora Django kit is a base.html, sidebar, topbar and footer partials, three example pages and their URLs, with the bundle under static/. It runs on Django alone: no Node, no npm and no front-end build.
Why it fits Django
- Template inheritance, not components. Pages extend
base.htmland fill{% block content %}, exactly as the rest of your project does. - Static files the Django way. The CSS, JavaScript and lazily loaded libraries are referenced with
{% static %}and collected bycollectstatic. - Right-to-left from your language settings. The kit sets
dirfromLANGUAGE_BIDI, and every one of the 108 screens is built for right-to-left. - Not a replacement for django.contrib.admin. It is the template for the admin you build for your own users, where the built-in admin is the wrong tool.
Start from the kit
python -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
python manage.py runserver
The base template
One part has to stay inline: the boot script in the <head> of every page in the download. It sets the theme before the first paint, so it cannot be deferred or moved to a file. Copy it into a partial once, as below.
{% load static %}<!doctype html>
<html lang="{{ LANGUAGE_CODE|default:'en' }}"
dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}"
data-bs-theme="light" data-av-preset="aurora">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}Dashboard{% endblock %}</title>
{% include "partials/boot.html" %}
<link rel="stylesheet" href="{% static 'adminvora/css/adminvora.min.css' %}">
</head>
<body class="av-app">
<a href="#main" class="av-skip-link">Skip to main content</a>
<div class="av-shell">
{% include "partials/sidebar.html" %}
<div class="av-main">
{% include "partials/topbar.html" %}
<main class="av-content" id="main" tabindex="-1">
<div class="container-fluid">{% block content %}{% endblock %}</div>
</main>
</div>
</div>
<script src="{% static 'adminvora/js/adminvora.js' %}" defer></script>
</body>
</html>
Deletes with a confirm step
Mark a delete button with data-av-confirm and AdminVora asks first: nothing is sent while the dialog is open, "Cancel" sends nothing, and the accept button submits the form as normal, with your CSRF token and the button's own name and value.
<form method="post" action="{% url 'order-delete' order.pk %}">
{% csrf_token %}
<button class="av-btn av-btn--outline-danger" type="submit"
data-av-confirm
data-av-confirm-title="Delete order #{{ order.pk }}?"
data-av-confirm-accept="Delete order">Delete</button>
</form>
Django questions
No. The built-in admin is for staff editing models. AdminVora is for the dashboard, settings and data screens you build for your own users, with your own views and permissions.
Django 5. The bundle is static files, so it has no Python dependency of its own.
Yes. Markup swapped into the page can be handed to AdminVora.init(root), which binds the components inside it without binding anything twice.
See it, then decide
The live demo is the product itself: the same pages, stylesheet and runtime the download contains. Licences start at $39 on the pricing page, and the documentation covers every component and hook.