<!DOCTYPE html>
<html lang="en" xmlns:th=http://www.thymeleaf.org>

<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width,initial-scale=1"/>
    <meta name="theme-color" content="#000000"/>
    <meta name="description" content="포항시 교통정보센터입니다"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title>포항시 교통정보센터</title>
    <th:block th:include="/include/head.html"></th:block>
    <link rel="stylesheet" th:href="@{/css/admin-main.css}">
    <script th:type="javascript" th:src="@{/js/highcharts.js}"></script>
    <script th:type="javascript" th:src="@{/js/modules/accessibility.js}"></script>
    <script th:type="javascript" th:src="@{/js/modules/export-data.js}"></script>
    <script th:type="javascript" th:src="@{/js/modules/exporting.js}"></script>
</head>
<body id="body">
<th:block th:include="/include/admin-header.html"></th:block>
<div class="mainWrap">
    <div class="main">
        <div class="top">
            <div>
                <div class="sub-title">공지사항</div>
                <div class="content">
                    <div th:each="item, i:${notice}">
                        <div th:onclick="movePath([['/notice/view/'+ ${item.getBoardNo()}]])" th:title="${item.getBSubject()}" th:text="${item.getBSubject()}"></div>
                        <span th:text="${item.getRegDate()}"></span>
                    </div>
                    <div th:each="item, i:${notice}">
                        <div th:onclick="movePath([['/notice/view/'+ ${item.getBoardNo()}]])"
                             th:title="${item.getBSubject()}"
                             th:text="${item.getBSubject()}"></div>
                        <span th:text="${item.getRegDate()}"></span>
                    </div>
                    <div>
                        <div th:title="${notice.get(0).getBSubject()}"  th:text="${notice.get(0).getBSubject()}"></div>
                        <span th:text="${notice.get(0).getRegDate()}"></span>
                    </div>
                </div>
            </div>
            <div>
                <div class="sub-title">팝업공지</div>
                <div></div>
            </div>
        </div>
        <div class="bottom">
            <div class="sub-title">접속자 통계</div>
            <div id="chart"></div>
        </div>
    </div>
</div>
<th:block th:include="/include/footer.html"></th:block>

</body>

<script th:inline="javascript">

</script>

</html>