{$layout}
{$template "../settings_menu"}
{$template "/left_menu_with_menu"}

<div class="right-box with-menu cc-config-container">
    {$if .featureIsOn}
    <div class="cc-config-form">
        <div class="form-title">CC无感防护配置</div>
        <form method="post" class="ui form" data-tea-action="$" data-tea-success="success" id="ccConfigForm">
            <input type="hidden" name="webId" :value="webId"/>
            <csrf-token></csrf-token>

            <http-cc-config-box :v-cc-config="ccConfig" @submit="submit"></http-cc-config-box>
        </form>
    </div>
    {$else}
    <div class="audit-message warning">
        <i class="icon exclamation triangle"></i>
        <div>尚未为当前用户开通此功能。</div>
    </div>
    {$end}
</div>