<!--{include file="<!--{$oapath}-->public/ins_home.tpl"}-->
<div id="wrapper" >
			<div id="home-wrapper" >
				<div class="wrapper wrapper-content">					
                                    <block name="content">
	<div class="row" id="sortable-view">
		<div class="col-sm-6 ui-sortable" id="t1">
			<div class="ibox" sort="11">
				<div class="ibox-title">
					<h5>公告</h5>
					<div class="ibox-tools">
						<ul class="nav nav-tabs" id="myTab">
							<li class="active">
								<a data-toggle="tab" href="#mail-new">公告列表</a>
							</li>
							<!--<li>
								<a data-toggle="tab" href="#mail-unread">未读</a>
							</li>-->
						</ul>
					</div>
				</div>
				<div class="ibox-content">
					<div class="tab-content">
						<div id="mail-new" class="tab-pane in active ul_table">
							<ul>
                                                           <!--{foreach $notice_list as  $key=>$vo}-->
							
									<li>
										<span class="pull-right hidden-xs"><!--{$vo.time|date_format:"%Y-%m-%d"}--></span>
										<span  class="auto autocut"> <a onclick="read(<!--{$vo.id}-->);" ><!--{$vo.title}--></a> </span>
									</li>
							 <!--{/foreach}-->
							</ul>
						</div>
						<!--<div id="mail-unread" class="tab-pane ul_table">
							<ul>
								<volist name="unread_mail_list" id="vo">
									<li>
										<span class="pull-right hidden-xs">{$vo.create_time|to_date='Y-m-d '}</span>
										<span  class="auto autocut"> <a href="{:U('mail/read','id='.$vo['id'])}&return_url=Mail/folder?fid=inbox" node="85" return_url="{:U('mail/folder/','fid=inbox')}" onclick="click_home_list(this)">{$vo.name|default="无标题"}</a> </span>
									</li>
								</volist>
							</ul>
						</div>-->   
					</div>
				</div>
			</div>
			<div class="ibox" sort="12">
				<div class="ibox-title">
					<h5>待办</h5>
				</div>
				<div class="ibox-content">
					<div class="ul_table widget-main">
						<ul>
							  <!--{foreach $todo_list as  $key=>$vo}-->
									<li>
										<li>
										<span class="pull-right hidden-xs"><!--{$vo.create_time|date_format:"%Y-%m-%d"}--></span>
										<span  class="auto autocut"> <a href="oa.php?c=Todo&a=edit&id=<!--{$vo.id}-->" ><!--{$vo.name}--></a> </span>
									</li>
									</li>
								 <!--{/foreach}-->
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="col-sm-6 ui-sortable" id="t2">
			<div class="ibox" sort="21">
				<div class="ibox-title">
					<h5>任务</h5>
					<div class="ibox-tools">
						<ul class="nav nav-tabs" id="myTab">
							<li class="active">
								<a data-toggle="tab" href="#flow-todo">我未完成</a>
							</li>
							<li>
								<a data-toggle="tab" href="#flow-submit">待接任务</a>
							</li>
						</ul>
					</div>
				</div>
				<div class="ibox-content">
					<div class="tab-content">
						<div id="flow-todo" class="tab-pane in active ul_table">
							<ul>
								  <!--{foreach $not_tasklist as  $key=>$vo}-->
									<li>
										<li>
										<span class="pull-right hidden-xs"><!--{$vo.create_time|date_format:"%Y-%m-%d"}--></span>
										<span  class="auto autocut"> <a href="oa.php?c=Task&a=read&id=<!--{$vo.id}-->" ><!--{$vo.name}--></a> </span>
									</li>
									</li>
								 <!--{/foreach}-->
							</ul>
						</div>
						<div id="flow-submit" class="tab-pane ul_table">
							<ul>
								 <!--{foreach $dai_tasklist as  $key=>$vo}-->
									<li>
										<li>
										<span class="pull-right hidden-xs"><!--{$vo.create_time|date_format:"%Y-%m-%d"}--></span>
										<span  class="auto autocut"> <a href="oa.php?c=Task&a=read&id=<!--{$vo.id}-->" ><!--{$vo.name}--></a> </span>
									</li>
									</li>
								 <!--{/foreach}-->
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="ibox" sort="22">
				<div class="ibox-title">
					<h5>日程</h5>
					<div class="ibox-tools">
						<ul class="nav nav-tabs" id="myTab">
						
							<li class="active">
								<a data-toggle="tab" href="#calendar-schedule">日程</a>
							</li>
						</ul>
					</div>
				</div>
				<div class="ibox-content">
					<div class="tab-content">
						
						<div id="calendar-todo" class=" ul_table active tab-pane">
							<ul>
								<!--{foreach $data_list as  $key=>$vo}-->
									<li>
										<li>
										<span class="pull-right hidden-xs"><!--{$vo.start_time}-->--<!--{$vo.end_time}--></span>
										<span  class="auto autocut"> <a href="oa.php?c=Schedule&a=edit&id=<!--{$vo.id}-->" ><!--{$vo.name}--></a> </span>
									</li>
									</li>
								 <!--{/foreach}-->
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</block>
					
				</div>
			</div>
		</div>
		<!--<iframe src="{:U('push/client')}" class="push" id="push"></iframe>-->
		<!-- Mainly scripts -->
		<script src="<!--{$oapath}-->Ins/js/jquery-2.1.1.js"></script>
		<script src="<!--{$oapath}-->Ins/js/bootstrap.min.js"></script>
		<script src="<!--{$oapath}-->Ins/js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="<!--{$oapath}-->Ins/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		<!-- Custom and plugin javascript -->
		<script src="<!--{$oapath}-->Ins/js/inspinia.js"></script>
		<script src="<!--{$oapath}-->Ins/js/common.js"></script>
		<script src="<!--{$oapath}-->Ins/js/plugins/pace/pace.min.js"></script>
		  <script type="text/javascript" src="<!--{$oapath}-->Ins/js/layer/layer.js"></script>
		<include file="Layout:ins_plugin_js"/>
       <block name="js">
	<script type="text/javascript">
	

	
                function read(id) {
                    var url="oa.php?a=notice&id="+id;
				layer.open({
					type: 2,
					title: '公告详情',
					skin: 'layui-layer-lan',
					shadeClose: true,
					shade: 0.8,
					area: ['30%', '40%'],
					content: url,

				});
			
		};
	</script>
</block>
	</body>
</html>
