Mercurial > libervia-backend
diff frontends/src/quick_frontend/constants.py @ 2265:322694543225
tools (common/template): ScriptsHandler fix/improvments:
ScriptsHandler was not used so far, this commit fix it to be usable:
- script can be imported with "include"
- generate_scripts is used to generate the <script> elements generation, in base page
- paths use root_path, so they are adapted to context
- generate_scripts return a Markup string, so it's not escaped
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Jun 2017 20:18:55 +0200 |
parents | 4e67d6ffea66 |
children | 8b37a62336c3 |