Skip to content

Python script, which empowers people with no programming background to generate robust leads on a mass scale. This repo will be compiled of various versatile techniques used in lead generation.

alert with close button

Madi6f124929ab29
diff --git a/app/templates/base.html b/app/templates/base.html
index 4a8434d..1349ce1 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -17,9 +17,7 @@
</head>
- <body>
-
-
+ <body>
{% set logged = 'user_id' in session %}
@@ -60,9 +58,11 @@
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
- <div class="alert alert-{{ category }}" role="alert">
- {{ message|capitalize }}
+ <div class="alert alert-{{ category }} alert-dismissible fade show" role="alert">
+ <strong>Attention</strong> {{ message|capitalize }}
+ <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
+
{% endfor %}
{% endif %}
{% endwith %}