From a834f54a130600f376e73323a5d386d865984d27 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Sun, 9 Oct 2022 17:12:54 +0100 Subject: [PATCH] update initial-setup.html template -- massive overhaul. I've removed the 'extends' blocks and built a completely seperated template from the rest of the website. The template was not rendering properly because certain parts of the website had not been set-up yet so the complete isolated template was/is required. I've, also, added extra options for the user to set during this first run process which will be processed by the back-end. I've not put much work into adding validation checks because it is a one-time thing (this page). You'll need access to the server anyway -- at this point -- so a bit of manual correction of mistakes will be easy to achieve. Deleting the database will be enough to trigger the first run process again. --- templates/initial-setup.html | 170 ++++++++++++++++++++++++++++------- 1 file changed, 138 insertions(+), 32 deletions(-) diff --git a/templates/initial-setup.html b/templates/initial-setup.html index b25ca0d..33aef2e 100644 --- a/templates/initial-setup.html +++ b/templates/initial-setup.html @@ -1,32 +1,138 @@ -{% extends "layouts/default.html" %} -{% block title %}Set-up your new archive{% endblock %} -{% block content %} -

Let's get your new site up and running...

-

- It looks like this is the first time you've started this - website. Create your new account and start uploading stuff. -

-

- Note: You will not be able to access this page again after you've - created your account. So, make sure you've made a note of you - account details. -

-
-
-
- Account Details - - - - - - - - - - - -
-
-
-{% endblock %} + + + + + Set-up your new website. + + + + + + + + + +
+
+ First Run +

Let's get your new site up and running...

+
+

+ It looks like this is the first time you've started this + website. Fill out the form below and start uploading stuff. +

+
+
+ + + +

+ This name will be displayed in the site's header. You + can change this after you've completed this initial + set-up. +

+ + +
+ +
+ + +
+

+ Enabling this feature will allow anyone to create an account with + this website, upload files and create 'Archive Entries' and + 'Pages'. You can turn this feature on and off in the site's + settings after this initial set-up. +

+ +
+ +
+ + +
+

+ Enabling this feature will make the website display the + site's logo in the header, alongside the site's + name. You can turn this feature on and off in the + site's settings, after completing this initial set-up, + and replace the default one with your own. +

+ +
+ +

Account Details

+

+ This account is the site's 'admin' (or 'super-user') + account. This gives you complete access to all the + site's features. No other account will have this + ability. +

+ +

+ This is the name you will use to log-in to the + website. It cannot be changed after you finish this + set-up. You can use your email address or a typical + username like 'neo' or 'the_milkman_3000'. Each account + must have a unique username. +

+ + + +

+ This is the name the website will refer to you as when + you log-in. Feel free to use your actual name here and + change it as often as you want. +

+ + + + + + + + +
+
+
+ +