From: Patrick Schönberger Date: Mon, 10 Dec 2018 19:08:47 +0000 (+0100) Subject: changes X-Git-Url: https://gitweb.ps.run/lolstats/commitdiff_plain/8ed339b1fd7fca6209d1784bd18faf8608ab67a6 changes --- 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 @@ diff --git a/html/script.js b/html/script.js index d97fcc4..51c43c0 100644 --- a/html/script.js +++ b/html/script.js @@ -4,7 +4,12 @@ function getRegions() { return [ "euw", "na", "kr", "br" ]; } function getChampions() { - return [ {name: "Aatrox"}, {name: "Annie"}, {name: "Braum"} ]; + return [ {name: "Aatrox"}, {name: "Annie"}, {name: "Braum"}, {name: "Not"} ]; +} +function getMatchProps() { + return [] +} +function getMatches() { } function getInfo() { app.summoner = $("#nameinput").val(); @@ -35,6 +40,8 @@ var app = new Vue({ view: "start", regions: getRegions(), champions: getChampions(), + matchprops: getMatchProps(), + matches: getMatches(), }, methods: { submit: function() { diff --git a/html/style.css b/html/style.css index 3c3cd0a..af80d07 100644 --- a/html/style.css +++ b/html/style.css @@ -101,8 +101,18 @@ input, select, button { left: 110px; top: 5px; } -#gobutton { - position: relative; +#gobutton, #statsbutton, #historybutton { + position: absolute; + top: 5px; + right: 5px; + z-index: 1; +} +#refreshbutton { + position: absolute; + right: 5px; + bottom: 5px; +} +button { vertical-align: baseline; margin: 5px; width: 110px; @@ -111,10 +121,6 @@ input, select, button { color: white; border-radius: 5px; outline: none; - position: absolute; - top: 5px; - right: 5px; - z-index: 1; } #gobutton:hover { background-color: rgba(180, 30, 30);