mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-11 20:01:40 +00:00
[user settings] fixed 'Set WebDAV Password' dialog (#7651)
This commit is contained in:
parent
34992f7ee7
commit
db5a8b0695
@ -76,7 +76,7 @@ class SetWebdavPassword extends Component {
|
|||||||
<Input type={this.state.isPasswordVisible ? 'text' : 'password'} value={this.state.password} onChange={this.handleInputChange} autoComplete="new-password"/>
|
<Input type={this.state.isPasswordVisible ? 'text' : 'password'} value={this.state.password} onChange={this.handleInputChange} autoComplete="new-password"/>
|
||||||
<InputGroupAddon addonType="append">
|
<InputGroupAddon addonType="append">
|
||||||
<Button onClick={this.togglePasswordVisible}>
|
<Button onClick={this.togglePasswordVisible}>
|
||||||
<i className={`sf3-font sf3-font-eye${this.state.isPasswordVisible ? '' : 'slash'}`}></i>
|
<i className={`sf3-font sf3-font-eye${this.state.isPasswordVisible ? '' : '-slash'}`}></i>
|
||||||
</Button>
|
</Button>
|
||||||
<Button onClick={this.generatePassword}>
|
<Button onClick={this.generatePassword}>
|
||||||
<i className="sf3-font sf3-font-magic"></i>
|
<i className="sf3-font sf3-font-magic"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user