mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-15 20:56:35 +08:00
阶段性提交
This commit is contained in:
21
web/views/@default/nodes/ipAddresses/createPopup.html
Normal file
21
web/views/@default/nodes/ipAddresses/createPopup.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{$layout "layout_popup"}
|
||||
|
||||
<h3>添加IP地址</h3>
|
||||
|
||||
<form class="ui form" data-tea-action="$" data-tea-success="success">
|
||||
<table class="ui table definition selectable">
|
||||
<tr>
|
||||
<td>IP地址 *</td>
|
||||
<td>
|
||||
<input type="text" name="ip" maxlength="128" ref="focus"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="title">简介</td>
|
||||
<td>
|
||||
<input type="text" name="name" maxlength="50"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
3
web/views/@default/nodes/ipAddresses/createPopup.js
Normal file
3
web/views/@default/nodes/ipAddresses/createPopup.js
Normal file
@@ -0,0 +1,3 @@
|
||||
Tea.context(function (){
|
||||
this.success = NotifyPopup;
|
||||
});
|
||||
22
web/views/@default/nodes/ipAddresses/updatePopup.html
Normal file
22
web/views/@default/nodes/ipAddresses/updatePopup.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{$layout "layout_popup"}
|
||||
|
||||
<h3>修改IP地址</h3>
|
||||
|
||||
<form class="ui form" data-tea-action="$" data-tea-success="success">
|
||||
<input type="hidden" name="addressId" :value="address.id"/>
|
||||
<table class="ui table definition selectable">
|
||||
<tr>
|
||||
<td>IP地址 *</td>
|
||||
<td>
|
||||
<input type="text" name="ip" maxlength="128" ref="focus" v-model="address.ip"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="title">简介</td>
|
||||
<td>
|
||||
<input type="text" name="name" maxlength="50" v-model="address.name"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
3
web/views/@default/nodes/ipAddresses/updatePopup.js
Normal file
3
web/views/@default/nodes/ipAddresses/updatePopup.js
Normal file
@@ -0,0 +1,3 @@
|
||||
Tea.context(function (){
|
||||
this.success = NotifyPopup;
|
||||
});
|
||||
Reference in New Issue
Block a user