<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">爬虫线程数: </label>
                            <div class="col-sm-8">
                                    <label class="radio-inline" > <input th:field="*{property.threadCount}"
                                                                         type="radio" name="threadCount" th:value="1" />单线程
                                    </label>
                                    <label class="radio-inline" > <input th:field="*{property.threadCount}"
                                                                         type="radio" name="threadCount" th:value="3" />3线程
                                    </label>
                                    <label class="radio-inline" > <input th:field="*{property.threadCount}"
                                                                         type="radio" name="threadCount" th:value="7" />7线程
                                    </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">爬取优先级：</label>
                            <div class="col-sm-8">
                                <div class="col-sm-8">
                                    <label class="radio-inline" > <input th:field="*{property.priority}"
                                                                         type="radio" name="priority" th:value="1" />评分优先
                                    </label>
                                    <label class="radio-inline" > <input th:field="*{property.priority}"
                                                                         type="radio" name="priority" th:value="2" />更新时间优先
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">小说最低评分：</label>
                            <div class="col-sm-8">
                                <input id="lowestScore" name="lowestScore" class="form-control"
                                       th:value="${property.lowestScore}"
                                       type="number" max="10" min="0">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">小说最小更新时间：</label>
                            <div class="col-sm-8">
                                <input type="text" class="laydate-icon layer-date form-control" id="minUptTime" name="minUptTime" th:value="${property.minUptTime}==null?null:${#dates.format(property.minUptTime,'yyyy-MM-dd')}" placeholder="请选择小说最小更新时间"
                                       onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="background-color: #fff;" readonly="readonly"/>
                            </div>
                        </div>
                       <!-- <div class="form-group">
                            <label class="col-sm-3 control-label">爬取最大条数：</label>
                            <div class="col-sm-8">
                                <input id="maxNumber" name="maxNumber" class="form-control"
                                       th:value="${property.maxNumber}"
                                       type="number" max="100000" min="1">
                            </div>
                        </div>-->
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/books/bookCrawl/edit.js">
</script>
</body>
</html>
