fix: added favicon to join_game

This commit is contained in:
Adrian Gunnar Lauterer 2024-06-05 18:22:48 +02:00
parent c6700bd41d
commit a0539f6872
4 changed files with 1240 additions and 4 deletions

View File

@ -79,6 +79,16 @@ def socketio_js():
#return the background image #return the background image
return app.send_static_file('socket.io.js') return app.send_static_file('socket.io.js')
@app.route('/browser-polyfill.js')
def polyfill_js():
#return the background image
return app.send_static_file('browser-polyfill.js')
@app.route('/browser-polyfill.js.map')
def polyfill_map_js():
#return the background image
return app.send_static_file('browser-polyfill.js.map')
@app.route('/azul-flake.png') @app.route('/azul-flake.png')
def logo(): def logo():
#return the background image #return the background image

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,7 @@
<html> <html>
<head> <head>
<title>Ozai webui:Join Game</title> <title>Ozai webui:Join Game</title>
<link rel="icon" type="image/png" href="/azul-flake.png">
<style> <style>
body { body {
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
@ -59,10 +60,8 @@
margin: 6em 1em; margin: 6em 1em;
cursor: pointer; cursor: pointer;
} }
</style> </style>
<script src="/browser-polyfill.js"></script>
</head> </head>
<body> <body>
<div> <div>
@ -115,4 +114,4 @@
</div> </div>
</body> </body>
</html> </html>