#include
extern const char sHtmlCssEtag [] = "00000005";
extern const char sHtmlCssFile [] =
"body {"
"font-family: Tahoma, Arial, sans-serif;"
"font-size: 80%;"
"background-color: rgb(230, 230, 230);"
"}"
"a {"
"color: rgb(43, 51, 62);"
"}"
"a:link {"
"text-decoration: none;"
"}"
"a:visited {"
"color: rgb(43, 51, 62);"
"}"
"a:hover {"
"color: rgb(255, 153, 0);"
"}"
"a:active {"
"color: rgb(204, 122, 0);"
"}"
".header {"
"background-color: rgb(30, 30, 30);"
"color: white;"
"padding: 10px;"
"font-weight: bold;"
"margin: 10px 0px;"
"}"
".links {"
"padding: 5px;"
"text-align: center;"
"background-color: rgb(213, 213, 213);"
"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);"
"}"
".data th, td {"
"padding: 5px 12px;"
"text-align: right;"
"border-bottom: 1px solid #ccc;"
"}"
".data tr:nth-child(even) {"
"background-color: #ddd;"
"}"
".data th {"
"background-color: #ccc;"
"}"
".data table {"
"width: 100%;"
"max-width: 600px;"
"}"
".letter {"
"font-weight: bold;"
"}"
"h4 {"
"background-color: rgb(0, 129, 124);"
"color: white;"
"padding: 10px;"
"margin: 10px 0px;"
"}"
".flex-container {"
"display: -webkit-flex;"
"display: flex;"
"}"
".flex-item {"
"width: 33%;"
"margin: 6px;"
"}";
size_t sHtmlCssSize = sizeof(sHtmlCssFile) - 1;
extern const char sHtmlCommonHeader [] =
""
""
""
"%s"
""
""
""
"%s
";
extern const char sHtmlHashrateBodyHigh [] =
""
"
"
"Thread ID | 2.5s | 60s | 15m | H/s |
";
extern const char sHtmlHashrateTableRow [] =
"%u | %s | %s | %s |
";
extern const char sHtmlHashrateBodyLow [] =
"Totals: | %s | %s | %s |
"
"Highest: | %s | |
"
"
"
"
";
extern const char sHtmlConnectionBodyHigh [] =
""
"
"
"Pool address | %s |
"
"Connected since | %s |
"
"Pool ping time | %u ms |
"
"
"
"
Network error log
"
"
"
"Date | Error |
";
extern const char sHtmlConnectionTableRow [] =
"%s | %s |
";
extern const char sHtmlConnectionBodyLow [] =
"