[Password layout changes] [Package upgrades]

This commit is contained in:
2020-04-06 15:21:18 -05:00
parent f88f6b1644
commit ca2a5b0fd0
4 changed files with 20 additions and 19 deletions

View File

@@ -5,39 +5,39 @@
"author": "scott.e.graves@protonmail.com", "author": "scott.e.graves@protonmail.com",
"description": "GUI for Repertory - Repertory allows you to mount Sia, Skynet, Goobox S3 and/or ScPrime storage solutions via FUSE on Linux/OS X or via WinFSP on Windows.", "description": "GUI for Repertory - Repertory allows you to mount Sia, Skynet, Goobox S3 and/or ScPrime storage solutions via FUSE on Linux/OS X or via WinFSP on Windows.",
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.27", "@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-solid-svg-icons": "^5.12.1", "@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/react-fontawesome": "^0.1.8", "@fortawesome/react-fontawesome": "^0.1.9",
"@reduxjs/toolkit": "^1.2.4", "@reduxjs/toolkit": "^1.3.4",
"auto-launch": "^5.0.5", "auto-launch": "^5.0.5",
"axios": "^0.19.2", "axios": "^0.19.2",
"devtron": "^1.4.0", "devtron": "^1.4.0",
"electron-debug": "^3.0.1", "electron-debug": "^3.0.1",
"electron-log": "^4.0.6", "electron-log": "^4.1.1",
"focus-trap-react": "^6.0.0", "focus-trap-react": "^6.0.0",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"node-schedule": "^1.3.2", "node-schedule": "^1.3.2",
"randomstring": "^1.1.5", "randomstring": "^1.1.5",
"react": "^16.12.0", "react": "^16.13.1",
"react-dom": "^16.12.0", "react-dom": "^16.13.1",
"react-loader-spinner": "^3.1.5", "react-loader-spinner": "^3.1.5",
"react-redux": "^7.1.3", "react-redux": "^7.2.0",
"react-scripts": "3.3.1", "react-scripts": "3.4.1",
"react-tooltip": "^4.0.3", "react-tooltip": "^4.1.5",
"redux": "^4.0.5", "redux": "^4.0.5",
"redux-thunk": "^2.3.0", "redux-thunk": "^2.3.0",
"unzipper": "^0.10.8", "unzipper": "^0.10.10",
"winreg": "^1.2.4" "winreg": "^1.2.4"
}, },
"devDependencies": { "devDependencies": {
"cross-env": "^7.0.0", "cross-env": "^7.0.2",
"electron": "^5.0.13", "electron": "5.0.13",
"electron-builder": "^20.44.4", "electron-builder": "20.44.4",
"extract-text-webpack-plugin": "^3.0.2", "extract-text-webpack-plugin": "^3.0.2",
"fibers": "^4.0.2", "fibers": "^4.0.2",
"node-sass": "^4.13.1", "node-sass": "^4.13.1",
"sass": "^1.25.0", "sass": "^1.26.3",
"typescript": "^3.7.5", "typescript": "^3.8.3",
"webpack-browser-plugin": "^1.0.20" "webpack-browser-plugin": "^1.0.20"
}, },
"scripts": { "scripts": {

View File

@@ -187,7 +187,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(props => {
col={configButton ? 24 : 18} col={configButton ? 24 : 18}
onClick={props.MState.AllowMount ? () => props.displaySkynetExport() : e => {e.preventDefault();}} onClick={props.MState.AllowMount ? () => props.displaySkynetExport() : e => {e.preventDefault();}}
rowSpan={5} rowSpan={5}
style={{...pointer}}> style={{...pointer, fontWeight: 'normal'}}>
<u>Export</u> <u>Export</u>
</a> </a>
) : null} ) : null}
@@ -196,7 +196,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(props => {
col={configButton ? 24 + 13 : 18 + 13} col={configButton ? 24 + 13 : 18 + 13}
onClick={props.MState.AllowMount ? () => props.displaySkynetImport() : e => {e.preventDefault();}} onClick={props.MState.AllowMount ? () => props.displaySkynetImport() : e => {e.preventDefault();}}
rowSpan={5} rowSpan={5}
style={{...pointer}}> style={{...pointer, fontWeight: 'normal'}}>
<u>Import</u> <u>Import</u>
</a> </a>
) : null} ) : null}

View File

@@ -30,4 +30,5 @@ input.PasswordInput {
.PasswordLink { .PasswordLink {
margin-right: var(--default_spacing); margin-right: var(--default_spacing);
cursor: pointer; cursor: pointer;
font-weight: normal;
} }

View File

@@ -48,7 +48,7 @@ export default class extends Component {
this.props.changed(this.state.password); this.props.changed(this.state.password);
this.setState({ this.setState({
...this.state, ...this.state,
button_text: 'clear', button_text: this.state.password && this.state.password.length > 0 ? 'clear' : 'set',
password2: '', password2: '',
}); });
} else { } else {