<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})"></head>

<body>
<div class="layui-form timo-compile">
    <form th:action="@{/sys/notify/receiver/save}">
        <div class="layui-form-item">
            <label class="layui-form-label required">通知类型</label>
            <div class="layui-input-inline">
                <select name="type">
                    <option value="webhook">webhook</option>
                    <option value="email">email</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">通知名字</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="name" placeholder="请输入通知名字" required>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">接收者地址</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="url" placeholder="请输入接收组者地址" required>
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>