1
0
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:
llj
2018-12-22 14:57:42 +08:00
parent 42996f2d53
commit f64a8fa4e8
2 changed files with 1 additions and 8 deletions

View File

@@ -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>

View File

@@ -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;
}