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.

21 lines
712 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Load css for ribbons -->
  5. <template id="assets_backend" name="ribbon_test assets" inherit_id="web.assets_backend">
  6. <xpath expr="." position="inside">
  7. <link rel="stylesheet" href="/ribbon_test_environment/static/src/css/ribbon.css"/>
  8. </xpath>
  9. </template>
  10. <!-- Add ribbon to page -->
  11. <template id="body_with_ribbon_test" name="ribbon_test web.webclient_bootstrap" inherit_id="web.webclient_bootstrap">
  12. <xpath expr="//div[@class='openerp openerp_webclient_container']" position="before">
  13. <div class="test-ribbon"><b>TEST</b></div>
  14. </xpath>
  15. </template>
  16. </data>
  17. </openerp>