<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>인텐트항목별통계</title>
<%@ include file="/WEB-INF/jsp/adm/include/topLinkTag.jsp"%>
</head>

<script type="text/javascript">
	$(document).ready(function () {
		$("#testTb1").dataTable({
			"autoWidth": true,
			"paging": false,
			"pagingType": "full_numbers",
			"ordering": true,
			"info": false,
			"filter": false,
			"lengthChange": true,
			"dom": 'rt<"bottom"fip><"clear">',
			"scrollY": "calc(100vh - 440px)",
		});

		$("#testTb2").dataTable({
			"autoWidth": true,
			"paging": false,
			"pagingType": "full_numbers",
			"ordering": true,
			"info": false,
			"filter": false,
			"lengthChange": true,
			"dom": 'rt<"bottom"fip><"clear">',
			"scrollY": 500,
		});
	});
</script>

<body>

	<h1>ICOMSYS ADMIN</h1>
	<h1>대시보드</h1>
	<div class="skip_navigation">
		<ul>
			<li>
				<a href="#Content" class="go_content">본문 바로가기</a>
			</li>
			<li>
				<a href="#Gnb">메뉴 바로가기</a>
			</li>
		</ul>
	</div>

	<header id="header">
		<%@ include file="/WEB-INF/jsp/adm/include/header.jsp"%>
	</header>
	<c:import url="/adm/menu/getLnbMenu.do" />

	<script type="text/javascript" src="<c:url value='/aajs/statisticsIntentItem.js' />"></script>

	<h1>DASH BOARD</h1>

	<section id="Content" class="bot_common">
		<div class="location">
			<ul>
				<li class="home"><a href="#">HOME</a></li>
				<li><a href="#">통계</a></li>
				<li><a href="#">인텐트통계</a></li>
				<li><a href="#">항목별 통계</a></li>
			</ul>
		</div>

		<!-- TODO: 래부터 신규 컨텐츠 마크업 입니다. -->
		<div class="sub_cont">
			<div class="cont_box">
				<div class="box_title">
					<div class="fl">
						<h2 class="mt12">항목별 인텐트 통계</h2>
					</div>
					<div class="btn_wrap fr">
						<a href="javascript:StatisticsIntentItem.getStatisticsIntentItem();" class="btn">조회</a>
					</div>
				</div>
				<div class="tbl position-rel">
					<table class="search block">
						<colgroup>
							<col width="120px">
							<col width="180px">
							<col width="90px">
							<col width="400px">
							<col width="130px">
							<col width="180px">
							<col width="100px">
							<col width="80px">
						</colgroup>
						<tbody>
						<tr>
							<th class="tl">시나리오 그룹</th>
							<td>
								<div class="sel_box">
									<select class="wide" id="oprMngCode">

									</select>
								</div>
							</td>
							<th class="tl">통화일자</th>
							<td>
								<div class="input-grid-flex">
									<div class="datetimepicker_box">
										<div class='input-group date datetimepicker_from'>
											<input id="dataFrom" type='text' class="form-control" readonly />
											<span for="dataFrom" class="input-group-addon">
                                                    <span class="glyphicon glyphicon-calendar calender_ico"></span>
                                                </span>
										</div>
										<span class="form_bridge">~</span>
										<div class='input-group date datetimepicker_to'>
											<input id="dataTo" type='text' class="form-control" readonly />
											<span for="dataTo" class="input-group-addon">
                                                    <span class="glyphicon glyphicon-calendar calender_ico"></span>
                                                </span>
										</div>
									</div>
									<div class="rdo_box type-toggle">
										<input type="radio" name="radio_ipt" id="rdo02" class="" checked onclick="javascript:StatisticsIntentItem.setCurrentDate();">
										<label for="rdo02">오늘</label>
										<input type="radio" name="radio_ipt" id="rdo01" class="" onclick="javascript:StatisticsIntentItem.setWeekDate();">
										<label for="rdo01">일주일</label>
									</div>
								</div>
							</td>
							<th class="tl">분류</th>
							<td>
								<div class="sel_box">
									<select class="wide" id="intentGroupCode">

									</select>
								</div>
							</td>
							<th class="tl">인텐트 명</th>
							<td>
								<a href="#" class="moreOpenBtn"><b>+</b> 0개</a>
							</td>
						</tr>
						</tbody>
					</table>
					<div class="moreContOption">
						<div class="option-grid" id="intentChkbox">

						</div>
					</div>
					<script>
						$(document).ready(function () {
							$('.moreOpenBtn').on('click', function (e) {
								e.preventDefault()
								$('.moreContOption').toggle();
							})
						})

					</script>
				</div>
			</div>

			<div class="cont_box mb0">
				<div class="box_title">
					<div class="fl">
						<h2 class="mt12">통계 리스트</h2>
					</div>
					<div class="btn_wrap fr">
						<a href="#" class="btn excel" onclick="javascript:StatisticsIntentItem.excelDownload();">다운로드</a>
					</div>
				</div>
				<div class="tbl">
					<table id="testTb1" class="click">
						<colgroup>
							<col width="12.5%">
							<col width="12.5%">
							<col width="12.5%">
							<col width="12.5%">
							<col width="12.5%">
							<col width="12.5%">
							<col width="12.5%">
							<col width="12.5%">
						</colgroup>
						<thead>
						<tr>
							<th>시나리오 그룹</th>
							<th>분류</th>
							<th>인텐트 명</th>
							<th>인텐트 분류 전체 건수</th>
							<th>인텐트 분류 성공 건수</th>
							<th>인텐트 분류 실패 건수</th>
							<th>인텐트 분류 성공률</th>
							<th>평균 의도추론율</th>
						</tr>
						</thead>
						<tbody id="dataArea">

						</tbody>
						<tfoot>
							<tr>
								<th class="tr"></th>
								<th class="bd-l-none">전체</th>
								<th class="bd-l-none"></th>
								<th></th>
								<th></th>
								<th></th>
								<th></th>
								<th></th>
							</tr>
							<tr>
								<th class="tr"></th>
								<th class="bd-l-none">평균</th>
								<th class="bd-l-none"></th>
								<th></th>
								<th></th>
								<th></th>
								<th></th>
								<th></th>
							</tr>
						</tfoot>
					</table>
				</div>
			</div>
		</div>

	</section>
</body>
</html>
