Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make lobby page great #7

Open
ajuvercr opened this issue Mar 29, 2020 · 1 comment
Open

Make lobby page great #7

ajuvercr opened this issue Mar 29, 2020 · 1 comment

Comments

@ajuvercr
Copy link
Collaborator

The lobby page is one of the ugliest pages in Planetwars, please fix.
This page loads dynamically the state and put's that HTML code in a div, ugly ugly.

Resources: backend/src/util.rs:13 for the fields in GameState.

The useful files are probably backend/templates/{lobby, state_partial}.html.tera, backend/static/script/lobby.js and backend/static/style/style.css.

Optionally: move lobby css to its own file.
Optionally: find different way to refresh the state, now it just reloads its state part.

@ajuvercr
Copy link
Collaborator Author

ajuvercr commented Apr 2, 2020

It's already a lot better, still could use some improvements though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant