<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <script th:replace="common/head"></script>
    </head>
    <body>
        <div class="layui-fluid">
            <div class="layui-card">
                <div class="layui-form layui-card-header layuiadmin-card-header-auto" style="padding:0;">

                    <div class="layui-card-body"  style="padding:0;">
                        <input type="hidden" name="type" th:value="${type}" />

                        <div style="padding-bottom: 10px;">
                            <button class="layui-btn layuiadmin-btn-admin" lay-submit lay-filter="add">新增</button>
                        </div>
                        <table id="data_table" lay-filter="data_table_event"></table>
                    </div>
                </div>
            </div>
        </div>
    </body>

    <!--操作-->
    <script type="text/html" id="table-operate">
        <a class="layui-btn layui-btn-xs" lay-event="edit">修改</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    </script>

    <!-- javascript -->
    <script type="text/javascript" th:src="@{'/layui/layui.js'}"></script>
    <script type="text/javascript">
        layui.config({
            base: '/' //静态资源所在路径
        });
    </script>
    <script type="text/javascript" th:src="@{'/js/ad/threshold-manage.js'}"></script>
</html>