diff --git a/web_login_styles/README.rst b/web_login_styles/README.rst new file mode 100644 index 000000000..c5a0dcf6f --- /dev/null +++ b/web_login_styles/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Customize Login Page Style +========================== +This module will helps you to customize the login page with different styles. + +Configuration +============= +- www.odoo.com/documentation/17.0/setup/install.html +- Install our custom addon + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL V3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +Developer: (V17) Mohammed Dilshad Tk, Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/web_login_styles/__init__.py b/web_login_styles/__init__.py new file mode 100644 index 000000000..21dc16bdc --- /dev/null +++ b/web_login_styles/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import controllers +from . import models diff --git a/web_login_styles/__manifest__.py b/web_login_styles/__manifest__.py new file mode 100644 index 000000000..1b7f01b9f --- /dev/null +++ b/web_login_styles/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +{ + 'name': 'Customize Login Page Style', + 'version': '17.0.1.0.0', + 'category': 'Extra Tools', + 'summary': 'Customize The Login Page With Different Styles', + 'description': 'The Module helps to customize login page with different ' + 'styles', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base','base_setup','web'], + 'data': [ + 'views/res_config_settings_views.xml', + 'views/webclient_templates_right.xml', + 'views/webclient_templates_left.xml', + 'views/webclient_templates_middle.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/web_login_styles/controllers/__init__.py b/web_login_styles/controllers/__init__.py new file mode 100644 index 000000000..767dd1f4a --- /dev/null +++ b/web_login_styles/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import main diff --git a/web_login_styles/controllers/main.py b/web_login_styles/controllers/main.py new file mode 100644 index 000000000..b6f47efeb --- /dev/null +++ b/web_login_styles/controllers/main.py @@ -0,0 +1,136 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +import hashlib +import odoo +from odoo import http +from odoo.tools import pycompat +from odoo.tools.translate import _ +from odoo.http import request +from odoo.addons.web.controllers.home import Home as WebHome +from odoo.addons.web.controllers.utils import ensure_db, _get_login_redirect_url + +# Shared parameters for all login/signup flows +SIGN_UP_REQUEST_PARAMS = {'db', 'login', 'debug', 'token', 'message', 'error', + 'scope', 'mode', 'redirect', 'redirect_hostname', + 'email', 'name', 'partner_id', 'password', + 'confirm_password', 'city', 'country_id', 'lang'} + + +class Home(WebHome): + @http.route(route='/web/login', type='http', auth="none") + def web_login(self, redirect=None, **kw): + """Override web_login function to add features of this module.""" + ensure_db() + request.params['login_success'] = False + if request.httprequest.method == 'GET' and redirect and request.session.uid: + return request.redirect(redirect) + if not request.uid: + request.update_env(user=odoo.SUPERUSER_ID) + values = {val: item for val, item in request.params.items() if + val in SIGN_UP_REQUEST_PARAMS} + try: + values['databases'] = http.db_list() + except odoo.exceptions.AccessDenied: + values['databases'] = None + + if request.httprequest.method == 'POST': + old_uid = request.update_env(user=request.session.uid) + + try: + uid = request.session.authenticate(request.session.db, + request.params['login'], + request.params['password']) + request.params['login_success'] = True + return request.redirect( + self._login_redirect(uid, redirect=redirect)) + except odoo.exceptions.AccessDenied as e: + request.update_env = old_uid + if e.args == odoo.exceptions.AccessDenied().args: + values['error'] = _("Wrong login/password") + else: + values['error'] = e.args[0] + else: + if 'error' in request.params and request.params.get( + 'error') == 'access': + values['error'] = _( + 'Only employees can access this database. ' + 'Please contact the administrator.') + if 'login' not in values and request.session.get('auth_login'): + values['login'] = request.session.get('auth_login') + if not odoo.tools.config['list_db']: + values['disable_database_manager'] = True + conf_param = request.env['ir.config_parameter'].sudo() + orientation = conf_param.get_param('web_login_styles.orientation') + image = conf_param.get_param('web_login_styles.image') + url = conf_param.get_param('web_login_styles.url') + background_type = conf_param.get_param('web_login_styles.background') + if background_type == 'color': + values['bg'] = '' + values['color'] = conf_param.sudo().get_param( + 'web_login_styles.color') + elif background_type == 'image': + exist_rec = request.env['ir.attachment'].sudo().search( + [('is_background', '=', True)]) + if exist_rec: + exist_rec.unlink() + attachments = request.env['ir.attachment'].sudo().create({ + 'name': 'Background Image', + 'datas': image, + 'type': 'binary', + 'mimetype': 'image/png', + 'public': True, + 'is_background': True + }) + base_url = conf_param.sudo().get_param('web.base.url') + url = base_url + '/web/image?' + 'model=ir.attachment&id=' + str( + attachments.id) + '&field=datas' + values['bg_img'] = url or '' + elif background_type == 'url': + pre_exist = request.env['ir.attachment'].sudo().search( + [('url', '=', url)]) + if not pre_exist: + attachments = request.env['ir.attachment'].sudo().create({ + 'name': 'Background Image URL', + 'url': url, + 'type': 'url', + 'public': True + }) + else: + attachments = pre_exist + encode = hashlib.md5( + pycompat.to_text(attachments.url).encode("utf-8")).hexdigest()[ + 0:7] + encode_url = "/web/image/{}-{}".format(attachments.id, encode) + values['bg_img'] = encode_url or '' + if orientation == 'right': + response = request.render('web_login_styles.login_template_right', + values) + elif orientation == 'left': + response = request.render('web_login_styles.login_template_left', + values) + elif orientation == 'middle': + response = request.render('web_login_styles.login_template_middle', + values) + else: + response = request.render('web.login', values) + response.headers['X-Frame-Options'] = 'DENY' + return response diff --git a/web_login_styles/doc/RELEASE_NOTES.md b/web_login_styles/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..92aa6389e --- /dev/null +++ b/web_login_styles/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 08.01.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial Commit for Customize Login Page Style. diff --git a/web_login_styles/models/__init__.py b/web_login_styles/models/__init__.py new file mode 100644 index 000000000..f64494142 --- /dev/null +++ b/web_login_styles/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import res_config_settings +from . import ir_attachment + diff --git a/web_login_styles/models/ir_attachment.py b/web_login_styles/models/ir_attachment.py new file mode 100644 index 000000000..602a05c57 --- /dev/null +++ b/web_login_styles/models/ir_attachment.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import fields, models + + +class IrAttachment(models.Model): + """Inherit 'ir.attachment' to add field""" + _inherit = 'ir.attachment' + + is_background = fields.Boolean(string="Is Background", default=False, + help="To check is background option added") diff --git a/web_login_styles/models/res_config_settings.py b/web_login_styles/models/res_config_settings.py new file mode 100644 index 000000000..538443e9e --- /dev/null +++ b/web_login_styles/models/res_config_settings.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import api, fields, models + + +class ResConfigSettings(models.TransientModel): + """Inherits 'res.config.settings' to add fields for customize login page.""" + _inherit = 'res.config.settings' + + orientation = fields.Selection(selection=[('default', 'Default'), + ('left', 'Left'), + ('middle', 'Middle'), + ('right', 'Right')], + string="Orientation", + help="Type of login page visibility", + config_parameter="web_login_styles.orientation") + background = fields.Selection(selection=[('color', 'Color Picker'), + ('image', 'Image'), + ('url', 'URL')], + string="Background", + help="Background of the login page", + config_parameter="web_login_styles.background") + image = fields.Binary(string="Image", help="Select background image " + "of login page") + url = fields.Char(string="URL", help="Select and url of image", + config_parameter="web_login_styles.url") + color = fields.Char(string="Color", help="Set a colour for background " + "of login page", + config_parameter="web_login_styles.color") + + @api.model + def get_values(self): + """Super the get_values function to get the field values.""" + res = super(ResConfigSettings, self).get_values() + params = self.env['ir.config_parameter'].sudo() + res.update(image=params.get_param('web_login_styles.image')) + return res + + def set_values(self): + """Super the set_values function to save the field values.""" + super(ResConfigSettings, self).set_values() + params = self.env['ir.config_parameter'].sudo() + params.set_param('web_login_styles.image', self.image) + + @api.onchange('orientation') + def onchange_orientation(self): + """Set background field to false for hiding option to customize login + page background """ + if self.orientation == 'default': + self.background = False diff --git a/web_login_styles/static/description/assets/icons/capture (1).png b/web_login_styles/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/web_login_styles/static/description/assets/icons/capture (1).png differ diff --git a/web_login_styles/static/description/assets/icons/check.png b/web_login_styles/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/web_login_styles/static/description/assets/icons/check.png differ diff --git a/web_login_styles/static/description/assets/icons/chevron.png b/web_login_styles/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/web_login_styles/static/description/assets/icons/chevron.png differ diff --git a/web_login_styles/static/description/assets/icons/cogs.png b/web_login_styles/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/web_login_styles/static/description/assets/icons/cogs.png differ diff --git a/web_login_styles/static/description/assets/icons/consultation.png b/web_login_styles/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/web_login_styles/static/description/assets/icons/consultation.png differ diff --git a/web_login_styles/static/description/assets/icons/ecom-black.png b/web_login_styles/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/web_login_styles/static/description/assets/icons/ecom-black.png differ diff --git a/web_login_styles/static/description/assets/icons/education-black.png b/web_login_styles/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/web_login_styles/static/description/assets/icons/education-black.png differ diff --git a/web_login_styles/static/description/assets/icons/hotel-black.png b/web_login_styles/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/web_login_styles/static/description/assets/icons/hotel-black.png differ diff --git a/web_login_styles/static/description/assets/icons/img.png b/web_login_styles/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/web_login_styles/static/description/assets/icons/img.png differ diff --git a/web_login_styles/static/description/assets/icons/license.png b/web_login_styles/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/web_login_styles/static/description/assets/icons/license.png differ diff --git a/web_login_styles/static/description/assets/icons/lifebuoy.png b/web_login_styles/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/web_login_styles/static/description/assets/icons/lifebuoy.png differ diff --git a/web_login_styles/static/description/assets/icons/manufacturing-black.png b/web_login_styles/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/web_login_styles/static/description/assets/icons/manufacturing-black.png differ diff --git a/web_login_styles/static/description/assets/icons/photo-capture.png b/web_login_styles/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/web_login_styles/static/description/assets/icons/photo-capture.png differ diff --git a/web_login_styles/static/description/assets/icons/pos-black.png b/web_login_styles/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/web_login_styles/static/description/assets/icons/pos-black.png differ diff --git a/web_login_styles/static/description/assets/icons/puzzle.png b/web_login_styles/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/web_login_styles/static/description/assets/icons/puzzle.png differ diff --git a/web_login_styles/static/description/assets/icons/restaurant-black.png b/web_login_styles/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/web_login_styles/static/description/assets/icons/restaurant-black.png differ diff --git a/web_login_styles/static/description/assets/icons/service-black.png b/web_login_styles/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/web_login_styles/static/description/assets/icons/service-black.png differ diff --git a/web_login_styles/static/description/assets/icons/trading-black.png b/web_login_styles/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/web_login_styles/static/description/assets/icons/trading-black.png differ diff --git a/web_login_styles/static/description/assets/icons/training.png b/web_login_styles/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/web_login_styles/static/description/assets/icons/training.png differ diff --git a/web_login_styles/static/description/assets/icons/update.png b/web_login_styles/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/web_login_styles/static/description/assets/icons/update.png differ diff --git a/web_login_styles/static/description/assets/icons/user.png b/web_login_styles/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/web_login_styles/static/description/assets/icons/user.png differ diff --git a/web_login_styles/static/description/assets/icons/wrench.png b/web_login_styles/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/web_login_styles/static/description/assets/icons/wrench.png differ diff --git a/web_login_styles/static/description/assets/misc/Cybrosys R.png b/web_login_styles/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/web_login_styles/static/description/assets/misc/Cybrosys R.png differ diff --git a/web_login_styles/static/description/assets/misc/email.svg b/web_login_styles/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/web_login_styles/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web_login_styles/static/description/assets/misc/phone.svg b/web_login_styles/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/web_login_styles/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/web_login_styles/static/description/assets/misc/star (1) 2.svg b/web_login_styles/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/web_login_styles/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/web_login_styles/static/description/assets/misc/support (1) 1.svg b/web_login_styles/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/web_login_styles/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/web_login_styles/static/description/assets/misc/support-email.svg b/web_login_styles/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/web_login_styles/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web_login_styles/static/description/assets/misc/tick-mark.svg b/web_login_styles/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/web_login_styles/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/web_login_styles/static/description/assets/misc/whatsapp 1.svg b/web_login_styles/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/web_login_styles/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/web_login_styles/static/description/assets/misc/whatsapp.svg b/web_login_styles/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/web_login_styles/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web_login_styles/static/description/assets/modules/1.png b/web_login_styles/static/description/assets/modules/1.png new file mode 100644 index 000000000..ba1058c42 Binary files /dev/null and b/web_login_styles/static/description/assets/modules/1.png differ diff --git a/web_login_styles/static/description/assets/modules/2.png b/web_login_styles/static/description/assets/modules/2.png new file mode 100644 index 000000000..6949185dd Binary files /dev/null and b/web_login_styles/static/description/assets/modules/2.png differ diff --git a/web_login_styles/static/description/assets/modules/3.png b/web_login_styles/static/description/assets/modules/3.png new file mode 100644 index 000000000..4e506f79b Binary files /dev/null and b/web_login_styles/static/description/assets/modules/3.png differ diff --git a/web_login_styles/static/description/assets/modules/4.png b/web_login_styles/static/description/assets/modules/4.png new file mode 100644 index 000000000..e78427938 Binary files /dev/null and b/web_login_styles/static/description/assets/modules/4.png differ diff --git a/web_login_styles/static/description/assets/modules/5.png b/web_login_styles/static/description/assets/modules/5.png new file mode 100755 index 000000000..272ec20f9 Binary files /dev/null and b/web_login_styles/static/description/assets/modules/5.png differ diff --git a/web_login_styles/static/description/assets/modules/6.png b/web_login_styles/static/description/assets/modules/6.png new file mode 100644 index 000000000..7d5c3154f Binary files /dev/null and b/web_login_styles/static/description/assets/modules/6.png differ diff --git a/web_login_styles/static/description/assets/screenshots/hero.gif b/web_login_styles/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..da1124e2b Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/hero.gif differ diff --git a/web_login_styles/static/description/assets/screenshots/img1.png b/web_login_styles/static/description/assets/screenshots/img1.png new file mode 100644 index 000000000..1dd37d365 Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img1.png differ diff --git a/web_login_styles/static/description/assets/screenshots/img10.png b/web_login_styles/static/description/assets/screenshots/img10.png new file mode 100644 index 000000000..17bec6c23 Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img10.png differ diff --git a/web_login_styles/static/description/assets/screenshots/img2.png b/web_login_styles/static/description/assets/screenshots/img2.png new file mode 100644 index 000000000..603a785f6 Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img2.png differ diff --git a/web_login_styles/static/description/assets/screenshots/img3.png b/web_login_styles/static/description/assets/screenshots/img3.png new file mode 100644 index 000000000..3f0e754e1 Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img3.png differ diff --git a/web_login_styles/static/description/assets/screenshots/img4.png b/web_login_styles/static/description/assets/screenshots/img4.png new file mode 100644 index 000000000..8219cedda Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img4.png differ diff --git a/web_login_styles/static/description/assets/screenshots/img5.png b/web_login_styles/static/description/assets/screenshots/img5.png new file mode 100644 index 000000000..1e31c37c9 Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img5.png differ diff --git a/web_login_styles/static/description/assets/screenshots/img6.png b/web_login_styles/static/description/assets/screenshots/img6.png new file mode 100644 index 000000000..640c9d670 Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img6.png differ diff --git a/web_login_styles/static/description/assets/screenshots/img7.png b/web_login_styles/static/description/assets/screenshots/img7.png new file mode 100644 index 000000000..85164d79a Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img7.png differ diff --git a/web_login_styles/static/description/assets/screenshots/img8.png b/web_login_styles/static/description/assets/screenshots/img8.png new file mode 100644 index 000000000..a1218b549 Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img8.png differ diff --git a/web_login_styles/static/description/assets/screenshots/img9.png b/web_login_styles/static/description/assets/screenshots/img9.png new file mode 100644 index 000000000..2c188a82e Binary files /dev/null and b/web_login_styles/static/description/assets/screenshots/img9.png differ diff --git a/web_login_styles/static/description/banner.png b/web_login_styles/static/description/banner.png new file mode 100644 index 000000000..a80a0d9dc Binary files /dev/null and b/web_login_styles/static/description/banner.png differ diff --git a/web_login_styles/static/description/icon.png b/web_login_styles/static/description/icon.png new file mode 100644 index 000000000..6d44a5cb6 Binary files /dev/null and b/web_login_styles/static/description/icon.png differ diff --git a/web_login_styles/static/description/index.html b/web_login_styles/static/description/index.html new file mode 100644 index 000000000..afea046c8 --- /dev/null +++ b/web_login_styles/static/description/index.html @@ -0,0 +1,807 @@ + + + + + + + Cybrosys App Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+
+
+
+
+

+ Customize Login Page Style

+

+ Customize The Login Page With Different Styles +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Change the alignment of the login to right, + left, middle or default.

+
+
+
+
+
+
+ +
+
+

+ Set up background with color, image, or url of + the images.

+
+
+
+
+
+
+ +
+
+

+ Can keep the login page as default if there's no + need of any customizations.

+
+
+
+
+
+
+ +
+
+
+
+
+
+
+

+ Login Page Set-Up

+

+ From the general settings one can find the + login page set up to configure + the login option.The alignments can be set + to right, left, middle or as default. +

+
+
+ +
+
+
+
+
+
+
+
+
+

+ Alignment of the Login

+

+ Login Layout set to default. +

+ +
+
+
+
+
+
+
+
+

+ Login Layout set to Left

+ +
+
+
+
+
+
+
+
+

+ Login Layout set to Middle(it can include + the changes in background)

+ +
+
+
+
+
+
+
+
+

+ Login Layout set to Right

+ +
+
+
+
+
+
+
+
+

+ Background Styles

+

+ There are 3 types of background setup. They + are Color Picker, Image, URL.

+ +
+
+
+
+
+
+
+
+

+ Set a colour for the background.

+

+ Using Color picker we can select the color + as we need to set up as the background of + login page.

+ +
+
+
+
+
+
+
+
+

+ After selecting the color the login page + automatically set up its background to the + color we selected.

+ +
+
+

Set a background Image

+

+ Using Image option we can select the + background image from our system. + Then selected image will set as login + background image.

+ +
+
+

Set a background Image as url in the set-up

+

+ Using the 'URL' option we can set the background image from the mentioned url of the image. + Then the selected image will be set as the background image of the login layout.

+ +
+
+
+
+
+
+
    +
  • + Background + Styles +
  • +
  • + There are 3 + types of background setup. They are color + picker, image, URL. +
  • +
  • + Enable/Disable + Validation from settings +
  • + +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:8th Jan 2024 +
+

+ Initial Commit for Salesperson Signature

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+ +
+ + + + + + diff --git a/web_login_styles/views/res_config_settings_views.xml b/web_login_styles/views/res_config_settings_views.xml new file mode 100644 index 000000000..0365147c6 --- /dev/null +++ b/web_login_styles/views/res_config_settings_views.xml @@ -0,0 +1,37 @@ + + + + + res.config.settings.view.form.inherit.web.login.styles + res.config.settings + + + + + + + + + + + + diff --git a/web_login_styles/views/webclient_templates_left.xml b/web_login_styles/views/webclient_templates_left.xml new file mode 100644 index 000000000..d64f625cb --- /dev/null +++ b/web_login_styles/views/webclient_templates_left.xml @@ -0,0 +1,129 @@ + + + + + diff --git a/web_login_styles/views/webclient_templates_middle.xml b/web_login_styles/views/webclient_templates_middle.xml new file mode 100644 index 000000000..feaa39f22 --- /dev/null +++ b/web_login_styles/views/webclient_templates_middle.xml @@ -0,0 +1,119 @@ + + + + + diff --git a/web_login_styles/views/webclient_templates_right.xml b/web_login_styles/views/webclient_templates_right.xml new file mode 100644 index 000000000..618cd618f --- /dev/null +++ b/web_login_styles/views/webclient_templates_right.xml @@ -0,0 +1,127 @@ + + + + +