add app_web_ent

This commit is contained in:
ivan deng
2018-09-26 09:23:05 +08:00
parent 03d31c6ae7
commit e198c1865f
18 changed files with 229 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
.o_user_menu .dropdown-menu img {
.o_user_menu .dropdown-menu img,
.o_user_menu_mobile .dropdown-item img {
height: 20px;
margin: 2px;
}
}

View File

@@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
from . import controllers
from . import models
from . import ir
from . import res

View File

@@ -0,0 +1,67 @@
# -*- coding: utf-8 -*-
# Created on 2017-11-05
# author: 广州尚鹏http://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# http://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# http://www.sunpop.cn/odoo10_developer_document_offline/
# description:
{
'name': "App web enterprise enhance, odoo企业版界面增强",
'version': '12.0.9.26',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'http://www.sunpop.cn',
'license': 'LGPL-3',
'sequence': 2,
'summary': """
odoo enterprise version UI theme enhance.
1. Add dropdown arrow to parent menu.
2. Replace the odoo logo to your company logo in main menu.
3. Alway show search in main menu.
""",
'description': """
odoo enterprise version UI enhance.
广州尚鹏Sunpop.cn 的odoo模块。企业版界面增强。
1. Add dropdown arrow to parent menu.
多级菜单中出现箭头。
2. Replace the odoo logo to your company logo in main menu.
替换主菜单界面的logo为你公司的logo。
3. Alway show search in main menu.
在主菜单界面让搜索可见。
""",
'price': 68.00,
'currency': 'EUR',
'depends': ['web_enterprise'],
'images': [],
'data': [
'views/webclient_templates.xml',
],
'demo': [
],
'test': [
],
'css': [
],
'qweb': [
'static/src/xml/*.xml',
],
'js': [
],
'images': ['static/description/app_web_enterprise_03.jpg'],
'post_load': None,
'post_init_hook': None,
'installable': True,
'application': True,
'auto_install': True,
}

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,16 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * felive_home
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-08 14:28+0000\n"
"PO-Revision-Date: 2018-01-08 14:28+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"

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -0,0 +1,68 @@
<section class="oe_container">
<div class="oe_row oe_spaced" style="max-width: 95%;">
<div class="oe_span12">
<h2 class="oe_slogan">App Web Enterprise Enhance</h2>
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
<h1 class="mt32 mb32">More Powerful addons:
<a class="btn btn-primary mb16" href="http://www.odoo.com/apps/modules/browse?author=Sunpop.cn">Supop.cn Odoo Addons</a>
</h1>
<h3>Lastest update: v11.0.5.16, 2018-05-17</h3>
<p>This moduld allows user to . </p>
<ul>
<li class="mb8">1.Add dropdown arrow to parent menu.</li>
<li class="mb8">2.Replace the odoo logo to your company logo in main menu.</li>
<li class="mb8">3.Alway show search in main menu.</li>
</ul>
</div>
<div class="oe_demo oe_screenshot mt32">
<img src="app_web_enterprise_01.jpg" style="border:1px solid black"/>
<br/>
</div>
<div class="oe_demo oe_screenshot mt32">
<img src="app_web_enterprise_02.jpg" style="border:1px solid black"/>
<br/>
</div>
<div class="oe_demo oe_screenshot mt32">
<img src="app_web_enterprise_03.jpg" style="border:1px solid black"/>
<br/>
</div>
<div class="oe_demo oe_screenshot mt32">
<img src="b03.png" style="border:1px solid black"/>
<br/>
</div>
</div>
</div>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced text-center">
<div class="oe_span12">
<h2 class="oe_slogan">Technical Help & Support</h2>
</div>
<div class="col-md-12 pad0">
<div class="oe_mt16">
<p><h4>
For any type of technical help & support requests, Feel free to contact us</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:guohuadeng@hotmail.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> guohuadeng@hotmail.com</a>
<p><h4>
Via QQ: 300883</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:300883@qq.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> 300883@qq.com</a>
</div>
<div class="oe_mt16">
<p><h4>
Visit our website for more support.</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="http://www.sunpop.cn" target="_blank"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-web"></i>http://www.sunpop.cn</a>
</div>
</div>
</div>
</section>

View File

@@ -0,0 +1,39 @@
//输入焦点时有颜色
.o_web_client input:focus,
.o_web_client textarea:focus,
.o_web_client select:focus {
border-color: $o-brand-primary;
font-weight: bold;
}
//菜单搜索常见
.o_menu_search {
&.o_bar_hidden {
opacity: 0.9;
}
}
// Notebooks ,form_view,移动端优化
.o_form_view {
.o_notebook {
> .nav.nav-tabs {
> .nav-item {
> .nav-link {
border-left-width: 0!important;
background-color: #fafafa;
&:hover, &:focus, &:active {
background-color: white;
}
&.active {
border-top-width: 2px;
border-left-width: 1px!important;
border-right-width: 1px!important;
}
}
&:first-child > .nav-link {
border-left-width: 1px!important;
}
}
}
}
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="HomeMenu.Content">
<t t-jquery=".o_home_menu_footer" t-operation="inner">
<img src='/web/binary/company_logo' alt="Logo"/>
</t>
</t>
<t t-extend="Menu.sections">
<t t-jquery=".dropdown-toggle" t-operation="attributes">
<attribute name="class">dropdown-toggle o_menu_header_lvl_1</attribute>
</t>
</t>
</templates>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="assets_backend" name="app_web_enterprise assets backend" inherit_id="web.assets_backend">
<xpath expr="//link[last()]" position="after">
<link rel="stylesheet" type="text/less" href="/app_web_enterprise/static/src/scss/app_style.scss"/>
</xpath>
</template>
</odoo>