mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-23 13:18:13 -05:00
e9428d5757
* 主题优化及bug修复 default主题 1.修复主box过宽导致的系列问题(pc和移动端) 2.network页面适配深色模式和浅色模式 status-server主题 1. network页面折线图取数逻辑优化,丢包率一直是100%时,不显示丢包markline线 2. 隐藏所有table横向滚动条 3. 关闭折线图hover效果,大幅提升echarts图表渲染速度 4. 移动端页底显示位置优化 * 刷新cdn缓存 * 修复default深色模式在ios设备不生效bug * 1. 恢复主baox 1680px宽度,用其他方式修复上一版存在bug(移动端左右留空不一致等) 2. 首页echarts自动适配深色浅色模式 * fix
31 lines
1.7 KiB
HTML
Vendored
31 lines
1.7 KiB
HTML
Vendored
{{define "theme-default/header"}}
|
|
<!DOCTYPE html>
|
|
<html lang="{{.Conf.Language}}">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<meta content="telephone=no" name="format-detection">
|
|
<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@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">
|
|
<link rel="stylesheet" type="text/css" href="/static/theme-default/css/main.css?v20240816">
|
|
<link rel="stylesheet" type="text/css" href="/static/darkmode.css?v20240816">
|
|
<script src="https://unpkg.com/jquery@3.7.1/dist/jquery.min.js"></script>
|
|
<script src="https://unpkg.com/semantic-ui@2.4.0/dist/semantic.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>
|
|
<script src="/static/semantic-ui-alerts.min.js"></script>
|
|
<script src="/static/theme-default/js/mixin.js?v20240302"></script>
|
|
<script>
|
|
document.documentElement.setAttribute('nz-theme', window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
{{end}} |