calendar.ejs
1.52 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
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='/stylesheets/style.css' />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Jua|Nanum+Brush+Script|Yeon+Sung&display=swap&subset=korean" >
<style>
* {
font-weight: light;
-webkit-font-smoothing: antialiased;
font-family: 'Jua', sans-serif;
}
form input {
margin-top: 35px;
background-color: white;
border: 1px solid #772f9c;
line-height: 0;
font-size: 20px;
display: inline-block;
box-sizing: border-box;
padding: 20px 15px;
border-radius: 60px;
color: #772f9c;
font-weight: 100;
letter-spacing: 0.01em;
position: relative;
z-index: 1;
align-self: flex-end;
width:500px;
}
form input:hover, form input:focus {
color: white;
background-color: #772f9c;
}
</style>
<ul><a style="float:right; font-size:20px" href="/logout">Logout</a></ul>
</head>
<body bgcolor="e7ded9">
<center>
<br>
<h1 style="font-size:35px">Calendar List</h1>
<p>
<form action="/events" method="POST">
<input type=hidden name="googleToken" value=<%= googleToken %>>
<br><br>
<input type=hidden name="kakaoToken" value=<%= kakaoToken %>>
<br><br>
<% calList.forEach(function(val){ %>
<input type=submit name="id" value=<%= val.id %>>
<br><br>
<% }) %>
</form>
</p>
</center>
</body>
</html>