feat: 修改图标

pull/117/head
zhengkunwang223 2 years ago committed by zhengkunwang223
parent 0f7c915ca7
commit be3062be2d

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>loading...</title>
</head>
@ -88,10 +88,15 @@
</style>
<div class="first-loading-wrap">
<div class="loading-wrap">
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
<span class="dot dot-spin">
<i></i>
<i></i>
<i></i>
<i></i>
</span>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

@ -235,6 +235,11 @@ export default {
koInfo: ' Kubernetes ',
kubepiInfo: ' Kubernetes ',
goInstall: '',
networkCard: '',
disk: '',
allNetworkCard: '',
allDisk: '',
},
tabs: {
more: '',

@ -67,7 +67,13 @@
v-model="searchInfo.netOption"
style="float: right"
>
<el-option v-for="item in netOptions" :key="item" :label="item" :value="item" />
<template #prefix>{{ $t('home.networkCard') }}</template>
<el-option
v-for="item in netOptions"
:key="item"
:label="item == 'all' ? $t('home.allNetworkCard') : item"
:value="item"
/>
</el-select>
<el-select
v-if="chartOption === 'io'"
@ -75,7 +81,13 @@
@change="onLoadBaseInfo(false, 'io')"
style="float: right"
>
<el-option v-for="item in ioOptions" :key="item" :label="item" :value="item" />
<template #prefix>{{ $t('home.disk') }}</template>
<el-option
v-for="item in ioOptions"
:key="item"
:label="item == 'all' ? $t('home.allDisk') : item"
:value="item"
/>
</el-select>
<div class="monitor-tags" v-if="chartOption === 'network'">
<el-tag>{{ $t('monitor.up') }}: {{ currentChartInfo.netBytesSent }} KB/s</el-tag>

Loading…
Cancel
Save