libervia-backend/frontends/src/jp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Goffi a4934b1955 tools(templates): workflow improvments:
- template theme can be specified in parenthesis: (some_theme)path/to/template.html. Withtout parenthesis, "default" is used
    - static content are supposed to be in [theme]/static, error pages in [theme]/error/[err_code].html
    - default page are used in some case (2 for now): if error page with specified code doesn't exists, a base page is used, and if a page doesn't exist for a theme, the same one for default theme is looked for
    - CSS files are automatically found for HTML pages
    - CSS files can be split, the'll be added in the template according to the page requested.
    - theme CSS file is looked for, and if not found the default theme equivalent is looked for.
    - each element of a path can be associated to a CSS file, and styles.css is always there. For instance if blog/articles.html is requested, the following CSS can be included: "styles.css", "blog.css", "blog_article.css". They all must be in /static
    - if the automatic finding of CSS files is not wanted, css_files arguments can be used instead, with full relative path (i.e. including theme)
    - CSS files can be merged and included inline with css_inline argument
    - root_path can be specified, it will be used as a prefix for static files
    - requested theme (which may differ from actual theme, e.g. if the template is not found and default one is used instead) is available in template with "theme" variable
    - added getThemeAndRoot method to retrieve theme and theme root path from template
2017-03-05 23:41:10 +01:00
..
__init__.py jp: refactoring: 2014-02-10 13:44:09 +01:00
base.py core, bridge: renamed getProfileName to profileNameGet according to new conventions 2017-03-05 21:36:01 +01:00
cmd_adhoc.py jp: fixed shebang python call 2016-06-19 22:22:08 +02:00
cmd_avatar.py plugin XEP-0054, quick frontend(app): various improvments: 2017-01-15 17:51:37 +01:00
cmd_blog.py jp (blog): set default template and data mapping for the new template output 2017-02-21 21:01:40 +01:00
cmd_bookmarks.py jp: fixed shebang python call 2016-06-19 22:22:08 +02:00
cmd_debug.py jp (debug/bridge/method,signal): fixed argument parsing 2016-09-10 11:43:32 +02:00
cmd_file.py jp: fixed shebang python call 2016-06-19 22:22:08 +02:00
cmd_info.py jp (info/disco): added --node argument 2017-02-12 21:17:56 +01:00
cmd_message.py jp (message/send): message/send can now send XHTML (-x) or rich (-r) messages 2016-09-25 19:18:45 +02:00
cmd_param.py jp: fixed shebang python call 2016-06-19 22:22:08 +02:00
cmd_pipe.py jp: fixed shebang python call 2016-06-19 22:22:08 +02:00
cmd_profile.py core, bridge: renamed getProfileName to profileNameGet according to new conventions 2017-03-05 21:36:01 +01:00
cmd_roster.py jp: fixed shebang python call 2016-06-19 22:22:08 +02:00
constants.py jp (output): template output first draft: 2017-02-21 21:01:40 +01:00
jp jp: fixed shebang python call 2016-06-19 22:22:08 +02:00
output_std.py jp (base, blog, output(std)): fixed bad unicode handling in stdout, use of jp.disp instead of simple print 2017-02-21 21:01:40 +01:00
output_template.py tools(templates): workflow improvments: 2017-03-05 23:41:10 +01:00