Browse Source

[UPDT] Style Fix

pull/221/merge
AjmalCybro 2 years ago
parent
commit
33aec0946f
  1. 16
      code_backend_theme/__manifest__.py
  2. 5
      code_backend_theme/doc/RELEASE_NOTES.md
  3. 8
      code_backend_theme/static/description/index.html
  4. BIN
      code_backend_theme/static/description/theme_screenshot.png
  5. 7
      code_backend_theme/static/src/xml/styles.xml

16
code_backend_theme/__manifest__.py

@ -32,31 +32,29 @@
'website': "https://www.cybrosys.com",
"depends": ['base', 'web', 'mail'],
"data": [
'views/icons.xml',
'views/layout.xml',
'views/icons.xml',
],
'assets': {
'web.assets_frontend': [
'code_backend_theme/static/src/scss/login.scss',
],
'web.assets_backend': [
'code_backend_theme/static/src/xml/styles.xml',
'code_backend_theme/static/src/xml/top_bar.xml',
'code_backend_theme/static/src/scss/theme_accent.scss',
'code_backend_theme/static/src/scss/navigation_bar.scss',
'code_backend_theme/static/src/scss/datetimepicker.scss',
'code_backend_theme/static/src/scss/theme.scss',
'code_backend_theme/static/src/scss/sidebar.scss',
'code_backend_theme/static/src/js/fields/colors.js',
'code_backend_theme/static/src/js/chrome/sidebar_menu.js',
],
'code_backend_theme/static/src/js/fields/colors.js',
],
'web.assets_frontend': [
'code_backend_theme/static/src/scss/login.scss',
],
},
'images': [
'static/description/banner.png',
'static/description/theme_screenshot.png',
'static/description/icon.png',
],
'license': 'LGPL-3',
'pre_init_hook': 'test_pre_init_hook',

5
code_backend_theme/doc/RELEASE_NOTES.md

@ -1,5 +1,10 @@
## Module <code_backend_theme>
#### 22.10.2021
#### Version 15.0.1.0.0
#### ADD
Initial Commit
#### 17.10.2022
#### Version 16.0.1.0.0
#### ADD

8
code_backend_theme/static/description/index.html

@ -23,7 +23,7 @@
<!-- APP HERO -->
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">Code Backend Theme</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">Minimalist and Elegant Backend
Theme for Odoo 16.</p>
Theme for Odoo 15.</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/code_backend_screenshots.png"
style="width: 75%; height: auto; position: absolute; margin-left: auto; margin-right: auto; top: 45%; left: 12%; right: auto;" />
@ -99,13 +99,13 @@
</div>
<div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4">
The Code Backend Theme V16 Gives You a Fully Modified View with
The Code Backend Theme V15 Gives You a Fully Modified View with
a Full Screen Display.
This is a Minimalist and Elegant Backend Theme for Odoo 16.
This is a Minimalist and Elegant Backend Theme for Odoo 15.
This Theme Will Change Your Old Experience to a New Experience
With Odoo.
It is a Perfect Choice for Your Odoo Backend and an Attractive
Theme for Your Odoo 16 .
Theme for Your Odoo 15.
It will Give You a Clean Layout with a New Color Combination and
a Modified Font. It has a
Sidebar with

BIN
code_backend_theme/static/description/theme_screenshot.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

7
code_backend_theme/static/src/xml/styles.xml

@ -10,8 +10,11 @@
<!--Remove App Icon in Settings-->
<t t-inherit="web.SettingsPage" t-inherit-mode="extension" owl="1">
<xpath expr="//div[hasclass('tab')]" position="replace">
<div class="tab" t-attf-data-key="#{tab.key}" role="tab">
<span class="app_name"><t t-esc="tab.string"/></span>
<!-- <div class="tab" t-if="!module.isVisible" t-att-class="(state.selectedTab === module.key and state.search.value.length === 0) ? 'selected': ''" t-att-data-key="module.key" role="tab" t-on-click="() => this.onSettingTabClick(module.key)">-->
<!-- <div class="icon d-none d-md-block" t-attf-style="background : url('{{module.imgurl}}') no-repeat center;background-size:contain;"/> <span class="app_name"><t t-esc="module.string"/></span>-->
<!-- </div>-->
<div class="tab" t-attf-data-key="#{module.key}" role="tab" t-on-click="() => this.onSettingTabClick(module.key)">
<span class="app_name"><t t-esc="module.string"/></span>
</div>
</xpath>
</t>

Loading…
Cancel
Save