mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 01:41:39 +00:00
[lib decrypt] modification
This commit is contained in:
@@ -64,7 +64,7 @@ class LibDecryptDialog extends React.Component {
|
||||
<p className="error">{gettext('Wrong password')}</p>
|
||||
}
|
||||
<input type="password" name="password" className="form-control password-input" autoComplete="off" onKeyPress={this.handleKeyPress} placeholder={gettext('Password')} onChange={this.handleChange} />
|
||||
<button type="submit" className="btn btn-block btn-secondary submit" onClick={this.handleSubmit}>{gettext('Submit')}</button>
|
||||
<button type="submit" className="btn btn-primary submit" onClick={this.handleSubmit}>{gettext('Submit')}</button>
|
||||
<p className="tip">{'* '}{gettext('The password will be kept in the server for only 1 hour.')}</p>
|
||||
</Form>
|
||||
</ModalBody>
|
||||
|
@@ -9,11 +9,4 @@
|
||||
.lib-decrypt-form .submit {
|
||||
width: 50%;
|
||||
margin: 1.5em auto 1em;
|
||||
background: -webkit-linear-gradient(top, #fafafb, #eeeeee);
|
||||
background: -moz-linear-gradient(top, #fafafb, #eeeeee);
|
||||
background: linear-gradient(top, #fafafb, #eeeeee);
|
||||
font-weight: normal;
|
||||
}
|
||||
.lib-decrypt-form .submit:hover {
|
||||
background: #fff;
|
||||
}
|
||||
|
Reference in New Issue
Block a user