{% extends "../main.html" %}
{% block title %}采集配置{% end %}
{% block content %}
<div class="container">
    <div class="col-md-offset-3">
        <div class="card">
            <div class="card-header">
                <h3>采集设置：</h3>
            </div>
            <div class="card-body">
                <form method="post" action="/acquisition_config">
                    {% module xsrf_form_html() %}
                    <div class="form-group row">
                        <label class="col-sm-3 col-form-label">采集时间</label>
                        <div class="col-sm-9">
                            <input id="event-start-time" name="acquisition_time" type="time" class="form-control" value="8:00">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 col-form-label">采集周期</label>
                        <div class="col-sm-9">
                            <select name="acquisition_cycle" class="form-control">
                                <option value="1" disabled selected>请选择</option>
                                {% for i in range(1,8) %}
                                    <option value="{{i}}">{{i}}  天</option>
                                {% end %}
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 col-form-label">采集数量</label>
                        <div class="col-sm-9">
                            <select name="acquisitions_num" class="form-control">
                                <option value="2" disabled selected>请选择</option>
                                {% for i in range(2,7) %}
                                    <option value="{{i}}">{{i}}  篇</option>
                                {% end %}
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 col-form-label">是否原创</label>
                        <div class="col-sm-9">
                            <label class="md-switch">
                                <input type="checkbox" name = "is_original" checked="">
                                <i class="blue"></i>是
                            </label>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-9 "></label>
                        <div class="col-sm-3">
                            <button type="submit" id="btn-save"
                            class="btn gd-primary text-white btn-rounded">提交</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
{% end %}