commit 1c2e8c41d1650ff663451992ab0cdddde430c0c8 Author: CJ Date: Sun Jan 18 11:51:52 2026 +0000 Upload files to "/" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8152839 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2024 CJ + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..248cadd --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# Status-Page Buy Me a Coffee at ko-fi.com + +A simple webpage to keep an eye on Uptime Kuma's [overall status](https://github.com/louislam/uptime-kuma/pull/2574). The page also displays the full date which refreshes at midnight, the current time which updates every second, and how long until the status refreshes. + +![Simple Dashboard](https://gitea.cjgameslive.com/CJ/Uptime-Kuma-Status-Page/raw/branch/main/img/Simple%20Dash.PNG) + +## Things you can personalise + +### Fonts +You can set any font on line 13 `font-family: 'Play', sans-serif;`, the Play font is imported from Google on line 7 ``. + +### Badges +On lines 93 and 98 you will want to update the URL `http://..../api/status-page/{slug}/badge?label=Containers%20are` + +- `...` will be the IP address or domain of your Uptime Kuma (e.g., `http://192.168.1.5:3001`). +- `{slug}` being the status page (mine is just set to `all` to monitor all). +- `?label=Containers%20are` can be changed to any label you want to appear on the badge, or can be dropped for a badge which will just display `Up`, `Down`, `Degraded`, or `Maintenance`. + +In this exaple the API call would be to `http://192.168.1.5:3000/api/status-page/all/badge?label=Containers%20are` + +### Refresh interval +Unless you are going completely custom, the only other change I would reccomend is to line 164 and 168. `300000` sets the refresh interval for the badges to 5 minutes by default, and `300` sets the next update tomer to 5 minutes by default. \ No newline at end of file diff --git a/Simple Dash.PNG b/Simple Dash.PNG new file mode 100644 index 0000000..453f944 Binary files /dev/null and b/Simple Dash.PNG differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..c51f401 --- /dev/null +++ b/index.html @@ -0,0 +1,204 @@ + + + + + +Pi Status Dashboard + + + + + +
+

+ +

+
+
Pi 4
+ Pi 4 Status +
+
+
+
Pi 5
+ Pi 5 Status +
+
+ +
+ + + + + +