From 01ff7422078eb91f770c1fe7205db3e6bc6a1f0d Mon Sep 17 00:00:00 2001 From: Hamcha Date: Mon, 23 Sep 2019 12:50:44 +0200 Subject: [PATCH] Add forms for hosting/joining sessions --- src/mlpccg/set.ts | 17 +++++ src/views/Lobby.vue | 177 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 193 insertions(+), 1 deletion(-) diff --git a/src/mlpccg/set.ts b/src/mlpccg/set.ts index c554c8f..2435338 100644 --- a/src/mlpccg/set.ts +++ b/src/mlpccg/set.ts @@ -19,6 +19,23 @@ export const allSets = [ "Promo" ]; +export const setNames = { + PR: "Premiere", + CN: "Canterlot Nights", + RR: "Rock and Rave", + CS: "Celestial Solstice", + CG: "Crystal Games", + AD: "Absolute Discord", + EO: "Equestrian Odysseys", + HM: "High Magic", + MT: "Marks In Time", + DE: "Defenders of Equestria", + SB: "Seaquestria and Beyond", + FF: "Friends Forever", + GF: "Promotional", + ST: "Sands of Time" +}; + export async function loadSets() { if (Database == null) { throw new Error("Database was not initialized, init with 'initDB()'"); diff --git a/src/views/Lobby.vue b/src/views/Lobby.vue index 041677a..5a382f3 100644 --- a/src/views/Lobby.vue +++ b/src/views/Lobby.vue @@ -1,26 +1,201 @@