Commit 6164c44e authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Display Password policy and portal_message_status when reset password

parent da3e8141
Pipeline #9755 failed with stage
in 0 seconds
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title tal:content="python: here.getPortalObject().getTitle()"></title> <title tal:content="python: here.getPortalObject().getTitle()"></title>
<link rel="stylesheet" href="gadget_erp5_nojqm.css"> <link rel="stylesheet" href="gadget_erp5_nojqm.css">
<link rel="stylesheet" href="gadget_slapos_annotated_helper.css">
</head> </head>
<body tal:define="form_action string:portal_password/PasswordTool_changeUserPassword;"> <body tal:define="form_action string:portal_password/PasswordTool_changeUserPassword;">
<div data-role='page'> <div data-role='page'>
...@@ -23,8 +24,25 @@ ...@@ -23,8 +24,25 @@
<div role="main" class="ui-container gadget-content"> <div role="main" class="ui-container gadget-content">
<article class="ui-content"> <article class="ui-content">
<div class="ui-field-contain">
<section>
<tal:block tal:condition="exists: request/portal_status_message">
<span tal:attributes="data-i18n request/portal_status_message"><span tal:content="request/portal_status_message"></span></span>
</tal:block>
</section>
</div>
<section> <section>
<details>
<summary>Password Policy</summary>
<ul>
<li> Minimum 7 characters in length </li>
<li> At least one Uppercase Letter</li>
<li> At least one Lowercase Letter </li>
<li> At least one Number (0 to 9)</li>
<li> At least one Symbol out of $!:;_- .</li>
</ul>
</details>
<p></p>
<form method="post" tal:attributes="action python: context.absolute_url()"> <form method="post" tal:attributes="action python: context.absolute_url()">
<div class="ui-field-contain"> <div class="ui-field-contain">
<label data-i18n="New Password">New Password<span></span></label> <label data-i18n="New Password">New Password<span></span></label>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment