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

<div class="right-box with-menu">
    {$if .featureIsOn}
    <div v-if="hasGroupConfig">
        <div class="margin"></div>
        <warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置，在这里的配置将不会生效。</warning-message>
    </div>

    <div :class="{'opacity-mask': hasGroupConfig}">
        <div class="compression-config-container">
            <form class="ui form compression-config-form" id="compressionForm" data-tea-action="$" data-tea-success="success">
                <csrf-token></csrf-token>
                <input type="hidden" name="webId" :value="webId"/>
                
                <div class="form-title">内容压缩配置</div>
                
                <http-compression-config-box :v-compression-config="compressionConfig" @submit="submit"></http-compression-config-box>
            </form>
        </div>
    </div>
    {$else}
    <server-feature-required></server-feature-required>
    {$end}
</div>