-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
95 lines (95 loc) · 2.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FLAC Metadata editor</title>
<script src="./FLACMetadataEditor.js"></script>
<script src="./index.js"></script>
<style>
* {
font-family: monospace;
}
#drop {
border: 5px dashed gold;
padding: 10px;
user-select: none;
cursor: default;
}
html {
position: absolute;
width: 100%;
min-height: 100%;
}
#drop, html {
display: flex;
justify-content: center;
align-items: center;
}
#down_button {
margin-left: 2em;
cursor: pointer;
}
#drop_text {
margin-left: 2em;
}
.hidden {
display: none;
}
#meta_table, #images {
width: 100%;
border: 1px dashed darkslateblue;
}
.image {
float: left;
}
.image::before {
content: ' ';
clear: both;
}
.image img {
height: 128px;
}
.remove_image {
position: relative;
left: -1em;
background-color: gainsboro;
width: 2em !important;
height: 2em;
top: calc(-128px + 1em + 2px);
padding: 3px;
cursor: pointer;
}
#copy {
position: fixed;
top: 20px;
left: 20px;
font-size: x-large;
}
input {
width: 99%;
}
</style>
</head>
<body>
<div id="drop">
<button id="openfile_button">Open</button>
<span id="drop_text">Drop FLAC file on this page</span>
<button id="down_button" class="hidden">Download</button>
</div>
<br>
<div id="images" class="hidden">
<!--<span id="images_text">Drop images on this page</span>-->
</div>
<br>
<table id="meta_table" class="hidden">
<tbody>
<tr>
<td>Field</td>
<td>Value</td>
<td><button id="add_row_button">+</button></td>
</tr>
</tbody>
</table>
<span id="copy">© AHOHNMYC, 2018</span>
</body>
</html>