diff --git a/label_buddy/static/js/common.js b/label_buddy/static/js/common.js index fdc44e7..bb80f1c 100644 --- a/label_buddy/static/js/common.js +++ b/label_buddy/static/js/common.js @@ -26,3 +26,9 @@ document.addEventListener('DOMContentLoaded', function() { NProgress.start(); }); }); + +window.setTimeout(function() { + $(".alert").fadeTo(500, 0).slideUp(500, function(){ + $(this).remove(); + }); +}, 4000); diff --git a/label_buddy/templates/base.html b/label_buddy/templates/base.html index 85d849a..6a34a5d 100644 --- a/label_buddy/templates/base.html +++ b/label_buddy/templates/base.html @@ -29,6 +29,7 @@ {% endblock %} + {% block title %}{% endblock %} @@ -138,4 +139,4 @@ <h6 class="dropdown-header user-round-icon"> {% endblock %} </body> -</html> \ No newline at end of file +</html>