Registration fixes
This commit is contained in:
parent
eb7b798e75
commit
202836d617
2 changed files with 20 additions and 12 deletions
|
@ -13,6 +13,9 @@ def home():
|
||||||
def login():
|
def login():
|
||||||
return render_template('login.j2', instanceName="nyxask.nixos.internal", instanceBranding="NyxAsk Testing Instance")
|
return render_template('login.j2', instanceName="nyxask.nixos.internal", instanceBranding="NyxAsk Testing Instance")
|
||||||
|
|
||||||
|
@app.route('/auth/register/')
|
||||||
|
def register():
|
||||||
|
return render_template('register.j2', instanceName="nyxask.nixos.internal", instanceBranding="NyxAsk Testing Instance")
|
||||||
|
|
||||||
@app.route('/assets/css/index.css')
|
@app.route('/assets/css/index.css')
|
||||||
def index_css():
|
def index_css():
|
||||||
|
|
|
@ -9,19 +9,24 @@
|
||||||
<h1>
|
<h1>
|
||||||
Login to {{ instanceName }}'s Nyxask!
|
Login to {{ instanceName }}'s Nyxask!
|
||||||
</h1>
|
</h1>
|
||||||
<label for="name">Username: </label>
|
<label>
|
||||||
<input
|
<input
|
||||||
|
placeholder="username"
|
||||||
type="text"
|
type="text"
|
||||||
id="name"
|
|
||||||
name="name"
|
name="name"
|
||||||
size="10" />
|
size="10"
|
||||||
|
/>
|
||||||
|
</label>
|
||||||
<br>
|
<br>
|
||||||
<label for="question">Password: </label>
|
<br>
|
||||||
|
<label>
|
||||||
<input
|
<input
|
||||||
|
placeholder="password"
|
||||||
type="password"
|
type="password"
|
||||||
id="password"
|
|
||||||
name="password"
|
name="password"
|
||||||
size="10" />
|
size="10"
|
||||||
|
/>
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Reference in a new issue