mirror of
https://github.com/snowykami/server-status-server.git
synced 2025-06-06 15:15:22 +00:00
🐛 os字段大写
This commit is contained in:
parent
2e57b24335
commit
4c89166466
@ -21,6 +21,7 @@ func OnGetServerStatus(ctx context.Context, c *app.RequestContext) {
|
||||
}
|
||||
|
||||
func OnGetStaticFile(ctx context.Context, c *app.RequestContext) {
|
||||
c.Request.URI().Path()
|
||||
file := c.Param("file")
|
||||
fp := "./web/" + file
|
||||
|
||||
|
@ -9,7 +9,7 @@ type Report struct {
|
||||
OS struct {
|
||||
Name string `json:"name"`
|
||||
Version string `json:"version"`
|
||||
}
|
||||
} `json:"os"`
|
||||
Labels []string `json:"labels"` // 服务器标签
|
||||
Location string `json:"location"` // Chongqing, China
|
||||
UpTime int64 `json:"uptime"` // uptime in seconds
|
||||
|
21
web/assets/index-CAe8-t8f.js
Normal file
21
web/assets/index-CAe8-t8f.js
Normal file
File diff suppressed because one or more lines are too long
1
web/assets/index-h4O0pTvc.css
Normal file
1
web/assets/index-h4O0pTvc.css
Normal file
@ -0,0 +1 @@
|
||||
:root{--white-color: #f3f3f3;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}body{margin:0;padding:0}.content{margin:20px}.content-section{margin:10px}.navbar[data-v-bbbecc06]{z-index:3;display:flex;justify-content:space-between;align-items:center;padding:0 20px;height:80px;background-color:var(--white-color);box-shadow:0 2px 4px #0000001a}.navbar-left img[data-v-bbbecc06]{height:40px}.navbar-left[data-v-bbbecc06],.navbar-right[data-v-bbbecc06]{display:flex;align-items:center}.navbar-center img[data-v-bbbecc06]{height:80px}.main-content[data-v-fc7947ef]{flex:1;background-color:var(--white-color)}h2[data-v-721fe15b]{margin-top:0;text-align:center}.map[data-v-721fe15b]{width:100%;max-width:800px;margin:0 auto;display:block}.sidebar[data-v-cbf5d250]{z-index:2;position:fixed;top:0;left:0;width:200px;height:100%;background-color:var(--white-color);transform:translate(-100%);transition:transform .3s}#logo[data-v-cbf5d250]{height:80px}.sidebar[data-v-cbf5d250]{transform:translate(-100%);transition:transform .3s}.sidebar.open[data-v-cbf5d250]{box-shadow:8px 0 8px #0006;transform:translate(0)}.sidebar-content[data-v-cbf5d250]{padding-left:20px}.sidebar-options[data-v-cbf5d250]>*{display:block}a[data-v-cbf5d250]{color:#333;text-decoration:none;margin-bottom:10px}.container[data-v-22e89850]{position:relative;z-index:1}
|
BIN
web/assets/logo-c0Hh2kbx.png
Normal file
BIN
web/assets/logo-c0Hh2kbx.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
BIN
web/assets/system-plan-BD64JMf2.png
Normal file
BIN
web/assets/system-plan-BD64JMf2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
BIN
web/favicon.ico
Normal file
BIN
web/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
13
web/index.html
Normal file
13
web/index.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>轻铁 | LMTR</title>
|
||||
<script type="module" crossorigin src="/assets/index-CAe8-t8f.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-h4O0pTvc.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user