]> gitweb.ps.run Git - lolstats/blob - html/index.html
cleanup
[lolstats] / html / index.html
1 <!DOCTYPE html5>
2 <html>
3   <head>
4     <meta charset="utf-8" />
5     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
6     <title>Advanced League of Legends Match History & Statistics</title>
7     <link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:700" rel="stylesheet">
8     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
9     <link rel="stylesheet" href="lol/style.css">
10     <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
11     <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.js"></script>
12     <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
13     <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
14     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/clusterize.js/0.18.0/clusterize.css">
15     <script src="https://cdnjs.cloudflare.com/ajax/libs/clusterize.js/0.18.0/clusterize.js"></script>
16   </head>
17   <body style="">
18     <div id="background"></div>
19     <div id="app">
20
21       <!-- Start Screen -->
22       <div id="start">
23         <!-- Main panel -->
24         <!--
25           <span id="title">Enter Your Summoner Name</span>
26         -->
27         <div id="inputpanel">
28           <select id="regionselect">
29             <option v-for="(url, name) in regions" :value="name">{{ name }}</option>
30           </select>
31           <input v-on:keyup.enter="submit" id="nameinput" type="text" placeholder="Summoner Name">
32           <button v-on:click="submit" id="gobutton"><span class="fas fa-arrow-right"></span></button>
33         </div>
34
35       </div>
36       <div id="matchhistory" style="display: none">
37         <div id="historyfilters">
38           <button id="statsbutton" v-on:click="historyToStats">Statistics</button>
39           <div id="champselect">
40             <button class="champselect" v-on:click="selectAll">All</button>
41             <button class="champselect" v-on:click="selectNone">None</button><br />
42             <span v-for="c in champions"><input class="champselectcb" type="checkbox" :id="'cb' + c" /><label :for="'cb' + c">{{ c }}</label><br /></span>
43           </div>
44           <button id="refreshbutton" v-on:click="refreshHistory">Refresh</button>
45         </div>
46         <hr />
47         <div id="matchlist" class="clusterize">
48           <div style="position: relative; width: 100%; height: 100%; max-height: 100%" id="scrollArea" class="clusterize-scroll">
49             <table>
50               <tbody id="contentArea" class="clusterize-content">
51                 <tr class="clusterize-no-data">
52                   <td>Loading data...</td>
53                 </tr>
54                 <!--
55                 <tr>
56                   <th>Icon</th>
57                   <th v-for="c in matchprops">{{ c.text }}</th>
58                 </tr>
59                 <tr v-for="m in matches">
60                   <td><img class="championIcon" :src="'http://ddragon.leagueoflegends.com/cdn/8.24.1/img/champion/' + m.championString + '.png'"></img></td>
61                   <td v-for="c in matchprops">{{ m[c.name] }}</td>
62                   </tr>
63                 -->
64               </tbody>
65             </table>
66           </div>
67         </div>
68       </div>
69       <div id="stats" style="display: none">
70         <div id="statsfilters">
71         <button id="historybutton" v-on:click="statsToHistory">Match history</button>
72         </div>
73       </div>
74
75     </div>
76
77     <!-- Vue.js Script -->
78     <script src="lol/script.js"></script>
79     <script>
80     </script>
81   </body>
82 </html>