Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
lino.modlib.bootstrap3.views¶
Views for lino.modlib.bootstrap3.
Functions
|
|
|
Deserves a docstring |
|
|
|
|
|
Represent the given table request as an HTML table. |
Classes
|
|
|
Render a single record. |
|
Render the main page. |
|
Render a list of records. |
- lino.modlib.bootstrap3.views.http_response(ar, tplname, context)¶
Deserves a docstring
- lino.modlib.bootstrap3.views.table2html(ar, as_main=True)¶
Represent the given table request as an HTML table.
ar is the request to be rendered, an instance of
lino.core.requests.ActionRequest
.The returned HTML enclosed in a
<div>
tag and generated usingetgen.html
.If as_main is True, include additional elements such as a paging toolbar. (This argument is currently being ignored.)