Some HTML fixes JetBrains complained about

This commit is contained in:
Nyx 2025-03-10 00:40:51 -05:00
parent 0976345e9c
commit 822e41b394
4 changed files with 6 additions and 3 deletions

View file

@ -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')

View file

@ -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>

View file

@ -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"

View file

@ -1,6 +1,7 @@
{% from 'header.j2' import header_login %}
<html lang=en>
<head>
<title>{{ instanceBranding }} - Register</title>
</head>
<body>
{{ header_login() }}