Merge pull request #214 from kiwix/filter-on-file-picker

Filter the file extensions the user can select in the input type file.
This commit is contained in:
Mossroy 2017-04-08 19:44:13 +02:00 committed by GitHub
commit fa85e31e2c

View File

@ -194,7 +194,7 @@
This application needs a ZIM archive to work. If you did not download one yet, please see the About section
<div id="openLocalFiles" style="display: none;">
Please select the .zim file (or all the .zimaa, .zimab etc in case of a split ZIM file)<br />
<input type="file" id="archiveFiles" multiple class="btn" /><br />
<input type="file" id="archiveFiles" multiple class="btn" accept=".zim,.dat,.idx,.txt,.zimaa,.zimab,.zimac,.zimad,.zimae,.zimaf,.zimag,.zimah,.zimai,.zimaj,.zimak,.zimal,.zimam,.ziman,.zimao,.zimap,.zimaq,.zimar,.zimas,.zimat,.zimau,.zimav,.zimaw,.zimax,.zimay,.zimaz" /><br />
NB : for an Evopedia archive, please select all the files inside the archive (wikipedia_*.dat, metadata.txt etc)<br />
</div>
<div id="scanningForArchives" style="display: none;">