From 79a8e092eb9d67f63a75c16ad2cea952d244a4db Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sat, 2 Sep 2023 13:48:10 +1000 Subject: [PATCH] main: Updated register page --- master/main.py | 9 +++++++++ master/templates/index.html | 4 ++-- master/templates/register.html | 6 +++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/master/main.py b/master/main.py index 637f299..cf54bb5 100644 --- a/master/main.py +++ b/master/main.py @@ -442,6 +442,15 @@ def home(): return render_template('index.html', site_count = str(len(sites))) +# Register page +@app.route('/register') +def register(): + buy_license_link = os.getenv('BUY_LICENSE_LINK') + + + # Show register template + return render_template('register.html', buy_license_link=buy_license_link) + # Admin page @app.route('/admin') def admin(): diff --git a/master/templates/index.html b/master/templates/index.html index 8db2dde..a8d7e67 100644 --- a/master/templates/index.html +++ b/master/templates/index.html @@ -115,8 +115,8 @@
-

Free

-
We offer a free tier with 1 GB storage capacity.
If you would like more please contact us to find an acceptable price for you.
+

Free Licences

+
We offer a free tier with 1 GB storage capacity.
If you would like more please contact us to find an acceptable price for you.
Join our Discord for a free licence
diff --git a/master/templates/register.html b/master/templates/register.html index c8b01fa..82c408f 100644 --- a/master/templates/register.html +++ b/master/templates/register.html @@ -41,9 +41,9 @@
-
-
-
+ +
+

Don't have a licence?
Click here to buy one