<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="../language.jsp" %>

<div class="easyui-panel" style="padding:5px" fit="true" border="none">



<div class="easyui-layout" style="width:auto" fit="true">

<div id="reportMain" region="center" id="reportView_center" title="<fmt:message key="label.report.statisticsDetails" />" style="padding:10px;text-align:center">

<c:if test="${empty requestScope.htmlReport}">

<h1><fmt:message key="title.report.noReportData" /></h1>

</c:if>

<c:if test="${not empty requestScope.htmlReport}">
${requestScope.htmlReport}
</c:if>

</div>
		
<div region="east"   title="<fmt:message key="label.report.toolsItems" />" split="true" style="width:150px;padding:10px">

<c:if test="${not empty requestScope.htmlReport}">
<a class="easyui-linkbutton" plain="true" href="report!exportReport.action?format=pdf&fileName=${fileName}" target="_blank"><fmt:message key="label.report.exportPDF" /></a>
<br>
<a class="easyui-linkbutton" plain="true" href="../pages/report!exportHTML.action?fileName=${fileName}" target="_blank"><fmt:message key="label.report.exportHTML" /></a>
<br>
<a class="easyui-linkbutton" plain="true" href="report!exportReport.action?format=xls&fileName=${fileName}" target="_blank"><fmt:message key="label.report.exportXLS" /></a>
<br>
<a class="easyui-linkbutton" plain="true" href="report!exportReport.action?format=csv&fileName=${fileName}" target="_blank"><fmt:message key="label.report.exportCSV" /></a>
<br>
</c:if>



</div>		

</div>




</div>


