diff --git a/web/template/device.html b/web/template/device.html
index a6fcf7a..8d969ac 100644
--- a/web/template/device.html
+++ b/web/template/device.html
@@ -24,19 +24,21 @@
{{$d.Alias}} |
{{$d.MAC}} |
{{$d.IP}} |
-
-
-
+ |
+
+
+
+
|
{{end}}
@@ -63,10 +65,9 @@
}
.actions {
- text-align: center;
- }
-
- .actions > form {
- display: contents;
+ flex-flow: row wrap;
+ justify-content: center;
+ padding: 0;
+ gap: 0.5rem;
}
\ No newline at end of file
diff --git a/web/template/page.html b/web/template/page.html
index ed1f961..ac16454 100644
--- a/web/template/page.html
+++ b/web/template/page.html
@@ -5,7 +5,6 @@
-
{{ .Title }} - miniwol
diff --git a/web/web.go b/web/web.go
index 39b13d5..7a4f430 100644
--- a/web/web.go
+++ b/web/web.go
@@ -28,6 +28,7 @@ func Run() error {
e.GET("/", index)
e.GET("/style.css", style)
+ e.GET("/favicon.ico", favicon)
e.POST("/auth", auth)
e.POST("/deauth", withAuth(deauth))
e.POST("/add", withAuth(add))
@@ -76,3 +77,7 @@ func style(c echo.Context) error {
}
return c.Blob(200, "text/css", styleData)
}
+
+func favicon(c echo.Context) error {
+ return c.NoContent(204)
+}