mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Add option to hide server status
This commit is contained in:
parent
007523f341
commit
0d1ef3c6f6
|
|
@ -29,6 +29,7 @@ pypi: "pypi.tuna.tsinghua.edu.cn"
|
|||
homelink: "https://tuna.moe"
|
||||
hide_navbar: false
|
||||
hide_download: false
|
||||
hide_server_status: false
|
||||
|
||||
# Build settings
|
||||
highlighter: rouge
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ permalink: /status/
|
|||
<div id="status-page">
|
||||
<div class="spacing hidden-xs"></div>
|
||||
<div class="container">
|
||||
{% unless site.hide_server_status %}
|
||||
<h3 id="server-status"> # 服务器监控 </h3>
|
||||
<h4> # 网络流量 </h4>
|
||||
<div class="row">
|
||||
|
|
@ -32,6 +33,7 @@ permalink: /status/
|
|||
{% include status-pic.html name="cpu" %}
|
||||
{% include status-pic.html name="memory" %}
|
||||
</div>
|
||||
{% endunless %}
|
||||
<h3 id="syncing-status"># 同步状态</h3>
|
||||
<table class="table table-condensed flat-md">
|
||||
<thead class="hidden-xs hidden-sm">
|
||||
|
|
|
|||
Loading…
Reference in New Issue