调整目录结构

This commit is contained in:
刘祥超
2020-11-27 15:18:32 +08:00
parent e3eeee146b
commit 534a3f77f8
42 changed files with 56 additions and 199 deletions

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "policy_menu"}
<h3>选择集群</h3>
@@ -30,5 +28,4 @@
</tr>
</table>
<submit-btn v-if="!isRequesting">提交</submit-btn>
</form>
</div>
</form>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
<second-menu>
<menu-item href="/servers/components/cache" code="index">列表</menu-item>
<span class="item">|</span>
@@ -35,5 +33,4 @@
</tr>
</table>
<div class="page" v-html="page"></div>
</div>
<div class="page" v-html="page"></div>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "policy_menu"}
<table class="ui table definition selectable">
@@ -66,5 +64,4 @@
</td>
</tr>
</tbody>
</table>
</div>
</table>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "policy_menu"}
<h3>选择集群</h3>
@@ -34,5 +32,4 @@
</tr>
</table>
<submit-btn v-if="!isRequesting">提交</submit-btn>
</form>
</div>
</form>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "policy_menu"}
<h3>选择集群</h3>
@@ -36,5 +34,4 @@
</tr>
</table>
<submit-btn v-if="!isRequesting">提交</submit-btn>
</form>
</div>
</form>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "policy_menu"}
<h3>选择集群</h3>
@@ -30,5 +28,4 @@
</tr>
</table>
<submit-btn v-if="!isRequesting">提交</submit-btn>
</form>
</div>
</form>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "policy_menu"}
<h3>选择集群</h3>
@@ -69,5 +67,4 @@
</tr>
</table>
<submit-btn v-if="!isRequestingRead">提交</submit-btn>
</form>
</div>
</form>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "policy_menu"}
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
@@ -75,5 +73,4 @@
</tbody>
</table>
<submit-btn></submit-btn>
</form>
</div>
</form>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
<first-menu>
<menu-item href="/servers/components/groups" active="true">列表</menu-item>
<span class="item">|</span>
@@ -36,5 +34,4 @@
</table>
</div>
<p v-if="groups.length > 0" class="comment">可以拖动左侧的<i class="icon bars"></i>排序。</p>
</div>
<p v-if="groups.length > 0" class="comment">可以拖动左侧的<i class="icon bars"></i>排序。</p>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="globalConfigJSON" :value="JSON.stringify(globalConfig)"/>
<h4 style="margin-top:0.5em">域名相关配置</h4>
@@ -53,5 +51,3 @@
</table>
<submit-btn>保存</submit-btn>
</form>
</div>

View File

@@ -1,8 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "waf_menu"}
<p class="ui message">此功能暂未开放,敬请期待。</p>
</div>
<p class="ui message">此功能暂未开放,敬请期待。</p>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "waf_menu"}
<h3>分组<a href="" @click.prevent="updateGroup(group.id)">[修改]</a></h3>
@@ -65,5 +63,4 @@
</tbody>
</table>
<p class="comment" v-if="group.sets != null && group.sets.length > 1">所有规则匹配顺序为从上到下,可以拖动左侧的<i class="icon bars"></i>排序。</p>
</div>
<p class="comment" v-if="group.sets != null && group.sets.length > 1">所有规则匹配顺序为从上到下,可以拖动左侧的<i class="icon bars"></i>排序。</p>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "waf_menu"}
<second-menu style="margin-top:-1em">
@@ -43,5 +41,4 @@
</tbody>
</table>
<p class="comment" v-if="groups.length > 0">所有规则匹配顺序为从上到下,可以拖动左侧的<i class="icon bars"></i>排序。</p>
</div>
<p class="comment" v-if="groups.length > 0">所有规则匹配顺序为从上到下,可以拖动左侧的<i class="icon bars"></i>排序。</p>

View File

@@ -1,8 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "waf_menu"}
<p class="ui message">此功能暂未开放,敬请期待。</p>
</div>
<p class="ui message">此功能暂未开放,敬请期待。</p>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
<second-menu>
<menu-item href="/servers/components/waf" code="index">列表</menu-item>
<span class="item">|</span>
@@ -34,5 +32,4 @@
</tr>
</table>
<div class="page" v-html="page"></div>
</div>
<div class="page" v-html="page"></div>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "../waf_menu"}
{$template "menu"}
@@ -49,5 +47,4 @@
</tr>
</table>
<submit-btn></submit-btn>
</form>
</div>
</form>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "../waf_menu"}
{$template "menu"}
@@ -33,5 +31,4 @@
</tr>
</table>
<div class="page" v-html="page"></div>
</div>
<div class="page" v-html="page"></div>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "../waf_menu"}
{$template "menu"}
@@ -35,5 +33,4 @@
</tr>
</table>
<submit-btn></submit-btn>
</form>
</div>
</form>

View File

@@ -9,9 +9,7 @@
<link rel="stylesheet" href="/js/pikaday.triangle.css"/>
{$end}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "waf_menu"}
<form method="get" class="ui form small" :action="path" autocomplete="off">
@@ -51,5 +49,4 @@
<span class="disabled">&nbsp; | &nbsp;</span>
<a :href="path + '?requestId=' + nextRequestId + '&day=' + day + '&firewallPolicyId=' + firewallPolicyId + '&groupId=' + groupId" v-if="hasMore">下一页</a>
<span v-else class="disabled">下一页</span>
</div>
</div>
</div>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "waf_menu"}
<table class="ui table definition selectable">
@@ -54,5 +52,4 @@
<tr v-for="server in servers">
<td>{{server.name}}<link-icon :href="'/servers/server?serverId=' + server.id"></link-icon></td>
</tr>
</table>
</div>
</table>

View File

@@ -1,8 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "waf_menu"}
<p class="ui message">此功能暂未开放,敬请期待。</p>
</div>
<p class="ui message">此功能暂未开放,敬请期待。</p>

View File

@@ -1,7 +1,5 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
{$template "waf_menu"}
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
@@ -52,5 +50,4 @@
</tbody>
</table>
<submit-btn></submit-btn>
</form>
</div>
</form>

View File

@@ -1,9 +1,7 @@
{$layout}
{$template "/left_menu_top"}
<div class="right-box without-tabbar">
<first-menu>
<menu-item v-for="type in types" :href="'/servers/components/ip-library?type=' + type.code" :active="type.code == selectedType">{{type.name}}</menu-item>
<menu-item v-for="type in types" :href="'/settings/ip-library?type=' + type.code" :active="type.code == selectedType">{{type.name}}</menu-item>
<span class="item">|</span>
<a href="" class="item" @click.prevent="upload()">[上传]</a>
</first-menu>
@@ -31,9 +29,8 @@
</td>
<td>{{library.createdTime}}</td>
<td>
<a :href="'/servers/components/ip-library/download?libraryId=' + library.id" target="_blank">下载</a> &nbsp; <a href="" @click.prevent="deleteLibrary(library.id)">删除</a>
<a :href="'/settings/ip-library/download?libraryId=' + library.id" target="_blank">下载</a> &nbsp; <a href="" @click.prevent="deleteLibrary(library.id)">删除</a>
</td>
</tr>
</table>
</div>
</div>
</div>

View File

@@ -1,6 +1,6 @@
Tea.context(function () {
this.upload = function () {
teaweb.popup("/servers/components/ip-library/uploadPopup", {
teaweb.popup("/settings/ip-library/uploadPopup", {
callback: function () {
teaweb.success("上传成功", function () {
teaweb.reload()