mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
- This PR upgrades `biome` from `2.0.5` -> `2.1.2` and adds two new rules - [noUnusedImports](https://biomejs.dev/linter/rules/no-unused-private-class-members) ( we already had suppressions for this rule in code, but the rule itself was never enabled in the config ) - [noUnusedPrivateClassMembers](https://biomejs.dev/linter/rules/no-unused-private-class-members/) - remove stale suppressions. - remove stale code. --------- Co-authored-by: Mikael Finstad <finstaden@gmail.com>
70 lines
1.6 KiB
HTML
70 lines
1.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<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>
|