diff --git a/website/.gitignore b/website/.gitignore index da54ded..bee8a64 100644 --- a/website/.gitignore +++ b/website/.gitignore @@ -1,2 +1 @@ __pycache__ -apikey diff --git a/website/artist.html b/website/artist.html index 910efad..c952b11 100644 --- a/website/artist.html +++ b/website/artist.html @@ -3,7 +3,7 @@
-
- |
- KEY_ARTISTNAMEKEY_POSITION+ KEY_ARTISTNAMEKEY_POSITIONKEY_ASSOCIATED KEY_SCROBBLES Scrobbles diff --git a/website/artist.py b/website/artist.py index fc39c67..88e5208 100644 --- a/website/artist.py +++ b/website/artist.py @@ -14,6 +14,7 @@ def replacedict(keys,dbport): db_data = json.loads(response.read()) scrobbles = str(db_data["scrobbles"]) pos = "#" + str(db_data["position"]) + credited = db_data.get("replace") includestr = " " if credited is not None: diff --git a/website/maloja.css b/website/maloja.css index d4ceff2..4123773 100644 --- a/website/maloja.css +++ b/website/maloja.css @@ -8,7 +8,7 @@ body { } a { - color:lightgray; + color:inherit; text-decoration:none; } @@ -22,6 +22,13 @@ table.top_info td.image { padding-top:0px; } +table.top_info td.image div { + background-size:cover; + background-position:center; + height:174px; + width:174px +} + table.top_info td.text { vertical-align: top; padding-left: 30px; diff --git a/website/topartists.html b/website/topartists.html index 2b1f5ee..6290139 100644 --- a/website/topartists.html +++ b/website/topartists.html @@ -3,12 +3,27 @@ -Top Artists-in January 2018+
|