<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title>工作日志管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
	function day(){
		openDialog("日报"+'${title}',"${ctx}/work/report/workReport/form?type=1","${width==null?'80%':width}", "${height==null?'80%':height}","${target}");
	}
	function week(){
		openDialog("周报"+'${title}',"${ctx}/work/report/workReport/form?type=2","${width==null?'80%':width}", "${height==null?'80%':height}","${target}");
	}
	function month(){
		openDialog("月报"+'${title}',"${ctx}/work/report/workReport/form?type=3","${width==null?'80%':width}", "${height==null?'80%':height}","${target}");
	}

</script>
</head>
<body class="hideScroll">
	<div style="height: 100px;  text-align: center; line-height: 100px">
    <button class="btn btn-white btn-sm" data-toggle="tooltip" data-placement="left" onclick="day()" title="添加日报"><i class="fa "></i> ${label==null?'日报':label}</button>
	<br>
	<button class="btn btn-white btn-sm" data-toggle="tooltip" data-placement="left" onclick="week()" title="添加周报"><i class="fa "></i> ${label==null?'周报':label}</button>
	<br>
	<button class="btn btn-white btn-sm" data-toggle="tooltip" data-placement="left" onclick="month()" title="添加月报"><i class="fa "></i> ${label==null?'月报':label}</button>
	</div>
</body>
</html>