单个服务里也增加国家/地区、省份封禁

This commit is contained in:
GoEdgeLab
2021-02-02 16:23:23 +08:00
parent 21570f4e42
commit 0fc9b99bf9
10 changed files with 210 additions and 11 deletions

View File

@@ -1,7 +1,13 @@
{$layout}
{$template "/left_menu"}
{$template "../waf_menu"}
{$template "menu"}
<div class="right-box">
{$template "../menu"}
<div class="ui message warning" v-if="!featureIsOn">尚未为当前用户开通此功能。</div>
{$ if .featureIsOn}
<p class="ui message warning" v-if="!wafIsOn">当前WAF未启用设置将在<a :href="'/servers/server/settings/waf?serverId=' + serverId">[启用]</a>后生效。</p>
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="firewallPolicyId" :value="firewallPolicyId"/>
@@ -43,4 +49,6 @@
</tr>
</table>
<submit-btn></submit-btn>
</form>
</form>
{$end}
</div>