1

e11sync: move base template to e11sync/

This commit is contained in:
2024-01-26 10:12:15 +02:00
parent 55015a0456
commit 313e30487d
5 changed files with 27 additions and 6 deletions

6
app/e11sync/apps.py Normal file
View File

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class E11SyncConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'e11sync'

View File

@@ -46,6 +46,7 @@ INTERNAL_IPS = ["127.0.0.1"]
INSTALLED_APPS = (['debug_toolbar'] if DEBUG else []) + [
'compressor',
'e11sync.apps.E11SyncConfig',
'signup.apps.SignupConfig',
'django.contrib.admin',

View File

@@ -0,0 +1,34 @@
{% load compress static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% block "title" %}11sync.net{% endblock %}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
{% compress css %}
<link rel="stylesheet" type="text/x-scss" href="{% static "signup/style.scss" %}">
{% endcompress %}
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
</head>
<body id="page-{% block "pagename" %}{% endblock %}">
<div>
<nav>
{% comment %}
<a href="{% url "index" %}">Signup</a>
<a href="{% url "blog" %}">Blog</a>
{% endcomment %}
</nav>
<header>
<h1 class="brand-title"><a href="{% url "index" %}">11sync.net</a></h1>
<h2 class="brand-subtitle">Hosted Syncthing + Backups</h2>
</header>
<main>
{% block "body" %}{% endblock %}
</main>
</div>
</body>
</html>