X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fmobile_webpages%2Ftest%2Fmodal.html;fp=templates%2Fmobile_webpages%2Ftest%2Fmodal.html;h=2d4022940e5537889873af1b6d895209c37db2c0;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=0000000000000000000000000000000000000000;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;p=kivitendo-erp.git
diff --git a/templates/mobile_webpages/test/modal.html b/templates/mobile_webpages/test/modal.html
new file mode 100644
index 000000000..2d4022940
--- /dev/null
+++ b/templates/mobile_webpages/test/modal.html
@@ -0,0 +1,49 @@
+[% USE P %]
+
+
Material Modal Tests
+
+
+
+
+Button triggered modal, no close/agree button:
+
+[% P.M.button_tag("", "Modal", class="modal-trigger", href="#modal1") %]
+
+
+
+
Modal Header
+
A bunch of text
+
+
+
+
+
+
+
+Button triggered modal, close/agree button:
+
+[% P.M.button_tag("", "Modal", class="modal-trigger", href="#modal2") %]
+
+
+
+
Modal Header
+
A bunch of text
+
+
+
+
+
+
+
+Javascript triggered modal:
+[% P.M.button_tag("\$('#modal1').modal('open')", "Open!") %]
+
+
+
+
+popup_dialog modal with given html:
+[% P.M.button_tag("kivi.popup_dialog({ html: 'Testtext'})", "Testtext") %]
+