From 7bf8da43120e5756bd989179f45ddbf6efdd111c Mon Sep 17 00:00:00 2001 From: miziel Date: Wed, 8 Mar 2017 01:32:09 +0100 Subject: [PATCH 1/3] Patch 1 (#1) * Update webdesign.cpp * Update webdesign.cpp --- webdesign.cpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/webdesign.cpp b/webdesign.cpp index 6d96824..fe68242 100644 --- a/webdesign.cpp +++ b/webdesign.cpp @@ -27,7 +27,12 @@ extern const char sHtmlCssFile [] = "a:active {" "color: rgb(204, 122, 0);" "}" - + + ".all {" + "max-width:600px;" + "margin: auto;" + "}" + ".header {" "background-color: rgb(30, 30, 30);" "color: white;" @@ -91,6 +96,7 @@ extern const char sHtmlCommonHeader [] = "" "%s" "" + "
" "
XMR-Stak-CPU
" "
" @@ -118,7 +124,7 @@ extern const char sHtmlHashrateBodyLow [] = "Totals:%s%s%s" "Highest:%s" "" - "
"; + "
"; extern const char sHtmlConnectionBodyHigh [] = "
" @@ -128,14 +134,14 @@ extern const char sHtmlConnectionBodyHigh [] = "Pool ping time%u ms" "" "

Network error log

" - "" + "" ""; extern const char sHtmlConnectionTableRow [] = ""; extern const char sHtmlConnectionBodyLow [] = - "
DateError
%s%s
"; + ""; extern const char sHtmlResultBodyHigh [] = "
" @@ -154,7 +160,7 @@ extern const char sHtmlResultBodyHigh [] = "9%llu10%llu" "" "

Error details

" - "" + "" "" ""; @@ -162,5 +168,5 @@ extern const char sHtmlResultTableRow [] = ""; extern const char sHtmlResultBodyLow [] = - "
Error text
CountLast seen
%s
%llu%s
"; + ""; From 09c1e4ef5e5b1cf499293f2f503e509166e8d6db Mon Sep 17 00:00:00 2001 From: miziel Date: Fri, 10 Mar 2017 21:21:11 +0100 Subject: [PATCH 2/3] Update webdesign.cpp --- webdesign.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/webdesign.cpp b/webdesign.cpp index fe68242..907e01b 100644 --- a/webdesign.cpp +++ b/webdesign.cpp @@ -1,15 +1,15 @@ #include -extern const char sHtmlCssEtag [] = "00000005"; +extern const char sHtmlCssEtag [] = "00000006"; extern const char sHtmlCssFile [] = "body {" "font-family: Tahoma, Arial, sans-serif;" "font-size: 80%;" - "background-color: rgb(230, 230, 230);" + "background-color: rgb(240, 240, 240);" "}" "a {" - "color: rgb(43, 51, 62);" + "color: rgb(44, 55, 66);" "}" "a:link {" @@ -17,7 +17,7 @@ extern const char sHtmlCssFile [] = "}" "a:visited {" - "color: rgb(43, 51, 62);" + "color: rgb(44, 55, 66);" "}" "a:hover {" @@ -42,9 +42,9 @@ extern const char sHtmlCssFile [] = "}" ".links {" - "padding: 5px;" + "padding: 7px;" "text-align: center;" - "background-color: rgb(213, 213, 213);" + "background-color: rgb(215, 215, 215);" "box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);" "}" @@ -72,7 +72,7 @@ extern const char sHtmlCssFile [] = "}" "h4 {" - "background-color: rgb(0, 129, 124);" + "background-color: rgb(0, 130, 130);" "color: white;" "padding: 10px;" "margin: 10px 0px;" @@ -85,7 +85,7 @@ extern const char sHtmlCssFile [] = ".flex-item {" "width: 33%;" - "margin: 6px;" + "margin: 3px;" "}"; size_t sHtmlCssSize = sizeof(sHtmlCssFile) - 1; @@ -97,7 +97,7 @@ extern const char sHtmlCommonHeader [] = "%s" "" "
" - "
XMR-Stak-CPU
" + "
XMR-Stak-CPU
" "
" "