Commit 62a5cf50 authored by dj3c1t's avatar dj3c1t

btn-help-toggle

parent 155872a2
......@@ -223,3 +223,9 @@ section .main {
background-color: #fcf8e3;
border-color: #faebcc;
}
/* ---- infos */
.row.help-content {
display: none;
}
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>");
}
$(document).ready(
function() {
$(".btn-help-toggle").click(
function () {
$($(this).get(0).dataset.helpcontent).fadeToggle();
}
);
}
);
\ No newline at end of file
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