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

<div class="right-box with-menu uam-config-container">
    {$if .featureIsOn}
    <div class="uam-config-form">
        <div class="form-title">5秒盾防护配置</div>
        <form method="post" class="ui form" data-tea-action="$" data-tea-success="success" id="uamConfigForm">
            <input type="hidden" name="serverId" :value="serverId"/>
            <csrf-token></csrf-token>

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