From f1fc5f4cb8d2dd32845f9782a08d28e2bfea7443 Mon Sep 17 00:00:00 2001 From: nathaniel smith Date: Tue, 29 Nov 2016 23:47:37 -0800 Subject: [PATCH] fix template path stuff --- ttadmin/settings.py | 2 +- ttadmin/users/templates/ttadmin/signup.html | 108 -------------------- ttadmin/users/templates/users/signup.html | 80 +++++++++++++++ ttadmin/users/templates/users/thanks.html | 1 + 4 files changed, 82 insertions(+), 109 deletions(-) delete mode 100644 ttadmin/users/templates/ttadmin/signup.html create mode 100644 ttadmin/users/templates/users/signup.html create mode 100644 ttadmin/users/templates/users/thanks.html diff --git a/ttadmin/settings.py b/ttadmin/settings.py index 863e9fc..fe333fc 100644 --- a/ttadmin/settings.py +++ b/ttadmin/settings.py @@ -57,7 +57,7 @@ ROOT_URLCONF = 'urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': ['users/templates'], + 'DIRS': ['templates'], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ diff --git a/ttadmin/users/templates/ttadmin/signup.html b/ttadmin/users/templates/ttadmin/signup.html deleted file mode 100644 index 574bcb0..0000000 --- a/ttadmin/users/templates/ttadmin/signup.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - tilde.town signup page - - - -

sign up for a tilde.town account

- - {% if error_message %}

{{ error_message }}

{% endif %} - -
- {% csrf_token %} - - - - - - - - - - - - - - - - - - - - - - -
-

- username -

-

- Must be lowercase and start with letters. -

-
- -
-

- email -

-

- used to notify you about your account. not used for - any other reason and never shared. -

-
- -
-

- display name -

-

- an optional long-form name to go by. absolutely no - obligation to provide your "real" name. will appear - in various places. -

-
- -
-

- ssh public key -

-

- your ssh public key. if ssh is new - to you, check out - our guide for help. Provide just the guts - of the key; it will most likely start with - AAAAB3NzaC1iyc -

-
- -
-

- ssh public key type -

-

- You can leave this alone unless you know that you need to change it. -

-
- -
- -
- - diff --git a/ttadmin/users/templates/users/signup.html b/ttadmin/users/templates/users/signup.html new file mode 100644 index 0000000..69c6adb --- /dev/null +++ b/ttadmin/users/templates/users/signup.html @@ -0,0 +1,80 @@ + + + + tilde.town signup page + + + +

sign up for a tilde.town account

+ + {% if error_message %}

{{ error_message }}

{% endif %} + +
+ {% csrf_token %} + + + + + + {{ form.as_table }} + +
+ tilde.town is a small + computer publicly accessible on the internet and meant + for sharing. It is intended as an open, welcoming and + safe space to explore digital art and digital + socialization in a post-facebook age. tilde.town + encourages lo-fi HTML art, hi-fi Javascript + experiments, lots of ascii art, the sharing of feels, + and chatting. + + If you have any problems with this process, please send + a tweet to @tildetown + or file a helpdesk ticket. +
+
+ +
+
+ + diff --git a/ttadmin/users/templates/users/thanks.html b/ttadmin/users/templates/users/thanks.html new file mode 100644 index 0000000..7728b5a --- /dev/null +++ b/ttadmin/users/templates/users/thanks.html @@ -0,0 +1 @@ +THANKS