|
|
@@ -88,8 +88,8 @@ const InstallerForm = memo((): JSX.Element => {
|
|
|
: <span><span className="material-symbols-outlined">block</span>{ t('installer.unavaliable_user_id') }</span>;
|
|
|
|
|
|
return (
|
|
|
- <div data-testid="installerForm" className={`nologin-dialog p-3 mx-auto${hasErrorClass}`}>
|
|
|
- <div className="row">
|
|
|
+ <div data-testid="installerForm" className={`nologin-dialog py-3 px-4 rounded-4 rounded-top-0 mx-auto${hasErrorClass}`}>
|
|
|
+ <div className="row mt-3">
|
|
|
<div className="col-md-12">
|
|
|
<p className="alert alert-success">
|
|
|
<strong>{ t('installer.create_initial_account') }</strong><br />
|
|
|
@@ -97,14 +97,16 @@ const InstallerForm = memo((): JSX.Element => {
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div className="row">
|
|
|
- <form role="form" id="register-form" className="col-md-12" onSubmit={submitHandler}>
|
|
|
+ <div className="row mt-2">
|
|
|
+ <form role="form" id="register-form" className="ps-1" onSubmit={submitHandler}>
|
|
|
<div className="dropdown mb-3">
|
|
|
<div className="input-group dropdown-with-icon">
|
|
|
- <span className="input-group-text"></span><span className="material-symbols-outlined">language</span>
|
|
|
+ <span className="p-2 text-white opacity-75">
|
|
|
+ <span className="material-symbols-outlined">language</span>
|
|
|
+ </span>
|
|
|
<button
|
|
|
type="button"
|
|
|
- className="btn btn-secondary dropdown-toggle form-control text-end rounded-end"
|
|
|
+ className="btn btn-secondary dropdown-toggle form-control text-end rounded"
|
|
|
id="dropdownLanguage"
|
|
|
data-testid="dropdownLanguage"
|
|
|
data-bs-toggle="dropdown"
|
|
|
@@ -146,11 +148,13 @@ const InstallerForm = memo((): JSX.Element => {
|
|
|
</div>
|
|
|
|
|
|
<div className={`input-group mb-3${hasErrorClass}`}>
|
|
|
- <span className="input-group-text"></span><span className="material-symbols-outlined">person</span>
|
|
|
+ <span className="p-2 text-white opacity-75">
|
|
|
+ <span className="material-symbols-outlined">person</span>
|
|
|
+ </span>
|
|
|
<input
|
|
|
data-testid="tiUsername"
|
|
|
type="text"
|
|
|
- className="form-control"
|
|
|
+ className="form-control rounded"
|
|
|
placeholder={t('User ID')}
|
|
|
name="registerForm[username]"
|
|
|
// onBlur={checkUserName} // need not to check username before installation -- 2020.07.24 Yuki Takei
|
|
|
@@ -160,11 +164,13 @@ const InstallerForm = memo((): JSX.Element => {
|
|
|
<p className="form-text">{ unavailableUserId }</p>
|
|
|
|
|
|
<div className="input-group mb-3">
|
|
|
- <span className="input-group-text"></span><span className="material-symbols-outlined">sell</span>
|
|
|
+ <span className="p-2 text-white opacity-75">
|
|
|
+ <span className="material-symbols-outlined">sell</span>
|
|
|
+ </span>
|
|
|
<input
|
|
|
data-testid="tiName"
|
|
|
type="text"
|
|
|
- className="form-control"
|
|
|
+ className="form-control rounded"
|
|
|
placeholder={t('Name')}
|
|
|
name="registerForm[name]"
|
|
|
required
|
|
|
@@ -172,11 +178,13 @@ const InstallerForm = memo((): JSX.Element => {
|
|
|
</div>
|
|
|
|
|
|
<div className="input-group mb-3">
|
|
|
- <span className="input-group-text"></span><span className="material-symbols-outlined">mail</span>
|
|
|
+ <span className="p-2 text-white opacity-75">
|
|
|
+ <span className="material-symbols-outlined">mail</span>
|
|
|
+ </span>
|
|
|
<input
|
|
|
data-testid="tiEmail"
|
|
|
type="email"
|
|
|
- className="form-control"
|
|
|
+ className="form-control rounded"
|
|
|
placeholder={t('Email')}
|
|
|
name="registerForm[email]"
|
|
|
required
|
|
|
@@ -184,11 +192,13 @@ const InstallerForm = memo((): JSX.Element => {
|
|
|
</div>
|
|
|
|
|
|
<div className="input-group mb-3">
|
|
|
- <span className="input-group-text"></span> <span className="material-symbols-outlined">lock</span>
|
|
|
+ <span className="p-2 text-white opacity-75">
|
|
|
+ <span className="material-symbols-outlined">lock</span>
|
|
|
+ </span>
|
|
|
<input
|
|
|
data-testid="tiPassword"
|
|
|
type="password"
|
|
|
- className="form-control"
|
|
|
+ className="form-control rounded"
|
|
|
placeholder={t('Password')}
|
|
|
name="registerForm[password]"
|
|
|
required
|
|
|
@@ -203,7 +213,7 @@ const InstallerForm = memo((): JSX.Element => {
|
|
|
id="register"
|
|
|
disabled={isLoading}
|
|
|
>
|
|
|
- <span className="btn-label">
|
|
|
+ <span className="btn-label pe-0">
|
|
|
{isLoading ? (
|
|
|
<LoadingSpinner />
|
|
|
) : (
|