feat(ui): modern theme, dark/light toggle, polished templates
This commit is contained in:
24
README.md
Normal file
24
README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
Zammad Reports (Flask)
|
||||
|
||||
Quickstart
|
||||
|
||||
- Create and activate venv (optional).
|
||||
- Install deps: pip install -r requirements.txt
|
||||
- Configure env variables (recommended):
|
||||
- ZAMMAD_URL=https://task.4mont.ru
|
||||
- ZAMMAD_TOKEN=your_token_here
|
||||
- Run: python app.py
|
||||
|
||||
Environment
|
||||
|
||||
- FLASK_SECRET_KEY: optional, for sessions/flash.
|
||||
- ZAMMAD_URL: base URL of Zammad (e.g. https://task.4mont.ru).
|
||||
- ZAMMAD_TOKEN: personal access token with API rights.
|
||||
|
||||
Features
|
||||
|
||||
- Totals: total, open vs closed.
|
||||
- Grouping: by agent (owner), by group, by state, by priority.
|
||||
- Trend: tickets per day in range.
|
||||
- HTML charts (bar/line) with Chart.js + Bootstrap UI.
|
||||
- JSON API: `/api/report.json` aggregates everything for the period.
|
||||
Reference in New Issue
Block a user