diff --git a/static/frontend/js/inspirations.js b/static/frontend/js/inspirations.js index a8600cc..b332a93 100644 --- a/static/frontend/js/inspirations.js +++ b/static/frontend/js/inspirations.js @@ -134,6 +134,55 @@ imageuser.append(imageuserinfo); footrow.append(footmd6right); + $("#inspirationModals").append($("
") + .addClass("modal") + .addClass("fade") + .attr("id", "inspiration" + value["id"] + "Modal") + .attr("tabindex", "-1") + .attr("aria-hidden", "true") + ); + + var modal = $("#inspirationModals div.modal:last"); + + var content = $("
").addClass("modal-content"); + + var dialog = $("
") + .addClass("modal-dialog") + .addClass("modal-lg"); + + var mediacontainer = $("
") + .addClass("ratio") + .addClass("ratio-16x9"); + + var image = $("") + .attr("src", value["image"]) + .attr("width", "100%"); + + var buttons = $("
") + .addClass("text-center") + .addClass("py-3"); + + var book = $(" - -
-
-
+
{% endblock %} {% block "scripts" %} -{% endblock %} \ No newline at end of file +{% endblock %}