mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +08:00
add setup-done page
This commit is contained in:
parent
d59e9a6238
commit
5ed39b47ca
4 changed files with 35 additions and 0 deletions
|
@ -23,4 +23,5 @@ from .views import (
|
|||
referral,
|
||||
recovery_code,
|
||||
contact_detail,
|
||||
setup_done,
|
||||
)
|
||||
|
|
24
app/dashboard/templates/dashboard/setup_done.html
Normal file
24
app/dashboard/templates/dashboard/setup_done.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}
|
||||
Setup is done
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="page-single">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col mx-auto" style="max-width: 34rem">
|
||||
<div class="text-center">
|
||||
<img src="/static/images/setup-done.png">
|
||||
</div>
|
||||
|
||||
<div class="text-center">
|
||||
<h1>Setup is done!</h1>
|
||||
<h4>Now click on SimpleLogin button to create your alias!</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
10
app/dashboard/views/setup_done.py
Normal file
10
app/dashboard/views/setup_done.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from flask import render_template
|
||||
from flask_login import login_required
|
||||
|
||||
from app.dashboard.base import dashboard_bp
|
||||
|
||||
|
||||
@dashboard_bp.route("/setup_done", methods=["GET", "POST"])
|
||||
@login_required
|
||||
def setup_done():
|
||||
return render_template("dashboard/setup_done.html")
|
BIN
static/images/setup-done.png
Normal file
BIN
static/images/setup-done.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
Loading…
Reference in a new issue