-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GuoHao
authored
Jun 16, 2024
1 parent
95fa5e9
commit 0b388aa
Showing
15 changed files
with
232 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
- 完善多语言翻译 #548 | ||
- 添加匹配移除条目剧集附件绑定 #554 | ||
- JWT令牌认证支持 #560 | ||
- 后台添加关于页展示应用信息 #552 | ||
|
||
## 插件 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 10 additions & 1 deletion
11
console/src/modules/content/subject/SubjectRelationPostDialog.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
<script setup lang="ts"> | ||
import {apiClient} from '@/utils/api-client'; | ||
import {formatDate} from '@/utils/date'; | ||
import {ElDescriptionsItem, ElDescriptions, ElImage} from 'element-plus'; | ||
import {onMounted, ref} from 'vue'; | ||
const actuatorInfo = ref(); | ||
const fetchActuatorInfo = async () => { | ||
const {data} = await apiClient.actuator.info(); | ||
actuatorInfo.value = data; | ||
}; | ||
const airTimeDateFormatter = (time) => { | ||
// console.log('row', row); | ||
return formatDate(new Date(time), 'yyyy-MM-dd'); | ||
}; | ||
onMounted(fetchActuatorInfo); | ||
</script> | ||
<template> | ||
<!-- Basic --> | ||
<el-descriptions | ||
class="margin-top" | ||
title="Basic" | ||
:column="3" | ||
size="large" | ||
border | ||
> | ||
<!-- git --> | ||
<el-descriptions-item> | ||
<template #label> Git Branch</template> | ||
{{ actuatorInfo?.git.branch }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> Git Commit</template> | ||
{{ actuatorInfo?.git.commit.id }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> Commit Time</template> | ||
|
||
{{ airTimeDateFormatter(actuatorInfo?.git.commit.time) }} | ||
</el-descriptions-item> | ||
|
||
<!-- build --> | ||
<el-descriptions-item> | ||
<template #label> Build Version</template> | ||
{{ actuatorInfo?.build.version }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> Build Name</template> | ||
{{ actuatorInfo?.build.name }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> Build Time</template> | ||
{{ airTimeDateFormatter(actuatorInfo?.build.time) }} | ||
</el-descriptions-item> | ||
|
||
<!-- os --> | ||
<el-descriptions-item> | ||
<template #label> OS Name</template> | ||
{{ actuatorInfo?.os.name }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> OS Version</template> | ||
{{ actuatorInfo?.os.version }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> OS Arch</template> | ||
{{ actuatorInfo?.os.arch }} | ||
</el-descriptions-item> | ||
</el-descriptions> | ||
|
||
<br/> | ||
|
||
<!-- Jave --> | ||
<el-descriptions | ||
class="margin-top" | ||
title="Java" | ||
:column="3" | ||
size="large" | ||
border | ||
> | ||
<!-- version --> | ||
<el-descriptions-item> | ||
<template #label> Java Version</template> | ||
{{ actuatorInfo?.java.version }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> Vendor Name</template> | ||
{{ actuatorInfo?.java.vendor.name }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> Vendor Version</template> | ||
{{ actuatorInfo?.java.vendor.version }} | ||
</el-descriptions-item> | ||
|
||
<!-- runtime --> | ||
<el-descriptions-item> | ||
<template #label> Runtime Name</template> | ||
{{ actuatorInfo?.java.runtime.name }} | ||
</el-descriptions-item> | ||
<el-descriptions-item :span="2"> | ||
<template #label> Runtime Version</template> | ||
{{ actuatorInfo?.java.runtime.version }} | ||
</el-descriptions-item> | ||
|
||
<!-- jvm --> | ||
<el-descriptions-item> | ||
<template #label> JVM Name</template> | ||
{{ actuatorInfo?.java.jvm.name }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> JVM Vendor</template> | ||
{{ actuatorInfo?.java.jvm.vendor }} | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> JVM Version</template> | ||
{{ actuatorInfo?.java.jvm.version }} | ||
</el-descriptions-item> | ||
</el-descriptions> | ||
|
||
<br/> | ||
|
||
<!-- Introduce --> | ||
<el-descriptions | ||
class="margin-top" | ||
title="Ikaros Project" | ||
:column="1" | ||
size="large" | ||
direction="vertical" | ||
border | ||
> | ||
<el-descriptions-item> | ||
<template #label> Offical</template> | ||
<a href="https://ikaros.run" target="_blank">https://ikaros.run</a> | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> GitHub</template> | ||
<a href="https://github.com/ikaros-dev/ikaros" target="_blank" | ||
>https://github.com/ikaros-dev/ikaros</a | ||
> | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> Contributors</template> | ||
<el-image | ||
style="width: 100%; height: 100%" | ||
src="https://contrib.nn.ci/api?repo=ikaros-dev/ikaros&repo=ikaros-dev/docs&repo=ikaros-dev/app" | ||
fit="fill" | ||
/> | ||
</el-descriptions-item> | ||
<el-descriptions-item> | ||
<template #label> Status</template> | ||
<el-image | ||
style="width: 100%; height: 100%" | ||
src="https://repobeats.axiom.co/api/embed/f7285853048ff09f313f6483901e2af0e638f666.svg" | ||
fit="fill" | ||
/> | ||
</el-descriptions-item> | ||
</el-descriptions> | ||
</template> | ||
<style lang="scss" scoped></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import {definePlugin} from '@runikaros/shared'; | ||
import {markRaw} from 'vue'; | ||
import {Ship} from '@element-plus/icons-vue'; | ||
import About from './About.vue'; | ||
|
||
export default definePlugin({ | ||
name: 'SystemAbout', | ||
components: {}, | ||
routes: [ | ||
{ | ||
parentName: 'Root', | ||
route: { | ||
path: '/about', | ||
name: 'About', | ||
component: About, | ||
meta: { | ||
title: 'module.about.title', | ||
menu: { | ||
name: 'module.about.sidebar', | ||
group: 'system', | ||
icon: markRaw(Ship), | ||
priority: 0, | ||
}, | ||
}, | ||
}, | ||
}, | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ export function setupAuthCheckGuard(router: Router) { | |
next(); | ||
return; | ||
} | ||
|
||
|
||
next({ | ||
name: 'Login', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.