- Repo for opensource odoo website theme (since V13.0)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.8 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="customize_modal" inherit_id="theme_common.theme_customize">
  4. <xpath expr="//content[@id='theme_customize_content_navbar']/*" position="before">
  5. <list string="Menu">
  6. <checkbox><opt string="Side Navigation" data-xmlid="theme_nano.option_side_nav_variables, website.no_autohide_menu"/></checkbox>
  7. </list>
  8. <list string="Icons Bar">
  9. <checkbox><opt id="option_icons_bar_hide" string="Hide" data-xmlid="theme_nano.option_icons_sidebar_none_variables"/></checkbox>
  10. <opt data-depends="!option_icons_bar_hide" string="Left" data-xmlid=""/>
  11. <opt data-depends="!option_icons_bar_hide" string="Right" data-xmlid="theme_nano.option_icons_sidebar_right"/>
  12. </list>
  13. </xpath>
  14. </template>
  15. <!-- Layouts -->
  16. <template id="option_side_nav_variables" inherit_id="theme_nano._assets_primary_variables">
  17. <xpath expr="//link[last()]" position="after">
  18. <link rel="stylesheet" type="text/scss" href="/theme_nano/static/src/scss/options/layouts/side_nav_variables.scss"/>
  19. </xpath>
  20. </template>
  21. <template id="option_icons_sidebar_right" inherit_id="theme_nano.option_side_nav_variables" active="False">
  22. <xpath expr="//link[last()]" position="after">
  23. <link rel="stylesheet" type="text/scss" href="/theme_nano/static/src/scss/options/layouts/icons_sidebar_right.scss"/>
  24. </xpath>
  25. </template>
  26. <template id="option_icons_sidebar_none_variables" inherit_id="theme_nano.option_side_nav_variables" active="False">
  27. <xpath expr="//link[last()]" position="after">
  28. <link rel="stylesheet" type="text/scss" href="/theme_nano/static/src/scss/options/layouts/icons_sidebar_none_variables.scss"/>
  29. </xpath>
  30. </template>
  31. </odoo>