-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
126 lines (108 loc) · 3.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Indapocket</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<form class="dl" action="">
<fieldset>
<legend>
URL
</legend>
<label for="url">
<input
type="url"
id="url"
name="url"
placeholder="http://"
required
/>
<button type="button" title="Paste" name="url-paste">
⎗
</button>
</label>
<!-- <label for="is-playlist">
<input type="checkbox" id="is-playlist" name="is-playlist" />
Is a Playlist
</label> -->
</fieldset>
<div class="info">
<button type="button" name="get-info">
Get info
</button>
<div>
<p>No information yet.</p>
</div>
</div>
<fieldset>
<legend>Format</legend>
<div class="select-format">
<table>
<thead>
<tr>
<th>Ext</th>
<th>Format</th>
<th>Audio</th>
<th>Video</th>
</tr>
</thead>
<tbody>
<tr class="message">
<td colspan="4">
<em>Nothing to show yet</em>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<fieldset class="downloads-folder">
<legend>
Download folder
</legend>
<button type="button" title="Change the downloads path" name="change-downloads-path" >
<output id="downloads-folder">???</output>
<span>🖉</span>
</button>
</fieldset>
<fieldset>
<legend>
File name
</legend>
<label for="filename">
<input
type="text"
id="filename"
name="filename"
placeholder="(optional)"
/>
</label>
</fieldset>
<button type="submit">
Download
</button>
</form>
<div id="downloading">
<div class="background"></div>
<div class="foreground">
<div>
<output>
<p class="info"></p>
<p class="size">
Download starting<span class="blinking-dots"><span>.</span><span>.</span><span>.</span></span>
</p>
</output>
<div class="progressbar">
<div class="value"></div>
</div>
</div>
</div>
</div>
<script>
window.$ = require('jquery')
require('./renderer.js')
</script>
</body>
</html>