2023-11-07 00:46:28 -05:00
|
|
|
{{define "theme-server-status/header"}}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{.Conf.Language}}">
|
|
|
|
<head>
|
|
|
|
<title>{{ .Title }}</title>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2024-06-14 06:02:55 -04:00
|
|
|
<link rel="shortcut icon" type="image/png" href="/static/logo.svg" />
|
|
|
|
<link rel="stylesheet" href="https://unpkg.com/bootstrap@3.4.1/dist/css/bootstrap.min.css">
|
|
|
|
<link rel="stylesheet" href="https://unpkg.com/bootstrap@3.4.1/dist/css/bootstrap-theme.min.css">
|
2024-06-22 10:51:42 -04:00
|
|
|
<link rel="stylesheet" href="/static/theme-server-status/css/main.css?v20240616">
|
2024-04-08 10:31:28 -04:00
|
|
|
<link rel="stylesheet" href="/static/theme-server-status/css/dark.css?v20240407">
|
|
|
|
<link rel="stylesheet" href="/static/theme-server-status/css/light.css?v20240407">
|
2024-06-14 06:02:55 -04:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
2024-06-14 21:43:30 -04:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/font-logos@0.17.0/assets/font-logos.css">
|
2024-06-14 06:02:55 -04:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/flag-icons@7.2.3/css/flag-icons.min.css">
|
|
|
|
<link rel="stylesheet" href="https://unpkg.com/semantic-ui@2.4.0/dist/semantic.min.css">
|
|
|
|
<script src="https://unpkg.com/jquery@3.7.1/dist/jquery.min.js"></script>
|
|
|
|
<script src="https://unpkg.com/bootstrap@3.4.1/dist/js/bootstrap.min.js"></script>
|
|
|
|
<script src="https://unpkg.com/vue@2.6.14/dist/vue.min.js"></script>
|
|
|
|
<script src="https://unpkg.com/echarts@5.5.0/dist/echarts.min.js"></script>
|
ServerStatus主题优化 (#386)
* ServerStatus主题优化
1.更新世界地图基础geo文件,中国部分包含南海10段线,藏南部分划线更准
geo在大佬仓库https://github.com/Surbowl/world-geo-json-zh的基础上加工
2.世界地图可以在后台设置自定义代码切换是否包含南极洲,中国港澳台是否单独统计vps数
```<script>
localStorage.setItem('countryMapGeoFile', 'nezha.world.geo.json'); //默认
// localStorage.setItem('countryMapGeoFile', 'nezha.world.plus.geo.json'); //单独绘制香港,澳门,台湾
// localStorage.setItem('countryMapGeoFile', 'nezha.world.antarctica.geo.json'); //有南极洲
// localStorage.setItem('countryMapGeoFile', 'nezha.world.plus.antarctica.geo.json'); //有南极洲,单独绘制香港,澳门,台湾
</script>
```
3. mixin.js文件删除冗余代码
4. 首页agent下拉详情,控制网络折线图tooltip数字最多显示小数点后两位
* 修正geo文件路径
* 修复世界地图中国港澳台单独绘制时,vps数量计算逻辑
* 删除header中的无用的地图基础数据引用
* 增加温度控制cpu型号识别
2024-07-10 11:13:53 -04:00
|
|
|
<script src="/static/theme-server-status/js/mixin.js?v20240707"></script>
|
2023-11-07 00:46:28 -05:00
|
|
|
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="/static/theme-server-status/js/html5shiv.js"></script>
|
|
|
|
<script src="/static/theme-server-status/js/respond.min.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
{{if ts .CustomCode}}
|
|
|
|
{{.CustomCode|safe}}
|
|
|
|
{{end}}
|
|
|
|
</head>
|
|
|
|
<body>
|
2024-04-08 10:31:28 -04:00
|
|
|
{{end}}
|
2024-06-14 06:02:55 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|