1
Fork 0
This commit is contained in:
Motiejus Jakštys 2023-12-14 22:41:20 +02:00
parent ddcb33e20d
commit 762f04c7a8
4 changed files with 43 additions and 2 deletions

View File

@ -90,4 +90,6 @@ USE_TZ = True
STATIC_URL = 'static/'
STATICFILES_FINDERS = ["django.contrib.staticfiles.finders.AppDirectoriesFinder"]
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

View File

@ -0,0 +1,13 @@
/************************/
/** Very Common Things **/
/************************/
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, button, input, select, textarea, .pure-g [class *= "pure-u"] {
font-family: "-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji";
line-height: 1.5;
}

View File

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% block "title" %}e11mail.com{% endblock %}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
{% load static %}
<link rel="stylesheet" href="{% static "signup/style.css" %}">
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
</head>
<body>
<div>
<section id="header">
<h1 class="brand-title"><a href="{% url "index" %}">e11mail.com</a></h1>
<h2 class="brand-subtitle">Email for Everyone</h2>
</section><!-- #header -->
<main>
{% block "body" %}{% endblock %}
</main>
</div>
</body>
</html>

View File

@ -1,4 +1,4 @@
from django.http import HttpResponse
from django.shortcuts import render
def index(request):
return HttpResponse("Hello. You're at the signup index.")
return render(request, "signup/index.html", {})