|
@@ -9,22 +9,38 @@ import { createSubscribedElement } from '../../UnstatedUtils';
|
|
|
import AdminLdapSecurityContainer from '../../../services/AdminLdapSecurityContainer';
|
|
import AdminLdapSecurityContainer from '../../../services/AdminLdapSecurityContainer';
|
|
|
|
|
|
|
|
class LdapAuthTestModal extends React.Component {
|
|
class LdapAuthTestModal extends React.Component {
|
|
|
|
|
+
|
|
|
render() {
|
|
render() {
|
|
|
|
|
+ const { t } = this.props;
|
|
|
|
|
+
|
|
|
return (
|
|
return (
|
|
|
<Modal show={this.props.isOpen} onHide={this.props.onClose}>
|
|
<Modal show={this.props.isOpen} onHide={this.props.onClose}>
|
|
|
<Modal.Header className="modal-header" closeButton>
|
|
<Modal.Header className="modal-header" closeButton>
|
|
|
<Modal.Title>
|
|
<Modal.Title>
|
|
|
|
|
+ {t('Test LDAP Account')}
|
|
|
</Modal.Title>
|
|
</Modal.Title>
|
|
|
</Modal.Header>
|
|
</Modal.Header>
|
|
|
<Modal.Body>
|
|
<Modal.Body>
|
|
|
- hoge
|
|
|
|
|
|
|
+ <div className="row p-3">
|
|
|
|
|
+ <label htmlFor="username" className="col-xs-3 text-right">{t('username')}</label>
|
|
|
|
|
+ <div className="col-xs-6">
|
|
|
|
|
+ <input className="form-control" name="username" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div className="row p-3">
|
|
|
|
|
+ <label htmlFor="password" className="col-xs-3 text-right">{t('Password')}</label>
|
|
|
|
|
+ <div className="col-xs-6">
|
|
|
|
|
+ <input className="form-control" type="password" name="password" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</Modal.Body>
|
|
</Modal.Body>
|
|
|
<Modal.Footer className="d-flex">
|
|
<Modal.Footer className="d-flex">
|
|
|
|
|
|
|
|
</Modal.Footer>
|
|
</Modal.Footer>
|
|
|
</Modal>
|
|
</Modal>
|
|
|
- )
|
|
|
|
|
|
|
+ );
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|