diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-11-14 11:01:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-14 11:01:57 +0000 |
commit | 288363814fb091ccfc452f0408bfa53727fc30c0 (patch) | |
tree | e460f1baa5d8436dee82c671ab9758be999fc1ef /xmrstak/http/webdesign.cpp | |
parent | b1645f6e26a7f1d0d907b4911ddf4ac6bc933166 (diff) | |
parent | 04e4d28c98a76e9b0982674fdeb9f27a82a6790e (diff) | |
download | xmr-stak-288363814fb091ccfc452f0408bfa53727fc30c0.zip xmr-stak-288363814fb091ccfc452f0408bfa53727fc30c0.tar.gz |
Merge pull request #103 from fireice-uk/topic-versioning
Versioning
Diffstat (limited to 'xmrstak/http/webdesign.cpp')
-rw-r--r-- | xmrstak/http/webdesign.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/xmrstak/http/webdesign.cpp b/xmrstak/http/webdesign.cpp index 1cb76c3..3c33e1f 100644 --- a/xmrstak/http/webdesign.cpp +++ b/xmrstak/http/webdesign.cpp @@ -1,6 +1,6 @@ #include <stdlib.h> -extern const char sHtmlCssEtag [] = "00000006"; +extern const char sHtmlCssEtag [] = "00000008"; extern const char sHtmlCssFile [] = "body {" "font-family: Tahoma, Arial, sans-serif;" @@ -38,7 +38,13 @@ extern const char sHtmlCssFile [] = "color: white;" "padding: 10px;" "font-weight: bold;" - "margin: 10px 0px;" + "margin: 0px;" + "margin-bottom: 10px;" + "}" + + ".version {" + "font-size: 75%;" + "text-align: right;" "}" ".links {" @@ -108,6 +114,7 @@ extern const char sHtmlCommonHeader [] = "<link rel='stylesheet' href='style.css' /><title>%s</title></head>" "<body>" "<div class='all'>" + "<div class='version'>%s</div>" "<div class='header'><span style='color: rgb(255, 160, 0)'>XMR</span>-Stak Monero Miner</div>" "<div class='flex-container'>" @@ -192,6 +199,8 @@ extern const char sJsonApiConnectionError[] = extern const char sJsonApiFormat [] = "{" + "\"version\":\"%s\"," + "\"hashrate\":{" "\"threads\":[%s]," "\"total\":%s," |