calendar.ejs 1.52 KB
<!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 Lists</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>