mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-10 00:00:26 +08:00
创建集群时自动创建缓存策略和WAF策略/优化界面
This commit is contained in:
@@ -10,17 +10,17 @@
|
||||
<td><input type="text" name="name" maxlength="50" ref="focus"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>默认缓存设置 *</td>
|
||||
<td>默认缓存设置</td>
|
||||
<td>
|
||||
<http-cache-policy-selector></http-cache-policy-selector>
|
||||
<p class="comment">此全局设置不会强制应用到每个网站服务。</p>
|
||||
<p class="comment">为可选项。集群中的网站服务可以自行设置是否启用此设置。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>默认WAF设置 *</td>
|
||||
<td>默认WAF设置</td>
|
||||
<td>
|
||||
<http-firewall-policy-selector></http-firewall-policy-selector>
|
||||
<p class="comment">此全局设置不会强制应用到每个网站服务。</p>
|
||||
<p class="comment">为可选项。集群中的网站服务可以自行设置是否启用此设置。</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
Tea.context(function () {
|
||||
this.success = NotifySuccess("保存成功", "/clusters")
|
||||
this.success = function (resp) {
|
||||
teaweb.success("集群创建成功", function () {
|
||||
window.location = "/clusters/cluster/nodes?clusterId=" + resp.data.clusterId
|
||||
} )
|
||||
}
|
||||
})
|
||||
@@ -30,7 +30,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tr v-for="grant in grants">
|
||||
<td><a :href="'/clusters/grants/grant?grantId=' + grant.id">{{grant.name}}</a></td>
|
||||
<td><a :href="'/clusters/grants/grant?grantId=' + grant.id"><keyword :v-word="keyword">{{grant.name}}</keyword></a></td>
|
||||
<td>
|
||||
<span class="ui label tiny basic">{{grant.method.name}}</span>
|
||||
</td>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<table class="ui table selectable small definition celled">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:7em">区域\范围</th>
|
||||
<th style="width: 7em; border-left: 1px solid rgba(34,36,38,.15); border-top: 1px solid rgba(34,36,38,.15)">区域\范围</th>
|
||||
<th v-for="item in items" class="center">
|
||||
{{item.name}}
|
||||
<br/>
|
||||
|
||||
Reference in New Issue
Block a user