main: Updated register page
This commit is contained in:
parent
8ab4ed574f
commit
79a8e092eb
@ -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():
|
||||
|
@ -115,8 +115,8 @@
|
||||
<div class="col mb-4">
|
||||
<div class="card bg-secondary-light">
|
||||
<div class="card-body text-center px-4 py-5 px-md-5">
|
||||
<p class="fw-bold text-secondary card-text mb-2">Free</p>
|
||||
<h5 class="fw-bold card-title mb-3">We offer a free tier with 1 GB storage capacity.<br>If you would like more please contact us to find an acceptable price for you.</h5>
|
||||
<p class="fw-bold text-secondary card-text mb-2">Free Licences</p>
|
||||
<h5 class="fw-bold card-title mb-3">We offer a free tier with 1 GB storage capacity.<br>If you would like more please contact us to find an acceptable price for you.<br>Join our Discord for a free licence</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -41,9 +41,9 @@
|
||||
<div class="col-md-6 col-xl-4">
|
||||
<div class="card">
|
||||
<div class="card-body text-center d-flex flex-column align-items-center">
|
||||
<form method="post">
|
||||
<div class="mb-3"><input class="form-control" type="email" name="email" placeholder="Email"></div>
|
||||
<div class="mb-3"><input class="form-control" type="password" name="password" placeholder="Password"></div>
|
||||
<form method="post" action="/add-site">
|
||||
<div class="mb-3"><input type="text" name="domain" placeholder="Domain"></div>
|
||||
<div class="mb-3"><input type="text" placeholder="Licence Key" name="licence"></div>
|
||||
<div class="mb-3"><button class="btn btn-primary shadow d-block w-100" type="submit">Sign up</button></div>
|
||||
<p class="text-muted">Don't have a licence?<br><a href="{buy_licence_link}" target="_blank">Click here to buy one</a></p>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user