fix admin nav
This commit is contained in:
parent
b3160b82c1
commit
b481ffeacc
@ -56,23 +56,31 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Breadcrumb Styles */
|
/* Breadcrumb Styles */
|
||||||
.breadcrumb {
|
|
||||||
margin-bottom: 15px;
|
|
||||||
font-size: 22px;
|
|
||||||
}
|
|
||||||
.breadcrumb a {
|
.breadcrumb a {
|
||||||
|
font-size: 19px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--main-text-color);
|
color: var(--main-text-color);
|
||||||
margin-right: 5px;
|
|
||||||
}
|
}
|
||||||
.breadcrumb span {
|
.breadcrumb span {
|
||||||
|
font-size: 19px;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
|
margin-left: 5px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.separator::before {
|
/* Admin Nav Styles */
|
||||||
content: "\A"; /* Inserts a line break */
|
.admin-nav {
|
||||||
white-space: pre; /* Ensures the newline is honored */
|
color: #ccc;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
padding: 10px;
|
||||||
|
background-color: #979797;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-nav a {
|
||||||
|
color: #ccc;
|
||||||
|
text-decoration: none;
|
||||||
|
padding: 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* List Styles */
|
/* List Styles */
|
||||||
|
|||||||
@ -1,13 +1,15 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||||
|
|
||||||
|
<title>{{ title_short }}</title>
|
||||||
|
|
||||||
<meta property="og:title" content="{{ title_long }}" />
|
<meta property="og:title" content="{{ title_long }}" />
|
||||||
<meta property="og:description" content="... uns aber, die wir gerettet werden, ist es eine Gotteskraft." />
|
<meta property="og:description" content="... uns aber, die wir gerettet werden, ist es eine Gotteskraft." />
|
||||||
<meta property="og:image" content="/icon/logo-200x200.png" />
|
<meta property="og:image" content="/icon/logo-200x200.png" />
|
||||||
|
|
||||||
<title>{{ title_short }}</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||||
<meta name="description" content="... uns aber, die wir gerettet werden, ist es eine Gotteskraft.">
|
<meta name="description" content="... uns aber, die wir gerettet werden, ist es eine Gotteskraft.">
|
||||||
<meta name="author" content="{{ title_short }}">
|
<meta name="author" content="{{ title_short }}">
|
||||||
@ -26,6 +28,9 @@
|
|||||||
<meta name="mobile-web-app-status-bar-style" content="default">
|
<meta name="mobile-web-app-status-bar-style" content="default">
|
||||||
<meta name="mobile-web-app-title" content="Gottesdienste">
|
<meta name="mobile-web-app-title" content="Gottesdienste">
|
||||||
|
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Your CSS -->
|
<!-- Your CSS -->
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='theme.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='theme.css') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='app.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='app.css') }}">
|
||||||
@ -44,14 +49,14 @@
|
|||||||
</header>
|
</header>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
{% if admin_enabled %}
|
{% if admin_enabled %}
|
||||||
<div style="color: #ccc; border: 1px solid #ccc; padding: 10px; background-color: #979797;">
|
<div class="admin-nav">
|
||||||
<a href="{{ url_for('mylinks') }}" class="btn" style="color: #ccc; text-decoration: none;">Meine Links</a>
|
<a href="{{ url_for('mylinks') }}">Meine Links</a>
|
||||||
<span> | </span>
|
<span> | </span>
|
||||||
<a href="{{ url_for('connections') }}" class="btn" style="color: #ccc; text-decoration: none;">Verbindungen</a>
|
<a href="{{ url_for('connections') }}">Verbindungen</a>
|
||||||
<span> | </span>
|
<span> | </span>
|
||||||
<a href="{{ url_for('dashboard') }}" class="btn" style="color: #ccc; text-decoration: none;">Auswertung</a>
|
<a href="{{ url_for('dashboard') }}">Auswertung</a>
|
||||||
<span> | </span>
|
<span> | </span>
|
||||||
<a href="{{ url_for('folder_secret_config_editor') }}" class="btn" style="color: #ccc; text-decoration: none;" id="edit-folder-config" >Ordnerkonfiguration</a>
|
<a href="{{ url_for('folder_secret_config_editor') }}" id="edit-folder-config" >Ordnerkonfiguration</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@ -1,11 +1,23 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||||
|
|
||||||
<title>{% block title %}Meine Links{% endblock %}</title>
|
<title>{% block title %}Meine Links{% endblock %}</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Android Theme Color -->
|
||||||
|
<meta name="theme-color" content="#000">
|
||||||
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet">
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='theme.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='theme.css') }}">
|
||||||
@ -22,20 +34,19 @@
|
|||||||
</header>
|
</header>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<!-- Navigation Bar -->
|
<!-- Navigation Bar -->
|
||||||
<div style="margin-bottom: 10px; background-color:rgb(187, 187, 187); padding: 5px; ">
|
<div class="admin-nav">
|
||||||
<span> </span>
|
<a href="{{ url_for('index') }}">App</a>
|
||||||
<a href="{{ url_for('index') }}" class="btn btn-sm">App</a>
|
<span> | </span>
|
||||||
<span class="btn btn-sm">|</span>
|
<a href="{{ url_for('mylinks') }}">Meine Links</a>
|
||||||
<a href="{{ url_for('mylinks') }}" class="btn btn-sm">Meine Links</a>
|
<span> | </span>
|
||||||
<span class="btn btn-sm">|</span>
|
<a href="{{ url_for('connections') }}">Verbindungen</a>
|
||||||
<a href="{{ url_for('connections') }}" class="btn btn-sm">Verbindungen</a>
|
<span> | </span>
|
||||||
<span class="btn btn-sm">|</span>
|
<a href="{{ url_for('dashboard') }}">Auswertung-Downloads</a>
|
||||||
<a href="{{ url_for('dashboard') }}" class="btn btn-sm">Auswertung-Downloads</a>
|
<span> | </span>
|
||||||
<span class="btn btn-sm">|</span>
|
<a href="{{ url_for('songs_dashboard') }}">Auswertung-Wiederholungen</a>
|
||||||
<a href="{{ url_for('songs_dashboard') }}" class="btn btn-sm">Auswertung-Wiederholungen</a>
|
|
||||||
{% if admin_enabled %}
|
{% if admin_enabled %}
|
||||||
<span class="btn btn-sm">|</span>
|
<span> | </span>
|
||||||
<a href="{{ url_for('folder_secret_config_editor') }}" class="btn btn-sm" id="edit-folder-config">Ordnerkonfiguration</a>
|
<a href="{{ url_for('folder_secret_config_editor') }}" id="edit-folder-config">Ordnerkonfiguration</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user