-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (62 loc) · 1.83 KB
/
index.html
File metadata and controls
67 lines (62 loc) · 1.83 KB
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
<!--
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->
<!-- snippet-start:[rekognition.HTML.photo-analyzer.complete]-->
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="./main.js"></script>
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/@davidsouther/jiffies-css"
/>
<script
src="https://unpkg.com/@davidsouther/jiffies-css/accessibility.js"
async
></script>
<title>AWS Photo Analyzer</title>
</head>
<body>
<main>
<mark id="info"></mark>
<h1>AWS Photo Analyzer Application</h1>
<div style="margin-bottom: 20px">
<h2>Images</h2>
<ul id="image-list"></ul>
</div>
<fieldset role="group">
<form onsubmit="return false;">
<fieldset style="--grid-column-count: 1">
<label for="input-image">
Select image to upload:
<input id="input-image" type="file" name="file" />
</label>
<button onclick="addToBucket();">Upload image</button>
</fieldset>
</form>
<form onsubmit="return false;">
<fieldset style="--grid-column-count: 1">
<label for="email"
>Email address:
<input
type="text"
id="email"
name="email"
value=""
autocomplete="off"
data-1p-ignore
data-lpignore="true"
/>
</label>
<button onclick="processImages()">Analyze Photos</button>
</fieldset>
</form>
</fieldset>
</main>
</body>
</html>
<!-- snippet-end:[rekognition.HTML.photo-analyzer.complete]-->