More fixes and additions for forms. We are also haunted by detached sessions constantly.
This commit is contained in:
parent
979a329d6a
commit
a3f2c794f5
6 changed files with 160 additions and 49 deletions
|
|
@ -42,7 +42,7 @@ def init_entry_routes(app):
|
|||
|
||||
{"name": "owner", "row": "status", "label": "Contact", "wrap": {"class": "col"},
|
||||
"attrs": {"class": "form-control"}, "label_attrs": {"class": "form-label"},
|
||||
"label_spec": "{first_name} {last_name}"},
|
||||
"label_spec": "{label}"},
|
||||
{"name": "location", "row": "status", "label": "Location", "wrap": {"class": "col"},
|
||||
"attrs": {"class": "form-control"}, "label_attrs": {"class": "form-label"},
|
||||
"label_spec": "{name} - {room_function.description}"},
|
||||
|
|
@ -50,8 +50,8 @@ def init_entry_routes(app):
|
|||
"attrs": {"class": "form-control"}, "label_attrs": {"class": "form-label"}},
|
||||
|
||||
{"name": "image", "label": "", "row": "image", "type": "template", "label_spec": "{filename}",
|
||||
"template": "image_display.html", "attrs": {"class": "img-fluid img-thumbnail h-100"},
|
||||
"wrap": {"class": "h-100"}},
|
||||
"template": "image_display.html", "attrs": {"class": "img-fluid img-thumbnail h-auto"},
|
||||
"wrap": {"class": "h-100 w-100"}},
|
||||
|
||||
{"name": "notes", "type": "textarea", "label": "Notes", "row": "notes", "wrap": {"class": "col"},
|
||||
"attrs": {"class": "form-control", "rows": 10}, "label_attrs": {"class": "form-label"}},
|
||||
|
|
@ -85,7 +85,7 @@ def init_entry_routes(app):
|
|||
"row": "name", "wrap": {"class": "col-3"}},
|
||||
|
||||
{"name": "supervisor", "label": "Supervisor", "label_attrs": {"class": "form-label"},
|
||||
"label_spec": "{first_name} {last_name}", "row": "details", "wrap": {"class": "col-3"},
|
||||
"label_spec": "{label}", "row": "details", "wrap": {"class": "col-3"},
|
||||
"attrs": {"class": "form-control"}},
|
||||
|
||||
{"name": "location", "label": "Room", "label_attrs": {"class": "form-label"},
|
||||
|
|
@ -111,7 +111,7 @@ def init_entry_routes(app):
|
|||
"attrs": {"class": "display-6 mb-3"}, "row": "label"},
|
||||
|
||||
{"name": "contact", "row": "ownership", "wrap": {"class": "col"}, "label": "Contact",
|
||||
"label_spec": "{first_name} {last_name}", "attrs": {"class": "form-control"},
|
||||
"label_spec": "{label}", "attrs": {"class": "form-control"},
|
||||
"label_attrs": {"class": "form-label"}},
|
||||
{"name": "work_item", "row": "ownership", "wrap": {"class": "col"}, "label": "Work Item",
|
||||
"label_spec": "{label}", "attrs": {"class": "form-control"}, "label_attrs": {"class": "form-label"}},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue