From c2fff6db496e31c689d5c147d937113c30844370 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Thu, 7 Sep 2023 19:47:14 +0200 Subject: [PATCH] www --- www/app/templates/index.hbs | 209 ++++++++++++++++++++++++++---------- www/translations/en-us.yaml | 4 + 2 files changed, 159 insertions(+), 54 deletions(-) diff --git a/www/app/templates/index.hbs b/www/app/templates/index.hbs index 084606c..fb33954 100644 --- a/www/app/templates/index.hbs +++ b/www/app/templates/index.hbs @@ -1,79 +1,180 @@ -
+
-
-
-

-
- ETC Pool -
-

-
-
- Min. payout threshold: {{config.PayoutThreshold}}, Payouts are continuos throughout the day. -
- SOLO Real time SOLO payout scheme. +
+
+ Join our Discord for support!
-
-
Miners Online: {{format-number - stats.model.minersTotal}}
-
Pool Hash Rate: {{format-hashrate - stats.model.hashrate}}
-
Pool Fee: {{config.PoolFee}}
- {{#if stats.model.stats.lastBlockFound}} -
Last Block Found: {{format-relative (seconds-to-ms - stats.model.stats.lastBlockFound)}}
- {{/if}} -
AVG BLOCK TIME: {{format-number stats.blockTime}} s
-
Epoch: {{format-number epoch}} DAG Size: {{format-number - dag}} GB
+
+
+
+ {{t "home.min_payout_threshold"}}: {{config.PayoutThreshold}} {{config.Unit}} / {{t + "home.payouts_run" interval=config.PayoutInterval}}
+ PPLNS {{t "home.payout_scheme_detail"}} +
+
+
+
{{t "home.miners_online"}}: {{format-number + stats.model.minersTotal}}
+
{{t "home.pool_hashrate"}}: {{format-hashrate + stats.model.hashrate}}
+
{{t "home.pool_fee"}}: {{config.PoolFee}}
+ {{#if stats.model.stats.lastBlockFound}} +
{{t "home.last_block_found"}}: {{format-relative (seconds-to-ms + stats.model.stats.lastBlockFound)}}
+ {{/if}} +
{{t "home.block_time"}}: {{format-number stats.blockTime}} s +
+
{{t "home.epoch"}}: {{format-number epoch}} {{t + "home.dag_Size"}}: + {{format-number + dag}} GB +
+
+
-
Network Difficulty: {{with-metric-prefix stats.difficulty}} +
+
{{t "home.network_difficulty"}}: {{with-metric-prefix + stats.difficulty}}
+
{{t "home.network_hashrate"}}: {{format-hashrate + stats.hashrate}}
+
{{t "home.blockchain_height"}}: {{format-number stats.height}} +
+
{{t "home.current_round_variance"}}: {{format-number + stats.roundVariance style='percent'}}
-
Network Hash Rate: {{format-hashrate stats.hashrate}}
-
Blockchain Height: {{format-number stats.height}}
-
Pool Luck: {{format-number stats.roundVariance - style='percent'}}
-
Current price: $ +
{{t "home.current_price"}}: $ {{format-number model.exchangedata.price_usd maximumFractionDigits='8'}}
-
+
+ {{high-charts mode=chartMode chartOptions=chartOptions content=chartData}} +
+
+ {{high-charts mode=mode chartOptions=chartDiff content=chartData}} +
-

Your Stats & Payment History

+

{{t "home.query_history"}}

- {{input value=cachedLogin class="form-control" placeholder="Enter Your Ethereum Classic Address"}} + {{input value=cachedLogin class="form-control" placeholder=(t "home.input.enter_your_wallet_address")}} -
-
- {{high-charts mode=mode chartOptions=chartOptions content=chartData}} -
-
- {{high-charts mode=mode chartOptions=chartDiff content=chartData}} +
+
+
+
+ 8b {{t + "home.settings.title" hashes="> 800"}} & NiceHash +
+ {{t "home.settings.difficulty" diff="8"}} +

+ {{t "home.settings.stratum_mining"}}: +

+ stratum+tcp://{{config.StratumHost}}:{{config.StratumPort}} +
+
-
-
-

Instructions

-
-
-

- - stratum
- {{config.StratumHost}}:{{config.StratumPort}} -
-

+
+ + + +
+
+
+
{{t "home.settings.commands.windows_instruction"}}
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+
{{t "home.settings.commands.windows_instruction"}}
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
diff --git a/www/translations/en-us.yaml b/www/translations/en-us.yaml index 92dd25f..af4afe5 100644 --- a/www/translations/en-us.yaml +++ b/www/translations/en-us.yaml @@ -49,6 +49,10 @@ home: blockchain_height: Blockchain Height current_round_variance: Current Round Variance query_history: Your Stats and Payment History + block_time: Block Time + epoch: Epoch + dag_Size: DAG Size + current_price: Current price input: enter_your_wallet_address: Enter Your Wallet Address button: