diff options
| author | Patrick Schönberger | 2018-12-10 20:08:47 +0100 |
|---|---|---|
| committer | Patrick Schönberger | 2018-12-10 20:08:47 +0100 |
| commit | 8ed339b1fd7fca6209d1784bd18faf8608ab67a6 (patch) | |
| tree | 27189184d6691bb164b82f52e964d7762f182f2b /html/index.html | |
| parent | d321fbf9c21bbc256215f88edc98296701c6b328 (diff) | |
| download | lolstats-8ed339b1fd7fca6209d1784bd18faf8608ab67a6.tar.gz lolstats-8ed339b1fd7fca6209d1784bd18faf8608ab67a6.zip | |
changes
Diffstat (limited to 'html/index.html')
| -rw-r--r-- | html/index.html | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/html/index.html b/html/index.html index 8346529..2e6b292 100644 --- a/html/index.html +++ b/html/index.html @@ -30,16 +30,28 @@ </div> <div id="matchhistory" style="display: none"> - <button v-on:click="historyToStats">Statistics</button> - Champion: - <select> - <option>All</option> - <option v-for="c in champions">{{ c.name }}</option> - </select> - + <div id="historyfilters"> + <button id="statsbutton" v-on:click="historyToStats">Statistics</button> + <label for="champselect">Champion</label> + <select id="champselect"> + <option>All</option> + <option v-for="c in champions">{{ c.name }}</option> + </select> + <button id="refreshbutton" v-on:click="refreshhistory">Refresh</button> + </div> + <div id="matchlist"> + <table> + <tr> + <th v-for="c in matchprops">{{ c.text }}</th> + </tr> + <tr v-for="m in matches"> + <td v-for="c in matchprops">{{ m[c.name] }}</td> + </tr> + </table> + </div> </div> <div id="stats" style="display: none"> - <button v-on:click="statsToHistory">Match history</button> + <button id="historybutton" v-on:click="statsToHistory">Match history</button> </div> </div> |
