All checks were successful
Build containers when image tags change / build-if-image-changed (., web, containers, main container, git.baumann.gr/adebaumann/labhelper) (push) Successful in 16s
Build containers when image tags change / build-if-image-changed (data-loader, loader, initContainers, init-container, git.baumann.gr/adebaumann/labhelper-data-loader) (push) Successful in 3s
252 lines
6.8 KiB
HTML
252 lines
6.8 KiB
HTML
{% load static %}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% block title %}LabHelper{% endblock %}</title>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
|
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.navbar {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 15px;
|
|
padding: 15px 30px;
|
|
margin: 20px auto;
|
|
max-width: 1200px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #667eea;
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.navbar-brand i {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.navbar-nav {
|
|
display: flex;
|
|
gap: 20px;
|
|
align-items: center;
|
|
}
|
|
|
|
.navbar-nav a {
|
|
color: #555;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.navbar-nav a:hover {
|
|
background: #667eea;
|
|
color: white;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.navbar-nav a i {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.page-header {
|
|
background: white;
|
|
padding: 30px;
|
|
border-radius: 15px;
|
|
margin-bottom: 30px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.page-header h1 {
|
|
color: #333;
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.page-header .breadcrumb {
|
|
color: #888;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.page-header .breadcrumb a {
|
|
color: #667eea;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.page-header .breadcrumb a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.section {
|
|
background: white;
|
|
padding: 30px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.section h2 {
|
|
color: #667eea;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 3px solid #667eea;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.section h2 i {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
|
|
}
|
|
|
|
.btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
|
|
box-shadow: 0 4px 15px rgba(127, 140, 141, 0.4);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
box-shadow: 0 6px 20px rgba(127, 140, 141, 0.6);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 8px 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.alert {
|
|
padding: 15px 20px;
|
|
border-radius: 10px;
|
|
margin-bottom: 20px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.alert-success {
|
|
background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
|
|
color: white;
|
|
box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
|
|
}
|
|
|
|
.alert-error {
|
|
background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
|
|
color: white;
|
|
box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
color: white;
|
|
padding: 30px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.footer a {
|
|
color: white;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.footer a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
{% block extra_css %}{% endblock %}
|
|
</style>
|
|
{% block extra_head %}{% endblock %}
|
|
</head>
|
|
<body>
|
|
<nav class="navbar">
|
|
<a href="/" class="navbar-brand">
|
|
<i class="fas fa-flask"></i>
|
|
LabHelper
|
|
</a>
|
|
<div class="navbar-nav">
|
|
<a href="/"><i class="fas fa-home"></i> Home</a>
|
|
<a href="/search/"><i class="fas fa-search"></i> Search</a>
|
|
<a href="/admin/"><i class="fas fa-cog"></i> Admin</a>
|
|
{% if user.is_authenticated %}
|
|
<a href="/logout/"><i class="fas fa-sign-out-alt"></i> Logout ({{ user.username }})</a>
|
|
{% else %}
|
|
<a href="/login/"><i class="fas fa-sign-in-alt"></i> Login</a>
|
|
{% endif %}
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="container">
|
|
{% block page_header %}{% endblock %}
|
|
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
|
|
<footer class="footer">
|
|
<p>© 2025 LabHelper. Built with <i class="fas fa-heart"></i> for science.</p>
|
|
</footer>
|
|
|
|
{% block extra_js %}{% endblock %}
|
|
</body>
|
|
</html> |