[ADD] theme 14.0

This commit is contained in:
Jeremy Kersten
2021-05-10 15:45:35 +02:00
commit cb1e3be3f8
2309 changed files with 55585 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).
You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.
The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
View File
+15
View File
@@ -0,0 +1,15 @@
{
'name':'Website Animate',
'description':"Provide animation for page\'s blocks",
'category': 'Website',
'version':'1.1',
'author':'Odoo S.A.',
'data': [
'views/assets.xml',
'views/options.xml',
],
'depends': ['website'],
'images': [
'static/description/icon.png',
],
}
+231
View File
@@ -0,0 +1,231 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_animate
#
# Translators:
# Ermin Trevisan <trevi@twanda.com>, 2019
# dd5cd5bab88c61e9dedf84f5ea59b147, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-24 08:57+0000\n"
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
"Last-Translator: dd5cd5bab88c61e9dedf84f5ea59b147, 2019\n"
"Language-Team: German (https://www.transifex.com/odoo/teams/41243/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms"
msgstr "1000ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms (default)"
msgstr "1000ms (Standard)"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1500ms"
msgstr "1500ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2000ms"
msgstr "2000ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2500ms"
msgstr "2500ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "3000ms"
msgstr "3000ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "500ms"
msgstr "500ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-bolt\"/>Animate"
msgstr "<i class=\"fa fa-bolt\"/>Animieren"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-clock-o\"/>Animation Delay"
msgstr "<i class=\"fa fa-clock-o\"/>Animationsverzögerung"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-cogs\"/>Animation Options"
msgstr "<i class=\"fa fa-cogs\"/>Animationsoptionen"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-hourglass-half\"/>Animation Duration"
msgstr "<i class=\"fa fa-hourglass-half\"/>Animationsdauer"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Attention Seekers"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bouncing"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Disable animation"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Each time it becomes visible"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In"
msgstr "Einblenden"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Up"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fading"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flash"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-X"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-Y"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flippers"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "No delay (default)"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Pulse"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotating"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Shake"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Tada"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Right"
msgstr ""
+230
View File
@@ -0,0 +1,230 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_animate
#
# Translators:
# Rick Hunter <rick_hunter_ec@yahoo.com>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-24 08:57+0000\n"
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
"Last-Translator: Rick Hunter <rick_hunter_ec@yahoo.com>, 2019\n"
"Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms (default)"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1500ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2000ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2500ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "3000ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "500ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-bolt\"/>Animate"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-clock-o\"/>Animation Delay"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-cogs\"/>Animation Options"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-hourglass-half\"/>Animation Duration"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Attention Seekers"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bouncing"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Disable animation"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Each time it becomes visible"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Up"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fading"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flash"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-X"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-Y"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flippers"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "No delay (default)"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Pulse"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotating"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Shake"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Tada"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In"
msgstr "Acercarse"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Right"
msgstr ""
+230
View File
@@ -0,0 +1,230 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_animate
#
# Translators:
# Eloïse Stilmant <est@odoo.com>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-24 08:57+0000\n"
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
"Last-Translator: Eloïse Stilmant <est@odoo.com>, 2019\n"
"Language-Team: French (https://www.transifex.com/odoo/teams/41243/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms (default)"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1500ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2000ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2500ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "3000ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "500ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-bolt\"/>Animate"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-clock-o\"/>Animation Delay"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-cogs\"/>Animation Options"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-hourglass-half\"/>Animation Duration"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Attention Seekers"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bouncing"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Disable animation"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Each time it becomes visible"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Up"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fading"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flash"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-X"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-Y"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flippers"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "No delay (default)"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Pulse"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotating"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Shake"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Tada"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In"
msgstr "Agrandir"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Right"
msgstr ""
+232
View File
@@ -0,0 +1,232 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_animate
#
# Translators:
# Martin Trigaux, 2019
# Yenthe Van Ginneken <yenthespam@gmail.com>, 2019
# Gunther Clauwaert <gclauwae@hotmail.com>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-24 08:57+0000\n"
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
"Last-Translator: Gunther Clauwaert <gclauwae@hotmail.com>, 2019\n"
"Language-Team: Dutch (https://www.transifex.com/odoo/teams/41243/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms"
msgstr "1000ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms (default)"
msgstr "1000ms (standaard)"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1500ms"
msgstr "1500ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2000ms"
msgstr "2000ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2500ms"
msgstr "2500ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "3000ms"
msgstr "3000ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "500ms"
msgstr "500ms"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-bolt\"/>Animate"
msgstr "<i class=\"fa fa-bolt\"/>Animatie"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-clock-o\"/>Animation Delay"
msgstr "<i class=\"fa fa-clock-o\"/>Animatie vertraging"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-cogs\"/>Animation Options"
msgstr "<i class=\"fa fa-cogs\"/>Animatie Opties"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-hourglass-half\"/>Animation Duration"
msgstr "<i class=\"fa fa-hourglass-half\"/>Animatie Opties"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Attention Seekers"
msgstr "Aandachtszoekers"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In"
msgstr "Stuiter In"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Down"
msgstr "Stuiter In-Onder"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Left"
msgstr "Stuiter in-Links"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Right"
msgstr "Stuiter in-Rechts"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bouncing"
msgstr "Stuiteren"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Disable animation"
msgstr "Schakel animatie uit"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Each time it becomes visible"
msgstr "Elke keer zichtbaar maken"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In"
msgstr "Vervaag In"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Down"
msgstr "Vervaag In-Onder"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Left"
msgstr "Vervaag In-Links"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Right"
msgstr "Vervaag In-Rechts"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Up"
msgstr "Vervaag In-Boven"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fading"
msgstr "Vervagen"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flash"
msgstr "Flash"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-X"
msgstr "Flip-In-X"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-Y"
msgstr "Flip-In-Y"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flippers"
msgstr "Flikkeren"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "No delay (default)"
msgstr "Geen vertraging (standaard)"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Pulse"
msgstr "Impuls"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In"
msgstr "Roteren In"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Left"
msgstr "Roteren In-Onder-Links"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Right"
msgstr "Roteren In-Onder-Rechts"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotating"
msgstr "Roteren"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Shake"
msgstr "Schudden"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Tada"
msgstr "Tada"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom"
msgstr "Zoom"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In"
msgstr "Inzoomen"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Down"
msgstr "Inzoomen Onder"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Left"
msgstr "Inzoomen Links"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Right"
msgstr "Inzoomen Rechts"
+227
View File
@@ -0,0 +1,227 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_animate
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-24 08:57+0000\n"
"PO-Revision-Date: 2019-04-24 08:57+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms (default)"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1500ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2000ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2500ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "3000ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "500ms"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-bolt\"/>Animate"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-clock-o\"/>Animation Delay"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-cogs\"/>Animation Options"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-hourglass-half\"/>Animation Duration"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Attention Seekers"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bouncing"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Disable animation"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Each time it becomes visible"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Up"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fading"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flash"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-X"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-Y"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flippers"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "No delay (default)"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Pulse"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Right"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotating"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Shake"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Tada"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Down"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Left"
msgstr ""
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Right"
msgstr ""
+231
View File
@@ -0,0 +1,231 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_animate
#
# Translators:
# liAnGjiA <liangjia@qq.com>, 2019
# Jeanphy <hzh0292@qq.com>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-24 08:57+0000\n"
"PO-Revision-Date: 2019-04-24 11:21+0000\n"
"Last-Translator: Jeanphy <hzh0292@qq.com>, 2019\n"
"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms"
msgstr "1000毫秒"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1000ms (default)"
msgstr "1000毫秒(默认)"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "1500ms"
msgstr "1500毫秒"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2000ms"
msgstr "2000毫秒"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "2500ms"
msgstr "2500毫秒"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "3000ms"
msgstr "3000毫秒"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "500ms"
msgstr "500毫秒"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-bolt\"/>Animate"
msgstr "动画"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-clock-o\"/>Animation Delay"
msgstr "动画延迟"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-cogs\"/>Animation Options"
msgstr "动画选项"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "<i class=\"fa fa-hourglass-half\"/>Animation Duration"
msgstr "动画时效"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Attention Seekers"
msgstr "聚焦"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In"
msgstr "弹入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Down"
msgstr "从下弹入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Left"
msgstr "从左弹入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bounce In-Right"
msgstr "从右弹入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Bouncing"
msgstr "弹跳"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Disable animation"
msgstr "禁用动画"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Each time it becomes visible"
msgstr "每次可见"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In"
msgstr "淡入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Down"
msgstr "从下淡入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Left"
msgstr "从左淡入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Right"
msgstr "从右淡入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fade In-Up"
msgstr "从上淡入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Fading"
msgstr "消退"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flash"
msgstr "闪烁"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-X"
msgstr "水平翻入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flip-In-Y"
msgstr "垂直翻入"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Flippers"
msgstr "翻转"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "No delay (default)"
msgstr "无延时(默认)"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Pulse"
msgstr "脉冲"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In"
msgstr "旋转"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Left"
msgstr "左下方旋转"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotate In-Down-Right"
msgstr "右下方旋转"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Rotating"
msgstr "旋转"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Shake"
msgstr "摇晃"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Tada"
msgstr "哒哒"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom"
msgstr "缩放"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In"
msgstr "放大"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Down"
msgstr "向下放大"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Left"
msgstr "向左放大"
#. module: website_animate
#: model_terms:ir.ui.view,arch_db:website_animate.o_animate_options
msgid "Zoom In-Right"
msgstr "向右放大"
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

@@ -0,0 +1,52 @@
odoo.define('website_animate.o_animate_editor', function (require) {
'use strict';
var sOptions = require('web_editor.snippets.options');
function forceAnimation() {
var $els = $();
_.each(arguments, function (el) {
$els = $els.add(el);
});
$els.css('animation-name', 'dummy');
void $els[0].offsetWidth;
$els.css('animation-name', '');
}
// Animations
sOptions.registry.o_animate = sOptions.Class.extend({
/**
* @override
*/
cleanForSave: function () {
// Clean elements
this.$target.removeClass('o_animating o_animated o_animate_preview')
.css({
'animation-name': '',
'animation-play-state': '',
'visibility': '',
});
if (this.$target.hasClass('o_animate')) {
this.$target.css('animation-play-state', 'paused');
}
// Clean all inView elements
$('#wrapwrap').find('.o_animate').removeClass('o_visible');
},
//--------------------------------------------------------------------------
// Options
//--------------------------------------------------------------------------
/**
* @override
*/
selectClass: async function (previewMode, widgetValue, params) {
await this._super.apply(this, arguments);
forceAnimation(this.$target);
if (params.isAnimationTypeSelection) {
this.$target.toggleClass('o_animate_preview o_animate', !!widgetValue);
}
},
});
});
@@ -0,0 +1,143 @@
odoo.define('website_animate.o_animate_frontend', function (require) {
'use strict';
var publicWidget = require('web.public.widget');
var WebsiteAnimate = {
win : {},
items : {},
offsetRatio : 0.3, // Dynamic offset ratio: 0.3 = (element's height/3)
offsetMin : 10, // Minimum offset for small elements (in pixels)
// Retrieve animable elements and attach handlers.
start: function () {
var self = this;
self.items = $(".o_animate");
self.items.each(function () {
var $el = $(this);
// Set all monitored elements to initial state
self.reset_animation($el);
});
setTimeout(function () {
self.attach_handlers();
});
},
// Bind events and define the scrolling function
attach_handlers: function () {
var self = this;
var lastScroll = 0;
$(window)
.on("resize.o_animate", function () {
self.win.h = $(window).height();
$(window).trigger("scroll");
})
.trigger("resize");
$().getScrollingElement()
.on("scroll.o_animate, slid.bs.carousel", (_.throttle(function () {
// _.throttle -> Limit the number of times the scroll function
// can be called in a given period. (http://underscorejs.org/#throttle)
var windowTop = $(window).scrollTop();
var windowBottom = windowTop + self.win.h;
// Handle reverse scrolling
var direction = (windowTop < lastScroll) ? -1 : 1;
lastScroll = windowTop;
self.items.each(function () {
var $el = $(this);
var elHeight = $el.height();
var elOffset = direction * Math.max((elHeight * self.offsetRatio), self.offsetMin);
var state = $el.css("animation-play-state");
// We need to offset for the change in position from some animation
// So we get the top value of the transform matrix
var transformMatrix = $el.css('transform').replace(/[^0-9\-.,]/g, '').split(',');
var transformOffset = transformMatrix[13] || transformMatrix[5];
var elTop = $el.offset().top - transformOffset;
var visible = windowBottom > (elTop + elOffset) && windowTop < (elTop + elHeight - elOffset);
if ( visible && (state === "paused") ) {
$el.addClass("o_visible");
self.start_animation($el);
} else if ( !(visible) && $el.hasClass("o_animate_both_scroll") && (state === "running") ) {
$el.removeClass("o_visible");
self.reset_animation($el);
}
});
},100)))
.trigger("scroll");
},
// Set elements to initial state
reset_animation: function ($el) {
var anim_name = $el.css("animation-name");
$el
.css({"animation-name" : "dummy-none", "animation-play-state" : ""})
.removeClass("o_animated o_animating");
// force the browser to redraw using setTimeout
setTimeout(function () {
$el.css({"animation-name" : anim_name, "animation-play-state" : "paused"});
},0);
},
// Start animation and/or update element's state
start_animation: function ($el) {
// force the browser to redraw using setTimeout
setTimeout(function () {
$el
.css({"animation-play-state": "running"})
.addClass("o_animating")
.one('webkitAnimationEnd oanimationend msAnimationEnd animationend', function (e) {
$el.addClass("o_animated").removeClass("o_animating");
$(window).trigger("resize");
});
});
},
};
publicWidget.registry.WebsiteAnimate = publicWidget.Widget.extend({
selector: '#wrapwrap',
disabledInEditableMode: false,
/**
* @override
*/
start: function () {
// By default, elements are hidden by the css of o_animate.
// render alements + // We will trigger the animation then pause it in state 0.
WebsiteAnimate.start();
// Then we render all the elements, the ones which are invisible
// in state 0 (like fade_in for example) will stay invisible.
$(".o_animate").css("visibility", "visible");
return this._super.apply(this, arguments);
},
});
// Backward compatibility for enark animation system
publicWidget.registry.o_animate = publicWidget.Widget.extend({
selector: '.o_animation',
destroy: function () {
this._super.apply(this, arguments);
// Convert old classes to the new animation system
var old_animation_classes = "o_animation o_displayed o_displayed_top o_displayed_middle o_displayed_bottom o_visible o_visible_top o_visible_middle o_visible_bottom";
$(".o_fade_in").addClass("o_animate o_anim_fade_in").removeClass("o_fade_in");
$(".o_fade_in_down").addClass("o_animate o_anim_fade_in_down").removeClass("o_fade_in_down");
$(".o_fade_in_left").addClass("o_animate o_anim_fade_in_left").removeClass("o_fade_in_left");
$(".o_fade_in_right").addClass("o_animate o_anim_fade_in_right").removeClass("o_fade_in_right");
$(".o_fade_in_up").addClass("o_animate o_anim_fade_in_up").removeClass("o_fade_in_up");
this.$target.removeClass(old_animation_classes);
},
});
return WebsiteAnimate;
});
File diff suppressed because it is too large Load Diff
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="o_animate_assets_frontend_js" inherit_id="website.assets_frontend">
<xpath expr="//link[last()]" position="after">
<link rel="stylesheet" type="text/scss" href="/website_animate/static/src/scss/o_animate_frontend.scss"/>
</xpath>
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/website_animate/static/src/js/o_animate.frontend.js"/>
</xpath>
</template>
<template id="o_animate_assets_editor" inherit_id="website.assets_editor">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/website_animate/static/src/js/o_animate.editor.js"/>
</xpath>
</template>
</odoo>
+65
View File
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="no-js_fallback" inherit_id="website.layout">
<xpath expr="//head" position="inside">
<noscript id="o_animate-no-js_fallback">
<style type="text/css">
.o_animate {
/* If no js - force elements rendering */
visibility:visible;
/* If browser support css animations support - reset animation */
-webkit-animation-name: none-dummy;
animation-name: none-dummy;
}
</style>
</noscript>
</xpath>
</template>
<template id="o_animate_options" inherit_id="website.snippet_options">
<xpath expr="." position="inside">
<div data-js="o_animate"
data-selector=".o_animable, section, img, .fa, [class^='col-md'], .btn"
data-exclude=".o_not-animable">
<we-select string="Animate" class="o_anim_li" data-is-animation-type-selection="true">
<we-button data-select-class="" data-name="no_animation_opt">Disable animation</we-button>
<we-divider/>
<we-button data-select-class="o_anim_fade_in">Fade In</we-button>
<we-button data-select-class="o_anim_fade_in_down">Fade In-Down</we-button>
<we-button data-select-class="o_anim_fade_in_left">Fade In-Left</we-button>
<we-button data-select-class="o_anim_fade_in_right">Fade In-Right</we-button>
<we-button data-select-class="o_anim_fade_in_up">Fade In-Up</we-button>
<we-divider/>
<we-button data-select-class="o_anim_bounce_in">Bounce In</we-button>
<we-button data-select-class="o_anim_bounce_in_down">Bounce In-Down</we-button>
<we-button data-select-class="o_anim_bounce_in_left">Bounce In-Left</we-button>
<we-button data-select-class="o_anim_bounce_in_right">Bounce In-Right</we-button>
<we-divider/>
<we-button data-select-class="o_anim_rotate_in">Rotate In</we-button>
<we-button data-select-class="o_anim_rotate_in_down_left">Rotate In-Down-Left</we-button>
<we-button data-select-class="o_anim_rotate_in_down_right">Rotate In-Down-Right</we-button>
<we-divider/>
<we-button data-select-class="o_anim_zoom_in">Zoom In</we-button>
<we-button data-select-class="o_anim_zoom_in_down">Zoom In-Down</we-button>
<we-button data-select-class="o_anim_zoom_in_left">Zoom In-Left</we-button>
<we-button data-select-class="o_anim_zoom_in_right">Zoom In-Right</we-button>
<we-divider/>
<we-button data-select-class="o_anim_flash">Flash</we-button>
<we-button data-select-class="o_anim_pulse">Pulse</we-button>
<we-button data-select-class="o_anim_shake">Shake</we-button>
<we-button data-select-class="o_anim_tada">Tada</we-button>
<we-divider/>
<we-button data-select-class="o_anim_flip_in_x">Flip-In-X</we-button>
<we-button data-select-class="o_anim_flip_in_y">Flip-In-Y</we-button>
</we-select>
<we-input string="Animation Duration" data-dependencies="!no_animation_opt"
data-select-style="0.4s" data-css-property="animation-duration" data-unit="s"/>
<we-input string="Animation Delay" data-dependencies="!no_animation_opt"
data-select-style="0s" data-css-property="animation-delay" data-unit="s"/>
<we-checkbox string="Each time it becomes visible" data-dependencies="!no_animation_opt"
data-select-class="o_animate_both_scroll"/>
</div>
</xpath>
</template>
</odoo>