feat: Material Icons, customizable app name & dark/light mode toggle
- Add Google Material Icons integration with smart_toy robot icon - Implement app_settings database table for persistent configuration - Add App Name customization in Settings (changes navigation & title) - Add Dark/Light Mode theme switcher - Dark Mode: Lightened black (#0f0f0f) with blue accents (#0a84ff) - Light Mode: Clean white/gray with red accents (#ef4444) - Create context_processor for global app_settings injection - Redesign Settings page with new App Design section - Optimize CSS: 724 additions, reduced complexity - Remove outdated agent reminders (70 lines cleanup)
This commit is contained in:
parent
f43bf1646d
commit
2a9941f35f
14 changed files with 461 additions and 582 deletions
|
|
@ -1,13 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de" data-theme="dark">
|
||||
<html lang="de" data-theme="{{ theme or 'dark' }}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}Frankenbot{% endblock %} · Frankenbot</title>
|
||||
<title>{% block title %}{{ app_name or 'Frankenbot' }}{% endblock %} · {{ app_name or 'Frankenbot' }}</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
|
|
@ -16,8 +17,8 @@
|
|||
<nav class="navbar navbar-expand-lg">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="/">
|
||||
<span class="brand-icon">⚡</span>
|
||||
Frankenbot
|
||||
<span class="material-icons brand-icon">smart_toy</span>
|
||||
<span class="brand-name">{{ app_name or 'Frankenbot' }}</span>
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue