mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-10 15:36:45 +08:00
feat: Add some prompts. (#8800)
This commit is contained in:
parent
61ef754a1d
commit
9cf3db8d81
10 changed files with 32 additions and 0 deletions
|
@ -3387,6 +3387,7 @@ const message = {
|
|||
nodes: 'Nodes',
|
||||
selectNode: 'Select Node',
|
||||
selectNodeError: 'Please select a node',
|
||||
licenseHelper: 'The Pro version supports the custom application repository feature',
|
||||
},
|
||||
alert: {
|
||||
isAlert: 'Alert',
|
||||
|
|
|
@ -3243,6 +3243,7 @@ const message = {
|
|||
nodes: 'ノードを選択',
|
||||
selectNode: 'ノードを選択',
|
||||
selectNodeError: 'ノードを選択してください',
|
||||
licenseHelper: 'プロバージョンはカスタムアプリケーションリポジトリ機能をサポートしています',
|
||||
},
|
||||
alert: {
|
||||
isAlert: 'アラート',
|
||||
|
|
|
@ -3188,6 +3188,7 @@ const message = {
|
|||
nodes: '노드 선택',
|
||||
selectNode: '노드 선택',
|
||||
selectNodeError: '노드를 선택하세요',
|
||||
licenseHelper: '프로 버전은 사용자 정의 애플리케이션 저장소 기능을 지원합니다',
|
||||
},
|
||||
alert: {
|
||||
isAlert: '알림',
|
||||
|
|
|
@ -3316,6 +3316,7 @@ const message = {
|
|||
nodes: 'Pilih Node',
|
||||
selectNode: 'Pilih Node',
|
||||
selectNodeError: 'Sila pilih node',
|
||||
licenseHelper: 'Versi Pro menyokong fungsi gudang aplikasi tersuai',
|
||||
},
|
||||
alert: {
|
||||
isAlert: 'Amaran',
|
||||
|
|
|
@ -3321,6 +3321,7 @@ const message = {
|
|||
nodes: 'Selecionar Nós',
|
||||
selectNode: 'Selecionar Node',
|
||||
selectNodeError: 'Por favor, selecione um nó',
|
||||
licenseHelper: 'A versão Pro suporta o recurso de repositório de aplicativos personalizados',
|
||||
},
|
||||
alert: {
|
||||
isAlert: 'Alerta',
|
||||
|
|
|
@ -3308,6 +3308,7 @@ const message = {
|
|||
nodes: 'Выбрать узлы',
|
||||
selectNode: 'Выбрать узел',
|
||||
selectNodeError: 'Пожалуйста, выберите узел',
|
||||
licenseHelper: 'Профессиональная версия поддерживает функцию пользовательского репозитория приложений',
|
||||
},
|
||||
alert: {
|
||||
isAlert: 'Оповещение',
|
||||
|
|
|
@ -3139,6 +3139,7 @@ const message = {
|
|||
nodes: '節點',
|
||||
selectNode: '選擇節點',
|
||||
selectNodeError: '請選擇節點',
|
||||
licenseHelper: '專業版支持自定義應用倉庫功能',
|
||||
},
|
||||
alert: {
|
||||
isAlert: '是否告警',
|
||||
|
|
|
@ -3120,6 +3120,7 @@ const message = {
|
|||
nodes: '节点',
|
||||
selectNode: '选择节点',
|
||||
selectNodeError: '请选择节点',
|
||||
licenseHelper: '专业版支持自定义应用仓库功能',
|
||||
},
|
||||
alert: {
|
||||
isAlert: '是否告警',
|
||||
|
|
|
@ -40,11 +40,18 @@
|
|||
/>
|
||||
</el-form-item>
|
||||
<CustomSetting v-if="globalStore.isProductPro" />
|
||||
<span class="input-help logText" v-else>
|
||||
{{ $t('xpack.customApp.licenseHelper') }}
|
||||
<el-link class="link" @click="toUpload" type="primary">
|
||||
{{ $t('license.levelUpPro') }}
|
||||
</el-link>
|
||||
</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
</template>
|
||||
</LayoutContent>
|
||||
<LicenseImport ref="licenseRef" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
@ -76,6 +83,7 @@ const loading = ref(false);
|
|||
const configForm = ref();
|
||||
const useCustomApp = ref(false);
|
||||
const isInitializing = ref(true);
|
||||
const licenseRef = ref();
|
||||
|
||||
const search = async () => {
|
||||
loading.value = true;
|
||||
|
@ -94,6 +102,10 @@ const search = async () => {
|
|||
}
|
||||
};
|
||||
|
||||
const toUpload = () => {
|
||||
licenseRef.value.acceptParams();
|
||||
};
|
||||
|
||||
const getNodeConfig = async () => {
|
||||
if (globalStore.isMasterProductPro) {
|
||||
return;
|
||||
|
@ -128,3 +140,14 @@ onMounted(() => {
|
|||
getNodeConfig();
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="css" scoped>
|
||||
.logText {
|
||||
line-height: 22px;
|
||||
font-size: 12px;
|
||||
.link {
|
||||
font-size: 12px !important;
|
||||
margin-top: -3px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<li>{{ $t('setting.proxyHelper5') }}</li>
|
||||
<li>{{ $t('setting.proxyHelper2') }}</li>
|
||||
<li>{{ $t('setting.proxyHelper4') }}</li>
|
||||
<li>{{ $t('setting.proxyHelper6') }}</li>
|
||||
<li>{{ $t('setting.proxyHelper3') }}</li>
|
||||
</ul>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Reference in a new issue