- 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.
 
 
 
 

49 lines
2.6 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template name="Google Map" id="s_google_map">
<section class="s_google_map pt256 pb256" data-map-type="ROADMAP" data-map-color="" data-map-zoom="12" data-map-gps="(50.854975,4.3753899)" data-pin-style="flat">
<div class="map_container"/>
<div class="description">
<font>Visit us:</font>
<span>Our office is located in the northeast of Brussels. TEL (555) 432 2365</span>
</div>
</section>
</template>
<!-- Snippet's Options -->
<template id="s_google_map_option" inherit_id="website.snippet_options">
<xpath expr="//div[@data-js='background']" position="before">
<div data-js="map" data-selector="section.s_google_map">
<we-button data-map="" data-no-preview="true"><i class="fa fa-fw fa-cog"/> Map Options</we-button>
<we-collapse-area>
<we-toggler><i class="fa fa-fw fa-road"/> Type</we-toggler>
<we-collapse data-no-preview="true">
<we-button data-map-type="ROADMAP">RoadMap</we-button>
<we-button data-map-type="TERRAIN">Terrain</we-button>
<we-button data-map-type="SATELLITE">Satellite</we-button>
<we-button data-map-type="HYBRID">Hybrid</we-button>
</we-collapse>
</we-collapse-area>
<we-collapse-area>
<we-toggler><i class="fa fa-fw fa-search"/> Zoom</we-toggler>
<we-collapse data-no-preview="true">
<we-button data-map-zoom="6">1</we-button>
<we-button data-map-zoom="8">2</we-button>
<we-button data-map-zoom="10">3</we-button>
<we-button data-map-zoom="12">4</we-button>
<we-button data-map-zoom="14">5</we-button>
<we-button data-map-zoom="16">6</we-button>
<we-button data-map-zoom="18">7</we-button>
<we-button data-map-zoom="20">8</we-button>
</we-collapse>
</we-collapse-area>
</div>
</xpath>
<xpath expr="//div[@data-js='background']" position="attributes">
<attribute name="data-exclude" add=".s_google_map" separator=","/>
</xpath>
<xpath expr="//div[@id='so_main_colorpicker']" position="attributes">
<attribute name="data-exclude" add=".s_google_map" separator=","/>
</xpath>
</template>
</odoo>