Compare commits

..

No commits in common. "249f9499675d31a0331ef309b96839ebbf8d3313" and "b1d39abd67d67623555ce6c6b18638da4846b509" have entirely different histories.

3 changed files with 4 additions and 8 deletions

View File

@ -14,13 +14,11 @@
<div class="container"> <div class="container">
<div class="d-flex"> <div class="d-flex">
<a class="header-brand" href="/">#(config.title)</a> <a class="header-brand" href="/">#(config.title)</a>
#if(config.showSourceBtn): <div class="d-flex order-lg-2 ml-auto">
<div class="d-flex order-lg-2 ml-auto"> <div class="nav-item d-none d-md-flex">
<div class="nav-item d-none d-md-flex"> <a href="https://github.com/tabler/tabler" class="btn btn-sm btn-outline-primary" target="_blank">Source code</a>
<a href="https://gitea.arsenm.dev/Arsen6331/statusboard" class="btn btn-sm btn-outline-primary" target="_blank">Source code</a>
</div>
</div> </div>
#endif </div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,6 +1,5 @@
{ {
"title": "Statusboard", "title": "Statusboard",
"showSourceBtn": true,
"services": { "services": {
"Node 1": [ "Node 1": [
{ {

View File

@ -3,6 +3,5 @@ import Vapor
struct Config: Codable { struct Config: Codable {
let title: String let title: String
let showSourceBtn: Bool
let services: [String:[[String:String]]] let services: [String:[[String:String]]]
} }