e11sync: move base template to e11sync/
This commit is contained in:
6
app/e11sync/apps.py
Normal file
6
app/e11sync/apps.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class E11SyncConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'e11sync'
|
||||
@@ -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',
|
||||
|
||||
34
app/e11sync/templates/base.html
Normal file
34
app/e11sync/templates/base.html
Normal 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>
|
||||
Reference in New Issue
Block a user