Commit 67780db8 authored by dj3c1t's avatar dj3c1t

messages js

parent cdc7e6ee
function app_message(level, elt, message) {
$(elt).prepend("<div class=\"row\"><div class=\"alert alert-" + level + "\"><a href=\"#\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">&times;</a>" + message + "</div>");
}
......@@ -3,3 +3,4 @@
<script src="{{ asset('bundles/dj3c1tapp/bootstrap-3.3.4-dist/js/bootstrap.min.js') }}"></script>
<script src="{{ asset('bundles/dj3c1tapp/js/bootbox.min.js') }}"></script>
<script src="{{ asset('bundles/dj3c1tapp/js/bb_confirm.js') }}"></script>
<script src="{{ asset('bundles/dj3c1tapp/js/messages.js') }}"></script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment