From 9bddced9690d8051133fd6f365f20d9f0882ab67 Mon Sep 17 00:00:00 2001 From: woutervanwijk Date: Mon, 30 Dec 2013 09:35:42 +0100 Subject: [PATCH] icons update, better shutdown/reboot --- flatclient/index.html | 12 ++++++------ flatclient/js/controls.js | 10 +++++----- flatclient/settings/index.html | 8 ++++---- flatclient/system.html | 6 ++++-- 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/flatclient/index.html b/flatclient/index.html index 46495cc..f8bc345 100755 --- a/flatclient/index.html +++ b/flatclient/index.html @@ -90,7 +90,7 @@
  • - + @@ -356,15 +356,15 @@

    - -   -   + +   +  

    - - +   +  
    diff --git a/flatclient/js/controls.js b/flatclient/js/controls.js index 6662bb1..c7dc3a7 100755 --- a/flatclient/js/controls.js +++ b/flatclient/js/controls.js @@ -543,13 +543,13 @@ function saveRadioStations() { } function haltSystem() { - window.history.back(); $.post("/haltSystem"); - toast('Stopping system...', 3000); + toast('Stopping system...', 10000); + setTimeout(function(){window.history.back();}, 10000); } function rebootSystem() { - window.history.back(); $.post("/rebootSystem"); - toast('Rebooting...', 3000); -} \ No newline at end of file + toast('Rebooting...', 10000); + setTimeout(function(){window.history.back();}, 10000); +} diff --git a/flatclient/settings/index.html b/flatclient/settings/index.html index 367e4fc..21e1d53 100644 --- a/flatclient/settings/index.html +++ b/flatclient/settings/index.html @@ -12,16 +12,16 @@

    Please provide your username, password to enable playing music from Spotify.

    Username

    - +

    Password

    - +

    Last.FM

    Please provide the username, password to enable scrobbling via Last.FM.

    Username

    - +

    Password

    - +

    diff --git a/flatclient/system.html b/flatclient/system.html index ad78bf0..d7715b8 100755 --- a/flatclient/system.html +++ b/flatclient/system.html @@ -8,13 +8,15 @@ + +
    -
    -

    System

    +
    +

    System

    Shutdown Reboot Cancel