fix website
This commit is contained in:
@@ -29,6 +29,7 @@ def index():
|
|||||||
user = session.get('user')
|
user = session.get('user')
|
||||||
if user:
|
if user:
|
||||||
return render_template('view/index.html', user=user)
|
return render_template('view/index.html', user=user)
|
||||||
|
|
||||||
return redirect(url_for('login'))
|
return redirect(url_for('login'))
|
||||||
|
|
||||||
@app.route('/login')
|
@app.route('/login')
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<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>
|
<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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user