mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-26 10:48:37 +02:00
refactor: extendable templates
refactor: simplification refactor: simplification
This commit is contained in:
15
html-router/templates/dashboard/_base.html
Normal file
15
html-router/templates/dashboard/_base.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "dashboard/_layout.html" %}
|
||||
|
||||
{% block dashboard_header %}
|
||||
<h1 class="text-xl font-extrabold tracking-tight">Dashboard</h1>
|
||||
<button class="nb-btn nb-cta" hx-get="/ingress-form" hx-target="#modal" hx-swap="innerHTML">
|
||||
{% include "icons/send_icon.html" %}
|
||||
<span class="ml-2">Add Content</span>
|
||||
</button>
|
||||
{% endblock %}
|
||||
|
||||
{% block dashboard_widgets %}
|
||||
{% include "dashboard/statistics.html" %}
|
||||
{% include "dashboard/recent_content.html" %}
|
||||
{% include "dashboard/active_jobs.html" %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user