Some HTML fixes JetBrains complained about
This commit is contained in:
parent
0976345e9c
commit
822e41b394
4 changed files with 6 additions and 3 deletions
|
@ -6,12 +6,12 @@ app = Flask(__name__)
|
|||
|
||||
@app.route('/')
|
||||
def home():
|
||||
return render_template('index.j2', instanceName="nyxask.nixos.internal")
|
||||
return render_template('index.j2', instanceName="nyxask.nixos.internal" instanceBranding="NyxAsk Testing Instance")
|
||||
|
||||
|
||||
@app.route('/auth/login/')
|
||||
def login():
|
||||
return render_template('login.j2', instanceName="nyxask.nixos.internal")
|
||||
return render_template('login.j2', instanceName="nyxask.nixos.internal" instanceBranding="NyxAsk Testing Instance")
|
||||
|
||||
|
||||
@app.route('/assets/css/index.css')
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{% from 'header.j2' import header_home %}
|
||||
<html lang=en>
|
||||
<head>
|
||||
<title>{{ instanceBranding }} - Home</title>
|
||||
<link rel="stylesheet" href="/assets/css/index.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{% from 'header.j2' import header_login %}
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>{{ instanceBranding }} - Login</title>
|
||||
</head>
|
||||
<body>
|
||||
{{ header_login() }}
|
||||
|
@ -15,7 +16,7 @@
|
|||
name="name"
|
||||
size="10" />
|
||||
<br>
|
||||
<label for="question">Password: </label>
|
||||
<label for="password">Password: </label>
|
||||
<input
|
||||
type="password"
|
||||
id="password"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{% from 'header.j2' import header_login %}
|
||||
<html lang=en>
|
||||
<head>
|
||||
<title>{{ instanceBranding }} - Register</title>
|
||||
</head>
|
||||
<body>
|
||||
{{ header_login() }}
|
||||
|
|
Loading…
Add table
Reference in a new issue