mirror of
https://github.com/Radiquum/photos.git
synced 2025-04-28 08:59:42 +05:00
feat: add basic admin upload ui
This commit is contained in:
parent
bd85108edd
commit
6063dc1401
11 changed files with 4986 additions and 0 deletions
21
admin/templates/Base.html
Normal file
21
admin/templates/Base.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Radiquum-Photos Admin Panel</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='tailwind.css') }}" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/flowbite@3.1.2/dist/flowbite.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
|
||||
</head>
|
||||
<body class="bg-slate-900 text-white">
|
||||
<div class="mx-auto container p-8">
|
||||
<h1 class="text-3xl text-bold border-b border-gray-700 pb-2">{{page_title}}</h1>
|
||||
<nav class="py-4 flex gap-4">
|
||||
<a href="{{ url_for('Home')}}" class="text-xl {% if page_title.lower() == 'home' %} text-orange-400 {% else %} text-gray-300 hover:text-orange-600 {% endif %}">Home</a>
|
||||
<a href="{{ url_for('Upload')}}" class="text-xl {% if page_title.lower() == 'upload' %} text-orange-400 {% else %} text-gray-300 hover:text-orange-600 {% endif %}">Upload</a>
|
||||
</nav>
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue