e11sync: move base template to e11sync/
This commit is contained in:
parent
55015a0456
commit
313e30487d
|
@ -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 []) + [
|
INSTALLED_APPS = (['debug_toolbar'] if DEBUG else []) + [
|
||||||
'compressor',
|
'compressor',
|
||||||
|
'e11sync.apps.E11SyncConfig',
|
||||||
'signup.apps.SignupConfig',
|
'signup.apps.SignupConfig',
|
||||||
|
|
||||||
'django.contrib.admin',
|
'django.contrib.admin',
|
||||||
|
|
|
@ -13,10 +13,17 @@
|
||||||
<body id="page-{% block "pagename" %}{% endblock %}">
|
<body id="page-{% block "pagename" %}{% endblock %}">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<section id="header">
|
<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>
|
<h1 class="brand-title"><a href="{% url "index" %}">11sync.net</a></h1>
|
||||||
<h2 class="brand-subtitle">Hosted Syncthing + Backups</h2>
|
<h2 class="brand-subtitle">Hosted Syncthing + Backups</h2>
|
||||||
</section><!-- #header -->
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
{% block "body" %}{% endblock %}
|
{% block "body" %}{% endblock %}
|
|
@ -102,17 +102,24 @@ main {
|
||||||
margin-top: 33px;
|
margin-top: 33px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header {
|
header {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
padding: 1rem 2rem 2rem 2rem;
|
padding: 1rem 2rem 2rem 2rem;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
max-width: 1000px;
|
max-width: 1000px;
|
||||||
|
|
||||||
background-color: #e6e6e6;
|
background-color: #e6e6e6;
|
||||||
background: radial-gradient(circle at top left, $lightBlue 0%, #aaa 50%, #666 100%);
|
background: radial-gradient(circle at top left, $lightBlue 0%, #aaa 50%, #666 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav {
|
||||||
|
padding: 10px 0;
|
||||||
|
text-align: right;
|
||||||
|
a {
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*******************************/
|
/*******************************/
|
||||||
/* Shared by a couple of pages */
|
/* Shared by a couple of pages */
|
||||||
/*******************************/
|
/*******************************/
|
||||||
|
@ -272,7 +279,7 @@ blockquote {
|
||||||
color: #ececec;
|
color: #ececec;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header {
|
header {
|
||||||
background-color: $darkBgGrey;
|
background-color: $darkBgGrey;
|
||||||
background: radial-gradient(circle at top left, $blueLinkVisited 0%, $darkBgGrey 50%, $darkTextColor 100%);
|
background: radial-gradient(circle at top left, $blueLinkVisited 0%, $darkBgGrey 50%, $darkTextColor 100%);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends "signup/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block "pagename" %}index{% endblock %}
|
{% block "pagename" %}index{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue