1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

style: 修改网站目录提示信息 (#688)

This commit is contained in:
zhengkunwang223 2023-04-18 16:02:58 +08:00 committed by GitHub
parent cb151dc985
commit 9c52977825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 31 deletions

View File

@ -16,6 +16,7 @@
</el-form-item> </el-form-item>
<el-form-item :label="$t('database.serviceName')" prop="serviceName"> <el-form-item :label="$t('database.serviceName')" prop="serviceName">
<el-tag>{{ form.serviceName }}</el-tag> <el-tag>{{ form.serviceName }}</el-tag>
<el-button @click="copy(form.serviceName)" icon="DocumentCopy" link></el-button>
<span class="input-help">{{ $t('database.serviceNameHelper') }}</span> <span class="input-help">{{ $t('database.serviceNameHelper') }}</span>
</el-form-item> </el-form-item>
<el-form-item :label="$t('database.containerConn')"> <el-form-item :label="$t('database.containerConn')">

View File

@ -16,6 +16,7 @@
</el-form-item> </el-form-item>
<el-form-item :label="$t('database.serviceName')" prop="serviceName"> <el-form-item :label="$t('database.serviceName')" prop="serviceName">
<el-tag>{{ form.serviceName }}</el-tag> <el-tag>{{ form.serviceName }}</el-tag>
<el-button @click="copy(form.serviceName)" icon="DocumentCopy" link></el-button>
<span class="input-help">{{ $t('database.serviceNameHelper') }}</span> <span class="input-help">{{ $t('database.serviceNameHelper') }}</span>
</el-form-item> </el-form-item>
<el-form-item :label="$t('database.containerConn')"> <el-form-item :label="$t('database.containerConn')">

View File

@ -12,21 +12,7 @@
</el-button> </el-button>
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<br /> <div v-if="configDir">
<el-alert :closable="false">
<template #default>
<span class="warnHelper">{{ $t('website.runUserHelper') }}</span>
</template>
</el-alert>
<br />
<el-descriptions :title="$t('website.folderTitle')" :column="1" border>
<el-descriptions-item label="waf">{{ $t('website.wafFolder') }}</el-descriptions-item>
<el-descriptions-item label="ssl">{{ $t('website.sslFolder') }}</el-descriptions-item>
<el-descriptions-item label="log">{{ $t('website.logFoler') }}</el-descriptions-item>
<el-descriptions-item label="index">{{ $t('website.indexFolder') }}</el-descriptions-item>
</el-descriptions>
</el-col>
<el-col :span="14" :offset="1" v-if="configDir">
<br /> <br />
<el-form :inline="true" ref="siteForm" :model="update"> <el-form :inline="true" ref="siteForm" :model="update">
<el-form-item :label="$t('website.runDir')" prop="runDir"> <el-form-item :label="$t('website.runDir')" prop="runDir">
@ -41,7 +27,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="submit(siteForm)">{{ $t('nginx.saveAndReload') }}</el-button> <el-button type="primary" @click="submit(siteForm)">
{{ $t('nginx.saveAndReload') }}
</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form-item> <el-form-item>
@ -51,6 +39,20 @@
</template> </template>
</el-alert> </el-alert>
</el-form-item> </el-form-item>
</div>
<br />
<el-descriptions :title="$t('website.folderTitle')" :column="1" border>
<el-descriptions-item label="waf">{{ $t('website.wafFolder') }}</el-descriptions-item>
<el-descriptions-item label="ssl">{{ $t('website.sslFolder') }}</el-descriptions-item>
<el-descriptions-item label="log">{{ $t('website.logFoler') }}</el-descriptions-item>
<el-descriptions-item label="index">{{ $t('website.indexFolder') }}</el-descriptions-item>
</el-descriptions>
<br />
<el-alert :closable="false">
<template #default>
<span class="warnHelper">{{ $t('website.runUserHelper') }}</span>
</template>
</el-alert>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>