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.
This commit is contained in:
DJObleezy 2025-04-23 18:47:50 -07:00
parent 3ebef744dc
commit 00d3bbdee9
2 changed files with 6 additions and 3 deletions

View File

@ -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):

View File

@ -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';