diff --git a/app/e11mail/settings.py b/app/e11mail/settings.py index 3405fbc..a80be90 100644 --- a/app/e11mail/settings.py +++ b/app/e11mail/settings.py @@ -90,4 +90,6 @@ USE_TZ = True STATIC_URL = 'static/' +STATICFILES_FINDERS = ["django.contrib.staticfiles.finders.AppDirectoriesFinder"] + DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/app/signup/static/signup/style.css b/app/signup/static/signup/style.css new file mode 100644 index 0000000..dc32f94 --- /dev/null +++ b/app/signup/static/signup/style.css @@ -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; +} diff --git a/app/signup/templates/signup/index.html b/app/signup/templates/signup/index.html new file mode 100644 index 0000000..151cc2d --- /dev/null +++ b/app/signup/templates/signup/index.html @@ -0,0 +1,26 @@ + + + + + {% block "title" %}e11mail.com{% endblock %} + + {% load static %} + + + + + +
+ + +
+ {% block "body" %}{% endblock %} +
+
+ + + + diff --git a/app/signup/views.py b/app/signup/views.py index ac2b4a8..51fb3f8 100644 --- a/app/signup/views.py +++ b/app/signup/views.py @@ -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", {})