Browse Source

[CHG] Index Updated

pull/97/merge
Sreejith P 7 years ago
parent
commit
482f56708c
  1. 5
      odoo-debrand/__manifest__.py
  2. 7
      odoo-debrand/doc/changelog.rst
  3. 1
      odoo-debrand/models/__init__.py
  4. BIN
      odoo-debrand/static/description/about-og.png
  5. BIN
      odoo-debrand/static/description/about.png
  6. BIN
      odoo-debrand/static/description/configurations.png
  7. 154
      odoo-debrand/static/description/index.html
  8. BIN
      odoo-debrand/static/description/odoo-title-og.png
  9. BIN
      odoo-debrand/static/description/odoo-title.png
  10. BIN
      odoo-debrand/static/description/powered-og.png
  11. BIN
      odoo-debrand/static/description/powered.png
  12. BIN
      odoo-debrand/static/description/settings-dash-og.png
  13. BIN
      odoo-debrand/static/description/settings-dashboard.png
  14. BIN
      odoo-debrand/static/description/warning-og.png
  15. BIN
      odoo-debrand/static/description/warning.png
  16. BIN
      odoo-debrand/static/description/website_footer-og.png
  17. BIN
      odoo-debrand/static/description/website_footer.png
  18. 22
      odoo-debrand/views/templates.xml
  19. 26
      odoo-debrand/views/views.xml

5
odoo-debrand/__manifest__.py

@ -22,7 +22,7 @@
##############################################################################
{
'name': "Odoo Debranding",
'version': "10.0.3.0",
'version': "10.0.1.0.0",
'summary': """Debrand Odoo""",
'description': """Debrand Odoo""",
'author': "Cybrosys Techno Solutions",
@ -31,7 +31,8 @@
'category': 'Tools',
'depends': ['base', 'im_livechat', 'website'],
'data': [
'views/views.xml'],
'views/views.xml',
'views/templates.xml'],
'demo': [],
'qweb': ["static/src/xml/*.xml"],
'images': ['static/description/banner.jpg'],

7
odoo-debrand/doc/changelog.rst

@ -1,7 +0,0 @@
Changelog
=========
`10.0.2.0.0`
------------
- Fixed Crash Issue on Un-installing.

1
odoo-debrand/models/__init__.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from . import models

BIN
odoo-debrand/static/description/about-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
odoo-debrand/static/description/about.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 40 KiB

BIN
odoo-debrand/static/description/configurations.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 27 KiB

154
odoo-debrand/static/description/index.html

@ -1,111 +1,162 @@
<section class="oe_container oe_dark">
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Odoo Debranding</h2>
<h2 class="oe_slogan">Odoo Debranding</h2>
<h3 class="oe_slogan">Debrand Odoo Back-end + Front-End</h3>
<h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h4>
</div>
<div class="oe_row oe_spaced" style="padding-left:65px;">
<h4>Features:</h4>
<div>
<span style="color:green;"> &#9745; </span> Debranding configuration page.<br/>
<span style="color:green;"> &#9745; </span> Modify database selector page.<br/>
<span style="color:green;"> &#9745; </span> Update website footer.<br/>
<span style="color:green;"> &#9745; </span> Remove Odoo's default favicon.<br/>
<span style="color:green;"> &#9745; </span> Updated "About" list.<br/>
<span style="color:green;"> &#9745; </span> Updated warning messages.<br/>
<span style="color:green;"> &#9745; </span> Page title modification.<br/>
<br/>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Configuration</h2>
<div class="col-md-12">
<img class="oe_picture oe_screenshot" src="configurations.png"/>
<div class="oe_picture">
<h3 class="oe_slogan">Overview</h3>
<p class="oe_mt32 text-justify" >
Want to debrand your company website? Odoo Debranding module developed by Cybrosys Technologies
helps you to change the aesthetic look of Odoo software via customizing them
with Logo and other branding changes. The module helps you to change almost every area of Odoo visuals,
delivering a brand new customized website.
</p>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align: center">
<p>
<h4>Configuration</h4>
<p>
</div>
<div style="text-align: center">
<span class="oe_mt32 text-justify" style="text-align: center;">From the website configuration page, you can configure the company logo, favicon, company name, and website. </span>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="configurations.png">
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Database Selector Page</h2>
<div class="col-md-12">
<img class="oe_picture oe_screenshot" src="db-selector.png"/>
<div style="text-align: center">
<p>
<h4>Database Selector Page</h4>
<p>
</div>
<div style="text-align: center">
<span class="oe_mt32 text-justify" style="text-align: center;">Database selector page will be updated with the company logo configured in the back-end.</span>
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="db-selector.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Page Title</h2>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="odoo-title-og.png"/>
<div style="text-align: center">
<p>
<h4>Page Title</h4>
</p>
</div>
<div class="col-md-2" style="top:100px;color:green">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="odoo-title.png">
</div>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="odoo-title.png"/>
<span class="oe_mt32 text-justify" style="text-align: center;">"Odoo" will be removed from the page title.</span>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Warning</h2>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="warning-og.png"/>
<div style="text-align: center">
<p>
<h4>Warning</h4>
</p>
</div>
<div class="col-md-2" style="top:50px;color:green">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="warning.png">
</div>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="warning.png"/>
<span class="oe_mt32 text-justify" style="text-align: center;">All the warning messages will be updated, by removing "Odoo" from the warning message window.</span>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Settings</h2>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="settings-dash-og.png"/>
<div style="text-align: center">
<p>
<h4>Settings</h4>
</p>
</div>
<div class="col-md-2" style="top:50px;color:green">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="settings-dashboard.png">
</div>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="settings-dashboard.png"/>
<span class="oe_mt32 text-justify" style="text-align: center;">The settings dashboard will be updated.</span>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">About</h2>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="about-og.png"/>
<div style="text-align: center">
<p>
<h4>About</h4>
</p>
</div>
<div class="col-md-2" style="top:50px;color:green">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="about.png">
</div>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="about.png"/>
<span>"My Odoo.com Account" will be removed from the "About" dropdown list.</span>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Powered By</h2>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="powered-og.png"/>
<div style="text-align: center">
<p>
<h4>Powered By</h4>
</p>
</div>
<div class="col-md-2" style="top:50px;color:green">
<i class="fa fa-hand-o-right fa-2x" aria-hidden="true"></i>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="powered.png">
</div>
<div class="col-md-5">
<img class="oe_picture oe_screenshot" src="powered.png"/>
<span>"Powered by Odoo" in the footer will be replaced with the company name configured in the back-end.</span>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Website Footer</h2>
<div class="col-md-12">
<img class="oe_picture" src="website_footer-og.png"/>
<div style="text-align: center">
<p>
<h4>Website Footer</h4>
</p>
</div>
<span class="" style="padding-left: 50%;color:green">
<i class="fa fa-hand-o-down fa-2x" aria-hidden="true"></i>
</span>
<div class="col-md-12">
<img class="oe_picture" src="footer.png"/>
<div class="" style="text-align: center">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="website_footer.png">
</div>
<span>Website footer content will also be replaced with the company name configured in the website configuration page.</span>
</div>
</div>
</section>
@ -135,4 +186,3 @@
</div>
</div>
</section>

BIN
odoo-debrand/static/description/odoo-title-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

BIN
odoo-debrand/static/description/odoo-title.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 12 KiB

BIN
odoo-debrand/static/description/powered-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

BIN
odoo-debrand/static/description/powered.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
odoo-debrand/static/description/settings-dash-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

BIN
odoo-debrand/static/description/settings-dashboard.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 69 KiB

BIN
odoo-debrand/static/description/warning-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

BIN
odoo-debrand/static/description/warning.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 25 KiB

BIN
odoo-debrand/static/description/website_footer-og.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

BIN
odoo-debrand/static/description/website_footer.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

22
odoo-debrand/views/templates.xml

@ -0,0 +1,22 @@
<openerp>
<data>
<!-- <template id="listing"> -->
<!-- <ul> -->
<!-- <li t-foreach="objects" t-as="object"> -->
<!-- <a t-attf-href="#{ root }/objects/#{ object.id }"> -->
<!-- <t t-esc="object.display_name"/> -->
<!-- </a> -->
<!-- </li> -->
<!-- </ul> -->
<!-- </template> -->
<!-- <template id="object"> -->
<!-- <h1><t t-esc="object.display_name"/></h1> -->
<!-- <dl> -->
<!-- <t t-foreach="object._fields" t-as="field"> -->
<!-- <dt><t t-esc="field"/></dt> -->
<!-- <dd><t t-esc="object[field]"/></dd> -->
<!-- </t> -->
<!-- </dl> -->
<!-- </template> -->
</data>
</openerp>

26
odoo-debrand/views/views.xml

@ -1,4 +1,5 @@
<odoo>
<openerp>
<data>
<record id="debrand_config" model="ir.ui.view">
<field name="name">Debranding Configuration</field>
<field name="model">website.config.settings</field>
@ -51,9 +52,9 @@
<a t-att-href="request.env['website'].sudo().search([])[0].company_name or ''" target="_blank">
<span t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></a>
</div>
</xpath>
</template>
<template id="login_layout_secondary" inherit_id="web.menu_secondary">
<xpath expr="//div[@class='o_sub_menu_footer']" position="replace">
<div class="o_sub_menu_footer">
@ -62,39 +63,35 @@
</div>
</xpath>
</template>
<template id="login_layout_im_livechat" inherit_id="im_livechat.support_page">
<xpath expr="//body" position="replace">
<body>
<div class="main" style="opacity: 1;">
<h1 class="channel_name"><t t-esc="channel.name"/></h1>
<div>Website Live Chat Powered by <strong><t t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></strong></div>
<div>Website Live Chat Powered by <strong><t t-esc="request.env['website'].sudo().search([])[0].company_name or '"/></strong></div>
</div>
</body>
</xpath>
</template>
<template id="login_layout" inherit_id="mail.message_user_assigned">
<xpath expr="//p[last()]" position="replace">
<p style="color:#9E588B;">Powered by <a t-att-href="request.env['website'].sudo().search([])[0].company_website or ''">
<t t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></a>.</p>
</xpath>
</template>
<template id="layout_footer_copyright" inherit_id="website.layout" name="Footer Copyright">
<template id="layout_footer_copyright" inherit_id="website.layout_footer_copyright" name="Footer Copyright">
<xpath expr="//div[@class='container mt16 mb8']" position="replace">
<div class="container mt16 mb8">
<div class="pull-right" t-if="not editable">
Powered by <a class="label label-danger" t-att-href="request.env['website'].sudo().search([])[0].company_website or ''">
<t t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/> </a>.
Powered by <a class="label label-danger" t-att-href="request.env['website'].sudo().search([])[0].company_website">
<t t-esc="request.env['website'].sudo().search([])[0].company_name"/> </a>.
</div>
<div class="pull-left text-muted">
Copyright &amp;copy; <span t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/>
Copyright &amp;copy; <span t-esc="request.env['website'].sudo().search([])[0].company_name"/>
</div>
</div>
</xpath>
</template>
<template id="footer_extend" inherit_id="website.footer_custom">
<xpath position="replace" expr="//h2"/>
</template>
@ -136,8 +133,8 @@
<a class="" href="/web/database/manager">Manage Databases</a> |
</t>
<t>
<a t-att-href="request.env['website'].sudo().search([])[0].company_website or ''" target="_blank">Powered by
<span t-esc="request.env['website'].sudo().search([])[0].company_name or ''"/></a>
<a t-att-href="request.env['website'].sudo().search([])[0].company_website" target="_blank">Powered by
<span t-esc="request.env['website'].sudo().search([])[0].company_name"/></a>
</t>
</div>
@ -145,4 +142,5 @@
</div>
</xpath>
</template>
</odoo>
</data>
</openerp>
Loading…
Cancel
Save