Browse Source

publish muk_web_theme - 12.0

12.0
MuK IT GmbH 4 years ago
parent
commit
302167aad7
  1. 2
      muk_web_theme/__manifest__.py
  2. 8
      muk_web_theme/static/src/scss/search_view.scss
  3. 35
      muk_web_theme/static/src/xml/base.xml
  4. 8
      muk_web_theme/static/src/xml/views.xml

2
muk_web_theme/__manifest__.py

@ -22,7 +22,7 @@
{
"name": "MuK Backend Theme",
"summary": "Odoo Community Backend Theme",
"version": "12.0.2.0.7",
"version": "12.0.2.0.8",
"category": "Themes/Backend",
"license": "LGPL-3",
"author": "MuK IT",

8
muk_web_theme/static/src/scss/search_view.scss

@ -37,3 +37,11 @@
}
}
}
@include media-breakpoint-between(sm, lg, $o-extra-grid-breakpoints) {
.o_search_options {
.mk_dropdown_text {
display: none;
}
}
}

35
muk_web_theme/static/src/xml/base.xml

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
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 <http://www.gnu.org/licenses/>.
-->
<templates id="template" xml:space="preserve">
<t t-extend="web.DropdownMenu">
<t t-jquery="button" t-operation="inner">
<span t-att-class="widget.dropdownIcon"/>
<span class="mk_dropdown_text"><t t-esc="widget.dropdownTitle"/></span>
<span t-if="widget.dropdownSymbol" t-att-class="widget.dropdownSymbol"/>
</t>
</t>
</templates>

8
muk_web_theme/static/src/xml/views.xml

@ -97,4 +97,12 @@
</t>
</t>
<t t-extend="SearchView.FavoriteMenu">
<t t-jquery="button[data-toggle='dropdown']" t-operation="inner">
<span class="fa fa-star"/>
<span class="mk_dropdown_text">Favorites</span>
<span t-if="widget.isMobile" class="fa fa-chevron-right float-right mt4"/>
</t>
</t>
</templates>
Loading…
Cancel
Save