list.ejs 2.96 KB
<!doctype html>
<html>
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">

    <!-- custom CSS -->
    <link rel="stylesheet" href="./main.css">
    
  </head>
  <body>
    <div class="container mt-4">
      <img src="./imgs/word.png" alt="main" style="display: block; margin:0 auto; top:50px;"/>

      <!-- 검색 -->
      <form action="/list" method="GET">
        <div class="input-group mb-3">
          <input value="<%=주제%>" type="text" class="form-control" placeholder="주제 검색" aria-label="주제 검색" aria-describedby="button-addon2" name="subject">
          <div class="input-group-append">
            <button class="btn btn-outline-secondary search" type="submit" id="button-addon2">검색</button>
          </div>
        </div>
      </form>

    </div>

    <div id="wrapper">
      <div id = "진보" >
        <h4 style = "text-align: center; color:blue; font-weight:bold;">진보</h4>
        <h3 style="text-align:center;">
          <iframe src="https://oppov-334600.du.r.appspot.com/result/progress/<%=주제%>" width="550" height="600" marginwidth="0" frameborder="2" scrolling="yes">
          </iframe>
        </h3>
      </div>
      <div id = "보수">
        <h4 style = "text-align: center; color:red; font-weight:bold;">보수</h4>
        <h3 style="text-align:center;">
          <iframe src="https://oppov-334600.du.r.appspot.com/result/liberal/<%=주제%>" width="550" height="600" marginwidth="0" frameborder="2" scrolling="yes">
          </iframe>
        </h3>
      </div>
    </div>

    <!-- Optional JavaScript; choose one of the two! -->

    <!-- Option 1: jQuery and Bootstrap Bundle (includes Popper) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-fQybjgWLrvvRgtW6bFlB7jaZrFsaBXjsOMm/tB9LTS58ONXgqbR9W8oWht/amnpF" crossorigin="anonymous"></script>

    <!-- Option 2: Separate Popper and Bootstrap JS -->
    <!--
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.min.js" integrity="sha384-VHvPCCyXqtD5DqJeNxl2dtTyhF78xXNXdkwX1CZeRusQfRKp+tA7hAShOK/B/fQ2" crossorigin="anonymous"></script>
    -->
  </body>
</html>