From 00d3bbdee902b0f6ce4372e18ab7f3bb8bba0b28 Mon Sep 17 00:00:00 2001 From: DJObleezy Date: Wed, 23 Apr 2025 18:47:50 -0700 Subject: [PATCH] Update deployment instructions and chart indicator style - Changed repository cloning instructions to use `DeepSea-Dashboard`. - Adjusted the position of the `lowHashrateIndicator` in `main.js` from bottom to top right. - Added a background color to the indicator for improved visibility. --- deployment_steps.md | 4 ++-- static/js/main.js | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/deployment_steps.md b/deployment_steps.md index c0fa57c..00f433e 100644 --- a/deployment_steps.md +++ b/deployment_steps.md @@ -16,8 +16,8 @@ This guide provides comprehensive instructions for deploying the Bitcoin Mining 1. Clone the repository: ```bash - git clone https://github.com/yourusername/bitcoin-mining-dashboard.git - cd bitcoin-mining-dashboard + git clone https://github.com/Djobleezy/DeepSea-Dashboard.git + cd DeepSea-Dashboard ``` 2. Create a virtual environment (recommended): diff --git a/static/js/main.js b/static/js/main.js index 54eac63..aa33a2f 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -1256,8 +1256,11 @@ function updateChartWithNormalizedData(chart, data) { const indicator = document.createElement('div'); indicator.id = 'lowHashrateIndicator'; indicator.style.position = 'absolute'; - indicator.style.bottom = '10px'; + + // Change position from bottom to top right + indicator.style.top = '10px'; // Changed from bottom to top indicator.style.right = '10px'; + indicator.style.background = 'rgba(0,0,0,0.7)'; indicator.style.color = theme.PRIMARY; indicator.style.padding = '5px 10px';