[ADD]Yaltik DSL : add style tag and fixes for headings

This commit is contained in:
Fabien BOURGEOIS 2024-08-16 16:42:54 +02:00
parent b870cb515c
commit d6582fc94f
2 changed files with 7 additions and 5 deletions

View File

@ -17,7 +17,7 @@
'name': 'Yaltik Odoo DSL base module and fns', 'name': 'Yaltik Odoo DSL base module and fns',
'summary': 'Yaltik Odoo Domain Specific Language base module and functions', 'summary': 'Yaltik Odoo Domain Specific Language base module and functions',
'description': """ Yaltik Odoo Domain Specific Language base module and functions """, 'description': """ Yaltik Odoo Domain Specific Language base module and functions """,
'version': '12.0.0.5.14', 'version': '12.0.0.5.15',
'category': 'Yaltik', 'category': 'Yaltik',
'author': 'Fabien Bourgeois', 'author': 'Fabien Bourgeois',
'license': 'AGPL-3', 'license': 'AGPL-3',

View File

@ -92,10 +92,10 @@ div = lambda *args: xmln('div', *args)
span = lambda *args: xmln('span', *args) span = lambda *args: xmln('span', *args)
br = lambda *args: xmln('br', *args) br = lambda *args: xmln('br', *args)
h1 = lambda *args: xmln('h1', *args) h1 = lambda *args: xmln('h1', *args)
h2 = lambda *args: xmln('h1', *args) h2 = lambda *args: xmln('h2', *args)
h3 = lambda *args: xmln('h1', *args) h3 = lambda *args: xmln('h3', *args)
h4 = lambda *args: xmln('h1', *args) h4 = lambda *args: xmln('h4', *args)
h5 = lambda *args: xmln('h1', *args) h5 = lambda *args: xmln('h5', *args)
ul = lambda *args: xmln('ul', *args) ul = lambda *args: xmln('ul', *args)
li = lambda *args: xmln('li', *args) li = lambda *args: xmln('li', *args)
label = lambda *args: xmln('label', *args) label = lambda *args: xmln('label', *args)
@ -104,6 +104,8 @@ small = lambda *args: xmln('small', *args)
table = lambda *args: xmln('table', *args) table = lambda *args: xmln('table', *args)
tr = lambda *args: xmln('tr', *args) tr = lambda *args: xmln('tr', *args)
td = lambda *args: xmln('td', *args) td = lambda *args: xmln('td', *args)
style = lambda *args: xmln('style', *args)
notebook = lambda *args: xmln('notebook', *args) notebook = lambda *args: xmln('notebook', *args)
page = lambda *args: xmln('page', *args) page = lambda *args: xmln('page', *args)
xpath = lambda *args: xmln('xpath', *args) xpath = lambda *args: xmln('xpath', *args)