mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-01-07 04:25:49 +08:00
29 lines
749 B
HTML
29 lines
749 B
HTML
{$layout}
|
|
|
|
{$template "/left_menu"}
|
|
|
|
<div class="right-box">
|
|
{$template "menu"}
|
|
|
|
<p class="comment" v-if="locations.length == 0">暂时还没有路径规则。</p>
|
|
|
|
<table class="ui table selectable" v-if="locations.length > 0">
|
|
<thead>
|
|
<tr>
|
|
<th>匹配规则</th>
|
|
<th class="two wide">状态</th>
|
|
<th class="two op">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tr v-for="location in locations">
|
|
<td>{{location.pattern}}</td>
|
|
<td>
|
|
<label-on :v-is-on="location.isOn"></label-on>
|
|
</td>
|
|
<td>
|
|
<a :href="'/servers/server/settings/locations/location?serverId=' + serverId + '&locationId=' + location.id">详情</a>
|
|
<a href="" @click.prevent="deleteLocation(location.id)">删除</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div> |