Skip to content

Commit

Permalink
Fix minor glitches in reset password ux form
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jul 18, 2022
1 parent 957dd69 commit 88cf8b1
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 29 deletions.
1 change: 1 addition & 0 deletions frontend/front-srv/assets/core.authfront/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<gui iconClass="icon-terminal" text="gui.user.1" title="gui.user.2">
<context dir="true" recycle="true" selection="false"/>
</gui>
<rightsContext noUser="true" userLogged="false"/>
<processing>
<clientCallback module="AuthfrontCoreActions.ResetPasswordDialog.open"/>
</processing>
Expand Down

Large diffs are not rendered by default.

Binary file not shown.
4 changes: 2 additions & 2 deletions frontend/front-srv/assets/core.authfront/res/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ const ResetPasswordRequire = createReactClass({
}

const api = new TokenServiceApi(PydioApi.getRestClient());
api.resetPasswordToken(value).then(() => {
api.resetPasswordToken(value, {}).then(() => {
this.setState({valueSubmitted: true});
});
},
Expand Down Expand Up @@ -483,7 +483,7 @@ const ResetPasswordDialog = createReactClass({
api.resetPassword(request).then(() => {
this.setState({valueSubmitted: true});
}).catch(e => {
alert(mess[240]);
pydio.UI.displayMessage('ERROR', mess[240]);
});
},

Expand Down
2 changes: 1 addition & 1 deletion frontend/front-srv/assets/gui.ajax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "AGPL-v3",
"dependencies": {
"aws-sdk": "^2.847.0",
"cells-sdk": "^4.0.0-rc5.0",
"cells-sdk": "^4.0.0-rc6.0",
"chart.js": "^1.0.2",
"classnames": "~2.1.3",
"clipboard": "^1.5.8",
Expand Down

Large diffs are not rendered by default.

Binary file modified frontend/front-srv/assets/gui.ajax/res/dist/PydioForm.min.js.gz
Binary file not shown.
Binary file modified frontend/front-srv/assets/gui.ajax/res/dist/bundle.min.js.gz
Binary file not shown.

Large diffs are not rendered by default.

Binary file modified frontend/front-srv/assets/gui.ajax/res/dist/bundle.prod.min.js.gz
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/front-srv/assets/gui.ajax/res/dist/pydio.min.js

Large diffs are not rendered by default.

Binary file modified frontend/front-srv/assets/gui.ajax/res/dist/pydio.min.js.gz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ValidPassword extends React.Component{
fullWidth={true}
style={{flex:1}}
errorText={this.state.confirmErrorText}
errorStyle={dialogField?{bottom: -5}:null}
errorStyle={dialogField?{bottom: 15}:null}
variant={variant}
/>
];
Expand All @@ -107,7 +107,7 @@ class ValidPassword extends React.Component{
<div style={{display:'flex', height:variant === 'v2'?66:null}}>
<TextComponent
ref="pass"
hintText={isDisplayGrid()?null:attributes.label}
floatingLabelText={isDisplayGrid()?null:attributes.label}
floatingLabelShrinkStyle={{...overflow, width:'130%'}}
floatingLabelStyle={overflow}
className={cName}
Expand All @@ -120,7 +120,7 @@ class ValidPassword extends React.Component{
errorText={this.state.passErrorText}
fullWidth={true}
style={{flex:1}}
errorStyle={dialogField?{bottom: -5}:null}
errorStyle={dialogField?{bottom: 15}:null}
variant={variant}
/>
{confirm}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,15 @@
}
input{
color: white !important;
height: 26px !important;
margin-top: 37px !important;
&:-webkit-autofill {
-webkit-background-clip: text;
-webkit-box-shadow: none;
}
}
}
button {
color: rgba(255,255,255,0.9) !important;
}
}

.red-background{
Expand All @@ -68,6 +73,7 @@

.forgot-password-link{
text-align:right;
margin-top: 10px;
a, a:hover{
color: rgba(255,255,255,.67);
font-size: 13px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1003,8 +1003,13 @@ div.dialogBox div#element_overlay {
}
.react-mui-context .dialogRootBlur > div > div.dialogRootBlur div.blurDialogTextField input {
color: white !important;
height: 26px !important;
margin-top: 37px !important;
}
.react-mui-context .dialogRootBlur > div > div.dialogRootBlur div.blurDialogTextField input:-webkit-autofill {
-webkit-background-clip: text;
-webkit-box-shadow: none;
}
.react-mui-context .dialogRootBlur > div > div.dialogRootBlur button {
color: rgba(255, 255, 255, 0.9) !important;
}
.react-mui-context .dialogRootBlur .red-background {
background-color: rgba(244, 67, 54, 0.45);
Expand All @@ -1029,6 +1034,7 @@ div.dialogBox div#element_overlay {
}
.react-mui-context .dialogRootBlur .forgot-password-link {
text-align: right;
margin-top: 10px;
}
.react-mui-context .dialogRootBlur .forgot-password-link a,
.react-mui-context .dialogRootBlur .forgot-password-link a:hover {
Expand Down
28 changes: 14 additions & 14 deletions frontend/front-srv/assets/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88cf8b1

Please sign in to comment.