]> gitweb.ps.run Git - lolstats/blob - html/index.html
views korrigiert
[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="app">
16
17       <!-- Start Screen -->
18       <div id="start">
19         <!-- Main panel -->
20         <!--
21         <span id="title">Enter Your Summoner Name</span>
22         -->
23         <div id="inputpanel">
24           <select id="regionselect">
25             <option v-for="r in regions" :value="r">{{ r }}</option>
26           </select>
27           <input v-on:keyup.enter="submit" id="nameinput" type="text" placeholder="Summoner Name">
28           <button v-on:click="submit" id="gobutton"><span class="fas fa-arrow-right"></span></button>
29         </div>
30
31       </div>
32       <div id="matchhistory" style="display: none">
33         <div id="historyfilters">
34           <button id="statsbutton" v-on:click="historyToStats">Statistics</button>
35           <label for="champselect">Champion</label>
36           <select id="champselect">
37             <option>All</option>
38             <option v-for="c in champions">{{ c.name }}</option>
39           </select>
40           <button id="refreshbutton" v-on:click="refreshHistory">Refresh</button>
41         </div>
42         <div id="matchlist">
43           <table>
44             <tr>
45               <th v-for="c in matchprops">{{ c.text }}</th>
46             </tr>
47             <tr v-for="m in matches">
48               <td v-for="c in matchprops">{{ m[c.name] }}</td>
49             </tr>
50           </table>
51         </div>
52       </div>
53       <div id="stats" style="display: none">
54         <button id="historybutton" v-on:click="statsToHistory">Match history</button>
55       </div>
56
57     </div>
58
59     <!-- Vue.js Script -->
60     <script src="lol/script.js"></script>
61   </body>
62 </html>