-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathindex.html
70 lines (64 loc) · 1.54 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Dashboard</title>
<link rel="icon" type="image/png" href="https://uppy.io/img/logo.svg" />
<style>
main {
display: block;
width: fit-content;
margin: 100px auto;
}
h1 {
text-align: center;
}
#upload-form {
max-width: 400px;
text-align: left;
margin: auto;
}
/* css to make sure that Dashboard's css overrides page css */
button,
input {
color: green;
font-size: 30px;
text-align: right;
border: 2px solid purple;
}
ul {
margin: 60px;
}
li {
margin: 60px;
}
a {
color: purple;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: green;
}
</style>
</head>
<body>
<main class="foo">
<h1>Dashboard is here</h1>
<!-- some inputs in a form to check focus management in Dashboard -->
<form id="upload-form" action="/">
<button type="button" id="pick-files">Pick Files</button><br />
True ?
<input type="checkbox" name="check_test" value="1" checked /><br />
Something: <input type="text" name="yo" value="1" /><br />
<input type="hidden" name="bla" value="12333" /><br />
<button type="submit">Submit</button>
</form>
</main>
<script src="./index.js" type="module"></script>
</body>
</html>