mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-07 15:14:36 +08:00
feat: s3 备份账号图标更改
This commit is contained in:
parent
c0a0c4f121
commit
255fabe06d
12 changed files with 40 additions and 38 deletions
|
@ -18,8 +18,8 @@ func (s *CronjobRouter) InitCronjobRouter(Router *gin.RouterGroup) {
|
||||||
withRecordRouter.POST("/del", baseApi.DeleteCronjob)
|
withRecordRouter.POST("/del", baseApi.DeleteCronjob)
|
||||||
withRecordRouter.PUT(":id", baseApi.UpdateCronjob)
|
withRecordRouter.PUT(":id", baseApi.UpdateCronjob)
|
||||||
withRecordRouter.POST("/status", baseApi.UpdateCronjobStatus)
|
withRecordRouter.POST("/status", baseApi.UpdateCronjobStatus)
|
||||||
withRecordRouter.POST("/download", baseApi.TargetDownload)
|
cmdRouter.POST("/handle/:id", baseApi.HandleOnce)
|
||||||
withRecordRouter.POST("/handle/:id", baseApi.HandleOnce)
|
cmdRouter.POST("/download", baseApi.TargetDownload)
|
||||||
cmdRouter.POST("/search", baseApi.SearchCronjob)
|
cmdRouter.POST("/search", baseApi.SearchCronjob)
|
||||||
cmdRouter.POST("/search/records", baseApi.SearchJobRecords)
|
cmdRouter.POST("/search/records", baseApi.SearchJobRecords)
|
||||||
cmdRouter.POST("/search/detail", baseApi.LoadRecordDetail)
|
cmdRouter.POST("/search/detail", baseApi.LoadRecordDetail)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "panel"; /* Project id 3575356 */
|
font-family: "panel"; /* Project id 3575356 */
|
||||||
src: url('iconfont.woff2?t=1663584463212') format('woff2'),
|
src: url('iconfont.woff2?t=1664421291278') format('woff2'),
|
||||||
url('iconfont.woff?t=1663584463212') format('woff'),
|
url('iconfont.woff?t=1664421291278') format('woff'),
|
||||||
url('iconfont.ttf?t=1663584463212') format('truetype'),
|
url('iconfont.ttf?t=1664421291278') format('truetype'),
|
||||||
url('iconfont.svg?t=1663584463212#panel') format('svg');
|
url('iconfont.svg?t=1664421291278#panel') format('svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel {
|
.panel {
|
||||||
|
@ -14,12 +14,16 @@
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-taolun:before {
|
.p-star:before {
|
||||||
content: "\e602";
|
content: "\e60f";
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-StarStar:before {
|
.p-aws:before {
|
||||||
content: "\e635";
|
content: "\e600";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-taolun:before {
|
||||||
|
content: "\e602";
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-bug:before {
|
.p-bug:before {
|
||||||
|
@ -38,10 +42,6 @@
|
||||||
content: "\e607";
|
content: "\e607";
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-s3:before {
|
|
||||||
content: "\e8e4";
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-minio:before {
|
.p-minio:before {
|
||||||
content: "\e63c";
|
content: "\e63c";
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5,6 +5,20 @@
|
||||||
"css_prefix_text": "p-",
|
"css_prefix_text": "p-",
|
||||||
"description": "",
|
"description": "",
|
||||||
"glyphs": [
|
"glyphs": [
|
||||||
|
{
|
||||||
|
"icon_id": "974125",
|
||||||
|
"name": "star",
|
||||||
|
"font_class": "star",
|
||||||
|
"unicode": "e60f",
|
||||||
|
"unicode_decimal": 58895
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "32101973",
|
||||||
|
"name": "Amazon_Web_Services_Logo",
|
||||||
|
"font_class": "aws",
|
||||||
|
"unicode": "e600",
|
||||||
|
"unicode_decimal": 58880
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"icon_id": "1760690",
|
"icon_id": "1760690",
|
||||||
"name": "讨论",
|
"name": "讨论",
|
||||||
|
@ -12,13 +26,6 @@
|
||||||
"unicode": "e602",
|
"unicode": "e602",
|
||||||
"unicode_decimal": 58882
|
"unicode_decimal": 58882
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"icon_id": "5192988",
|
|
||||||
"name": "Star Star",
|
|
||||||
"font_class": "StarStar",
|
|
||||||
"unicode": "e635",
|
|
||||||
"unicode_decimal": 58933
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"icon_id": "6642940",
|
"icon_id": "6642940",
|
||||||
"name": "bug",
|
"name": "bug",
|
||||||
|
@ -47,13 +54,6 @@
|
||||||
"unicode": "e607",
|
"unicode": "e607",
|
||||||
"unicode_decimal": 58887
|
"unicode_decimal": 58887
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"icon_id": "17895439",
|
|
||||||
"name": "Amazon S3上传",
|
|
||||||
"font_class": "s3",
|
|
||||||
"unicode": "e8e4",
|
|
||||||
"unicode_decimal": 59620
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"icon_id": "20290513",
|
"icon_id": "20290513",
|
||||||
"name": "minio",
|
"name": "minio",
|
||||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 48 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -245,6 +245,8 @@ export default {
|
||||||
commands: 'Command',
|
commands: 'Command',
|
||||||
backups: 'Backup Account',
|
backups: 'Backup Account',
|
||||||
settings: 'Panel Setting',
|
settings: 'Panel Setting',
|
||||||
|
cronjobs: 'Cronjob',
|
||||||
|
status: ' Update status',
|
||||||
auth: 'User',
|
auth: 'User',
|
||||||
login: ' login',
|
login: ' login',
|
||||||
logout: ' logout',
|
logout: ' logout',
|
||||||
|
|
|
@ -242,6 +242,8 @@ export default {
|
||||||
commands: '快捷命令',
|
commands: '快捷命令',
|
||||||
backups: '备份账号',
|
backups: '备份账号',
|
||||||
settings: '面板设置',
|
settings: '面板设置',
|
||||||
|
cronjobs: '计划任务',
|
||||||
|
status: '状态修改',
|
||||||
auth: '用户',
|
auth: '用户',
|
||||||
post: '创建',
|
post: '创建',
|
||||||
put: '更新',
|
put: '更新',
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<el-link @click="toTalk">
|
<el-link @click="toTalk">
|
||||||
<span>{{ $t('setting.chat') }}</span>
|
<span>{{ $t('setting.chat') }}</span>
|
||||||
</el-link>
|
</el-link>
|
||||||
<svg-icon style="font-size: 9px; margin-left: 15px" iconName="p-StarStar"></svg-icon>
|
<svg-icon style="font-size: 9px; margin-left: 15px" iconName="p-star"></svg-icon>
|
||||||
<el-link @click="toGithubStar">
|
<el-link @click="toGithubStar">
|
||||||
<span>{{ $t('setting.star') }}</span>
|
<span>{{ $t('setting.star') }}</span>
|
||||||
</el-link>
|
</el-link>
|
||||||
|
|
|
@ -14,9 +14,7 @@
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<svg-icon style="font-size: 7px" :iconName="loadIconName(item.type)"></svg-icon>
|
<svg-icon style="font-size: 7px" :iconName="loadIconName(item.type)"></svg-icon>
|
||||||
<span style="font-size: 16px; font-weight: 500">
|
<span style="font-size: 16px; font-weight: 500"> {{ loadBackupName(item.type) }}</span>
|
||||||
{{ loadBackupName(item.type) }}
|
|
||||||
</span>
|
|
||||||
<div style="float: right">
|
<div style="float: right">
|
||||||
<el-button @click="onEdit(item)">{{ $t('commons.button.edit') }}</el-button>
|
<el-button @click="onEdit(item)">{{ $t('commons.button.edit') }}</el-button>
|
||||||
<el-button @click="onBatchDelete(item)">
|
<el-button @click="onBatchDelete(item)">
|
||||||
|
@ -299,7 +297,7 @@ const loadIconName = (type: string) => {
|
||||||
return 'p-oss';
|
return 'p-oss';
|
||||||
break;
|
break;
|
||||||
case 'S3':
|
case 'S3':
|
||||||
return 'p-s3';
|
return 'p-aws';
|
||||||
break;
|
break;
|
||||||
case 'SFTP':
|
case 'SFTP':
|
||||||
return 'p-SFTP';
|
return 'p-SFTP';
|
||||||
|
|
Loading…
Add table
Reference in a new issue