From be6d0ddfb3db7b08d7d65dc04c8f43c913c988c1 Mon Sep 17 00:00:00 2001 From: Andrew Karpow Date: Tue, 5 Nov 2013 14:59:12 +0100 Subject: [PATCH] fix buttons, added auto-reconnect, code cleanup --- htdocs/css/starter-template.css | 17 ++- htdocs/index.html | 186 ++++++++++++++++----------- htdocs/js/mpd.js | 216 ++++++++++++++++++++++---------- src/Makefile | 2 +- src/http_server.c | 9 +- src/main.c | 6 +- src/mpd_client.c | 155 +++++++++++------------ src/mpd_client.h | 6 +- 8 files changed, 365 insertions(+), 232 deletions(-) diff --git a/htdocs/css/starter-template.css b/htdocs/css/starter-template.css index f68b959..a61fb1c 100644 --- a/htdocs/css/starter-template.css +++ b/htdocs/css/starter-template.css @@ -1,7 +1,22 @@ body { padding-top: 50px; + padding-bottom: 50px; } + .starter-template { padding: 40px 15px; - max-width: 800px; +} + +.slider.slider-horizontal { + height: 15px; +} + +.slider.slider-horizontal .slider-track { + height: 10px; + margin-top: -6px; +} + +.progress { + margin-top: 0px; + margin-bottom: 0px; } diff --git a/htdocs/index.html b/htdocs/index.html index 4edddc4..331eb14 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -13,79 +13,85 @@ - + - - - - - -
-
- 60% Complete -
-
+ + + + + +