优化创建网站服务界面

This commit is contained in:
刘祥超
2023-03-22 17:52:22 +08:00
parent c83598a4f9
commit bfd5517c6c
6 changed files with 25 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ Vue.component("server-name-box", {
},
updateServerName: function (index, serverName) {
window.UPDATING_SERVER_NAME = serverName
window.UPDATING_SERVER_NAME = teaweb.clone(serverName)
let that = this
teaweb.popup("/servers/addServerNamePopup", {
callback: function (resp) {

View File

@@ -7,7 +7,7 @@
<input type="hidden" name="selectedCertIds" :value="selectedCertIds"/>
<div class="ui fields inline">
<div class="ui field">
<input type="text" name="keyword" v-model="keyword" placeholder="域名、说明文字等"/>
<input type="text" name="keyword" v-model="keyword" placeholder="域名、说明文字等" size="30"/>
</div>
<div class="ui field">
<button class="ui button" type="submit">搜索</button> &nbsp;

View File

@@ -1,3 +1,6 @@
.tables-box .table-box {
margin-top: 0;
}
.label em {
font-style: italic !important;
}
@@ -10,12 +13,14 @@
.tables-box {
width: 1024px;
}
.tables-box .table-box {
width: 48%;
.tables-box .table-box.left {
width: 55%;
float: left;
}
.tables-box .table-box.right {
margin-left: 1em;
width: 40%;
float: left;
margin-left: 2em;
opacity: 0.3;
}
.tables-box .table-box.right:hover {

View File

@@ -1 +1 @@
{"version":3,"sources":["create.less"],"names":[],"mappings":"AAAA,MAAO;EACN,6BAAA;;AAGD,WACC;EACC,WAAA;EACA,kBAAA;EACA,iBAAA;;AAIF,mBAAsC;EACrC;IACC,aAAA;;EADD,WAGC;IACC,UAAA;IACA,WAAA;;EALF,WAQC,WAAU;IACT,gBAAA;IACA,YAAA;;EAVF,WAaC,WAAU,MAAM;IACf,UAAA","file":"create.css"}
{"version":3,"sources":["create.less"],"names":[],"mappings":"AAAA,WACC;EACC,aAAA;;AAIF,MAAO;EACN,6BAAA;;AAGD,WACC;EACC,WAAA;EACA,kBAAA;EACA,iBAAA;;AAIF,mBAAsC;EACrC;IACC,aAAA;;EADD,WAGC,WAAU;IACT,UAAA;IACA,WAAA;;EALF,WAQC,WAAU;IACT,UAAA;IACA,WAAA;IACA,gBAAA;IACA,YAAA;;EAZF,WAeC,WAAU,MAAM;IACf,UAAA","file":"create.css"}

View File

@@ -1,11 +1,10 @@
{$layout}
{$template "menu"}
<div class="margin"></div>
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success" data-tea-fail="fail">
<div class="tables-box">
<div class="table-box">
<div class="table-box left">
<h3>新网站服务主要信息:</h3>
<table class="ui table selectable definition">
<tr v-show="hasUsers">
<td>所属用户<optional-label></optional-label></td>
@@ -87,7 +86,7 @@
</div>
<div class="table-box right">
<h3>次要信息</h3>
<h3>次要信息</h3>
<table class="ui table selectable definition">
<tr>
<td class="title">服务类型</td>

View File

@@ -1,3 +1,9 @@
.tables-box {
.table-box {
margin-top: 0;
}
}
.label em {
font-style: italic !important;
}
@@ -14,13 +20,15 @@
.tables-box {
width: 1024px;
.table-box {
width: 48%;
.table-box.left {
width: 55%;
float: left;
}
.table-box.right {
margin-left: 1em;
width: 40%;
float: left;
margin-left: 2em;
opacity: 0.3;
}