Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍용민
/
BusTime
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이의준
2021-06-09 02:22:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
93293899845fb30ca361ecdb2fa22278f5e3d4fc
93293899
1 parent
ee28c114
timetable.html 파일 ejs로 변환
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
views/timetable_ejstest.ejs
views/timetable_ejstest.ejs
0 → 100644
View file @
9329389
<!doctype html>
<html>
<head>
<title>
Time Table
</title>
<meta
charset=
"utf-8"
>
<style
type=
"text/css"
>
a
{
text-decoration
:
none
}
</style>
</head>
<body>
<h1><a
href=
"/"
><p
style=
"text-align:center;"
>
BTT
</p></a></h1>
<br>
<div
style=
"padding:0 0 0 20px;"
>
<h2>
<
%= busNum %> BUS Time Table
</h2>
</div>
<div
style=
"padding:0 0 0 20px;"
>
<table
border=
"3"
width=
"400"
>
<th>
Index
</th>
<th>
출발 예정시간
</th>
<th>
남은 시간
</th>
<tr
align=
"center"
>
<td>
text입력하기
</td>
<td>
<
%= ETD_min_H %>:
<
%= ETD_min_m %> ~
<
%= ETD_max_H %>:
<
%= ETD_max_m %>
</td>
<td>
<
%= remainTime %>
</td>
</tr>
</table>
</div>
<br>
<br>
<p>
<div
style=
"padding:0 0 0 20px;"
>
버스의 평균 배차시간을 기준으로 최소 출발시간과 최대 출발시간을 제공합니다.
</div>
</p>
<div
style=
"padding:0 0 0 20px;"
>
<script>
<%
var
date
=
new
Date
();
%>
<%
var
yyyy
=
date
.
getFullYear
();
%>
<%
var
mm1
=
date
.
getMonth
()
+
1
;
%>
<%
var
dd
=
date
.
getDate
();
%>
<%
var
hh
=
date
.
getHours
();
%>
<%
var
mm2
=
date
.
getMinutes
();
%>
<%
document
.
write
(
yyyy
+
"년 "
+
mm1
+
"월 "
+
dd
+
"일 "
);
%>
<%
document
.
write
(
hh
+
"시 "
+
mm2
+
"분 기준"
);
%>
</script>
</div>
</body>
</html>
\ No newline at end of file
Please
register
or
login
to post a comment