~starkingdoms/starkingdoms

ref: 98fccea0e2dab1322390c9325630bb9067d495bb starkingdoms/starkingdoms-client/index.html -rw-r--r-- 1.4 KiB
98fccea0 — core change version number back 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="/style.css" />
    <link rel="stylesheet" href="/themes/catppuccin-mocha/colors.css" />
    <title>StarKingdoms</title>
  </head>
  <body class="bg-grid">
    <div class="popup" id="server_selector">

      <h1>StarKingdoms</h1>
      <h2>Join Game</h2>

      <form id="join-fm">
        <label>Choose server</label>

        <div class="fm-select">
          <button class="fm-select-button" role="combobox" aria-labelledby="server selector" aria-haspopup="listbox" aria-expanded="false" aria-controls="fm-select-dropdown">
            <span class="fm-selected-value">StarKingdoms - 0 players</span>
            <span class="fm-arrow"></span>
          </button>
          <ul class="fm-select-dropdown" role="listbox" id="fm-select-dropdown">
            <!-- Filled by TS -->
          </ul>
        </div>

        <label for="username" class="username-label">Username</label>
        <input class="username-box" id="username" required autocomplete="off"/>
        <button id="launch-btn" class="launch-btn">Launch!</button>
      </form>
    </div>

    <div id="gamewindow" class="game">
      <!-- Canvas gets added here by the game script -->
    </div>

    <span class="footer" id="footer"></span>

    <script type="module" src="src/main.ts"></script>
  </body>
</html>