Mercurial > libervia-backend
comparison frontends/src/jp/base.py @ 2163:75667727c500
jp (output): template output first draft:
template output use the new template renderer and data_objects module in backend tools.
Options can be specified: template to give a direct path to template, browser to display result directly, inline-css to include css in the HTML page.
Default template can be specified in command's TEMPLATE attribute, and a template_data_mapping method is called if it exists to map data to what is expected by the template.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 21 Feb 2017 21:01:40 +0100 |
parents | c9a67eb5bf72 |
children | 255830fdb80b |
comparison
equal
deleted
inserted
replaced
2162:c9a67eb5bf72 | 2163:75667727c500 |
---|