feat: s3 备份账号图标更改

This commit is contained in:
ssongliu 2022-09-29 11:34:23 +08:00
parent c0a0c4f121
commit 255fabe06d
12 changed files with 40 additions and 38 deletions

View file

@ -18,8 +18,8 @@ func (s *CronjobRouter) InitCronjobRouter(Router *gin.RouterGroup) {
withRecordRouter.POST("/del", baseApi.DeleteCronjob)
withRecordRouter.PUT(":id", baseApi.UpdateCronjob)
withRecordRouter.POST("/status", baseApi.UpdateCronjobStatus)
withRecordRouter.POST("/download", baseApi.TargetDownload)
withRecordRouter.POST("/handle/:id", baseApi.HandleOnce)
cmdRouter.POST("/handle/:id", baseApi.HandleOnce)
cmdRouter.POST("/download", baseApi.TargetDownload)
cmdRouter.POST("/search", baseApi.SearchCronjob)
cmdRouter.POST("/search/records", baseApi.SearchJobRecords)
cmdRouter.POST("/search/detail", baseApi.LoadRecordDetail)

View file

@ -1,9 +1,9 @@
@font-face {
font-family: "panel"; /* Project id 3575356 */
src: url('iconfont.woff2?t=1663584463212') format('woff2'),
url('iconfont.woff?t=1663584463212') format('woff'),
url('iconfont.ttf?t=1663584463212') format('truetype'),
url('iconfont.svg?t=1663584463212#panel') format('svg');
src: url('iconfont.woff2?t=1664421291278') format('woff2'),
url('iconfont.woff?t=1664421291278') format('woff'),
url('iconfont.ttf?t=1664421291278') format('truetype'),
url('iconfont.svg?t=1664421291278#panel') format('svg');
}
.panel {
@ -14,12 +14,16 @@
-moz-osx-font-smoothing: grayscale;
}
.p-taolun:before {
content: "\e602";
.p-star:before {
content: "\e60f";
}
.p-StarStar:before {
content: "\e635";
.p-aws:before {
content: "\e600";
}
.p-taolun:before {
content: "\e602";
}
.p-bug:before {
@ -38,10 +42,6 @@
content: "\e607";
}
.p-s3:before {
content: "\e8e4";
}
.p-minio:before {
content: "\e63c";
}

File diff suppressed because one or more lines are too long

View file

@ -5,6 +5,20 @@
"css_prefix_text": "p-",
"description": "",
"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",
"name": "讨论",
@ -12,13 +26,6 @@
"unicode": "e602",
"unicode_decimal": 58882
},
{
"icon_id": "5192988",
"name": "Star Star",
"font_class": "StarStar",
"unicode": "e635",
"unicode_decimal": 58933
},
{
"icon_id": "6642940",
"name": "bug",
@ -47,13 +54,6 @@
"unicode": "e607",
"unicode_decimal": 58887
},
{
"icon_id": "17895439",
"name": "Amazon S3上传",
"font_class": "s3",
"unicode": "e8e4",
"unicode_decimal": 59620
},
{
"icon_id": "20290513",
"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

View file

@ -245,6 +245,8 @@ export default {
commands: 'Command',
backups: 'Backup Account',
settings: 'Panel Setting',
cronjobs: 'Cronjob',
status: ' Update status',
auth: 'User',
login: ' login',
logout: ' logout',

View file

@ -242,6 +242,8 @@ export default {
commands: '快捷命令',
backups: '备份账号',
settings: '面板设置',
cronjobs: '计划任务',
status: '状态修改',
auth: '用户',
post: '创建',
put: '更新',

View file

@ -25,7 +25,7 @@
<el-link @click="toTalk">
<span>{{ $t('setting.chat') }}</span>
</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">
<span>{{ $t('setting.star') }}</span>
</el-link>

View file

@ -14,9 +14,7 @@
<template #header>
<div class="card-header">
<svg-icon style="font-size: 7px" :iconName="loadIconName(item.type)"></svg-icon>
<span style="font-size: 16px; font-weight: 500">
{{ loadBackupName(item.type) }}
</span>
<span style="font-size: 16px; font-weight: 500">&nbsp;{{ loadBackupName(item.type) }}</span>
<div style="float: right">
<el-button @click="onEdit(item)">{{ $t('commons.button.edit') }}</el-button>
<el-button @click="onBatchDelete(item)">
@ -299,7 +297,7 @@ const loadIconName = (type: string) => {
return 'p-oss';
break;
case 'S3':
return 'p-s3';
return 'p-aws';
break;
case 'SFTP':
return 'p-SFTP';