diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/web_unsplash/views/web_unsplash_templates.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/web_unsplash/views/web_unsplash_templates.xml')
| -rw-r--r-- | addons/web_unsplash/views/web_unsplash_templates.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/addons/web_unsplash/views/web_unsplash_templates.xml b/addons/web_unsplash/views/web_unsplash_templates.xml new file mode 100644 index 00000000..e6201eaa --- /dev/null +++ b/addons/web_unsplash/views/web_unsplash_templates.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <template id="web_unsplash_assets" inherit_id="web_editor.assets_wysiwyg" name="Unsplash Images Editor Assets"> + <xpath expr="." position="inside"> + <link rel="stylesheet" type="text/scss" href="/web_unsplash/static/src/scss/unsplash.scss"/> + <script type="text/javascript" src="/web_unsplash/static/src/js/unsplashapi.js"></script> + <script type="text/javascript" src="/web_unsplash/static/src/js/unsplash_image_widget.js"></script> + </xpath> + </template> + <template id="assets_frontend" inherit_id="web.assets_frontend" name="Unsplash Images Assets"> + <xpath expr="." position="inside"> + <script type="text/javascript" src="/web_unsplash/static/src/js/unsplash_beacon.js"></script> + </xpath> + </template> +</odoo> |
