fix website

This commit is contained in:
nino
2025-05-17 23:31:12 +02:00
parent 0aaa312bcc
commit 5009865f95
4 changed files with 4 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ def index():
user = session.get('user')
if user:
return render_template('view/index.html', user=user)
return redirect(url_for('login'))
@app.route('/login')

View File

@@ -2,9 +2,9 @@
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>HUB Nexium - Interface Web</title>
<link rel="stylesheet" href="../../assets/css/index.css">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/index.css') }}" />
</head>
<body>
@@ -173,4 +173,4 @@
});
</script>
</body>
</html>
</html>