forked from Ocean/datum_gateway
Merge remote-tracking branch 'github-pull/52/head'
This commit is contained in:
commit
a8375b7317
@ -644,7 +644,7 @@ int datum_api_client_dashboard(struct MHD_Connection *connection) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sz += snprintf(&output[sz], max_sz-1-sz, "</TABLE><BR><CENTER>Total active hashrate estimate: %.2f Th/s</CENTER>", thr);
|
sz += snprintf(&output[sz], max_sz-1-sz, "</TABLE><p class=\"table-footer\">Total active hashrate estimate: %.2f Th/s</p>", thr);
|
||||||
sz += snprintf(&output[sz], max_sz-1-sz, "<script>function sendPostRequest(url, data){fetch(url,{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify(data)});}</script>");
|
sz += snprintf(&output[sz], max_sz-1-sz, "<script>function sendPostRequest(url, data){fetch(url,{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify(data)});}</script>");
|
||||||
sz += snprintf(&output[sz], max_sz-1-sz, "%s", www_foot_html);
|
sz += snprintf(&output[sz], max_sz-1-sz, "%s", www_foot_html);
|
||||||
|
|
||||||
|
@ -119,6 +119,11 @@ td:not(.label) {
|
|||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-footer {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 1100px) {
|
@media (min-width: 1100px) {
|
||||||
.table-wrapper {
|
.table-wrapper {
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
@ -138,3 +143,8 @@ td:not(.label) {
|
|||||||
.fixed-width {
|
.fixed-width {
|
||||||
font-family: "Courier New", Courier, monospace;
|
font-family: "Courier New", Courier, monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note {
|
||||||
|
text-align: center;
|
||||||
|
font-size: small;
|
||||||
|
}
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
<title>DATUM Gateway Status</title>
|
<title>DATUM Gateway Status</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
||||||
<link rel="stylesheet" type="text/css" href="./assets/style.css">
|
<link rel="stylesheet" type="text/css" href="./assets/style.css">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
<title>DATUM Gateway Status</title>
|
<title>DATUM Gateway Status</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
||||||
<link rel="stylesheet" type="text/css" href="./assets/style.css">
|
<link rel="stylesheet" type="text/css" href="./assets/style.css">
|
||||||
<style type="text/css">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<style>
|
||||||
.table-wrapper {
|
.table-wrapper {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<BR>
|
<p class="note">Note: This page does not automatically refresh</p>
|
||||||
<CENTER><SMALL>Note: This page does not automatically refresh</SMALL></CENTER>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
<title>DATUM Gateway Status</title>
|
<title>DATUM Gateway Status</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
||||||
<link rel="stylesheet" type="text/css" href="./assets/style.css">
|
<link rel="stylesheet" type="text/css" href="./assets/style.css">
|
||||||
<style type="text/css">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<style>
|
||||||
.table-wrapper {
|
.table-wrapper {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
@ -170,7 +171,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<BR>
|
<p class="note">Note: This page does not automatically refresh</p>
|
||||||
<CENTER><SMALL>Note: This page does not automatically refresh</SMALL></CENTER>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
<title>DATUM Gateway Status</title>
|
<title>DATUM Gateway Status</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
||||||
<link rel="stylesheet" type="text/css" href="./assets/style.css">
|
<link rel="stylesheet" type="text/css" href="./assets/style.css">
|
||||||
<style type="text/css">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<style>
|
||||||
.table-wrapper {
|
.table-wrapper {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user