2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 03:07:20 +08:00

fix: lint

This commit is contained in:
2026-01-24 19:05:41 +08:00
parent 3a50717972
commit 293ff47e99
2 changed files with 17 additions and 3 deletions

View File

@@ -81,6 +81,13 @@ const handleCopyRootPassword = () => {
<n-flex vertical>
<service-status service="mysqld" />
<n-card :title="$gettext('Root Password')">
<n-alert type="info" mb-4>
{{
$gettext(
'The "root" user password is used to manage the database system. Keep it safe!'
)
}}
</n-alert>
<n-flex>
<n-input-group>
<n-input v-model:value="rootPassword" type="password" show-password-on="click" />
@@ -89,7 +96,7 @@ const handleCopyRootPassword = () => {
</n-button>
</n-input-group>
<n-button type="primary" @click="handleSetRootPassword">
{{ $gettext('Save Changes') }}
{{ $gettext('Save') }}
</n-button>
</n-flex>
</n-card>

View File

@@ -79,7 +79,14 @@ const handleCopyPostgresPassword = () => {
<n-tab-pane name="status" :tab="$gettext('Running Status')">
<n-flex vertical>
<service-status service="postgresql" show-reload />
<n-card :title="$gettext('Postgres Password')">
<n-card :title="$gettext('Super Password')">
<n-alert type="info" mb-4>
{{
$gettext(
'The "postgres" superuser password is used to manage the database system. Keep it safe!'
)
}}
</n-alert>
<n-flex>
<n-input-group>
<n-input
@@ -92,7 +99,7 @@ const handleCopyPostgresPassword = () => {
</n-button>
</n-input-group>
<n-button type="primary" @click="handleSetPostgresPassword">
{{ $gettext('Save Changes') }}
{{ $gettext('Save') }}
</n-button>
</n-flex>
</n-card>