mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 03:00:45 +02:00
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:
parent
3ebef744dc
commit
00d3bbdee9
@ -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):
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user