Sebastiankay
commited on
Update index.html
Browse files- index.html +99 -17
index.html
CHANGED
@@ -1,19 +1,101 @@
|
|
1 |
-
<!
|
2 |
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
<
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
</div>
|
18 |
-
|
19 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
<html>
|
3 |
+
|
4 |
+
<head>
|
5 |
+
<meta charset="utf-8">
|
6 |
+
<title>Read a zip file (demo zip.js)</title>
|
7 |
+
<meta name="viewport" content="width=device-width">
|
8 |
+
<link rel="stylesheet" href="../default.css">
|
9 |
+
<link rel="stylesheet" href="demo.css">
|
10 |
+
<link href="https://fonts.googleapis.com/css?family=Maven+Pro|Muli|Droid+Sans+Mono|Istok+Web" rel="stylesheet"
|
11 |
+
type="text/css">
|
12 |
+
</head>
|
13 |
+
|
14 |
+
<body>
|
15 |
+
<div id="container">
|
16 |
+
<h1>
|
17 |
+
<a href="../">zip.js</a> <span class="small"></span>
|
18 |
+
</h1>
|
19 |
+
|
20 |
+
<div class="description">
|
21 |
+
A JavaScript library to zip and unzip files
|
22 |
+
<hr>
|
23 |
</div>
|
24 |
+
|
25 |
+
<h2>Read a zip file (demo)</h2>
|
26 |
+
|
27 |
+
<ol id="demo-container">
|
28 |
+
<li>
|
29 |
+
<label>
|
30 |
+
<span class="form-label">choose a zip file</span>
|
31 |
+
<button id="file-input-button">Open...</button>
|
32 |
+
<input type="file" id="file-input" accept="application/zip" hidden>
|
33 |
+
</label>
|
34 |
+
</li>
|
35 |
+
<li id="encoding-item">
|
36 |
+
<label>
|
37 |
+
<span class="form-label">select the encoding of names</span>
|
38 |
+
<select id="encoding-input" disabled>
|
39 |
+
<option>utf-8</option>
|
40 |
+
<option>cp437</option>
|
41 |
+
<option>ibm866</option>
|
42 |
+
<option>iso-8859-2</option>
|
43 |
+
<option>iso-8859-3</option>
|
44 |
+
<option>iso-8859-4</option>
|
45 |
+
<option>iso-8859-5</option>
|
46 |
+
<option>iso-8859-6</option>
|
47 |
+
<option>iso-8859-7</option>
|
48 |
+
<option>iso-8859-8</option>
|
49 |
+
<option>iso-8859-10</option>
|
50 |
+
<option>iso-8859-13</option>
|
51 |
+
<option>iso-8859-14</option>
|
52 |
+
<option>iso-8859-15</option>
|
53 |
+
<option>iso-8859-16</option>
|
54 |
+
<option>koi8-r</option>
|
55 |
+
<option>koi8-u</option>
|
56 |
+
<option>macintosh</option>
|
57 |
+
<option>windows-874</option>
|
58 |
+
<option>windows-1250</option>
|
59 |
+
<option>windows-1251</option>
|
60 |
+
<option>windows-1252</option>
|
61 |
+
<option>windows-1253</option>
|
62 |
+
<option>windows-1254</option>
|
63 |
+
<option>windows-1255</option>
|
64 |
+
<option>windows-1256</option>
|
65 |
+
<option>windows-1257</option>
|
66 |
+
<option>windows-1258</option>
|
67 |
+
<option>x-mac-cyrillic</option>
|
68 |
+
<option>gbk</option>
|
69 |
+
<option>gb18030</option>
|
70 |
+
<option>big5</option>
|
71 |
+
<option>euc-jp</option>
|
72 |
+
<option>iso-2022-jp</option>
|
73 |
+
<option>shift-jis</option>
|
74 |
+
<option>euc-kr</option>
|
75 |
+
<option>utf-16be</option>
|
76 |
+
<option>utf-16le</option>
|
77 |
+
<option>x-user-defined</option>
|
78 |
+
</select>
|
79 |
+
</label>
|
80 |
+
</li>
|
81 |
+
<li>
|
82 |
+
<label>
|
83 |
+
<span class="form-label">set the password</span>
|
84 |
+
<input type="password" id="password-input" value="" disabled>
|
85 |
+
</label>
|
86 |
+
</li>
|
87 |
+
<li>
|
88 |
+
<label>
|
89 |
+
<span class="form-label">download uncompressed files</span>
|
90 |
+
<ul id="file-list" class="empty">
|
91 |
+
</ul>
|
92 |
+
</label>
|
93 |
+
</li>
|
94 |
+
</ol>
|
95 |
+
|
96 |
+
</div>
|
97 |
+
<script type="text/javascript" src="lib/zip-full.min.js"></script>
|
98 |
+
<script type="text/javascript" src="demo-read-file.js"></script>
|
99 |
+
</body>
|
100 |
+
|
101 |
+
</html>
|