diff --git a/muk_web_theme/__manifest__.py b/muk_web_theme/__manifest__.py index 582c935..f64e217 100644 --- a/muk_web_theme/__manifest__.py +++ b/muk_web_theme/__manifest__.py @@ -1,62 +1,62 @@ -################################################################################### -# -# Copyright (c) 2017-2019 MuK IT GmbH. -# -# This file is part of MuK Backend Theme -# (see https://mukit.at). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this program. If not, see . -# -################################################################################### -{ - "name": "MuK Backend Theme", - "summary": "Odoo Community Backend Theme", - "version": "12.0.2.0.7", - "category": "Themes/Backend", - "license": "LGPL-3", - "author": "MuK IT", - "website": "http://www.mukit.at", - 'live_test_url': 'https://mukit.at/r/SgN', - "contributors": [ - "Mathias Markl ", - ], - "depends": [ - "muk_web_utils", - ], - "excludes": [ - "web_enterprise", - ], - "data": [ - "template/assets.xml", - "template/web.xml", - "views/res_users.xml", - "views/res_config_settings_view.xml", - "data/res_company.xml", - ], - "qweb": [ - "static/src/xml/*.xml", - ], - "images": [ - 'static/description/banner.png', - 'static/description/theme_screenshot.png' - ], - "external_dependencies": { - "python": [], - "bin": [], - }, - "application": False, - "installable": True, - "auto_install": False, - "uninstall_hook": "_uninstall_reset_changes", +################################################################################### +# +# Copyright (c) 2017-2019 MuK IT GmbH. +# +# This file is part of MuK Backend Theme +# (see https://mukit.at). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see . +# +################################################################################### +{ + "name": "MuK Backend Theme", + "summary": "Odoo Community Backend Theme", + "version": "12.0.2.0.8", + "category": "Themes/Backend", + "license": "LGPL-3", + "author": "MuK IT", + "website": "http://www.mukit.at", + 'live_test_url': 'https://mukit.at/r/SgN', + "contributors": [ + "Mathias Markl ", + ], + "depends": [ + "muk_web_utils", + ], + "excludes": [ + "web_enterprise", + ], + "data": [ + "template/assets.xml", + "template/web.xml", + "views/res_users.xml", + "views/res_config_settings_view.xml", + "data/res_company.xml", + ], + "qweb": [ + "static/src/xml/*.xml", + ], + "images": [ + 'static/description/banner.png', + 'static/description/theme_screenshot.png' + ], + "external_dependencies": { + "python": [], + "bin": [], + }, + "application": False, + "installable": True, + "auto_install": False, + "uninstall_hook": "_uninstall_reset_changes", } \ No newline at end of file diff --git a/muk_web_theme/static/src/scss/search_view.scss b/muk_web_theme/static/src/scss/search_view.scss index bc8c1c3..bbd5b1f 100644 --- a/muk_web_theme/static/src/scss/search_view.scss +++ b/muk_web_theme/static/src/scss/search_view.scss @@ -1,39 +1,47 @@ -/********************************************************************************** -* -* Copyright (c) 2017-2019 MuK IT GmbH. -* -* This file is part of MuK Backend Theme -* (see https://mukit.at). -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU Lesser General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser General Public License for more details. -* -* You should have received a copy of the GNU Lesser General Public License -* along with this program. If not, see . -* -**********************************************************************************/ - -.o_modal_header { - .o_searchview, .o_pager { - display: inline-block; - } - .o_searchview { - padding: 0; - border: none; - width: 100%; - margin-bottom: 5px; - border-bottom: 1px solid $o-brand-secondary; - button { - background-color: $white; - border-color: $border-color; - color: $gray-600; - } - } +/********************************************************************************** +* +* Copyright (c) 2017-2019 MuK IT GmbH. +* +* This file is part of MuK Backend Theme +* (see https://mukit.at). +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public License +* along with this program. If not, see . +* +**********************************************************************************/ + +.o_modal_header { + .o_searchview, .o_pager { + display: inline-block; + } + .o_searchview { + padding: 0; + border: none; + width: 100%; + margin-bottom: 5px; + border-bottom: 1px solid $o-brand-secondary; + button { + background-color: $white; + border-color: $border-color; + color: $gray-600; + } + } +} + +@include media-breakpoint-between(sm, lg, $o-extra-grid-breakpoints) { + .o_search_options { + .mk_dropdown_text { + display: none; + } + } } \ No newline at end of file diff --git a/muk_web_theme/static/src/xml/base.xml b/muk_web_theme/static/src/xml/base.xml new file mode 100644 index 0000000..a575c12 --- /dev/null +++ b/muk_web_theme/static/src/xml/base.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/muk_web_theme/static/src/xml/views.xml b/muk_web_theme/static/src/xml/views.xml index a0c1600..de8c745 100644 --- a/muk_web_theme/static/src/xml/views.xml +++ b/muk_web_theme/static/src/xml/views.xml @@ -1,100 +1,108 @@ - - - - - - - - - - - - - - - - - - - - Edit - - - - - - Create - - - - - - Save - - - - - - Discard - - - - - - - - - Create - - - - - - - Save - - - - - - - Discard - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + Edit + + + + + + Create + + + + + + Save + + + + + + Discard + + + + + + + + + Create + + + + + + + Save + + + + + + + Discard + + + + + + + + + + + + + + + + + Favorites + + + + \ No newline at end of file