Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,23 @@ Full reset (deletes all data):
docker compose down -v
```

### Local CSS build (Tailwind + DaisyUI)

If you edit styles or templates and want to rebuild frontend CSS locally (without relying on CDN), run these commands from the project root:

```bash
npm install
npm run build:css
```

Watch mode while working on UI:

```bash
npm run watch:css
```

This compiles `app/static/css/input.css` into `app/static/css/tailwind.css`.

---

## Configuration
Expand Down Expand Up @@ -248,7 +265,6 @@ app/
│ └── style.css
├── js/
│ ├── apexcharts.min.js
│ ├── tailwind-compiler.js
│ └── main.js
└── img/
├── logo_mainplate.png
Expand Down
283 changes: 277 additions & 6 deletions app/app.py

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions app/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"dashboard": "Dashboard",
"date": "Datum",
"date format": "Datumsformat",
"date format DD-MM-YYYY": "TT-MM-JJJJ",
"date format MM-DD-YYYY": "MM-TT-JJJJ",
"date format YYYY-MM-DD": "JJJJ-MM-TT",
"delete": "Löschen",
"delete this photo?": "Dieses Foto löschen?",
"deleted": "Gelöscht",
Expand Down
28 changes: 28 additions & 0 deletions app/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
"acquired": "acquired",
"actions": "actions",
"add": "add",
"add custom": "add custom",
"add custom lift angle": "add custom lift angle",
"add one": "add one",
"add to wishlist": "add to wishlist",
"add watch": "add watch",
"added automatically from expense logs": "added automatically from expense logs",
"amplitude": "amplitude",
"all manufacturers": "all manufacturers",
"available in all dropdown menus. click on name or color to edit, press enter to save.": "available in all dropdown menus. click on name or color to edit, press enter to save.",
"avg roi": "avg roi",
"backup & restore": "backup & restore",
Expand All @@ -19,6 +22,7 @@
"cat": "cat",
"categories": "categories — single source for inventory and logs",
"category": "category",
"caliber": "caliber",
"category updated!": "category updated!",
"collection": "collection",
"color": "color",
Expand All @@ -29,6 +33,9 @@
"dashboard": "dashboard",
"date": "date",
"date format": "date format",
"date format DD-MM-YYYY": "DD-MM-YYYY",
"date format MM-DD-YYYY": "MM-DD-YYYY",
"date format YYYY-MM-DD": "YYYY-MM-DD",
"delete": "delete",
"delete this photo?": "delete this photo?",
"deleted": "deleted",
Expand All @@ -55,6 +62,8 @@
"flips": "flips",
"flips (incl. parts + labor)": "flips (incl. parts + labor)",
"for sale": "for sale",
"loading": "loading",
"if manufacturer + calibre already exists, custom value overrides it.": "if manufacturer + calibre already exists, custom value overrides it.",
"hourly cost": "hourly cost",
"hours": "hours",
"hours / labor": "hours / labor",
Expand All @@ -72,7 +81,10 @@
"language": "language",
"last log": "last log",
"log expenses": "log expenses",
"lift angles": "lift angles",
"lookup unavailable": "lookup unavailable",
"min lift angle": "min lift angle",
"max lift angle": "max lift angle",
"market price (ref.)": "market price (ref.)",
"model": "model",
"name": "name",
Expand All @@ -82,6 +94,7 @@
"no": "no",
"no categories found. add below.": "no categories found. add below.",
"no flips.": "no flips.",
"no lift angles found": "no lift angles found",
"no results": "no results",
"no timegrapher readings.": "no timegrapher readings.",
"no tools.": "no tools.",
Expand All @@ -102,6 +115,7 @@
"preferences": "preferences",
"preview": "preview",
"price": "price",
"please fill all required fields": "please fill all required fields",
"profit": "profit",
"profit / roi": "profit / roi",
"purchase": "purchase",
Expand All @@ -118,13 +132,26 @@
"save": "save",
"save changes": "save changes",
"search on chrono24": "Search on Chrono24",
"search lift angles": "Search manufacturer or calibre...",
"searching…": "searching…",
"see all": "see all",
"service and parts": "service and parts",
"service cost": "service cost",
"services": "services",
"settings": "settings",
"settings saved successfully": "settings saved successfully",
"manufacturer": "manufacturer",
"calibre": "calibre",
"refresh lift angles": "refresh lift angles",
"custom": "custom",
"custom lift angle deleted": "custom lift angle deleted",
"custom lift angle saved": "custom lift angle saved",
"delete this custom lift-angle entry?": "delete this custom lift-angle entry?",
"source": "source",
"apply filters": "apply filters",
"reset filters": "reset filters",
"lift angles refreshed": "lift angles refreshed",
"error refreshing lift angles": "error refreshing lift angles",
"sold": "sold",
"sold on": "sold on",
"status": "status",
Expand All @@ -137,6 +164,7 @@
"tg warn p3 p9": "3U/9U diff {0} s/d: possible balance wheel poise issue",
"tg warn p6 p12": "6U/12U diff {0} s/d: check lever or hairspring",
"timegrapher": "timegrapher",
"lift angle": "lift angle",
"tool": "tool",
"tool added!": "tool added!",
"total": "total",
Expand Down
3 changes: 3 additions & 0 deletions app/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"dashboard": "panel",
"date": "fecha",
"date format": "formato de fecha",
"date format DD-MM-YYYY": "DD-MM-AAAA",
"date format MM-DD-YYYY": "MM-DD-AAAA",
"date format YYYY-MM-DD": "AAAA-MM-DD",
"delete": "eliminar",
"delete this photo?": "¿eliminar esta foto?",
"deleted": "eliminado",
Expand Down
3 changes: 3 additions & 0 deletions app/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"dashboard": "tableau de bord",
"date": "date",
"date format": "format de date",
"date format DD-MM-YYYY": "JJ-MM-AAAA",
"date format MM-DD-YYYY": "MM-JJ-AAAA",
"date format YYYY-MM-DD": "AAAA-MM-JJ",
"delete": "supprimer",
"delete this photo?": "supprimer cette photo ?",
"deleted": "supprimé",
Expand Down
3 changes: 3 additions & 0 deletions app/lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"dashboard": "dashboard",
"date": "data",
"date format": "formato data",
"date format DD-MM-YYYY": "GG-MM-AAAA",
"date format MM-DD-YYYY": "MM-GG-AAAA",
"date format YYYY-MM-DD": "AAAA-MM-GG",
"delete": "elimina",
"delete this photo?": "eliminare questa foto?",
"deleted": "eliminato",
Expand Down
4 changes: 2 additions & 2 deletions app/static/css/tailwind.css

Large diffs are not rendered by default.

Loading