New structure
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
{% load static %}
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>{% block title %}{% endblock %}</title>
|
|
||||||
<link rel="stylesheet" href="{% static 'homepage/t-style.css' %}">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
{% include 'homepage/partials/_nav.html' %}
|
|
||||||
{% block content %}
|
|
||||||
{% endblock %}
|
|
||||||
{% include 'homepage/partials/_footer.html' %}
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
<nav class="flex justify-between bg-blue-600 h-12 px-4 sm:px-6 lg:px-8 rounded-lg m-2 shadow-md">
|
|
||||||
<div class="flex items-center">
|
|
||||||
<h2 class="text-xl font-bold text-white hover:scale-110 transition duration-200"><a href="#">qivip</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="flex items-center">
|
|
||||||
<ul class="flex space-x-4 qp-nav-list">
|
|
||||||
<li><a href="#">Start</a></li>
|
|
||||||
<li><a href="#">Bibliothek</a></li>
|
|
||||||
<li><a href="{% url 'login' %}">Konto</a></li> <!--Hier ist der Link erstmal auf das alte Login-Formular gesetzt! Zum Testen!-->
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
@@ -58,7 +58,7 @@ ROOT_URLCONF = 'core.urls'
|
|||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
{
|
{
|
||||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||||
'DIRS': [],
|
'DIRS': [BASE_DIR / 'templates'],
|
||||||
'APP_DIRS': True,
|
'APP_DIRS': True,
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'context_processors': [
|
'context_processors': [
|
||||||
@@ -120,7 +120,7 @@ USE_TZ = True
|
|||||||
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
||||||
|
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
BASE_DIR='static' #von ben8 hinzugefügt
|
STATICFILES_DIRS = [BASE_DIR / 'static']
|
||||||
|
|
||||||
# Default primary key field type
|
# Default primary key field type
|
||||||
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,34 +0,0 @@
|
|||||||
{% load static %}
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Impressum</title>
|
|
||||||
<link rel="icon" type="image/png" href="{% static 'icons/favicon.png' %}">
|
|
||||||
<link rel="stylesheet" href="{% static 'homepage/t-style.css' %}">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
{% include 'homepage/partials/_nav.html' %}
|
|
||||||
<div class="max-w-screen-lg mx-auto">
|
|
||||||
{% block content%}{% endblock %}
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<h1>Impressum</h1>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<dvi>
|
|
||||||
<p>
|
|
||||||
Katharineum zu Lübeck
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Königsstraße 27-31
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
23552 Lübeck
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
{% include 'homepage/partials/_footer.html' %}
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
{% load static %}
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Impressum</title>
|
|
||||||
<link rel="icon" type="image/png" href="{% static 'icons/favicon.png' %}">
|
|
||||||
<link rel="stylesheet" href="{% static 'homepage/t-style.css' %}">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
{% include 'homepage/partials/_nav.html' %}
|
|
||||||
<div class="max-w-screen-lg mx-auto">
|
|
||||||
{% block content%}{% endblock %}
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
Hallo, ich bin die Datenschutzerklärung!
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% include 'homepage/partials/_footer.html' %}
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
{% load static %}
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="{% static 'homepage/t-style.css' %}">
|
|
||||||
<title>qivip</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
{% include 'homepage/partials/_nav.html' %}
|
|
||||||
<div class="max-w-screen-lg mx-auto">
|
|
||||||
{% block content%}{% endblock %}
|
|
||||||
</div>
|
|
||||||
{% include 'homepage/partials/_footer.html' %}
|
|
||||||
{% block extra_js %}{% endblock %}
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'accounts/base.html'%}
|
{% extends 'base.html'%}
|
||||||
{% block title %}Home{% endblock %}
|
{% block title %}Home{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'accounts/base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% block title %}Anmeldung{% endblock %}
|
{% block title %}Anmeldung{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'accounts/base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% block title %}Registrierung{% endblock %}
|
{% block title %}Registrierung{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="grid place-content-center h-120 mt-12 mb-12">
|
<div class="grid place-content-center h-120 mt-12 mb-12">
|
||||||
@@ -9,8 +9,9 @@
|
|||||||
<title>qivip</title>
|
<title>qivip</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% include 'homepage/partials/_nav.html' %}
|
{% include 'partials/_nav.html' %}
|
||||||
{% block content%}{% endblock %}
|
{% block content%}{% endblock %}
|
||||||
{% include 'homepage/partials/_footer.html' %}
|
{% include 'partials/_footer.html' %}
|
||||||
|
{% block extra_js %}{% endblock %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'homepage/base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="grid place-content-center md:h-screen h-150 w-full -z-50 top-0 p-4">
|
<div class="grid place-content-center md:h-screen h-150 w-full -z-50 top-0 p-4">
|
||||||
22
core/templates/homepage/impress.html
Normal file
22
core/templates/homepage/impress.html
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
{% block content%}
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<h1>Impressum</h1>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
Katharineum zu Lübeck
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Königsstraße 27-31
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
23552 Lübeck
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
13
core/templates/homepage/privacy.html
Normal file
13
core/templates/homepage/privacy.html
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block content%}
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
Hallo, ich bin die Datenschutzerklärung!
|
||||||
|
</p>
|
||||||
|
</div
|
||||||
|
{% endblock %}
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'library/base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container mx-auto px-4">
|
<div class="container mx-auto px-4">
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'library/base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container mx-auto px-4">
|
<div class="container mx-auto px-4">
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'library/base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Formular</h1>
|
<h1>Formular</h1>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'library/base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Übersicht</h1>
|
<h1>Übersicht</h1>
|
||||||
Reference in New Issue
Block a user