mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-23 13:18:13 -05:00
937696c26d
* improve: status-server主题日常优化 1. 首页账单信息:价格设置成“-1”前台展示为”PAYG“,自动续期(autoRenewal)功能增加支持付费周期yr,mo; 2. 当未获取到国旗图标时,默认彩虹旗; 3. 当未获取到os(操作系统)信息时,默认linux 4. 一些其他优化 * 修改表达不准确的语言文件
38 lines
1.8 KiB
HTML
Vendored
38 lines
1.8 KiB
HTML
Vendored
{{define "theme-server-status/footer"}}
|
|
</section>
|
|
<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?v20241008">
|
|
<link rel="stylesheet" href="/static/theme-server-status/css/dark.plus.css?v20241008">
|
|
</template>
|
|
</div>
|
|
{{if ts .CustomCode}}{{.CustomCode|safe}}{{end}}
|
|
</body>
|
|
</html>
|
|
{{end}} |