Add image upload preview functionality; update titles and templates for consistency

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-29 13:02:11 +02:00
parent 8871f136d4
commit 3224d16197
13 changed files with 75 additions and 35 deletions
+5 -10
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}AI Allucanget{% endblock %}</title>
<title>{% block title %}All You Can GET AI{% endblock %}</title>
<link
rel="stylesheet"
href="{{ url_for('static', filename='style.css') }}"
@@ -12,7 +12,7 @@
<body>
<header>
<nav>
<a href="{{ url_for('index') }}" class="brand">AI Allucanget</a>
<a href="{{ url_for('index') }}" class="brand">All You Can GET AI</a>
<button class="hamburger" aria-label="Open menu">
<span></span><span></span><span></span>
@@ -22,14 +22,9 @@
{% if session.get('access_token') %}
<a href="{{ url_for('dashboard') }}">Dashboard</a>
<div class="nav-dropdown">
<a href="{{ url_for('generate_text') }}">Generate </a>
<div class="nav-dropdown-menu">
<a href="{{ url_for('generate_text') }}">Text</a>
<a href="{{ url_for('generate_image') }}">Image</a>
<a href="{{ url_for('generate_video') }}">Video</a>
</div>
</div>
<a href="{{ url_for('generate_text') }}">Generate Text</a>
<a href="{{ url_for('generate_image') }}">Generate Image</a>
<a href="{{ url_for('generate_video') }}">Generate Video</a>
<a href="{{ url_for('profile') }}">Profile</a>
{% if session.get('user_role') == 'admin' %}