Browse Source

publish muk_web_theme - 12.0

pull/115/head
MuK IT GmbH 5 years ago
parent
commit
e6c4ebd2bc
  1. 2
      muk_web_theme/__manifest__.py
  2. 2
      muk_web_theme/static/src/js/views/form_renderer.js
  3. 24
      muk_web_theme/static/src/scss/notification.scss
  4. 1
      muk_web_theme/template/assets.xml

2
muk_web_theme/__manifest__.py

@ -19,7 +19,7 @@
{
"name": "MuK Backend Theme",
"summary": "Odoo Community Backend Theme",
"version": "12.0.1.4.1",
"version": "12.0.1.4.2",
"category": "Themes/Backend",
"license": "AGPL-3",
"author": "MuK IT",

2
muk_web_theme/static/src/js/views/form_renderer.js

@ -35,7 +35,7 @@ FormRenderer.include({
if (config.device.isMobile) {
var $dropdown = $(QWeb.render('muk_web_theme.MenuStatusbarButtons'));
$buttons.addClass("dropdown-menu").appendTo($dropdown);
$buttons.addClass("dropdown-menu");
$buttons.children().addClass("dropdown-item");
return $dropdown;
}
return $buttons;

24
muk_web_theme/static/src/scss/notification.scss

@ -0,0 +1,24 @@
/**********************************************************************************
*
* Copyright (C) 2017 MuK IT GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
**********************************************************************************/
.o_notification_manager {
.o_buttons {
padding: 5px;
}
}

1
muk_web_theme/template/assets.xml

@ -53,6 +53,7 @@
<link rel="stylesheet" type="text/scss" href="/muk_web_theme/static/src/scss/list_view.scss"/>
<link rel="stylesheet" type="text/scss" href="/muk_web_theme/static/src/scss/form_view.scss"/>
<link rel="stylesheet" type="text/scss" href="/muk_web_theme/static/src/scss/fields.scss"/>
<link rel="stylesheet" type="text/scss" href="/muk_web_theme/static/src/scss/notification.scss"/>
</xpath>
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/muk_web_theme/static/src/js/chrome/menu.js" />

Loading…
Cancel
Save