Compare commits
2 commits
bba515cd1d
...
2f93f1dcc3
Author | SHA1 | Date | |
---|---|---|---|
|
2f93f1dcc3 | ||
|
213a5f4944 |
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ default-members = ["server", "lib"]
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
lib = { path = "./lib" }
|
lib = { path = "./lib" }
|
||||||
|
|
||||||
[profile.release.client]
|
[profile.release]
|
||||||
opt-level = 'z'
|
opt-level = 'z'
|
||||||
lto = true
|
lto = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|
|
@ -111,9 +111,9 @@ pub fn Websocket() -> impl IntoView {
|
||||||
<div class="w-auto">
|
<div class="w-auto">
|
||||||
<hr/>
|
<hr/>
|
||||||
<h2 class="p-1 text-2xl">Server Info:</h2>
|
<h2 class="p-1 text-2xl">Server Info:</h2>
|
||||||
|
<p class="p-1">"Connection Status: " {status}</p>
|
||||||
<p class="p-1">"Users Online: " {online_users}</p>
|
<p class="p-1">"Users Online: " {online_users}</p>
|
||||||
<p class="p-1">"Active Games: " {active_games}</p>
|
<p class="p-1">"Active Games: " {active_games}</p>
|
||||||
<p class="p-1">"Connection Status: " {status}</p>
|
|
||||||
<div class="p-1">
|
<div class="p-1">
|
||||||
<button on:click=open_connection disabled=connected>
|
<button on:click=open_connection disabled=connected>
|
||||||
"Connect"
|
"Connect"
|
||||||
|
|
Loading…
Add table
Reference in a new issue