index.ejs
3.23 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
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
<!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/stylesheets/main.css" />
<link rel='stylesheet' href='/stylesheets/style.css' />
</head>
<body>
<!-- <h1><%= title %></h1>
<p>Welcome to <%= title %></p> -->
<section class="banner full">
<article>
<img src="images/unknown.png" alt="" />
<div class="inner">
<header>
<p>protect your screen from unauthorized personnel</p>
<h2>AI Screensaver</h2>
</header>
</div>
</article>
</section>
<section id="one" class="wrapper style2">
<div class="inner">
<div class="grid-style">
<div>
<div class="box">
<div class="image fit">
<img src="images/person_add.png" alt="" />
</div>
<div class="content">
<header class="align-center">
<p>add user to AWS Rekognition FaceCollection</p>
<h2>Add User</h2>
</header>
<footer class="align-center">
<form action=/register method="post" enctype="multipart/form-data">
<input type="file" id="img" name="img" accept="image/png, image/jpeg" class="button alt">
<input type='hidden' name="collection" id='collection' value="<%= collection %>" >
<input type="text" id="image_id" name="text" placeholder="사진 이름" required><input type="submit" value="등록" class="button alt"">
</form>
</footer>
</div>
</div>
</div>
<div>
<div class="box">
<div class="image fit">
<img src="images/play.png" alt="" />
</div>
<div class="content">
<header class="align-center">
<p>Detect Personnel and analyze</p>
<h2>Run Detection</h2>
</header>
<footer class="align-center">
<form action="/use" method="post">
<input type="hidden" name="landing" id="landing" value="true" />
<label for="type">Password (4 characters minimum):</label>
<input type='password' name='type' id='type' minlength="4" required/>
<input type='hidden' name="collection" id='collection' value="<%= collection %>" >
<input type="submit" value="시작" class="button alt">
</form>
</footer>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="javascripts/jquery.min.js"></script>
<script src="javascripts/jquery.scrollex.min.js"></script>
<script src="javascripts/skel.min.js"></script>
<script src="javascripts/util.js"></script>
<script src="javascripts/main.js"></script>
<script type="text/javascript">
var error = '<%= error %>';
if(error!='')
{
alert(error);
}
</script>
</body>
</html>