mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-01-06 20:15:48 +08:00
实现Web静态文件分发
This commit is contained in:
@@ -37,7 +37,10 @@
|
||||
width: 4px;
|
||||
}
|
||||
.left-box.disabled {
|
||||
opacity: 0.3;
|
||||
opacity: 0.1;
|
||||
}
|
||||
.left-box.disabled:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
.left-box.tiny {
|
||||
top: 10.5em;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -49,7 +49,11 @@
|
||||
}
|
||||
|
||||
.left-box.disabled {
|
||||
opacity: 0.3;
|
||||
opacity: 0.1;
|
||||
}
|
||||
|
||||
.left-box.disabled:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
.left-box.tiny {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{$layout}
|
||||
|
||||
{$template "/left_menu"}
|
||||
|
||||
<div class="right-box">
|
||||
@@ -8,15 +7,8 @@
|
||||
|
||||
<div class="right-box tiny">
|
||||
<form class="ui form" data-tea-success="success" data-tea-action="$">
|
||||
<input type="hidden" name="webId" :value="webConfig.id"/>
|
||||
<table class="ui table selectable definition">
|
||||
<tr>
|
||||
<td class="title">Web目录</td>
|
||||
<td>
|
||||
<input type="text" name="root" v-model="webConfig.root" ref="focus"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="webId" :value="webId"/>
|
||||
<http-web-root-box :v-root-config="rootConfig" :v-is-location="true"></http-web-root-box>
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{$layout "layout_popup"}
|
||||
<h3>添加首页文件</h3>
|
||||
<form class="ui form" data-tea-action="$" data-tea-success="success">
|
||||
<table class="ui table selectable definition">
|
||||
<tr>
|
||||
<td>首页文件名 *</td>
|
||||
<td><input type="text" name="index" maxlength="200" ref="focus"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
@@ -0,0 +1,3 @@
|
||||
Tea.context(function () {
|
||||
this.success = NotifyPopup
|
||||
})
|
||||
@@ -4,16 +4,8 @@
|
||||
|
||||
<div class="right-box">
|
||||
<form class="ui form" data-tea-success="success" data-tea-action="$">
|
||||
<input type="hidden" name="serverId" :value="serverId"/>
|
||||
<input type="hidden" name="webId" :value="webConfig.id"/>
|
||||
<table class="ui table selectable definition">
|
||||
<tr>
|
||||
<td class="title">Web目录</td>
|
||||
<td>
|
||||
<input type="text" name="root" v-model="webConfig.root" ref="focus"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="webId" :value="webId"/>
|
||||
<http-web-root-box :v-root-config="rootConfig"></http-web-root-box>
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user