From 3c506f226bc237567d31b7a3c10db256fb49fd04 Mon Sep 17 00:00:00 2001 From: keithdavis Date: Sun, 15 Jul 2018 07:55:27 -0500 Subject: [PATCH 1/4] Clean up Style.css (missing semicolons, optimizing borders, invalid values) --- Public/Styles/Style.css | 62 ++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 38 deletions(-) diff --git a/Public/Styles/Style.css b/Public/Styles/Style.css index a97b1a6..a17a528 100644 --- a/Public/Styles/Style.css +++ b/Public/Styles/Style.css @@ -12,16 +12,14 @@ a { } a:hover { - color: #A00 + color: #A00; } input,select,textarea { -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; - border-width: 1px; - border-style: solid; - border-color: #AAA; + border : 1px solid #aaaaaa; width: 298px; font-family: Tahoma; font-size: 1em; @@ -37,9 +35,7 @@ select { } input:focus,textarea:focus { - border-width: 1px; - border-style: solid; - border-color: #EEE; + border : 1px solid #eeeeee; } input:hover { @@ -61,9 +57,7 @@ hr { } .menu { - border-width: 1px; - border-style: solid; - border-color: #a0312a; + border : 1px solid #a0312a; color: #eee; width: 198px; } @@ -81,7 +75,7 @@ hr { "Courier New", Courier, monospace; - cursor: hand; + cursor: pointer; } .loading { @@ -124,51 +118,43 @@ hr { } .header { - border-width: 1px; - border-style: solid; - border-color: #9c3c36; + border : 1px solid #9c3c36; background: #B5463F; font-weight: bold; color: #fff; - clear: both + clear: both; } .sub-header { - border-width: 1px; - border-style: solid; - border-color: #514845; + border : 1px solid #514845; background: #635855; font-weight: bold; color: #fff; clear: both; - margin-top: 10px + margin-top: 10px; } .container { - border-width: 1px; - border-style: solid; - border-color: #d0d0d0; + border : 1px solid #d0d0d0; background: #ebebeb; - font-weight: none; + font-weight: normal; color: #000; margin-top: 1px; - clear: both + clear: both; } .list { - border-width: 1px; - border-style: solid; - border-color: #9c3c36; + border : 1px solid #9c3c36; background: #B5463F; font-weight: bold; - color: #fff + color: #fff; } .button { padding: 1px 20px; -moz-border-radius: 2px; -webkit-border-radius: 2px; - border-radius: 2px + border-radius: 2px; } .live { @@ -186,30 +172,30 @@ hr { monospace; font-size: 12px; overflow: visible; - white-space: pre-wrap + white-space: pre-wrap; } .line { min-height: 18px; padding-top: 3px; padding-bottom: 2px; - clear: both + clear: both; } .left { float: left; min-width: 126px; - font-weight: bold + font-weight: bold; } .right { - float: right + float: right; } .setting { - min-width: 180px + min-width: 180px; } .slabs { - min-width: 104px + min-width: 104px; } .help { cursor:help; @@ -224,15 +210,15 @@ hr { } .grey { - color: #EEE + color: #EEE; } .green { - color: #40aaba + color: #40aaba; } .red { background: #b5463f; color: #fff; - font-weight: bold + font-weight: bold; } \ No newline at end of file From 1e69be93567f64374960367e5caeb86c5683d5e9 Mon Sep 17 00:00:00 2001 From: keithdavis Date: Sun, 15 Jul 2018 08:19:01 -0500 Subject: [PATCH 2/4] Fixed invalid CSS property witdh in Items.phtml --- View/Stats/Items.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/View/Stats/Items.phtml b/View/Stats/Items.phtml index ca3ad85..dd6ec60 100644 --- a/View/Stats/Items.phtml +++ b/View/Stats/Items.phtml @@ -9,7 +9,7 @@
- + From 2e2020ebeb71bc2624f8c4ed9c3164af0228277d Mon Sep 17 00:00:00 2001 From: keithdavis Date: Sun, 15 Jul 2018 08:32:29 -0500 Subject: [PATCH 3/4] Fixed optional parameter before required bug in \Library_HTML_Components::apiList --- Library/HTML/Components.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/HTML/Components.php b/Library/HTML/Components.php index 8830147..fb61743 100644 --- a/Library/HTML/Components.php +++ b/Library/HTML/Components.php @@ -117,7 +117,7 @@ public static function serverResponse($hostname, $port, $data) * * @return String */ - public static function apiList($iniAPI = '', $id) + public static function apiList($iniAPI, $id) { return '