-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
84 lines (84 loc) · 3.58 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>ExList</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap" rel="stylesheet">
<link rel='stylesheet' href='popup.css' type='text/css'>
</head>
<body>
<div id="content">
<div class="maincontainer">
<div class="section">
<h1 id="mainheader" class="indent">ExList</h1>
</div>
<div class="section">
<header><h2 class="indent">Export Playlist</h2></header>
<button id="bsdown" title="Scroll" class="iconbutton button">
<svg class="buttonicon" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg" fill="currentcolor">
<path d="M16,1A15,15,0,1,0,31,16,15.007,15.007,0,0,0,16,1Zm0,2A13,13,0,1,1,3,16,13.006,13.006,0,0,1,16,3Z" transform="translate(-1 -1)" fill-rule="evenodd"/>
<path d="M21.293,12.293,16,17.586l-5.293-5.293a1,1,0,0,0-1.414,1.414l6,6a1,1,0,0,0,1.414,0l6-6a1,1,0,1,0-1.414-1.414Z" transform="translate(-1 -1)" fill-rule="evenodd"/>
</svg>
</button>
<button id="beplay" title="Export" class="iconbutton button">
<svg fill="currentcolor" xmlns="http://www.w3.org/2000/svg"
class="buttonicon" viewBox="0 0 52 52" enable-background="new 0 0 52 52" xml:space="preserve">
<path d="M37.1,4v13.6c0,1-0.8,1.9-1.9,1.9H13.9c-1,0-1.9-0.8-1.9-1.9V4H8C5.8,4,4,5.8,4,8v36c0,2.2,1.8,4,4,4h36
c2.2,0,4-1.8,4-4V11.2L40.8,4H37.1z M44.1,42.1c0,1-0.8,1.9-1.9,1.9H9.9c-1,0-1.9-0.8-1.9-1.9V25.4c0-1,0.8-1.9,1.9-1.9h32.3
c1,0,1.9,0.8,1.9,1.9V42.1z"/>
<g>
<path d="M24.8,13.6c0,1,0.8,1.9,1.9,1.9h4.6c1,0,1.9-0.8,1.9-1.9V4h-8.3L24.8,13.6L24.8,13.6z"/>
</g>
</svg>
</button>
<br/>
<div class="center-container-column">
<div class="formcontainernew">
<div class="slidercontainer">
<label class="switch">
<input type="checkbox" id="cexti">
<span class="slider round"></span>
</label>
<div class="vl"></div>
<label for="cexti" title="Adds titles to the output file. This does not import back though." class="sliderlabel">Export Titles</label>
</div>
<div class="slidercontainer">
<label class="switch">
<input type="checkbox" id="cauex" checked>
<span class="slider round"></span>
</label>
<div class="vl"></div>
<label for="cauex" title="Export your playlist after scrolling is finished" class="sliderlabel">Auto Export</label>
</div>
</div>
</div>
</div>
<div class="section"><hr></div>
<div class="section">
<header><h2 class="indent">Import Playlist</h2></header>
<h3>Playlist File (.csv)</h3>
<div class="center-container-row">
<input type="file" id="inputfile" accept=".csv, .txt"/>
<label for="inputfile" class="iconbutton button" title="Upload Playlist">
<svg class="buttonicon" viewBox="2 2 21 21" xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentcolor">
<path id="primary" d="M21,8V19a1,1,0,0,1-1,1H4a1,1,0,0,1-1-1V5A1,1,0,0,1,4,4H9.59a1,1,0,0,1,.7.29l2.42,2.42a1,1,0,0,0,.7.29H20A1,1,0,0,1,21,8Z" style="stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5;"></path>
</svg>
</label>
<input type="text" id="listname" placeholder="Playlist name">
</div>
<button id="bstarti" class="button">
Start Import
</button>
<button id="bstopi" class="button">
Stop Import
</button>
</div>
</div>
</div>
<footer>Made by Pacifiky</footer>
<script src="popup.js"></script>
</body>
</html>