diff --git a/web_login_styles/web_login_styles/README.rst b/web_login_styles/web_login_styles/README.rst new file mode 100644 index 000000000..3cc04bf3b --- /dev/null +++ b/web_login_styles/web_login_styles/README.rst @@ -0,0 +1,33 @@ +Login Styles v15 +================ +This module will helps you to customize the login layout and background. + + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: Neethu UM, 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. diff --git a/web_login_styles/web_login_styles/__init__.py b/web_login_styles/web_login_styles/__init__.py new file mode 100644 index 000000000..a0cffd4b6 --- /dev/null +++ b/web_login_styles/web_login_styles/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 models +from . import controllers diff --git a/web_login_styles/web_login_styles/__manifest__.py b/web_login_styles/web_login_styles/__manifest__.py new file mode 100644 index 000000000..a5e8551d5 --- /dev/null +++ b/web_login_styles/web_login_styles/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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': '15.0.1.0.0', + 'summary': 'Customize The Login Page With Different Styles', + 'description': 'Customize The Login Page With Different Styles', + 'category': 'Extra Tools', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'license': 'LGPL-3', + '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', + ], + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/web_login_styles/web_login_styles/controllers/__init__.py b/web_login_styles/web_login_styles/controllers/__init__.py new file mode 100644 index 000000000..b2a2bc71e --- /dev/null +++ b/web_login_styles/web_login_styles/controllers/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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/web_login_styles/controllers/main.py b/web_login_styles/web_login_styles/controllers/main.py new file mode 100644 index 000000000..ccd151ac8 --- /dev/null +++ b/web_login_styles/web_login_styles/controllers/main.py @@ -0,0 +1,132 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 json + +import werkzeug +import hashlib +from odoo.tools import pycompat + +from odoo import http +from odoo.http import request +import odoo +from werkzeug.urls import url_encode, iri_to_uri +from odoo.tools.translate import _ +from odoo.addons.web.controllers import main + + +# 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(main.Home): + + @http.route('/web/login', type='http', auth="none") + def web_login(self, redirect=None, **kw): + main.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.uid = odoo.SUPERUSER_ID + + values = {k: v for k, v in request.params.items() if k 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.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.uid = 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.get_param('web_login_styles.color') + elif background_type == 'image': + exist_rec = request.env['ir.attachment'].search([('is_background', '=', True)]) + if exist_rec: + exist_rec.unlink() + attachments = request.env['ir.attachment'].create({ + 'name': 'Background Image', + 'datas': image, + 'type': 'binary', + 'mimetype': 'image/png', + 'public': True, + 'is_background': True + }) + base_url = conf_param.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'].search([('url', '=', url)]) + if not pre_exist: + attachments = request.env['ir.attachment'].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/web_login_styles/doc/RELEASE_NOTES.md b/web_login_styles/web_login_styles/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..f275587a3 --- /dev/null +++ b/web_login_styles/web_login_styles/doc/RELEASE_NOTES.md @@ -0,0 +1,10 @@ +## Module + +#### 28.09.2022 +#### Version 15.0.1.0.0 +#### ADD +Initial Commit for Login Styles. + + + + diff --git a/web_login_styles/web_login_styles/models/__init__.py b/web_login_styles/web_login_styles/models/__init__.py new file mode 100644 index 000000000..67db10fb6 --- /dev/null +++ b/web_login_styles/web_login_styles/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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/web_login_styles/models/ir_attachment.py b/web_login_styles/web_login_styles/models/ir_attachment.py new file mode 100644 index 000000000..e79ad8dd6 --- /dev/null +++ b/web_login_styles/web_login_styles/models/ir_attachment.py @@ -0,0 +1,7 @@ +from odoo import models, fields, api + + +class AttachmentFile(models.Model): + _inherit = 'ir.attachment' + + is_background = fields.Boolean(string="Is Background", default=False) diff --git a/web_login_styles/web_login_styles/models/res_config_settings.py b/web_login_styles/web_login_styles/models/res_config_settings.py new file mode 100644 index 000000000..0743c28a0 --- /dev/null +++ b/web_login_styles/web_login_styles/models/res_config_settings.py @@ -0,0 +1,66 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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, api + + +class ResConfigSettings(models.TransientModel): + _inherit = 'res.config.settings' + + orientation = fields.Selection([('default', 'Default'), ('left', 'Left'), ('middle', 'Middle'), ('right', 'Right')], string="Orientation") + background = fields.Selection([('color', 'Color Picker'), ('image', 'Image'), ('url', 'URL')], string="Background") + image = fields.Binary(string="Image") + url = fields.Char(string="URL") + color = fields.Char(string="Color") + + @api.model + def get_values(self): + res = super(ResConfigSettings, self).get_values() + params = self.env['ir.config_parameter'].sudo() + res.update( + background=params.get_param('web_login_styles.background'), + orientation=params.get_param('web_login_styles.orientation'), + image=params.get_param('web_login_styles.image'), + url=params.get_param('web_login_styles.url'), + color=params.get_param('web_login_styles.color'), + ) + + return res + + def set_values(self): + super(ResConfigSettings, self).set_values() + params = self.env['ir.config_parameter'].sudo() + set_orientation = self.orientation or False + set_image = self.image or False + set_url = self.url or False + set_color = self.color or False + set_background = self.background or False + params.set_param('web_login_styles.background', set_background) + params.set_param('web_login_styles.orientation', set_orientation) + params.set_param('web_login_styles.image', set_image) + params.set_param('web_login_styles.url', set_url) + params.set_param('web_login_styles.color', set_color) + + @api.onchange('orientation') + def onchange_orientation(self): + if self.orientation == 'default': + self.background = False diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/check.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/check.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/chevron.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/chevron.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/cogs.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/cogs.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/consultation.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/consultation.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/ecom-black.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/ecom-black.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/education-black.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/education-black.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/hotel-black.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/hotel-black.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/license.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/license.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/lifebuoy.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/lifebuoy.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/logo.png b/web_login_styles/web_login_styles/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/icons/logo.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/manufacturing-black.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/manufacturing-black.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/pos-black.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/pos-black.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/puzzle.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/puzzle.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/restaurant-black.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/restaurant-black.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/service-black.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/service-black.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/trading-black.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/trading-black.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/training.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/training.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/update.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/update.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/user.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/user.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/icons/wrench.png b/web_login_styles/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/web_login_styles/static/description/assets/icons/wrench.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/modules/budget_image.png b/web_login_styles/web_login_styles/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/modules/budget_image.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/modules/credit_image.png b/web_login_styles/web_login_styles/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/modules/credit_image.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/modules/employee_image.png b/web_login_styles/web_login_styles/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/modules/employee_image.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/modules/export_image.png b/web_login_styles/web_login_styles/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/modules/export_image.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/modules/gantt_image.png b/web_login_styles/web_login_styles/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/modules/gantt_image.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/modules/quotation_image.png b/web_login_styles/web_login_styles/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/modules/quotation_image.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/hero.gif b/web_login_styles/web_login_styles/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..bd1548515 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/hero.gif differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_1.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_1.png new file mode 100644 index 000000000..6923d21ba Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_1.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_10.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_10.png new file mode 100644 index 000000000..c52ca19ae Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_10.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_11.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_11.png new file mode 100644 index 000000000..de0d44828 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_11.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_12.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_12.png new file mode 100644 index 000000000..0373366d1 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_12.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_2.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_2.png new file mode 100644 index 000000000..2b4e57cf4 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_2.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_3.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_3.png new file mode 100644 index 000000000..3a550fab9 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_3.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_4.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_4.png new file mode 100644 index 000000000..7a9476ced Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_4.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_5.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_5.png new file mode 100644 index 000000000..eef22c37f Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_5.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_6.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_6.png new file mode 100644 index 000000000..26918f06d Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_6.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_7.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_7.png new file mode 100644 index 000000000..7fcf16f48 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_7.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_8.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_8.png new file mode 100644 index 000000000..bbc75a980 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_8.png differ diff --git a/web_login_styles/web_login_styles/static/description/assets/screenshots/image_9.png b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_9.png new file mode 100644 index 000000000..63e0a19de Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/assets/screenshots/image_9.png differ diff --git a/web_login_styles/web_login_styles/static/description/banner.png b/web_login_styles/web_login_styles/static/description/banner.png new file mode 100644 index 000000000..e20126a45 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/banner.png differ diff --git a/web_login_styles/web_login_styles/static/description/icon.png b/web_login_styles/web_login_styles/static/description/icon.png new file mode 100644 index 000000000..718437fc0 Binary files /dev/null and b/web_login_styles/web_login_styles/static/description/icon.png differ diff --git a/web_login_styles/web_login_styles/static/description/index.html b/web_login_styles/web_login_styles/static/description/index.html new file mode 100644 index 000000000..edd37dd84 --- /dev/null +++ b/web_login_styles/web_login_styles/static/description/index.html @@ -0,0 +1,635 @@ +
+
+
+
+ +
+
+
+ Community +
+
+
+
+
+ +
+
+
+

+ Login Styles

+

+ A Module For customizing the login page +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ In the Login Styles App, We can configure the login page according to our needs. + For this a new option is added in the general settings and based on that we can change the alignment of login to the left, right, middle or default. + Also, there is an option to change the background of login page as image, url or color.

+
+

+ +
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ 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

+
+
+ + +
+ +
+
+

+ Screenshots +

+
+
+

+ 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 the selected image will be set as the background image of the login layout +

+ +
+
+

+ 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 image from the url will be set as the background image of the login layout +

+ +
+ +
+ +
+
+

Suggested Products

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

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ 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

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

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/web_login_styles/web_login_styles/views/res_config_settings_views.xml b/web_login_styles/web_login_styles/views/res_config_settings_views.xml new file mode 100644 index 000000000..cd6240540 --- /dev/null +++ b/web_login_styles/web_login_styles/views/res_config_settings_views.xml @@ -0,0 +1,43 @@ + + + + + + res.config.settings.form + res.config.settings + + + + +