mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-25 03:26:34 +08:00
[区域]可以设置区域说明文字
This commit is contained in:
@@ -5,11 +5,17 @@
|
||||
<csrf-token></csrf-token>
|
||||
<table class="ui table definition selectable">
|
||||
<tr>
|
||||
<td>区域名称 *</td>
|
||||
<td class="title">区域名称 *</td>
|
||||
<td>
|
||||
<input type="text" name="name" maxlength="100" ref="focus"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>区域说明</td>
|
||||
<td>
|
||||
<textarea name="description" rows="3" maxlength="200"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
@@ -11,7 +11,8 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:3em"></th>
|
||||
<th>区域名称</th>
|
||||
<th class="width10">区域名称</th>
|
||||
<th>区域说明</th>
|
||||
<th class="width10 center">节点数</th>
|
||||
<th class="width10">区域状态</th>
|
||||
<th class="two op">操作</th>
|
||||
@@ -21,6 +22,10 @@
|
||||
<tr>
|
||||
<td style="text-align: center;"><i class="icon bars handle grey"></i> </td>
|
||||
<td :class="{disabled: !region.isOn}">{{region.name}}</td>
|
||||
<td>
|
||||
<span v-if="region.description.length > 0">{{region.description}}</span>
|
||||
<span v-else class="disabled">-</span>
|
||||
</td>
|
||||
<td class="center">{{region.countNodes}}</td>
|
||||
<td>
|
||||
<label-on :v-is-on="region.isOn"></label-on>
|
||||
|
||||
@@ -11,6 +11,12 @@
|
||||
<input type="text" name="name" maxlength="100" ref="focus" v-model="region.name"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>区域说明</td>
|
||||
<td>
|
||||
<textarea name="description" rows="3" v-model="region.description" maxlength="200"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><more-options-indicator></more-options-indicator></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user