index.ejs
2.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>OSSW</title>
<link rel="stylesheet" href="../css/style.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+KR&display=swap" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-light bg-light" style="border-bottom: 1px solid lightgray;">
<a class="navbar-brand" href="#" style="margin-left: 15px;">
<img src="./image/logo.png" style="height:250px;" />
</a>
</nav>
<div class="first">
<div class="main">
<img src="./image/thermometer.jpg" class="icon">
</div>
<div class="sub">
<input type="text" id="location_input" value="영통1동" autofocus="true">
<button id="location_button" type="button" onclick="button_click()">입력</button>
</div>
</div>
<div class="second">
<div class="main">
<span class="result_icon">
<div>최저</div>
<div class="low temper"><%=low%>ºC</div>
</span>
<span class="result_icon">
<div>평균</div>
<div class="middle temper"><%=middle%>ºC</div>
</span>
<span class="result_icon">
<div>최고</div>
<div class="high temper"><%=high%>ºC</div>
</span>
</div>
<div class="sub">
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT"
crossorigin="anonymous"></script>
<script src = "/js/agency.js"></script>
</body>
</html>