<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('推送详情')"/>
    <th:block th:include="include :: select2-css"/>
    <th:block th:include="include :: datetimepicker-css"/>
    <th:block th:include="include :: bootstrap-fileinput-css"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-post-add">
        <div class="form-group">
            <label class="col-sm-2 control-label">消息类型</label>
            <div class="col-sm-10">
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="2" name="messageType" disabled="" th:checked="${UpushDetailsListDao.messageType==2 ? true : false}"> 系统消息
                    </label>
                </div>
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="1" name="messageType" disabled="" th:checked="${UpushDetailsListDao.messageType==1 ? true : false}"> 会员消息
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">设备类型</label>
            <div class="col-sm-10">
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="1" name="pushRange" disabled="" th:checked="${UpushDetailsListDao.pushRange==1 ? true : false}"> 全部
                    </label>
                </div>
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="2" name="pushRange" disabled="" th:checked="${UpushDetailsListDao.pushRange==2 ? true : false}"> IOS
                    </label>
                </div>
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="3" name="pushRange" disabled="" th:checked="${UpushDetailsListDao.pushRange==3 ? true : false}"> Android
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label is-required">请选择跳转类型</label>
            <div class="col-sm-5">
                <input class="form-control" type="text" disabled th:value="${UpushDetailsListDao.jumpName}">
            </div>
            <div class="col-sm-5">
                <input class="form-control" type="text" disabled th:value="${UpushDetailsListDao.jumpValue + UpushDetailsListDao.jumpContent}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">推送范围</label>
            <div class="col-sm-10">
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="2" name="specifyType" disabled="" th:checked="${UpushDetailsListDao.specifyType==2 ? true : false}"> 全部用户
                    </label>
                </div>
                <!--<div class="radio check-box">
                    <label>
                        <input type="radio" value="1" name="specifyType"> 指定手机号
                    </label>
                </div>-->
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">排版方式</label>
            <div class="col-sm-10">
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="2" name="messageShowType" disabled="" th:checked="${UpushDetailsListDao.messageShowType==2 ? true : false}"> 文本消息
                    </label>
                </div>
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="1" name="messageShowType" disabled="" th:checked="${UpushDetailsListDao.messageShowType==1 ? true : false}"> 图文消息
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label is-required">推送标题：</label>
            <div class="col-sm-10">
                <input class="form-control" type="text" name="pushTitle" id="pushTitle" disabled th:value="${UpushDetailsListDao.pushTitle}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-2 control-label">推送内容：</label>
            <div class="col-xs-10">
                <textarea name="pushContent" maxlength="500" class="form-control" rows="3" disabled th:text="${UpushDetailsListDao.pushTitle}"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-2 control-label">推送图片：</label>
            <img alt="" th:src="${UpushDetailsListDao.img}">
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">是否发送通知</label>
            <div class="col-sm-10">
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="2" name="isPush" disabled="" th:checked="${UpushDetailsListDao.isPush==2 ? true : false}"> 不发送
                    </label>
                </div>
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="1" name="isPush" disabled="" th:checked="${UpushDetailsListDao.isPush==1 ? true : false}"> 发送
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">推送方式</label>
            <div class="col-sm-6">
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="2" name="sendType" disabled="" th:checked="${UpushDetailsListDao.sendType==2 ? true : false}"> 立即推送
                    </label>
                </div>
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="1" name="sendType" disabled="" th:checked="${UpushDetailsListDao.sendType==1 ? true : false}"> 定时推送
                    </label>
                </div>
            </div>
            <div class="col-sm-4">
                <div class="input-daterange input-group">
                    <input name="pushTime" type="text" class="input-sm form-control" id="laydate-startTime" th:value="${UpushDetailsListDao.pushTime}" placeholder="yyyy-MM-dd HH:mm:ss"/>
                </div>
            </div>
        </div>

    </form>
</div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: select2-js"/>
<th:block th:include="include :: datetimepicker-js"/>
<th:block th:include="include :: bootstrap-fileinput-js"/>
<th:block th:include="include :: bootstrap-suggest-js"/>
</body>
</html>
