From 92944dba97b85fc874668c3d3a10d680df9e57c8 Mon Sep 17 00:00:00 2001 From: viemmsakh Date: Mon, 20 Jun 2016 10:57:26 -0400 Subject: [PATCH 1/5] Rename header.html to header.php --- header.html | 175 ---------------------------------------------------- 1 file changed, 175 deletions(-) delete mode 100644 header.html diff --git a/header.html b/header.html deleted file mode 100644 index 336290cf..00000000 --- a/header.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - Pi-hole Admin Console - - - - - - - - - - - - - - - - - - - - - - - - -
- - -

Javascript Is Disabled

Javascript seems to be disabled. This will break some site features.

-

To enable Javascript click here

-
- - -
-
- - - - -
- - - -
- -
From 4f45f81dbf0fa1609174dc0c943a746f23f76aa6 Mon Sep 17 00:00:00 2001 From: viemmsakh Date: Mon, 20 Jun 2016 10:57:59 -0400 Subject: [PATCH 2/5] Update to require header.php instead of header.html --- index.php | 2 +- list.php | 2 +- queries.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 8c7b23f9..b388a6a7 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,5 @@
diff --git a/list.php b/list.php index 0d3ec111..4382981f 100644 --- a/list.php +++ b/list.php @@ -1,6 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + +
+ + +

Javascript Is Disabled

Javascript seems to be disabled. This will break some site features.

+

To enable Javascript click here

+
+ + +
+
+ + + + +
+ + + +
+ +
From 342c1426d4635097630152b7b7fa311159126db0 Mon Sep 17 00:00:00 2001 From: viemmsakh Date: Mon, 20 Jun 2016 14:27:35 -0400 Subject: [PATCH 4/5] Moved temp to sidebar from header --- header.php | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/header.php b/header.php index c2e9a451..523411f4 100644 --- a/header.php +++ b/header.php @@ -1,5 +1,5 @@ @@ -65,8 +65,7 @@

Status

- "0") { echo '
Active'; } else { echo ' Offline'; } - ?> + + // CPU Temp + if ($output > "45") { + echo ' Temp: ' . $output . ''; + } else { + echo ' Temp: ' . $output . ''; + } + + + ?>
From 82632bf09aaf9beedfe3ebc1f9501d479ea17aab Mon Sep 17 00:00:00 2001 From: "Aaron K. Henderson" Date: Tue, 21 Jun 2016 07:46:43 -0400 Subject: [PATCH 5/5] Cleaned up spacing Spacing was combination of tabs and spaces. Changed to all spaces to make it a bit cleaner. --- header.php | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/header.php b/header.php index 523411f4..92d0ba9f 100644 --- a/header.php +++ b/header.php @@ -1,7 +1,7 @@ @@ -65,7 +65,7 @@

Status

- "0") { echo '
Active'; } else { echo ' Offline'; } - - // CPU Temp - if ($output > "45") { + + // CPU Temp + if ($output > "45") { echo ' Temp: ' . $output . ''; } else { echo ' Temp: ' . $output . ''; } - - - ?> + ?>