summaryrefslogtreecommitdiff
path: root/addons/theme_bootswatch/static/src/xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2014-08-21 18:00:23 +0200
committerChristophe Matthieu <chm@odoo.com>2014-08-21 18:02:14 +0200
commit239b6bc0b5a2a644486737f2b0b71e7e6c0a2edf (patch)
treeb53f6f30cba0149ae9a41d25901ac301c3bbf775 /addons/theme_bootswatch/static/src/xml
parentb7beb69e03e14e111d07899c23b82b993ca8a972 (diff)
[IMP] website snippet new option, gallery
website.snippet: The methods described in javascript will be called automatically from the data-method_name = value on li snippets options. The methods are called in the order relative to children of xml (eg: <li data-method1=value1> ... <li data-method2=value2> ... </ li>, the method1 is then called method2). Methods receive two arguments: type (over, click, reset) and value. data-snippet-id-option becomes data-snippet-id. Several xml options can use the same data-snippet-id. add a new gallery snippet convert website_sale to the new option system
Diffstat (limited to 'addons/theme_bootswatch/static/src/xml')
-rw-r--r--addons/theme_bootswatch/static/src/xml/theme.xml107
1 files changed, 0 insertions, 107 deletions
diff --git a/addons/theme_bootswatch/static/src/xml/theme.xml b/addons/theme_bootswatch/static/src/xml/theme.xml
deleted file mode 100644
index 0eff6acc4df..00000000000
--- a/addons/theme_bootswatch/static/src/xml/theme.xml
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<templates id="template" xml:space="preserve">
-
-<t t-extend="website.theme_customize">
- <t t-jquery="#theme_customize_modal" t-operation="replace">
-
- <div id="theme_customize_modal" class="modal fade bs-example-modal-sm">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="loading_backdrop"></div>
- <div class="modal-header">
- <button type="button" class="close">×</button>
- <h4 class="modal-title" id="mySmallModalLabel">Customize your theme</h4>
- </div>
- <div class="modal-body">
- <table>
- <tr>
- <td>
- <label class="checked">
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/img/bootswatch_default_thumbnail.png" alt="Default Theme"/>
- <input name="theme" type="radio" data-xmlid="" checked="checked"/>
- </label>
- </td>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/amelia/thumbnail.png" alt="Amelia"/>
- <input name="theme" type="radio" data-xmlid="website.theme_amelia"/>
- </label>
- </td>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/cerulean/thumbnail.png" alt="Cerulean"/>
- <input name="theme" type="radio" data-xmlid="website.theme_cerulean"/>
- </label>
- </td>
- </tr>
- <tr>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/cosmo/thumbnail.png" alt="Cosmo"/>
- <input name="theme" type="radio" data-xmlid="website.theme_cosmo" data-disable="ee"/>
- </label>
- </td>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/cyborg/thumbnail.png" alt="Cyborg"/>
- <input name="theme" type="radio" data-xmlid="website.theme_cyborg"/>
- </label>
- </td>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/flatly/thumbnail.png" alt="Flatly"/>
- <input name="theme" type="radio" data-xmlid="website.theme_flatly"/>
- </label>
- </td>
- </tr>
- <tr>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/journal/thumbnail.png" alt="Journal"/>
- <input name="theme" type="radio" data-xmlid="website.theme_journal"/>
- </label>
- </td>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/readable/thumbnail.png" alt="Readable"/>
- <input name="theme" type="radio" data-xmlid="website.theme_readable"/>
- </label>
- </td>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/simplex/thumbnail.png" alt="Simplex"/>
- <input name="theme" type="radio" data-xmlid="website.theme_simplex"/>
- </label>
- </td>
- </tr>
- <tr>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/slate/thumbnail.png" alt="Slate"/>
- <input name="theme" type="radio" data-xmlid="website.theme_slate"/>
- </label>
- </td>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/spacelab/thumbnail.png" alt="Spacelab"/>
- <input name="theme" type="radio" data-xmlid="website.theme_spacelab"/>
- </label>
- </td>
- <td>
- <label>
- <img style="width: 120px; height: 70px;" src="/theme_bootswatch/static/src/less/united/thumbnail.png" alt="United"/>
- <input name="theme" type="radio" data-xmlid="website.theme_united"/>
- </label>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
-
- </t>
-</t>
-
-
-</templates>