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,27 @@
{$layout}
{$template "/left_menu"}
<div class="right-box">
{$if eq .canSpecifyPort false}
<p class="ui message warning">根据系统管理员设定,你不能修改此网站的端口信息。</p>
{$end}
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="serverId" :value="serverId"/>
<input type="hidden" name="serverType" :value="serverType"/>
<table class="ui table selectable definition">
<tr>
<td class="title">绑定端口 *</td>
<td>
<div v-show="canSpecifyPort">
<network-addresses-box :v-server-type="serverType" :v-addresses="tcpConfig.listen" :v-protocol="'tcp'"></network-addresses-box>
</div>
<div v-show="!canSpecifyPort" v-if="tcpConfig.listen != null">
<span v-for="listen in tcpConfig.listen" class="ui basic small label">tcp://*:{{listen.portRange}}</span>
</div>
</td>
</tr>
</table>
<submit-btn></submit-btn>
</form>
</div>

View File

@@ -0,0 +1,3 @@
Tea.context(function () {
this.success = NotifyReloadSuccess("保存成功")
})