Merge branch 'main' of https://gitea.thewrightserver.net/josh/WorkWeekProgress
This commit is contained in:
17
README.md
17
README.md
@@ -1,4 +1,4 @@
|
|||||||
# ⏳ Work Week Progress Bar
|
# Work Week Progress Bar
|
||||||
|
|
||||||
Because staring at the clock is bad for morale, but staring at a **progress bar** is somehow motivating.
|
Because staring at the clock is bad for morale, but staring at a **progress bar** is somehow motivating.
|
||||||
|
|
||||||
@@ -8,10 +8,6 @@ This is a small Flask-powered web app that visualizes:
|
|||||||
|
|
||||||
It progresses **only during your scheduled work hours**
|
It progresses **only during your scheduled work hours**
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🧠 What It Does
|
|
||||||
|
|
||||||
### Daily Progress Bar
|
### Daily Progress Bar
|
||||||
- Advances **every minute**
|
- Advances **every minute**
|
||||||
- Only runs **Sunday–Wednesday**
|
- Only runs **Sunday–Wednesday**
|
||||||
@@ -35,9 +31,16 @@ It progresses **only during your scheduled work hours**
|
|||||||
| WORK_DAYS | 0,1,2,3 | JS day numbers (Sun=0) |
|
| WORK_DAYS | 0,1,2,3 | JS day numbers (Sun=0) |
|
||||||
| UPDATE_INTERVAL_MS | 60000 | Update frequency |
|
| UPDATE_INTERVAL_MS | 60000 | Update frequency |
|
||||||
|
|
||||||
---
|
### Configuration
|
||||||
|
|
||||||
## 🛠 Tech Stack
|
| Variable | Default | Description |
|
||||||
|
|--------|---------|-------------|
|
||||||
|
| WORK_START_TIME | 07:00 | Workday start (HH:MM) |
|
||||||
|
| WORK_END_TIME | 17:30 | Workday end (HH:MM) |
|
||||||
|
| WORK_DAYS | 0,1,2,3 | JS day numbers (Sun=0) |
|
||||||
|
| UPDATE_INTERVAL_MS | 60000 | Update frequency |
|
||||||
|
|
||||||
|
## Tech Stack
|
||||||
|
|
||||||
- **Flask** – serves the page and minds its business
|
- **Flask** – serves the page and minds its business
|
||||||
- **Vanilla JavaScript** – handles all time logic client-side
|
- **Vanilla JavaScript** – handles all time logic client-side
|
||||||
|
|||||||
Reference in New Issue
Block a user