redirect to newly created/edit page directly, start cms dashboard layout

This commit is contained in:
Alex 2026-06-10 14:27:30 -07:00
parent 5e99686b5c
commit 41c985fcab
10 changed files with 54 additions and 10 deletions

View file

@ -7,9 +7,32 @@
{% endblock %}
{% block actions %}
this will be some global admin actions
<div class="actions">
<ul class="list">
<li><a href="/brain/post/new">Add New Post</a></li>
<li><a href="/brain/photos/new">Add New Photo Album</a></li>
<li><a href="/brain/page/new">Add New Page</a></li>
<li><a href="/brain/category/new">Add New Category</a></li>
<li><a href="/brain/tag/new">Add New Tag</a></li>
</ul>
</div>
{% endblock %}
{% block admin %}
<p>This will be a dashboard of sorts</p>
<div class="dashboard">
<h2>Dashboard</h2>
<p>To Do</p>
<ul>
<li>Add file upload functionality for non photo albums</li>
<li>Fix tall photo layouts</li>
<li>Make this dashboard useful</li>
<li>Project content type</li>
<li>Make landing page exist in the db</li>
<ul>
<li>Render it as a static file instead of relying on db queries</li>
</ul>
<li>Self-host git and create a list page</li>
</ul>
</div>
{% endblock %}