diff --git a/Pool-Stats/html.html b/Pool-Stats/html.html index 5f4b093..1f61c9b 100644 --- a/Pool-Stats/html.html +++ b/Pool-Stats/html.html @@ -70,13 +70,13 @@ // List of pool information with logo paths and names const poolData = [ { - name: 'expanse', + name: 'Ethereum Classic', apiUrl: 'https://etc.example.org/api/stats', logoPath: 'logo/etc.png', visitUrl: 'https://etc.example.org/' }, { - name: 'ethereumclassic', + name: 'Expanse', apiUrl: 'https://exp.example.org/api/stats', logoPath: 'logo/exp.png', visitUrl: 'https://exp.example.org/' @@ -113,17 +113,17 @@ // Create HTML for current pool statistics const poolStatsHtml = ` -
- ${poolInfo.name} Logo -

${poolInfo.name}

-

Difficulty: ${formatHashrate(difficulty)}

-

Network Hash Rate: ${formatHashrate(nethash)}

-

Block Time: ${blocktime}

-

Chain Height: ${chainheight}

-

Miners Total: ${minersTotal}

- -
- `; +
+ ${poolInfo.name} Logo +

${poolInfo.name}

+

Difficulty: ${formatHashrate(difficulty)}

+

Network Hash Rate: ${formatHashrate(nethash)}

+

Block Time: ${blocktime}

+

Chain Height: ${chainheight}

+

Miners Total: ${minersTotal}

+ +
+ `; // Add HTML statistics to the container poolStatsContainer.innerHTML += poolStatsHtml;