Initial commit (code only without large binaries)

This commit is contained in:
robin
2026-02-15 18:58:44 +08:00
commit 35df75498f
9442 changed files with 1495866 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<first-menu>
<menu-item href="/servers/groups">分组列表</menu-item>
<span class="item disabled">|</span>
<menu-item :href="'/servers/groups/group?groupId=' + group.id" code="group.index">"{{group.name}}"详情</menu-item>
<!--<menu-item :href="'/servers/groups/group/settings?groupId=' + group.id" :active="!firstMenuItem.startsWith('group.')">全局设置 &nbsp;<tip-icon content="这里添加的设置将会自动应用到当前分组下的所有服务。"></tip-icon></menu-item>-->
<menu-item :href="'/servers/groups/group/update?groupId=' + group.id" code="group.update">修改</menu-item>
</first-menu>

View File

@@ -0,0 +1,11 @@
{$layout}
{$template "menu"}
<table class="ui table definition selectable">
<tr>
<td class="title">分组名称</td>
<td>
{{group.name}}
</td>
</tr>
</table>

View File

@@ -0,0 +1,3 @@
Tea.context(function () {
this.checkDNS = false
})

View File

@@ -0,0 +1,15 @@
{$layout "layout"}
{$template "menu"}
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="groupId" :value="group.id"/>
<table class="ui table definition selectable">
<tr>
<td class="title">分组名称 *</td>
<td>
<input type="text" name="name" maxlength="50" ref="focus" v-model="group.name"/>
</td>
</tr>
</table>
<submit-btn></submit-btn>
</form>

View File

@@ -0,0 +1,5 @@
Tea.context(function () {
this.success = NotifySuccess("保存成功", ".", {
groupId: this.group.id
})
})