blob: 779e688c12617fede31bba66d904e4af6a138d46 (
plain)
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
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Submit one image privately for review.">
<title>Blind Uploader</title>
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<main class="page">
<section class="upload-box" aria-labelledby="page-title">
<h1 id="page-title">Blind Uploader</h1>
<p class="notice">Submit one image for private review. The file will be renamed, stored outside the public website, and will not be available through a public link.</p>
<p class="requirements">Accepted formats: JPG, PNG, or HEIC. Maximum size: 10 MB.</p>
<form id="upload-form">
<fieldset class="metadata-fields" id="metadata-fields">
<legend>Submission details</legend>
<label for="callsign">Amateur radio callsign</label>
<input id="callsign" name="callsign" type="text" maxlength="32" autocomplete="off" required>
<label for="submitter-name">Name</label>
<input id="submitter-name" name="name" type="text" maxlength="200" autocomplete="name" required>
<label for="email">Email address</label>
<input id="email" name="email" type="email" maxlength="254" autocomplete="email" required>
<label for="description">A brief description of the file</label>
<textarea id="description" name="description" maxlength="1000" rows="5" required></textarea>
<span class="character-count" id="character-count">0 / 1000 characters</span>
</fieldset>
<input id="image-input" name="image" type="file" accept=".jpg,.jpeg,.png,.heic,image/jpeg,image/png,image/heic,image/heif" required>
<label class="drop-zone" for="image-input" id="drop-zone">
<span class="drop-title">Choose an image</span>
<span class="drop-copy">or drag and drop it here</span>
</label>
<div class="file-row" id="file-row" hidden>
<div class="thumb-wrap"><img id="preview" alt="Selected image preview"></div>
<div class="file-details">
<strong id="file-name"></strong>
<span id="file-size"></span>
</div>
<button class="remove-button" type="button" id="remove-button" aria-label="Remove selected image">×</button>
</div>
<p class="status" id="status" role="status" aria-live="polite"></p>
<button class="submit-button" type="submit" id="submit-button" disabled>
<span>Submit image</span>
</button>
</form>
</section>
</main>
<script src="/app.js" defer></script>
</body>
</html>
|