diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index fa325d1..0000000 --- a/templates/base.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - {% block title %}Ocean.xyz Pool Mining Dashboard{% endblock %} - - - - - - - - - - - - - - - {% block css %}{% endblock %} - - -
- -
- - - Made by @DJO₿leezy - -

- - {% block header %}Ocean.xyz Pool Mining Dashboard v 0.3{% endblock %} - -

- - {% block last_updated %} -

Last Updated: {{ current_time }}

- {% endblock %} - - {% block navigation %} - - {% endblock %} - - - {% block content %}{% endblock %} - - - {% block congrats_message %} - - {% endblock %} -
- - - - - - - - {% block javascript %}{% endblock %} - - - - - diff --git a/templates/blocks.html b/templates/blocks.html deleted file mode 100644 index 904fbc5..0000000 --- a/templates/blocks.html +++ /dev/null @@ -1,94 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Blocks - Ocean.xyz Mining Dashboard{% endblock %} - -{% block css %} - -{% endblock %} - -{% block header %}Blockchain Monitor{% endblock %} - -{% block blocks_active %}active{% endblock %} - -{% block content %} - - -
-
-
-
Latest Block Stats
-
-
-
- Block Height: - Loading... -
-
- Time: - Loading... -
-
- Transactions: - Loading... -
-
- Size: - Loading... -
-
- Difficulty: - Loading... -
-
- Mining Pool: - Loading... -
-
- Avg Fee Rate: - Loading... -
-
-
-
-
-
- - -
-
-
-
Recent Bitcoin Blocks
-
-
-
- -
- Connecting to mempool.space API -
-
-
-
-
-
-
- - -
-
-
- Block Details - × -
-
-
- -
-
-
-
-{% endblock %} - -{% block javascript %} - - -{% endblock %} diff --git a/templates/boot.html b/templates/boot.html deleted file mode 100644 index e4ea51d..0000000 --- a/templates/boot.html +++ /dev/null @@ -1,713 +0,0 @@ - - - - - - Ocean.xyz Pool Miner - Initializing... - - - - - - -
-
Loading mining data...
- -
-
- - - - Initialize mining dashboard? [Y/N]: - - - - -
-
- - -
-
MINING CONFIGURATION
-
- - -
-
- - -
-
- - -
-
-
- - -
-
- - - - diff --git a/templates/dashboard.html b/templates/dashboard.html deleted file mode 100644 index 45269bd..0000000 --- a/templates/dashboard.html +++ /dev/null @@ -1,363 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Ocean.xyz Pool Mining Dashboard v 0.3{% endblock %} - -{% block css %} - -{% endblock %} - -{% block dashboard_active %}active{% endblock %} - -{% block content %} - -
- -
- - -
-
-
-
Miner Status
-
-

- Status: - - {% if metrics and metrics.workers_hashing and metrics.workers_hashing > 0 %} - ONLINE - {% else %} - OFFLINE - {% endif %} - -

-

- Workers Hashing: - {{ metrics.workers_hashing or 0 }} - -

-

- Last Share: - {{ metrics.total_last_share or "N/A" }} -

-
-
-
-
- - -
-
-
-
Pool Hashrates
-
-

- Pool Total Hashrate: - - {% if metrics and metrics.pool_total_hashrate and metrics.pool_total_hashrate_unit %} - {{ metrics.pool_total_hashrate }} {{ metrics.pool_total_hashrate_unit[:-2]|upper ~ metrics.pool_total_hashrate_unit[-2:] }} - {% else %} - N/A - {% endif %} - - -

-
-

- 24hr Avg Hashrate: - - {% if metrics and metrics.hashrate_24hr %} - {{ metrics.hashrate_24hr }} - {% if metrics.hashrate_24hr_unit %} - {{ metrics.hashrate_24hr_unit[:-2]|upper ~ metrics.hashrate_24hr_unit[-2:] }} - {% else %} - TH/s - {% endif %} - {% else %} - N/A - {% endif %} - - -

-

- 3hr Avg Hashrate: - - {% if metrics and metrics.hashrate_3hr %} - {{ metrics.hashrate_3hr }} - {% if metrics.hashrate_3hr_unit %} - {{ metrics.hashrate_3hr_unit[:-2]|upper ~ metrics.hashrate_3hr_unit[-2:] }} - {% else %} - TH/s - {% endif %} - {% else %} - N/A - {% endif %} - - -

-

- 10min Avg Hashrate: - - {% if metrics and metrics.hashrate_10min %} - {{ metrics.hashrate_10min }} - {% if metrics.hashrate_10min_unit %} - {{ metrics.hashrate_10min_unit[:-2]|upper ~ metrics.hashrate_10min_unit[-2:] }} - {% else %} - TH/s - {% endif %} - {% else %} - N/A - {% endif %} - - -

-

- 60sec Avg Hashrate: - - {% if metrics and metrics.hashrate_60sec %} - {{ metrics.hashrate_60sec }} - {% if metrics.hashrate_60sec_unit %} - {{ metrics.hashrate_60sec_unit[:-2]|upper ~ metrics.hashrate_60sec_unit[-2:] }} - {% else %} - TH/s - {% endif %} - {% else %} - N/A - {% endif %} - - -

-
-
-
- -
-
-
Bitcoin Network Stats
-
-

- Block Number: - - {% if metrics and metrics.block_number %} - {{ metrics.block_number|commafy }} - {% else %} - N/A - {% endif %} - - -

-

- BTC Price: - - {% if metrics and metrics.btc_price %} - ${{ "%.2f"|format(metrics.btc_price) }} - {% else %} - $0.00 - {% endif %} - - -

-

- Network Hashrate: - - {% if metrics and metrics.network_hashrate %} - {{ metrics.network_hashrate|round|commafy }} EH/s - {% else %} - N/A - {% endif %} - - -

-

- Difficulty: - - {% if metrics and metrics.difficulty %} - {{ metrics.difficulty|round|commafy }} - {% else %} - N/A - {% endif %} - - -

-
-
-
-
- - -
-
-
-
Satoshi Metrics
-
-

- Daily Mined (Net): - - {% if metrics and metrics.daily_mined_sats %} - {{ metrics.daily_mined_sats|commafy }} sats - {% else %} - 0 sats - {% endif %} - - -

-

- Monthly Mined (Net): - - {% if metrics and metrics.monthly_mined_sats %} - {{ metrics.monthly_mined_sats|commafy }} sats - {% else %} - 0 sats - {% endif %} - - -

-

- Est. Earnings/Day: - - {% if metrics and metrics.estimated_earnings_per_day_sats %} - {{ metrics.estimated_earnings_per_day_sats|commafy }} sats - {% else %} - 0 sats - {% endif %} - - -

-

- Est. Earnings/Block: - - {% if metrics and metrics.estimated_earnings_next_block_sats %} - {{ metrics.estimated_earnings_next_block_sats|commafy }} sats - {% else %} - 0 sats - {% endif %} - - -

-

- Est. Rewards in Window: - - {% if metrics and metrics.estimated_rewards_in_window_sats %} - {{ metrics.estimated_rewards_in_window_sats|commafy }} sats - {% else %} - 0 sats - {% endif %} - - -

-
-
-
- -
-
-
USD Metrics
-
-

- Daily Revenue: - - {% if metrics and metrics.daily_revenue is defined and metrics.daily_revenue is not none %} - ${{ "%.2f"|format(metrics.daily_revenue) }} - {% else %} - $0.00 - {% endif %} - - -

-

- Daily Power Cost: - - {% if metrics and metrics.daily_power_cost is defined and metrics.daily_power_cost is not none %} - ${{ "%.2f"|format(metrics.daily_power_cost) }} - {% else %} - $0.00 - {% endif %} - - -

-

- Daily Profit (USD): - - {% if metrics and metrics.daily_profit_usd is defined and metrics.daily_profit_usd is not none %} - ${{ "%.2f"|format(metrics.daily_profit_usd) }} - {% else %} - $0.00 - {% endif %} - - -

-

- Monthly Profit (USD): - - {% if metrics and metrics.monthly_profit_usd is defined and metrics.monthly_profit_usd is not none %} - ${{ "%.2f"|format(metrics.monthly_profit_usd) }} - {% else %} - $0.00 - {% endif %} - - -

-
-
-
-
- - -
-
-
-
Payout & Misc
-
-

- Unpaid Earnings: - - {% if metrics and metrics.unpaid_earnings %} - {{ metrics.unpaid_earnings }} BTC - {% else %} - 0 BTC - {% endif %} - - -

-

- Last Block: - - {{ metrics.last_block_height if metrics and metrics.last_block_height else "N/A" }} - - — - - {{ metrics.last_block_time if metrics and metrics.last_block_time else "N/A" }} - - — - - {% if metrics and metrics.last_block_earnings %} - +{{ metrics.last_block_earnings|int|commafy }} sats - {% else %} - +0 sats - {% endif %} - - -

-

- Est. Time to Payout: - - {{ metrics.est_time_to_payout if metrics and metrics.est_time_to_payout else "N/A" }} - - -

-

- Blocks Found: - - {{ metrics.blocks_found if metrics and metrics.blocks_found else "0" }} - - -

-
-
-
-
-{% endblock %} - -{% block javascript %} - - -{% endblock %} diff --git a/templates/error.html b/templates/error.html deleted file mode 100644 index 5ad2559..0000000 --- a/templates/error.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - Error - Mining Dashboard - - - - - - -
-
-

ERROR

-
CODE: SYS_EXCEPTION_0x45
-

{{ message }}

- Return to Dashboard -
-
- - diff --git a/templates/notifications.html b/templates/notifications.html deleted file mode 100644 index df4b1da..0000000 --- a/templates/notifications.html +++ /dev/null @@ -1,94 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Notifications - Ocean.xyz Mining Dashboard{% endblock %} - -{% block css %} - -{% endblock %} - -{% block header %}Notification Center{% endblock %} - -{% block notifications_active %}active{% endblock %} - -{% block content %} - -
-
-
-
Notification Controls
-
-
-
- - - - - - -
-
- - - -
-
-
-
-
-
- - -
-
-
-
- Notifications - 0 -
-
-
- -
Loading notifications
-
- - -
- -
-
-
-
-
- - - - - - -{% endblock %} - -{% block javascript %} - -{% endblock %} diff --git a/templates/workers.html b/templates/workers.html deleted file mode 100644 index 49f0320..0000000 --- a/templates/workers.html +++ /dev/null @@ -1,109 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Workers Overview - Ocean.xyz Pool Mining Dashboard{% endblock %} - -{% block css %} - -{% endblock %} - -{% block header %}Workers Overview{% endblock %} - -{% block workers_active %}active{% endblock %} - -{% block content %} - -
-
-
-
Miner Summary
-
-
-
-
-
- {{ workers_total }} -
-
-
Workers
-
- {{ workers_online }} / - {{ workers_offline }} -
-
- -
-
- {% if total_hashrate is defined %} - {{ "%.1f"|format(total_hashrate) }} {{ hashrate_unit }} - {% else %} - N/A - {% endif %} -
-
Total Hashrate
-
- -
-
- -
-
- {% if total_earnings is defined %} - {{ "%.8f"|format(total_earnings) }} BTC - {% else %} - N/A - {% endif %} -
-
Unpaid Earnings
-
- -
-
- {% if daily_sats is defined %} - {{ daily_sats|commafy }} sats - {% else %} - N/A - {% endif %} -
-
Daily Sats
-
- -
-
- {% if avg_acceptance_rate is defined %} - {{ "%.2f"|format(avg_acceptance_rate) }}% - {% else %} - N/A - {% endif %} -
-
Acceptance Rate
-
-
-
-
-
-
- - -
- -
- - - - - -
-
- - -
- - -
-{% endblock %} - -{% block javascript %} - -{% endblock %}