mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-09 01:50:06 +08:00
0d084861e0
#### What this PR does / why we need it? #### Summary of your change #### Please indicate you've done the following: - [ ] Made sure tests are passing and test coverage is added if needed. - [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/). - [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
48 lines
1.0 KiB
Vue
48 lines
1.0 KiB
Vue
<template>
|
|
<div>
|
|
<RouterButton :buttons="buttons" />
|
|
<LayoutContent>
|
|
<router-view></router-view>
|
|
</LayoutContent>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import i18n from '@/lang';
|
|
|
|
const buttons = [
|
|
{
|
|
label: i18n.global.t('container.container'),
|
|
path: '/containers/container',
|
|
},
|
|
{
|
|
label: i18n.global.t('container.compose'),
|
|
path: '/containers/compose',
|
|
},
|
|
{
|
|
label: i18n.global.t('container.image'),
|
|
path: '/containers/image',
|
|
},
|
|
{
|
|
label: i18n.global.t('container.network'),
|
|
path: '/containers/network',
|
|
},
|
|
{
|
|
label: i18n.global.t('container.volume'),
|
|
path: '/containers/volume',
|
|
},
|
|
{
|
|
label: i18n.global.t('container.repo'),
|
|
path: '/containers/repo',
|
|
},
|
|
{
|
|
label: i18n.global.t('container.composeTemplate'),
|
|
path: '/containers/template',
|
|
},
|
|
{
|
|
label: i18n.global.t('container.setting'),
|
|
path: '/containers/setting',
|
|
},
|
|
];
|
|
</script>
|