more work on pre-game pages
This commit is contained in:
parent
987e2b5576
commit
7a8acf27a7
5 changed files with 259 additions and 180 deletions
|
|
@ -8,24 +8,24 @@
|
|||
<script id="model" type="application/json">
|
||||
[
|
||||
{
|
||||
"id": "abt",
|
||||
"name": "Billettering",
|
||||
"key": "T5X6"
|
||||
"id": "1234",
|
||||
"name": "Team A",
|
||||
"key": "1234"
|
||||
},
|
||||
{
|
||||
"id": "slg",
|
||||
"name": "Salg",
|
||||
"key": "6B4T"
|
||||
"id": "1235",
|
||||
"name": "Team B",
|
||||
"key": "1235"
|
||||
},
|
||||
{
|
||||
"id": "prs",
|
||||
"name": "Personalisering",
|
||||
"key": "P2Q5"
|
||||
"id": "1236",
|
||||
"name": "Team C",
|
||||
"key": "1236"
|
||||
},
|
||||
{
|
||||
"id": "srp",
|
||||
"name": "Support",
|
||||
"key": "P2Q5"
|
||||
"id": "1237",
|
||||
"name": "Team D",
|
||||
"key": "1237"
|
||||
}
|
||||
]
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -38,11 +38,11 @@ pub fn main() {
|
|||
[] | ["index.html"] -> serve_static("root.html")
|
||||
["client.js"] -> serve_static("client.js")
|
||||
["static", file] -> serve_static(file)
|
||||
["socket", "card", id] ->
|
||||
["socket", "live", id] ->
|
||||
sockethandler.serve(req, card.component(), id, room_handler)
|
||||
["socket", "control", id] ->
|
||||
sockethandler.serve(req, control.component(), id, room_handler)
|
||||
["socket", "slow", id] ->
|
||||
["socket", "single", id] ->
|
||||
sockethandler.serve_slow(
|
||||
req,
|
||||
answerlist.component(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue