FAISP/src/main/resources/templates/faStatistics/unlawfulFishing/statistics/statistics.html

119 lines
5.5 KiB
HTML

<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="script">
<script type="text/javascript" th:src="@{/js/faStatistics/unlawfulFishing/statistics.js}"></script>
</th:block>
<th:block layout:fragment="css">
<style>
.backslash {
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="0" x2="100%" y2="100%" stroke="gray" /></svg>');
}
.backslash { text-align: left; }
.backslash div { text-align: right; }
</style>
</th:block>
<div layout:fragment="content">
<main>
<input type="hidden" id="menuKey" th:value="${menuKey}">
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
<div class="row justify-content-between">
<div class="col-auto mb-2">
<div class="d-inline align-middle"><i class="bi bi-square-fill"></i></div>
<h5 class="d-inline align-middle"> 불법조업 외국어선 통계</h5>
</div>
<div class="col-auto"><p class="mb-0 mt-2">외사통계 > 불법조업 외국어선 > 불법조업 외국어선 통계</p></div>
</div>
<div class="row mx-0">
<div class="col-12 card bg-light">
<div class="card-body">
<ul class="nav nav-tabs" id="statisticsTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link" th:classappend="${searchParams.type eq 'type1'?'active':''}" id="type1Tab" data-bs-toggle="tab" type="button" role="tab">통계1</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" th:classappend="${searchParams.type eq 'type2'?'active':''}" id="type2Tab" data-bs-toggle="tab" type="button" role="tab">통계2</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" th:classappend="${searchParams.type eq 'type3'?'active':''}" id="type3Tab" data-bs-toggle="tab" type="button" role="tab">통계3</button>
</li>
</ul>
<div class="tab-content bg-white border border-top-0 p-2">
<div class="row">
<div class="col-12">
<table class="table table-sm table-hover table-bordered ws-nowrap">
<th:block th:if="${searchParams.type eq 'type1'}">
<colgroup>
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
</colgroup>
<thead class="align-middle text-center">
<tr class="table-secondary">
<th rowspan="2">연도</th>
<th rowspan="2">나포 척수<br>①+②</th>
<th colspan="4">배타적경제수역 ①</th>
<th rowspan="2">영해침범 ②</th>
<th rowspan="2">구속 / 불구속</th>
<th rowspan="2">담보금<br>(납부/부과)</th>
<th rowspan="2">몰수 / 폐선</th>
<th rowspan="2">공무집행방해<br>(건/척)</th>
<th rowspan="2">비고</th>
</tr>
<tr class="table-secondary">
<th>소계</th>
<th>무허가</th>
<th>특정금지<br><span class="fs-11">(무허가, 정선명령위반)</span></th>
<th>제한조건위반 등</th>
</tr>
</thead>
</th:block>
<th:block th:if="${searchParams.type eq 'type2'}">
<colgroup>
<col style="width: 10%">
<th:block th:each="num : ${#numbers.sequence(1,12)}">
<col style="width: 7.5%">
</th:block>
</colgroup>
<thead class="align-middle text-center">
<tr class="table-secondary">
<th class="backslash" rowspan="2"><div>경찰서</div>연도</th>
<th:block th:each="parent:${organConfigList}">
<th th:colspan="${#lists.size(parent.childList)}" th:text="${parent.organNm}"></th>
</th:block>
</tr>
<tr class="table-secondary">
<th:block th:each="parent:${organConfigList}">
<th:block th:each="child:${parent.childList}">
<th th:text="${child.organNm}"></th>
</th:block>
</th:block>
</tr>
</thead>
</th:block>
<th:block th:if="${searchParams.type eq 'type3'}">
</th:block>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
</html>