Contains OCA addons specific to Fork Sand Inc.
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.

66 lines
2.8KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!--HEADER CSS and JS import-->
  4. <template id="assets_frontend" name="Custom styles"
  5. inherit_id="web.assets_frontend">
  6. <xpath expr="." position="inside">
  7. <link rel='stylesheet'
  8. href='/forksand_website/static/src/css/scrolling-nav.css'/>
  9. <script type="text/javascript"
  10. src="/forksand_website/static/vendor/scrollreveal/js/scrollreveal.min.js"></script>
  11. <script type="text/javascript"
  12. src="/forksand_website/static/src/js/scrollreveal-custom.js"></script>
  13. </xpath>
  14. </template>
  15. <!--Inject fonts on layout-->
  16. <template id="font_wrapwrap" inherit_id="website.layout"
  17. name="Custom Header">
  18. <xpath expr="//div[@id='wrapwrap']/header" position="attributes">
  19. <attribute name="class">alternate-font</attribute>
  20. </xpath>
  21. </template>
  22. <template id="font_wrap" inherit_id="website.homepage"
  23. name="Custom Body">
  24. <xpath expr="//div[@id='wrap']" position="attributes">
  25. <attribute name="class">alternate-font</attribute>
  26. </xpath>
  27. </template>
  28. <template id="font_footer" inherit_id="footer_forksand"
  29. name="Automatic Footer">
  30. <xpath expr="//div[@id='footer']" position="attributes">
  31. <attribute name="class">alternate-font container hidden-print</attribute>
  32. </xpath>
  33. <xpath expr="//footer" position="attributes">
  34. <attribute name="class">bg-primary text-white</attribute>
  35. </xpath>
  36. <xpath expr="//a" position="attributes">
  37. <attribute name="class">bg-primary text-white</attribute>
  38. </xpath>
  39. </template>
  40. <!--Substitute googlemaps for openstreetmap-->
  41. <template id="layout" inherit_id="website.company_description">
  42. <xpath expr="//address/t[@t-if='not res_company.google_map_img()']" position="replace">
  43. <t/>
  44. </xpath>
  45. <xpath expr="//t[@t-if='res_company.google_map_img()']" position="replace">
  46. <t>
  47. <iframe class="img-fluid"
  48. width="425"
  49. height="350"
  50. frameborder="0"
  51. scrolling="no"
  52. marginheight="0"
  53. marginwidth="0"
  54. src="https://www.openstreetmap.org/export/embed.html?bbox=-105.08792191743854%2C40.45830934706369%2C-105.08595049381258%2C40.46016648098172&amp;layer=mapnik"
  55. style="border: 1px solid black">
  56. </iframe><br/><small><a href="https://www.openstreetmap.org/#map=19/40.45924/-105.08694&amp;layers=ND" target="_blank">View Larger Map</a></small>
  57. </t>
  58. </xpath>
  59. </template>
  60. </odoo>