mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-05 13:10:07 +00:00
修复一些bug (#367)
* bug修复: 1. serverstatus主题agent详情不显示内存信息 2. windows系统icon错误 小优化 1. echarts绘制世界地图所需的world.js坐标信息从本地加载切换为从cdn加载 2. font-logos切换为0.17.0版本,使得图标间距更合适 * 优化agent离线保留信息逻辑,从判断“实时在线”调整为判断“曾经在线”。 * 优化agent离线保留信息逻辑,从判断“实时在线”调整为判断“曾经在线”。
This commit is contained in:
2
resource/template/theme-default/header.html
vendored
2
resource/template/theme-default/header.html
vendored
@@ -9,7 +9,7 @@
|
||||
<title>{{.Title}}</title>
|
||||
<link rel="shortcut icon" type="image/png" href="/static/logo.svg" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/semantic-ui@2.4.0/dist/semantic.min.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/font-logos@1.2.0/assets/font-logos.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/font-logos@0.17.0/assets/font-logos.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/flag-icons@7.2.3/css/flag-icons.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css">
|
||||
|
||||
4
resource/template/theme-default/home.html
vendored
4
resource/template/theme-default/home.html
vendored
@@ -16,8 +16,8 @@
|
||||
<div class="content" v-if="server.Host" style="margin-top: 10px; padding-bottom: 5px">
|
||||
<div class="header">
|
||||
<i style="width: 22px;border-radius: 4px;" :class="'fi fi-' + server.Host.CountryCode"></i>
|
||||
<i v-if='getFontLogoClass(server.Host.Platform) == "" && server.live' class="fl-tux"></i>
|
||||
<i v-else-if='isWindowsPlatform(server.Host.Platform)' class="windows icon"></i>
|
||||
<i v-if='isWindowsPlatform(server.Host.Platform)' class="windows icon"></i>
|
||||
<i v-else-if='getFontLogoClass(server.Host.Platform) == "" && server.State.Uptime > 0' class="fl-tux"></i>
|
||||
<i v-else :class="'fl-' + getFontLogoClass(server.Host.Platform)"></i>
|
||||
@#server.Name + (server.live?'':'[{{tr "Offline"}}]')#@
|
||||
<i @click="togglePopup($event, server.ID)" aria-expanded="false" class="nezha-secondary-font info circle icon"></i>
|
||||
|
||||
Reference in New Issue
Block a user