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.

26 lines
993 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2015 Francesco OpenCode Apruzzese <cescoap@gmail.com>
  3. Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  5. <odoo>
  6. <!-- Load css for ribbons -->
  7. <template id="assets_backend" name="ribbon_test assets"
  8. inherit_id="web.assets_backend">
  9. <xpath expr="." position="inside">
  10. <link rel="stylesheet"
  11. href="/web_environment_ribbon/static/src/css/ribbon.css"/>
  12. <script type="text/javascript"
  13. src="/web_environment_ribbon/static/src/js/ribbon.js"/>
  14. </xpath>
  15. </template>
  16. <!-- Add ribbon to page -->
  17. <template id="body_with_ribbon_test" name="ribbon_test web.webclient_bootstrap"
  18. inherit_id="web.webclient_bootstrap">
  19. <xpath expr="//div[@class='openerp openerp_webclient_container oe_webclient']" position="before">
  20. <div class="test-ribbon"/>
  21. </xpath>
  22. </template>
  23. </odoo>