<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<%@ include file="/WEB-INF/jspf/common.jspf" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>其他管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv=X-UA-Compatible IE=EmulateIE7>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="${path}/static/js/html5shiv.min.js"></script>
    <script type="text/javascript" src="${path}/static/js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>
    <![endif]-->
    <script>
        var path = "${path}";
    </script>
    <style type="text/css">
        .mainDiv{
            background-color: #fff;
        }
        /**搜索区*/
        .searchDiv {
            padding-top: 10px;
            width:100%;
            height: 30px;
        }
        .dateSearchDiv{
            width:29%;
        }
        .dateSearchInput{
            width:30%;
            margin-left:5px;
        }
        .dateLabelDiv{
            width: 30%;
            text-align: right;
        }
        .searchInput{
            width:21%;
            margin-left: 5px;
            text-align: right;
        }
        .searchElement{
            width:40%;
        }
        .searchInputElement{
            width:60%;
        }
        .labelDiv{
            padding-top:4%;
            margin-left: 2%;
        }
        /**查询按钮组*/
        .btnsDiv{
            margin-top: 15px;
            height:35px;
            text-align: right;
            margin-right: 25px;
        }
        .btns{
            margin-left: 2%;
        }
        /**表格div*/
        .tableDiv{
            margin-left: 1%;
            margin-top: -15px;
        }
    </style>
</head>
<body>
    <div class="main">
        <div class="headDiv">
            <div class="headSpanDiv">
                <span class="headspan">
                    日志管理
                </span>
            </div>
        </div>
        <div class="mainDiv">
            <!-- tab标签 -->
            <%--<ul id="tab" class="nav nav-tabs">
                <li class="active">
                    <a href="#tab1" data-toggle="tab">
                        数据库备份
                    </a>
                </li>

                <li>
                    <a href="#tab2" data-toggle="tab">
                        日志管理
                    </a>
                </li>
                <li>
                    <a href="#tab3" data-toggle="tab">
                        通知管理
                    </a>
                </li>
            </ul>
            <!-- 每个tab页对应的内容 -->
            <div id="myTabContent" class="tab-content">
                <div class="tab-pane fade in active" id="tab1">
                    <p>数据库备份</p>
                </div>
                <div class="tab-pane fade" id="tab2">--%>
                    <div class="searchDiv">
                        <div class="searchInput left" style="margin-left: 10px;">
                            <div class="searchElement left">
                                <label class="labelDiv">日志主题：</label>
                            </div>
                            <div class="searchInputElement left">
                                <input type="text" class="form-control input-sm" id="logTitle">
                            </div>
                        </div>
                        <div class="searchInput left">
                            <div class="searchElement left">
                                <label class="labelDiv">日志内容：</label>
                            </div>
                            <div class="searchInputElement left">
                                <input type="text" class="form-control input-sm" id="logContent">
                            </div>
                        </div>
                        <div class="searchInput left">
                            <div class="searchElement left">
                                <label class="labelDiv">操作人：</label>
                            </div>
                            <div class="searchInputElement left">
                                <input type="text" class="form-control input-sm" id="creater">
                            </div>
                        </div>
                        <div class="dateSearchDiv left">
                            <div class="dateLabelDiv left">
                                <label class="labelDiv">操作时间：</label>
                            </div>
                            <div class="dateSearchInput left">
                                <input type="text" class="form-control input-sm" id="startTime1" placeholder="开始时间" autocomplete="off">
                            </div>
                            <div class="dateSearchInput left">
                                <input type="text" class="form-control input-sm" id="endTime1" placeholder="结束时间" autocomplete="off">
                            </div>
                        </div>
                        <div class="left">
                            <button type="button" class="btn btn-sm btn-primary" onclick="refreshTable()">查询</button>
                        </div>
                    </div>
                    <div class="btnsDiv">
                        <shiro:hasPermission name="/otherManage/exportExcel">
                            <button type="button" class="btn btn-sm btn-primary btns" onclick="exportExcel()"><i class="fa fa-reply"></i>导出</button>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="/otherManage/deleteLogByIds">
                            <button type="button" class="btn btn-sm btn-danger btns" onclick="deleteLogByIds()">批量删除</button>
                        </shiro:hasPermission>
                    </div>
                    <!--数据表格-->
                    <div id="tableDiv" class="tableDiv">
                        <input type="hidden" id="checks">
                        <table id="mytab" class="table text-nowrap table-bordered">
                        </table>
                    </div>
                </div>
              <%--  <div class="tab-pane fade" id="tab3">
                    <p>通知管理</p>
                </div>
            </div>--%>
        </div>
    </div>
<script type="text/javascript" src="${path}/static/js/otherManage/backupDatabase.js?t=4"></script>
<script type="text/javascript" src="${path}/static/js/dateUtil.js"></script>
</body>
</html>
