treesummaryrefslogcommitdiff
path: root/html/index.html
blob: 283074ea1617f443ac42a89b59aa884318a47b6c (plain)
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
<!DOCTYPE html5>
<html>
  <head>
    <meta charset="utf-8" />
    <title>lol stats</title>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:700" rel="stylesheet">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.js"></script>
    <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  </head>
  <body style="">
    <div id="app">

      <!-- Start Screen -->
      <div id="start">
        <!-- Main panel -->
        <!--
        <span id="title">Enter Your Summoner Name</span>
        -->
        <div id="inputpanel">
          <select id="regionselect">
            <option v-for="r in regions" :value="r">{{ r }}</option>
          </select>
          <input v-on:keyup.enter="submit" id="nameinput" type="text" placeholder="Summoner Name">
          <button v-on:click="submit" id="gobutton"><span class="fas fa-arrow-right"></span></button>
        </div>

      </div>
      <div id="matchhistory" style="display: none">
        <button v-on:click="historyToStats">Statistics</button>
        <hr />
        Champion:
        <select>
          <option>Annie</option>
          <option>Aatrox</option>
        </select>

      </div>
      <div id="stats" style="display: none">
        <button v-on:click="statsToHistory">Match history</button>
      </div>

    </div>

    <!-- Vue.js Script -->
    <script src="script.js"></script>
  </body>
</html>