diff --git a/demos/css/app.css b/demos/css/app.css index 1372c02..1a1ad91 100644 --- a/demos/css/app.css +++ b/demos/css/app.css @@ -376,6 +376,11 @@ img.download { width: 21px; margin: 0 2px 0 6px; } +#files li a[compress] img.icon { + height: 21px; + width: 21px; + margin: 0 2px 0 6px; +} #files li a img.icon:hover { opacity: 1; } @@ -563,4 +568,4 @@ header .active { } #usage span { margin-right: 20px; -} \ No newline at end of file +} diff --git a/demos/images/icons/zip.png b/demos/images/icons/zip.png new file mode 100644 index 0000000..3d68f00 Binary files /dev/null and b/demos/images/icons/zip.png differ diff --git a/demos/index.html b/demos/index.html index 0b7bcb1..fa3210f 100755 --- a/demos/index.html +++ b/demos/index.html @@ -31,6 +31,9 @@ HTML5 tech used: - Filesystem API - DnD: File drag-in and out, folder drag in (DataTransferItem.webkitGetAsEntry()). +- JSZip: Create, read and edit .zip files with Javascript http://stuartk.com/jszip +- FileSaver.js: An HTML5 saveAs() FileSaver implementation http://eligrey.com/blog/post/saving-generated-files-on-the-client-side +- Async: Utility module for asynchronous JavaScript. https://github.com/caolan/async#seriestasks-callback - - a[download] attribute - contenteditable @@ -87,9 +90,12 @@