Skip to content

Commit

Permalink
style: 黑金主题样式优化 (#5360)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 authored Jun 8, 2024
1 parent 05c8370 commit 4285fed
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
2 changes: 0 additions & 2 deletions frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2218,8 +2218,6 @@ const message = {
extendHelper:
'Extensions that do not exist in the list can be selected after manual input, for example: input sockets, and then select the first one in the drop-down list,',
rebuildHelper: 'After editing the extension, you need to rebuild the PHP application to take effect',
phpPluginHelper:
'<a target="_blank" href="https://1panel.cn/docs/user_manual/websites/php/#php_1">View PHP extension list</a> ',
rebuild: 'Rebuild PHP App',
source: 'PHP extension source',
ustc: 'University of Science and Technology of China',
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/lang/modules/tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2061,8 +2061,6 @@ const message = {
edit: '編輯運行環境',
extendHelper: '列表中不存在的擴展可以手動輸入之後選擇:輸入 sockets然後在下拉列表中選擇第一個',
rebuildHelper: '編輯擴展後需要重建PHP 應用之後才能生效',
phpPluginHelper:
"<a target=“_blank” href='https://1panel.cn/docs/user_manual/websites/php/#php_1'>查看 PHP 擴展列表</a> ",
rebuild: '重 PHP 應用',
source: 'PHP 擴展源',
ustc: '中國科學技術大學',
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2062,8 +2062,6 @@ const message = {
edit: '编辑运行环境',
extendHelper: '列表中不存在的扩展可以手动输入之后选择:输入 sockets然后在下拉列表中选择第一个,',
rebuildHelper: '编辑扩展后需要重建PHP 应用之后才能生效',
phpPluginHelper:
"<a target=“_blank” href='https://1panel.cn/docs/user_manual/websites/php/#php_1'>查看 PHP 扩展列表</a> ",
rebuild: '重 PHP 应用',
source: 'PHP 扩展源',
ustc: '中国科学技术大学',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/app-store/installed/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
v-if="mode === 'installed' && installed.status != 'Installing'"
>
<el-button
class="app-button"
v-for="(button, key) in buttons"
:key="key"
:type="button.disabled && button.disabled(installed) ? 'info' : ''"
Expand Down
8 changes: 7 additions & 1 deletion frontend/src/views/website/runtime/php/create/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,13 @@
<el-form-item>
<el-alert type="info" :closable="false">
<span>{{ $t('runtime.extendHelper') }}</span>
<span v-html="$t('runtime.phpPluginHelper')"></span>
<el-link
target="_blank"
type="primary"
href="https://1panel.cn/docs/user_manual/websites/php/#php_1"
>
{{ $t('php.toExtensionsList') }}
</el-link>
<br />
</el-alert>
</el-form-item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
v-model="extensions.extensions"
/>
</el-form-item>
<a target="“_blank”" href="https://1panel.cn/docs/user_manual/websites/php/#php_1">
<el-link
target="_blank"
type="primary"
href="https://1panel.cn/docs/user_manual/websites/php/#php_1"
>
{{ $t('php.toExtensionsList') }}
</a>
</el-link>
</el-form>
</el-col>
</el-row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<el-form-item :label="$t('website.cacheTime')" prop="cacheTime" v-if="form.cache">
<el-input v-model.number="form.cacheTime" maxlength="15">
<template #append>
<el-select v-model="form.cacheUint" style="width: 100px">
<el-select v-model="form.cacheUint" class="w-s-button p-w-100">
<el-option
v-for="(unit, index) in Units"
:key="index"
Expand Down

0 comments on commit 4285fed

Please sign in to comment.