summaryrefslogtreecommitdiffstats
path: root/afb-client/bower_components/jszip/documentation/examples/downloader.html
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2016-02-09 18:40:49 +0100
committerFulup Ar Foll <fulup@iot.bzh>2016-02-09 18:40:49 +0100
commit3d2fda7dd39e2363682f1fa353c951ab0d44ddfa (patch)
treeaf968a8ac5d4fde1f3cebcec5fb0973eb2bfb2cb /afb-client/bower_components/jszip/documentation/examples/downloader.html
parent12a3520ba440316c76b95d92a684666f03f7b47d (diff)
Implemented URL query parsing for initial token /opa/?token=abcde
Diffstat (limited to 'afb-client/bower_components/jszip/documentation/examples/downloader.html')
-rw-r--r--afb-client/bower_components/jszip/documentation/examples/downloader.html58
1 files changed, 58 insertions, 0 deletions
diff --git a/afb-client/bower_components/jszip/documentation/examples/downloader.html b/afb-client/bower_components/jszip/documentation/examples/downloader.html
new file mode 100644
index 0000000..e3589db
--- /dev/null
+++ b/afb-client/bower_components/jszip/documentation/examples/downloader.html
@@ -0,0 +1,58 @@
+---
+title: "Mini app : Downloader"
+layout: default
+section: example
+---
+
+<p>Tip : check the source of the page !</p>
+
+<p>
+ This mini application let you choose the files you want in a list, download
+ them, zip them and give the result to the user.
+</p>
+<p>
+ This demo requires a recent browser, see <a href="{{site.baseurl}}/documentation/howto/write_zip.html">
+ the howto</a>.
+</p>
+
+
+
+<div id="downloader_application">
+ <h3>Please select your files</h3>
+ <form action="#" id="download_form">
+ <ul>
+ <li>
+ <label>
+ <input type="checkbox" data-url="{{site.baseurl}}/test/ref/complex_files/Franz Kafka - The Metamorphosis.epub" checked />
+ Franz Kafka - The Metamorphosis.epub
+ </label>
+ </li>
+ <li>
+ <label>
+ <input type="checkbox" data-url="{{site.baseurl}}/documentation/css/pygments.css" checked />
+ pygments.css
+ </label>
+ </li>
+ <li>
+ <label>
+ <input type="checkbox" data-url="{{site.baseurl}}/dist/jszip.js" />
+ jszip.js
+ </label>
+ </li>
+ <li>
+ <label>
+ <input type="checkbox" data-url="{{site.baseurl}}/test/ref/all.zip" />
+ all.zip
+ </label>
+ </li>
+ </ul>
+
+ <button type="submit" class="btn btn-primary">pack them !</button>
+</form>
+
+<p class="hide" id="result"></p>
+
+
+</div>
+
+<script type="text/javascript" src="{{site.baseurl}}/documentation/examples/downloader.js"></script>