11 lines
313 B
Python
11 lines
313 B
Python
|
|
"""Secure store tab: read-only inventory (secret entries + add)."""
|
||
|
|
from hatch_menu import dialog
|
||
|
|
|
||
|
|
TAB = "Secure store"
|
||
|
|
|
||
|
|
|
||
|
|
def describe(ws):
|
||
|
|
"""Row inventory + text excerpt (describe-only for now)."""
|
||
|
|
return {"rows": dialog.describe_rows(ws, TAB),
|
||
|
|
"text": (dialog.dialog_text(ws) or "")[:400]}
|