]> gitweb.ps.run Git - lolstats/blob - html/index.html
d35e28fd37052fcf0368bd3725ed0020b2757e89
[lolstats] / html / index.html
1 <!DOCTYPE html5>
2 <html>
3   <head>
4     <meta charset="utf-8" />
5     <title>Advanced League of Legends Match History & Statistics</title>
6     <link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:700" rel="stylesheet">
7     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
8     <link rel="stylesheet" href="lol/style.css">
9     <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
10     <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.js"></script>
11     <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
12     <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
13   </head>
14   <body style="">
15     <div id="background"></div>
16     <div id="app">
17
18       <!-- Start Screen -->
19       <div id="start">
20         <!-- Main panel -->
21         <!--
22         <span id="title">Enter Your Summoner Name</span>
23         -->
24         <div id="inputpanel">
25           <select id="regionselect">
26             <option v-for="r in regions" :value="r">{{ r }}</option>
27           </select>
28           <input v-on:keyup.enter="submit" id="nameinput" type="text" placeholder="Summoner Name">
29           <button v-on:click="submit" id="gobutton"><span class="fas fa-arrow-right"></span></button>
30         </div>
31
32       </div>
33       <div id="matchhistory" style="display: none">
34         <div id="historyfilters">
35           <button id="statsbutton" v-on:click="historyToStats">Statistics</button>
36           <label for="champselect">Champion</label>
37           <select id="champselect">
38             <option>All</option>
39             <option v-for="c in champions">{{ c.name }}</option>
40           </select>
41           <button id="refreshbutton" v-on:click="refreshHistory">Refresh</button>
42         </div>
43         <div id="matchlist">
44           <table>
45             <tr>
46               <th v-for="c in matchprops">{{ c.text }}</th>
47             </tr>
48             <tr v-for="m in matches">
49               <td v-for="c in matchprops">{{ m[c.name] }}</td>
50             </tr>
51           </table>
52         </div>
53       </div>
54       <div id="stats" style="display: none">
55         <button id="historybutton" v-on:click="statsToHistory">Match history</button>
56       </div>
57
58     </div>
59
60     <!-- Vue.js Script -->
61     <script src="lol/script.js"></script>
62   </body>
63 </html>