From 8b0904e58974c206f47f88a1a2a3ef00db60cc7f Mon Sep 17 00:00:00 2001 From: Krateng Date: Tue, 14 May 2019 12:50:31 +0200 Subject: [PATCH] Added page to manually scrobble --- website/css/maloja.css | 12 ++ website/javascript/cookies.js | 4 + website/manual.html | 214 ++++++++++++++++++++++++++++++++++ 3 files changed, 230 insertions(+) create mode 100644 website/manual.html diff --git a/website/css/maloja.css b/website/css/maloja.css index b68d8f4..08dd926 100644 --- a/website/css/maloja.css +++ b/website/css/maloja.css @@ -290,6 +290,18 @@ input#apikey { padding:2px; } +input.simpleinput { + font-family:'Ubuntu'; + color:beige; + outline:none; + border-top: 0px solid; + border-left: 0px solid; + border-right: 0px solid; + padding:2px; + background-color:inherit; + border-bottom: 1px solid beige; +} + a { cursor:pointer; diff --git a/website/javascript/cookies.js b/website/javascript/cookies.js index 5bb9e50..6d92425 100644 --- a/website/javascript/cookies.js +++ b/website/javascript/cookies.js @@ -42,3 +42,7 @@ function checkAPIkey() { apikeycorrect = false } } + +function APIkey() { + return document.getElementById("apikey").value; +} diff --git a/website/manual.html b/website/manual.html new file mode 100644 index 0000000..a064f38 --- /dev/null +++ b/website/manual.html @@ -0,0 +1,214 @@ + + + + + + Maloja + + + + + + + + + + + + + + + + +
+
+
+

Manual Scrobbling


+

+ API Key:

+ + +
+ +

Scrobble new discovery

+ + + + + + + + +
+ Artists: + + +
+ Title: + + +
+ +
+ + Scrobble! + +
+ + + +

Search

+ + +

+
+ + + + + + + + +