mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-01-05 06:34:07 +08:00
style: Optimize page styles. (#8436)
This commit is contained in:
parent
c29c00f4b7
commit
0d857d2f0c
15 changed files with 31 additions and 30 deletions
|
|
@ -77,7 +77,7 @@
|
|||
</template>
|
||||
<template #main>
|
||||
<div>
|
||||
<MainDiv :heightDiff="350">
|
||||
<MainDiv :heightDiff="300">
|
||||
<el-alert type="info" :title="$t('app.appHelper')" :closable="false" />
|
||||
<el-row :gutter="5">
|
||||
<el-col
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
</template>
|
||||
<template #main>
|
||||
<div>
|
||||
<MainDiv :heightDiff="mode === 'upgrade' ? 320 : 350">
|
||||
<MainDiv :heightDiff="mode === 'upgrade' ? 270 : 300">
|
||||
<el-alert
|
||||
type="info"
|
||||
:title="$t('app.upgradeHelper')"
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@
|
|||
:data="data"
|
||||
@search="search"
|
||||
@sort-change="changeSort"
|
||||
:heightDiff="350"
|
||||
:heightDiff="300"
|
||||
>
|
||||
<el-table-column type="selection" width="30" />
|
||||
<el-table-column
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
@sort-change="changeSort"
|
||||
@filter-change="changeFilter"
|
||||
ref="tableRef"
|
||||
:heightDiff="300"
|
||||
:heightDiff="220"
|
||||
>
|
||||
<el-table-column :label="$t('commons.table.type')" fix prop="type"></el-table-column>
|
||||
<el-table-column :label="'PID'" fix prop="PID" max-width="60px" sortable></el-table-column>
|
||||
|
|
|
|||
|
|
@ -37,42 +37,43 @@
|
|||
@sort-change="changeSort"
|
||||
@filter-change="changeFilter"
|
||||
ref="tableRef"
|
||||
:heightDiff="300"
|
||||
:heightDiff="220"
|
||||
>
|
||||
<el-table-column :label="'PID'" fix prop="PID" max-width="60px" sortable></el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('commons.table.name')"
|
||||
fix
|
||||
prop="name"
|
||||
min-width="120px"
|
||||
></el-table-column>
|
||||
<el-table-column :label="'PID'" prop="PID" max-width="60px" sortable></el-table-column>
|
||||
<el-table-column :label="$t('commons.table.name')" prop="name" min-width="120px"></el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('process.ppid')"
|
||||
min-width="120px"
|
||||
fix
|
||||
max-width="60px"
|
||||
prop="PPID"
|
||||
sortable
|
||||
></el-table-column>
|
||||
<el-table-column :label="$t('process.numThreads')" fix prop="numThreads"></el-table-column>
|
||||
<el-table-column :label="$t('commons.table.user')" fix prop="username"></el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('process.numThreads')"
|
||||
max-width="60px"
|
||||
prop="numThreads"
|
||||
></el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('commons.table.user')"
|
||||
max-width="60px"
|
||||
prop="username"
|
||||
></el-table-column>
|
||||
<el-table-column
|
||||
:label="'CPU'"
|
||||
fix
|
||||
max-width="60px"
|
||||
prop="cpuValue"
|
||||
:formatter="cpuFormatter"
|
||||
sortable
|
||||
></el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('process.memory')"
|
||||
fix
|
||||
max-width="60px"
|
||||
prop="rssValue"
|
||||
:formatter="memFormatter"
|
||||
sortable
|
||||
></el-table-column>
|
||||
<el-table-column :label="$t('process.numConnections')" fix prop="numConnections"></el-table-column>
|
||||
<el-table-column :label="$t('process.numConnections')" prop="numConnections"></el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('commons.table.status')"
|
||||
fix
|
||||
prop="status"
|
||||
column-key="status"
|
||||
:filters="[
|
||||
|
|
@ -93,7 +94,6 @@
|
|||
</el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('process.startTime')"
|
||||
fix
|
||||
prop="startTime"
|
||||
min-width="140px"
|
||||
></el-table-column>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<LayoutContent>
|
||||
<template #main>
|
||||
<MainDiv :heightDiff="3200">
|
||||
<MainDiv :heightDiff="320">
|
||||
<el-radio-group v-model="confShowType" @change="changeMode">
|
||||
<el-radio-button value="base">{{ $t('database.baseConf') }}</el-radio-button>
|
||||
<el-radio-button value="all">{{ $t('database.allConf') }}</el-radio-button>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<TableSetting title="dotnet-runtime-refresh" @search="search()" />
|
||||
</template>
|
||||
<template #main>
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()">
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="260">
|
||||
<el-table-column
|
||||
:label="$t('commons.table.name')"
|
||||
fix
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<TableSetting title="go-runtime-refresh" @search="search()" />
|
||||
</template>
|
||||
<template #main>
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="350">
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="260">
|
||||
<el-table-column
|
||||
:label="$t('commons.table.name')"
|
||||
fix
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<TableSetting title="java-runtime-refresh" @search="search()" />
|
||||
</template>
|
||||
<template #main>
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="350">
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="260">
|
||||
<el-table-column
|
||||
:label="$t('commons.table.name')"
|
||||
fix
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<TableSetting title="node-runtime-refresh" @search="search()" />
|
||||
</template>
|
||||
<template #main>
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="350">
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="260">
|
||||
<el-table-column
|
||||
:label="$t('commons.table.name')"
|
||||
fix
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<TableSetting title="php-runtime-refresh" @search="search()" />
|
||||
</template>
|
||||
<template #main>
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="350">
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="260">
|
||||
<el-table-column
|
||||
:label="$t('commons.table.name')"
|
||||
fix
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<TableSetting title="python-runtime-refresh" @search="search()" />
|
||||
</template>
|
||||
<template #main>
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="350">
|
||||
<ComplexTable :pagination-config="paginationConfig" :data="items" @search="search()" :heightDiff="260">
|
||||
<el-table-column
|
||||
:label="$t('commons.table.name')"
|
||||
fix
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
v-loading="loading"
|
||||
:columns="columns"
|
||||
localKey="sslColumn"
|
||||
:height-diff="260"
|
||||
>
|
||||
<el-table-column type="selection" width="30" />
|
||||
<el-table-column
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
</el-button>
|
||||
</template>
|
||||
<template #main>
|
||||
<MainDiv :heightDiff="320">
|
||||
<MainDiv :heightDiff="260">
|
||||
<Basic :website="website" v-if="index === 'basic'" :heightDiff="320"></Basic>
|
||||
<Log :id="id" v-if="index === 'log'"></Log>
|
||||
<Resource :id="id" v-if="index === 'resource'"></Resource>
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
@sort-change="changeSort"
|
||||
@search="search()"
|
||||
:class="{ mask: nginxStatus != 'Running' }"
|
||||
:heightDiff="370"
|
||||
:heightDiff="310"
|
||||
:columns="columns"
|
||||
localKey="websiteColumn"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue