more changes to the website

This commit is contained in:
Blake Ridgway
2026-03-27 20:15:02 -05:00
parent 7e7480ecf9
commit 5bc3050dd4
8 changed files with 22 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
{
"last_checked": "2026-03-27T12:53:37.268148673Z",
"last_checked": "2026-03-27T13:17:04.05294829Z",
"services": [
{
"name": "Web (httpd)",

View File

@@ -110,5 +110,21 @@
"VPN (WireGuard)": "up",
"Web (httpd)": "up"
}
},
{
"time": "2026-03-27T13:00:00Z",
"statuses": {
"DNS (nsd)": "up",
"DNS (unbound)": "up",
"Email (OpenSMTPD)": "up",
"Game Servers": "up",
"Gitea": "down",
"Grafana": "up",
"Jellyfin": "up",
"Matrix (Conduit)": "up",
"Monitoring (Prometheus)": "up",
"VPN (WireGuard)": "up",
"Web (httpd)": "up"
}
}
]

View File

@@ -272,10 +272,6 @@ func (h *Handler) adminPreview(w http.ResponseWriter, r *http.Request) {
h.renderErr(w, http.StatusMethodNotAllowed, "POST required.")
return
}
if err := r.ParseForm(); err != nil {
http.Error(w, "bad request", http.StatusBadRequest)
return
}
content := r.FormValue("content")
html, err := blog.RenderMarkdown(content)
if err != nil {

View File

@@ -1,4 +1,4 @@
{{define "title"}}{{if .IsNew}}New Entry{{else}}Edit Entry{{end}} — Changelog Admin{{end}}
{{define "title"}}{{if .Inner.IsNew}}New Entry{{else}}Edit Entry{{end}} — Changelog Admin{{end}}
{{define "content"}}
<div class="admin-wrap">

View File

@@ -9,6 +9,7 @@
<a href="/admin/status" class="btn btn-outline">Edit Status</a>
<a href="/admin/uploads" class="btn btn-outline">Uploads</a>
<a href="/admin/newsletter" class="btn btn-outline">Newsletter</a>
<a href="/admin/changelog" class="btn btn-outline">Changelog</a>
<a href="/" class="btn btn-outline">View Site</a>
<form method="POST" action="/admin/logout" class="inline-form">
<button type="submit" class="btn btn-outline">Logout</button>

View File

@@ -1,4 +1,4 @@
{{define "title"}}{{if .IsNew}}New Post{{else}}Edit Post{{end}} &mdash; Admin{{end}}
{{define "title"}}{{if .Inner.IsNew}}New Post{{else}}Edit Post{{end}} &mdash; Admin{{end}}
{{define "content"}}
<div class="admin-wrap">

View File

@@ -1,4 +1,4 @@
{{define "title"}}{{.Code}} {{.Title}} &mdash; Ridgway Systems{{end}}
{{define "title"}}{{.Inner.Code}} {{.Inner.Title}} &mdash; Ridgway Systems{{end}}
{{define "content"}}
<div class="error-page">

View File

@@ -21,7 +21,7 @@
<div class="infra-card">
<div class="infra-host">SuperMicro 1U</div>
<div class="infra-role">Firewall &bull; Router &bull; VPN &bull; Reverse Proxy</div>
<div class="infra-detail">FreeBSD &bull; pf &bull; relayd &bull; WireGuard</div>
<div class="infra-detail">OPNsense &bull; pf &bull; relayd &bull; WireGuard</div>
</div>
<div class="infra-card">
<div class="infra-host">Dell R720</div>