webcodelab commited on
Commit
7191aed
·
verified ·
1 Parent(s): caf18db

Update app/templates/base.html

Browse files
Files changed (1) hide show
  1. app/templates/base.html +30 -14
app/templates/base.html CHANGED
@@ -1,22 +1,38 @@
1
  <!DOCTYPE html>
2
- <html>
3
  <head>
4
- <title>{% block title %}Auth App{% endblock %}</title>
5
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
 
 
 
 
 
 
 
 
 
 
 
6
  </head>
7
  <body class="container mt-5">
8
 
9
- {% with messages = get_flashed_messages() %}
10
- {% if messages %}
11
- <div class="alert alert-info">
12
- {% for message in messages %}
13
- <div>{{ message }}</div>
14
- {% endfor %}
15
- </div>
16
- {% endif %}
17
- {% endwith %}
 
 
18
 
19
- {% block content %}{% endblock %}
20
 
 
 
 
21
  </body>
22
- </html>
 
1
  <!DOCTYPE html>
2
+ <html lang="en">
3
  <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>{% block title %}Auth App{% endblock %}</title>
7
+
8
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
9
+
10
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
11
+
12
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/login.css') }}">
13
+
14
+ {% block extra_head %}
15
+ {# This block is for additional CSS, meta tags, or other head elements specific to a child template #}
16
+ {% endblock %}
17
  </head>
18
  <body class="container mt-5">
19
 
20
+ {% with messages = get_flashed_messages() %}
21
+ {% if messages %}
22
+ <div class="alert alert-info">
23
+ {% for message in messages %}
24
+ <div>{{ message }}</div>
25
+ {% endfor %}
26
+ </div>
27
+ {% endif %}
28
+ {% endwith %}
29
+
30
+ {% block content %}{% endblock %}
31
 
32
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
33
 
34
+ {% block extra_scripts %}
35
+ {# This block is for additional JavaScript specific to a child template #}
36
+ {% endblock %}
37
  </body>
38
+ </html>