신동해

Update list.ejs : enable search function, make iframe subject to input

......@@ -16,32 +16,35 @@
<div class="container mt-4">
<img src="http://khuhub.khu.ac.kr/2018110651/Omniscient-Public-Point-Of-View/uploads/ac497e63ac70607366c72d9f92c12c81/word.png" alt="main" style="display: block; margin:0 auto; top:50px;"/>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="주제 검색" aria-label="주제 검색" aria-describedby="button-addon2">
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="button" id="button-addon2">검색</button>
<!-- 검색 -->
<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>
</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="http://localhost:8080/result/progress" width="550" height="600" marginwidth="0" frameborder="2" scrolling="yes">
<iframe src="http://localhost:8080/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="http://localhost:8080/result/liberal" width="550" height="600" marginwidth="0" frameborder="2" scrolling="yes">
<iframe src="http://localhost:8080/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) -->
......