diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-11-16 12:12:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 12:12:40 +0100 |
commit | 1dc874c542a23c36dd65ea0f5b9cb65e3c3a572a (patch) | |
tree | bbebd1f9969dbd09283fba5cb3ef9fc170dc0400 /xmrstak/http/webdesign.cpp | |
parent | 2c3a3484757f242cf20b8e2ca2d89cfe01f64888 (diff) | |
parent | 41eb0ad64e6d003368ccf8f3212f190a829aae10 (diff) | |
download | xmr-stak-1dc874c542a23c36dd65ea0f5b9cb65e3c3a572a.zip xmr-stak-1dc874c542a23c36dd65ea0f5b9cb65e3c3a572a.tar.gz |
Merge pull request #115 from fireice-uk/topic-net-ext
Network extensions
Diffstat (limited to 'xmrstak/http/webdesign.cpp')
-rw-r--r-- | xmrstak/http/webdesign.cpp | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/xmrstak/http/webdesign.cpp b/xmrstak/http/webdesign.cpp index 3c33e1f..963c080 100644 --- a/xmrstak/http/webdesign.cpp +++ b/xmrstak/http/webdesign.cpp @@ -1,6 +1,6 @@ #include <stdlib.h> -extern const char sHtmlCssEtag [] = "00000008"; +extern const char sHtmlCssEtag [] = "00000009"; extern const char sHtmlCssFile [] = "body {" "font-family: Tahoma, Arial, sans-serif;" @@ -92,6 +92,23 @@ extern const char sHtmlCssFile [] = ".flex-item {" "width: 33%;" "margin: 3px;" + "}" + + ".motd-box {" + "background-color: #ccc;" + "padding: 0px 10px 5px 10px;" + "margin-bottom: 10px;" + "}" + + ".motd-head {" + "border-bottom: 1px solid #000;" + "margin-bottom: 0.5em;" + "padding: 0.5em 0em;" + "font-weight: bold;" + "}" + + ".motd-body {" + "overflow: hidden;" "}"; size_t sHtmlCssSize = sizeof(sHtmlCssFile) - 1; @@ -130,6 +147,10 @@ extern const char sHtmlCommonHeader [] = "</div>" "<h4>%s</h4>"; +extern const char sHtmlMotdBoxStart[] = "<div class='motd-box'>"; +extern const char sHtmlMotdEntry[] = "<div class='motd-head'>Message from %s</div><div class='motd-body'>%s</div>"; +extern const char sHtmlMotdBoxEnd[] = "</div>"; + extern const char sHtmlHashrateBodyHigh [] = "<div class=data>" "<table>" |