Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
e8c85e5f
Commit
e8c85e5f
authored
Dec 01, 2021
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: update login form
parent
c7758dc5
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
344 additions
and
4 deletions
+344
-4
bt5/erp5_web_renderjs_ui/PathTemplateItem/image_module/rjs_login_form_logo.png
..._ui/PathTemplateItem/image_module/rjs_login_form_logo.png
+0
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/image_module/rjs_login_form_logo.xml
..._ui/PathTemplateItem/image_module/rjs_login_form_logo.xml
+317
-0
bt5/erp5_web_renderjs_ui/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
...edSkinSelectionTemplateItem/registered_skin_selection.xml
+4
-0
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/login_form.zpt
...lateItem/portal_skins/erp5_web_renderjs_ui/login_form.zpt
+22
-4
bt5/erp5_web_renderjs_ui/bt/template_registered_skin_selection_list
...eb_renderjs_ui/bt/template_registered_skin_selection_list
+1
-0
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/image_module/rjs_login_form_logo.png
0 → 100644
View file @
e8c85e5f
2.49 KB
bt5/erp5_web_renderjs_ui/PathTemplateItem/image_module/rjs_login_form_logo.xml
0 → 100644
View file @
e8c85e5f
This diff is collapsed.
Click to expand it.
bt5/erp5_web_renderjs_ui/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
View file @
e8c85e5f
<registered_skin_selection>
<skin_folder_selection>
<skin_folder>
erp5_hal_json_style
</skin_folder>
<skin_selection>
RJS
</skin_selection>
</skin_folder_selection>
<skin_folder_selection>
<skin_folder>
erp5_web_renderjs_ui
</skin_folder>
<skin_selection>
RJS
</skin_selection>
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/login_form.zpt
View file @
e8c85e5f
...
...
@@ -4,6 +4,7 @@
available_oauth_login_list python: portal.ERP5Site_getAvailableOAuthLoginList();
enable_google_login python: 'google' in available_oauth_login_list;
enable_openidconnect_login python: 'openidconnect' in available_oauth_login_list;
enable_account_creation python: getattr(portal.portal_preferences, 'getPreferredEnableAccountCreation', None)() if getattr(portal.portal_preferences, 'getPreferredEnableAccountCreation', None) else None;
"
>
<head>
<meta
charset=
"UTF-8"
>
...
...
@@ -23,7 +24,7 @@
<div
data-gadget-scope=
'panel'
>
<div
data-role=
"header"
>
<div
class=
"panel_img"
>
<img
alt=
"
ERP5"
src=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJcAAAA/CAMAAADaDqrIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLz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MzACZzABmzAAzzAAAmf//mf/Mmf+Zmf9mmf8zmf8Amcz/mczMmcyZmcxmmcwzmcwAmZn/mZnMmZmZmZlmmZkzmZkAmWb/mWbMmWaZmWZmmWYzmWYAmTP/mTPMmTOZmTNmmTMzmTMAmQD/mQDMmQCZmQBmmQAzmQAAZv//Zv/MZv+ZZv9mZv8zZv8AZsz/ZszMZsyZZsxmZswzZswAZpn/ZpnMZpmZZplmZpkzZpkAZmb/ZmbMZmaZZmZmZmYzZmYAZjP/ZjPMZjOZZjNmZjMzZjMAZgD/ZgDMZgCZZgBmZgAzZgAAM///M//MM/+ZM/9mM/8zM/8AM8z/M8zMM8yZM8xmM8wzM8wAM5n/M5nMM5mZM5lmM5kzM5kAM2b/M2bMM2aZM2ZmM2YzM2YAMzP/MzPMMzOZMzNmMzMzMzMAMwD/MwDMMwCZMwBmMwAzMwAAAP//AP/MAP+ZAP9mAP8zAP8AAMz/AMzMAMyZAMxmAMwzAMwAAJn/AJnMAJmZAJlmAJkzAJkAAGb/AGbMAGaZAGZmAGYzAGYAADP/ADPMADOZADNmADMzADMAAAD/AADMAACZAABmAAAzAAAAHHa7K3/AOojESZHJWZvNaKTSd63Whrbblb/fpMjks9Howtrt4e320uTx8Pb6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdfKHSQAAAOh0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ALItoLoAAAJkSURBVHja7NlZsqsgEABQ979C5kGGddxo4os0Q8BAynoFn0nUU23TNGRB9xzLdE3XdE3XdP2fLnIzF2VSrsYvC72HizAh9eZ5DVuOl15S4/jWwC+kDC8HPzCSJVHcRY8QXV2PwQuujUYTsYrvYlBv1yKLrsXHsPghnvR3Lazoip/JKuwpF8sm6/bY01Ow9CBlTXi53PNoRcUktEZT1NV1PIPnXAjtMJIMlzerFIzU1dVWF7aPj3Tetae4gjdxktG2et/qQjJ4kZFrv6ED4bK4eR1qduHzvEi4+PbGwD0EGu9CQQLFrv1F4jBc6BcuW3YhkPiPX1hOfxQvnHfh0HVMRqc4HuqiQf5k3mO6dq1s8Hx0H/Le5kq9YaNcxAcrZLpOvAv+ClcgNcZFtnrucd5Fwx4mXj0drnbBYXMuJmFDAV3Uhm4qlbHh3ddOrmholHNxFTVC+xTl2mf6pI4uVe4LwSp0DPGOmh/hAnM94bKZjkHlWuiLeV+cTab4luMKk82wy/Px2fLJskvKUk03hRf9RZ0wiYiZ4uVwVwTb9E71y0XboTYXGuTaa33Y47W5zBjXM3P11y7TfR2ycFdxyaW7uwSc5m0un9ix91m3TWJfW+1ijfW+wcVAfjS5dOP62LyvZZdcLHnA1MkFAtbgwq+Vm47po8OA1buwyy/a1ec5urzveAes2sV8kfW963mFaHNhlT0b6+Yi5+StchH1CtaK0ThXELDPLiyOPZHldzm/J1z9O/B14g7/K+DtkP7U8ivSeD4xaPCTSQvy+YIfubZWzRgtRe1iMP+3mq7pmq7p6jv+BBgAPrgi/TzwWzkAAAAASUVORK5CYII=
"
/>
<img
alt=
"
Login"
src=
"login_form_logo.png
"
/>
</div>
</div>
</div>
...
...
@@ -60,9 +61,18 @@
<label
i18n:domain=
"ui"
i18n:translate=
""
>
Password
</label>
<div><input
type=
"password"
name=
"__ac_password"
value=
""
autocomplete=
"off"
/></div>
</div>
<div
class=
"dialog_button_container"
>
<input
type=
"submit"
value=
"Login"
i18n:attributes=
"value"
i18n:domain=
"ui"
tal:attributes=
"name python: '%s:method' % (form_action, )"
/>
<a
i18n:domain=
"ui"
i18n:translate=
""
tal:attributes=
"href python: '%s/WebSite_viewRecoverAccount?came_from=%s' % (absolute_url, absolute_url)"
>
I forgot my password!
</a>
<div
class=
"ui-field-contain"
>
<label></label>
<div>
<a
i18n:domain=
"ui"
i18n:translate=
""
tal:attributes=
"href python: '%s/WebSite_viewRecoverAccount?came_from=%s' % (absolute_url, absolute_url)"
>
I forgot my password!
</a>
</div>
</div>
<br>
<div
class=
"ui-field-contain"
>
<label></label>
<div>
<input
type=
"submit"
value=
"Login"
i18n:attributes=
"value"
i18n:domain=
"ui"
tal:attributes=
"name python: '%s:method' % (form_action, )"
/>
</div>
</div>
<div
class=
"dialog_button_container"
tal:condition=
"enable_google_login"
tal:define=
"current_url python: context.getWebSiteValue().absolute_url()"
>
...
...
@@ -85,6 +95,14 @@
</div>
</div>
</div>
<br>
<div
class=
"ui-field-contain"
tal:condition=
"enable_account_creation"
>
<label></label>
<div>
<a
tal:attributes=
"href string:join_form"
i18n:translate=
""
i18n:domain=
"ui"
class=
"zocial secondary"
>
Create New Account
</a>
</div>
</div>
<input
type=
"hidden"
name=
"url"
tal:attributes=
"value absolute_url"
/>
<input
tal:condition=
"exists: request/came_from"
...
...
bt5/erp5_web_renderjs_ui/bt/template_registered_skin_selection_list
View file @
e8c85e5f
erp5_hal_json_style | RJS
erp5_web_renderjs_ui | RJS
erp5_xhtml_disabled | View
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment