add js and css files

This commit is contained in:
XenGi 2023-10-19 18:05:16 +02:00
parent 2d6f19580c
commit 51555f4d21
Signed by: xengi
SSH key fingerprint: SHA256:EvLbWxFCtfmd+8Xa6RkzkhIga+wFkKCekfFacYVn63M
4 changed files with 2 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import (
func main() { func main() {
e := echo.New() e := echo.New()
e.Static("/", "static")
e.GET("/", func(c echo.Context) error { e.GET("/", func(c echo.Context) error {
return c.String(http.StatusOK, "Hello, World!") return c.String(http.StatusOK, "Hello, World!")
}) })

View file

@ -133,6 +133,7 @@
<footer id="bottom"> <footer id="bottom">
<p>sanic mpd web ui - by XenGi and coon &copy; 2023</p> <p>sanic mpd web ui - by XenGi and coon &copy; 2023</p>
</footer> </footer>
<script src="index.js"></script>
</body> </body>
</html> </html>

0
static/index.js Normal file
View file

0
static/style.css Normal file
View file