2020-08-21 12:32:16 +08:00
|
|
|
{$layout}
|
|
|
|
|
|
2020-09-06 16:19:34 +08:00
|
|
|
{$template "/left_menu"}
|
2020-08-21 12:32:16 +08:00
|
|
|
|
|
|
|
|
<div class="right-box">
|
2020-09-21 19:51:50 +08:00
|
|
|
{$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 op">操作</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tr v-for="location in locations">
|
|
|
|
|
<td>{{location.pattern}}</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>
|
2020-08-21 12:32:16 +08:00
|
|
|
</div>
|