aboutsummaryrefslogtreecommitdiff
path: root/index.html
blob: b99eb3f471bfc50e685aaa53b8cc6110e40b780f (plain) (blame)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Match Up!</title>
    <meta name="keywords" content="Badminton, Matchmaking, Open">
    <meta name="author" content="Karan Jayachandra">
    <meta name="description" content="Matchup is a free utility that helps you create matches for Badminton from a pool a players. The tool is completely open source and private as all data is store locally on your machine.">
    <meta http-equiv="Cache-control" content="public">
  </head>
  <body>
    <header class="container">
      <nav>
        <ul><li><img src="icon.svg" alt="Matchup"></li></ul>
        <ul>
          <li>
            <fieldset id="timer" role="group">
              <button id="timer-dec" title="Timer decrement"><i class="fa-solid fa-minus"></i></button>
              <input id="timer-display" title="Time display" type="text" readonly></input>
              <button id="timer-inc" title="Timer increment"><i class="fa-solid fa-plus"></i></button>
              <button id="timer-start" title="Timer start"><i class="fa-solid fa-play"></i></button>
              <button id="timer-stop" title="Timer stop"><i class="fa-solid fa-stop"></i></button>
            </fieldset>
          </li>
        </ul>
      </nav>
    </header>
    <main class="container">
      <section>
        <h1 class="title" id="Game-description"></h1>
        <div id="Game-list" class="grid-container"></div>
      </section>
      <section>
        <select id="skill" aria-label="State">
          <option value="10">All Levels</option>
          <option value="5">2 Levels</option>
          <option value="3">3 Levels</option>
          <option value="1">Skill Based</option>
        </select>
        <div class="grid">
          <button id="propose">Propose</button>
          <button id="confirm">Confirm</button>
        </div>
      </section>
      <section>
        <hgroup>
          <h2>Courts</h2>
          <p>Reserve courts for training or competition.</p>
        </hgroup>
        <div id="Court-list" class="grid-container"></div>
      </section>
      <section>
        <hgroup>
          <h2>Regulars</h2>
          <p>Check in and check out club members.</p>
        </hgroup>
        <div id="Regular-list" class="grid-container"></div>
      </section>
      <section>
        <hgroup>
          <h2>Guests</h2>
          <p>Add guests to the pool.</p>
        </hgroup>
        <div id="Guest-list" class="grid-container"></div>
      </section>
      <section>
        <hgroup>
          <h2>Admin</h2>
          <p>Changes here are permanent and cannot be reverted.</p>
        </hgroup>
        <div id="admin" class="grid">
          <button id="reset">Reset Session</button>
          <button id='button-player-load'>Upload Database</button>
        </div>
        <input type="file" id="player-load" accept=".csv" placeholder="Player database" hidden/>
      </div>
    </main>
    <footer class="container" style="text-align: center;">
      <strong>Matchup</strong> made with ❤️ by <a href="https://karanj.com">Karan</a>. The source code is licensed <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">CC BY-SA 4.0</a>. Logo from <a href="https://www.svgrepo.com">SVG Repo</a>.
    </footer>
  </body>
  <script src="src/main.js" type="module"></script>
</html>