{$layout}
{$template "menu_domain"}

<div class="http-config-container">
    <div class="config-section">
        <div class="section-title">
            <i class="icon heartbeat"></i>
            健康检查设置
        </div>

        <div class="config-item" style="margin-bottom: 0;">
            <div class="item-content">
                <div class="ui message warning" style="margin: 0 !important;" v-if="!canUpdate">
                    <i class="icon warning circle"></i>
                    当前用户没有权限修改健康检查设置，请检查用户所属套餐。
                </div>
            </div>
        </div>

        <form class="ui form http-config-form" style="padding:  1rem;" data-tea-action="$" data-tea-success="success">
            <csrf-token></csrf-token>
            <input type="hidden" name="domainId" :value="domainId" />
            <ns-records-health-check-config-box v-model="config"></ns-records-health-check-config-box>
            <submit-btn :class="{disabled: !canUpdate}"></submit-btn>
        </form>
    </div>
</div>