diff --git a/app.py b/app.py index 307aa2f..2c2126e 100644 --- a/app.py +++ b/app.py @@ -517,34 +517,53 @@ def library(project_id: Optional[str] = None, q_title: str = "", q_content: str p_opts = "" + "".join( [f"" for p in projects] ) - items = "".join( + rows = "".join( [ - f"
#{d['id']} [{d['kind']}] {d['title']}
{d['project']} · {d['created_at']}
" - f"
" - f"" + f"" + f"#{d['id']}" + f"{d['title']}" + f"{d['kind']}" + f"{d['project']}" + f"{d['created_at']}" + f"" + f"👁️" f"⬇️" - f"✏️" - f"📁" - f"🗑️" - f"
" + f"✏️" + f"📁" + f"🗑️" + f"" + f"" for d in docs ] ) project_js = json.dumps([{"value": p["id"], "label": p["name"]} for p in projects], ensure_ascii=False) body = f""" -

Datenbank / Dokumente

-
-
- - -
-
- - - -
+ +

Projekte · Dokumente

+
Ansicht im Projektlisten-Stil mit Schnellaktionen.
+ + + + + + +
+ {len(docs)} Treffer
-{items or '

Keine Einträge.

'} +
+ + + {rows or ""} +
IDTitelTypProjektErstelltAktionen
Keine Einträge.
+