X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44..53593baa211863fbf66540cf1bcc36c8fb37257f:/templates/mobile_webpages/test/modal.html
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") %]
+