mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-23 13:18:13 -05:00
d9097540c3
* server-status主题优化 1.前台增加半透明样式切换按钮,同时适配了深色和浅色模式 2.右小角功能区增加收纳,点击展开,滚动页面关闭 3.vps世界分布地图全屏展示 4.修改默认页底版权信息位置,从跟随container box修改为默认置于页面底部,container box到底底部后再跟随 5.修改container box默认宽度和最大宽度,适配高分辨率显示器 6.优化样式文件结构,删除无用的样式文件 7.一些小优化 * 修改默认背景图 * 修改背景图片 * 1.echart图表适配半透明样式切换 2.echart图表移动端设置更细折线 3.修改半透明样式下的默认背景图 * echart Y轴移动端更细刻度线 * fixbug * 修改半透明样式默认背景图片为本地调用
38 lines
1.7 KiB
HTML
Vendored
38 lines
1.7 KiB
HTML
Vendored
{{define "theme-server-status/footer"}}
|
|
</div>
|
|
<footer class="container-fluid">
|
|
<p>{{ .Conf.Site.Brand }} | Theme ServerStatus | Powered by <a target="_blank" href="https://github.com/naiba/nezha">{{tr "NezhaMonitoring"}}</a> {{.Version}}</p>
|
|
</footer>
|
|
<aside class="toolbox">
|
|
<template v-if="showTools">
|
|
<span v-if="page=='index' && countryMapChartData.length!=0" class="showMapChart">
|
|
<i @click="showMapChart" data-toggle="modal" data-target="#mapChartBox" class="bi bi-geo-alt"></i>
|
|
</span>
|
|
<span class="toggleView">
|
|
<i v-if="showGroup" @click="toggleShowGroup" class="show-nogroup bi bi-justify"></i>
|
|
<i v-else @click="toggleShowGroup" class="show-group bi bi-view-stacked"></i>
|
|
</span>
|
|
<span class="toggleSemiTransparent" @click="toggleSemiTransparent">
|
|
<i class="bi" :class="semiTransparent ? 'bi-droplet' : 'bi-droplet-half'"></i>
|
|
</span>
|
|
</template>
|
|
<span v-if="!showTools">
|
|
<i @click="toggleShowTools" class="bi bi-three-dots"></i>
|
|
</span>
|
|
<span class="setTheme">
|
|
<i v-if="theme === 'light'" @click="setTheme('dark')" class="setTheme-dark bi bi-moon-fill"></i>
|
|
<i v-else @click="setTheme('light')" class="setTheme-light bi bi-brightness-high-fill"></i>
|
|
</span>
|
|
<span v-if="showGoTop" class="showGoTop">
|
|
<i @click="goTop" class="goTop bi bi-arrow-up"></i>
|
|
</span>
|
|
</aside>
|
|
<template v-if="semiTransparent">
|
|
<link rel="stylesheet" href="/static/theme-server-status/css/light.plus.css?v20240807">
|
|
<link rel="stylesheet" href="/static/theme-server-status/css/dark.plus.css?v20240807">
|
|
</template>
|
|
</div>
|
|
{{if ts .CustomCode}}{{.CustomCode|safe}}{{end}}
|
|
</body>
|
|
</html>
|
|
{{end}} |