summaryrefslogtreecommitdiff
path: root/modules/html5_uploader/views
diff options
context:
space:
mode:
authorTristan Zur <tzur@webserver.ccwn.org>2015-06-20 23:57:17 +0200
committerTristan Zur <tzur@webserver.ccwn.org>2015-06-20 23:57:17 +0200
commitca69b6502b5d4a3082d6deb1477f46614c866cba (patch)
tree437bea4a6b6e62495b67b0ab6266d1f53df3148a /modules/html5_uploader/views
parent18a1d682ff18ee69d5c252b013a6a6935cd9b5fe (diff)
In progress display added to upload
Diffstat (limited to 'modules/html5_uploader/views')
-rw-r--r--modules/html5_uploader/views/upload_form.html.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/html5_uploader/views/upload_form.html.php b/modules/html5_uploader/views/upload_form.html.php
new file mode 100644
index 0000000..772f908
--- /dev/null
+++ b/modules/html5_uploader/views/upload_form.html.php
@@ -0,0 +1,16 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<script type="text/javascript">
+function showProgress() {
+ $('#complete-page').waitMe({
+ effect: 'bounce',
+ text: '',
+ bg: 'rgba(255,255,255,0.7)',
+ color: '#ff8000'
+ });
+}
+</script>
+<?= $form ?>
+<script type="text/javascript">
+var btnSubmit = $("input[type=submit]", $("#g-add-photos-form"));
+btnSubmit.click(showProgress);
+</script> \ No newline at end of file