From e359a1cf975c2b6c83d6cecd76f068177b82608a Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Sat, 15 Nov 2014 16:47:42 +0000 Subject: [PATCH] Move 'state' to header, as on/off btn, in a modal --- web/skins/bootstrap/views/header.php | 7 +- web/skins/bootstrap/views/state.php | 104 +++++++++++---------------- 2 files changed, 47 insertions(+), 64 deletions(-) diff --git a/web/skins/bootstrap/views/header.php b/web/skins/bootstrap/views/header.php index 0d943785a..266e2fa33 100644 --- a/web/skins/bootstrap/views/header.php +++ b/web/skins/bootstrap/views/header.php @@ -7,13 +7,15 @@ $statusClass = 'danger'; } ?> + + diff --git a/web/skins/bootstrap/views/state.php b/web/skins/bootstrap/views/state.php index 4e8365d51..87a88ef67 100644 --- a/web/skins/bootstrap/views/state.php +++ b/web/skins/bootstrap/views/state.php @@ -23,84 +23,64 @@ if ( !canEdit( 'System' ) ) $view = "error"; return; } -$running = daemonCheck(); - $states = dbFetchAll( "select * from States" ); -$focusWindow = true; +?> +