Commit Graph

294 Commits

Author SHA1 Message Date
DJObleezy
898652b754 Refactor console.js for enhanced metrics reporting
Updated consoleSettings to reduce hashRateFluctuation from 10% to 1%. Improved generateLog function comments and significantly enhanced generateSystemMessage to include real-time metrics on power consumption, system health, processing capacity, and revenue projections. Added random messages for variety and introduced alerts for offline workers and negative profitability, improving the logging system's functionality and responsiveness.
2025-04-12 13:34:15 -07:00
DJObleezy
308abcce5f Disable auto margin in console.css
Removed the `margin: 0 auto;` line and replaced it with a commented-out version to keep it for reference while disabling the margin setting.
2025-04-12 13:28:24 -07:00
DJObleezy
6a63add833 Enhance console styling with retro CRT theme
Updated `console.css` to implement a retro CRT theme, featuring new background colors, gradient effects, and flicker animations. Improved styles for console elements and added neon-inspired color classes for messages. Included media queries for mobile responsiveness.

Moved CSS link in `console.html` to a new block for better organization and structure.
2025-04-12 13:17:31 -07:00
DJObleezy
545e5a9d92 Add console asset mappings in setup.py
This commit introduces new file mappings for `console.css`, `console.js`, and `console.html` in the `setup.py` file. These additions ensure that the console-related assets are included in the project.
2025-04-12 13:06:51 -07:00
DJObleezy
886e595ef4 Add Bitcoin mining console page and related assets
This commit introduces a new route in `App.py` for a retro-styled console log page that displays real-time Bitcoin mining metrics. It includes a new CSS file, `console.css`, for styling with effects like CRT and text glitch animations. The `console.js` file is added to handle log generation, metrics fetching, and real-time updates. Additionally, a new `console.html` file is created to structure the console page, integrating the necessary styles and scripts.
2025-04-12 13:02:51 -07:00
DJObleezy
c3de5544ef Enhance negative profit styling with text shadow
Added a `text-shadow` property to the styling of
`dailyProfitElement` and `monthlyProfitElement`
to improve visibility when profit values are negative.
Existing styles for color and font-weight remain unchanged.
2025-04-11 22:56:49 -07:00
DJObleezy
6f5b2ec359 Improve style handling in updateUI function
Updated the `updateUI` function to use `setAttribute` for applying styles with `!important` to `dailyProfitElement` and `monthlyProfitElement`. Changed the reset logic to remove the entire style attribute instead of setting it to an empty string, ensuring complete style clearance for positive profit values.
2025-04-11 22:52:45 -07:00
DJObleezy
08034ea9a7 Enhance profit color visibility in updateUI function
Updated the `style.color` property for negative profit
elements in the `updateUI` function to include the
`!important` flag. This change ensures that the red color
(`#ff5555`) takes precedence over conflicting styles,
improving the visibility of negative profit indicators
in the user interface.
2025-04-11 22:47:01 -07:00
DJObleezy
9681077fbd Enhance UI updates for revenue and notifications
Updated `updateUI` to display daily revenue and power cost with conditional formatting for negative profits. Removed previous profit updates. Introduced `updateNotificationBadge` function to fetch unread notifications count via AJAX.
2025-04-11 22:37:00 -07:00
DJObleezy
fc7cc6e0c5
Update setup.py 2025-04-10 20:09:36 -07:00
DJObleezy
6cb74188b1
Update BitcoinProgressBar.js 2025-04-10 16:52:07 -07:00
DJObleezy
05033f12ad
Update main.js 2025-04-10 16:40:57 -07:00
DJObleezy
d491220a4d
Update App.py 2025-04-10 07:17:10 -07:00
DJObleezy
8cc012219b
Update workers.html 2025-04-10 06:42:18 -07:00
DJObleezy
287b9fde6b
Update App.py 2025-04-09 21:20:07 -07:00
DJObleezy
a98c488eb6
Update main.js 2025-04-09 13:17:20 -07:00
DJObleezy
4123007c34
Update README.md 2025-04-09 11:57:42 -07:00
DJObleezy
2919de9dae
Update README.md 2025-04-09 11:57:06 -07:00
DJObleezy
a0690b5739
Update README.md 2025-04-09 11:56:03 -07:00
DJObleezy
30907f26ff
Update README.md 2025-04-09 11:54:33 -07:00
DJObleezy
895487bbd4
Update README.md 2025-04-09 11:53:45 -07:00
DJObleezy
8c2fc76e35
Update README.md 2025-04-09 11:53:04 -07:00
DJObleezy
cee6eec403
Update README.md 2025-04-09 11:52:18 -07:00
DJObleezy
3f867264ac
Update README.md 2025-04-09 11:48:22 -07:00
DJObleezy
28785b915e
Update README.md 2025-04-09 11:47:13 -07:00
DJObleezy
4be19833d7
Add files via upload 2025-04-09 11:46:24 -07:00
DJObleezy
f73a1825b6
Delete worker_service.py 2025-04-09 11:45:17 -07:00
DJObleezy
c8a62971e2
Delete state_manager.py 2025-04-09 11:45:12 -07:00
DJObleezy
b64c482c99
Delete setup.py 2025-04-09 11:45:06 -07:00
DJObleezy
461b541a7a
Delete requirements.txt 2025-04-09 11:45:00 -07:00
DJObleezy
cd5919d167
Delete project_structure.md 2025-04-09 11:44:54 -07:00
DJObleezy
605d7f15c0
Delete notification_service.py 2025-04-09 11:44:48 -07:00
DJObleezy
64e41140a6
Delete models.py 2025-04-09 11:44:42 -07:00
DJObleezy
7996d288bf
Delete dockerfile 2025-04-09 11:44:36 -07:00
DJObleezy
674801a2d2
Delete deployment_steps.md 2025-04-09 11:44:31 -07:00
DJObleezy
541ff9a73a
Delete data_service.py 2025-04-09 11:44:24 -07:00
DJObleezy
b11b64c38f
Delete config.py 2025-04-09 11:44:18 -07:00
DJObleezy
484a087250
Delete config.json 2025-04-09 11:44:11 -07:00
DJObleezy
026b86c255
Delete LICENSE.md 2025-04-09 11:44:05 -07:00
DJObleezy
2b7b3d66f8
Delete README.md 2025-04-09 11:43:58 -07:00
DJObleezy
cc2cd6354f
Delete App.py 2025-04-09 11:43:33 -07:00
DJObleezy
4845f42fa4
Delete templates directory 2025-04-09 11:43:14 -07:00
DJObleezy
d374bc3ba1
Delete static directory 2025-04-09 11:43:06 -07:00
DJObleezy
35dd182eb2
Update main.js 2025-04-04 14:20:44 -07:00
DJObleezy
c7e0af6431
Update main.js 2025-04-02 13:39:57 -07:00
DJObleezy
1416cf2bf5
Update notification_service.py 2025-04-02 13:39:33 -07:00
DJObleezy
353c9567bb
Update dashboard.css 2025-04-02 13:39:09 -07:00
DJObleezy
504eb88077
Update App.py 2025-04-02 13:37:05 -07:00
DJObleezy
1a99c93ec9
Update main.js 2025-04-01 06:00:47 -07:00
DJObleezy
13a38d351e
Update README.md 2025-03-30 21:42:50 -07:00