diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-23 07:30:04 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-23 07:30:04 -0700 |
commit | e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0 (patch) | |
tree | 4249ebb4305bf6ec28bf54ba9d009494e018bc61 /modern/src/login | |
parent | 85461684eb402d4df62c8b59e0a0f627bd3487c1 (diff) | |
download | trackermap-web-e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0.tar.gz trackermap-web-e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0.tar.bz2 trackermap-web-e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0.zip |
Convert to outline inputs
Diffstat (limited to 'modern/src/login')
-rw-r--r-- | modern/src/login/LoginPage.js | 6 | ||||
-rw-r--r-- | modern/src/login/RegisterPage.js | 6 | ||||
-rw-r--r-- | modern/src/login/ResetPasswordPage.js | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/modern/src/login/LoginPage.js b/modern/src/login/LoginPage.js index 4478c866..e7a110de 100644 --- a/modern/src/login/LoginPage.js +++ b/modern/src/login/LoginPage.js @@ -118,7 +118,7 @@ const LoginPage = () => { onChange={(e) => setEmail(e.target.value)} onKeyUp={handleSpecialKey} helperText={failed && 'Invalid username or password'} - variant="filled" + /> </Grid> <Grid item> @@ -134,7 +134,7 @@ const LoginPage = () => { autoFocus={!!email} onChange={(e) => setPassword(e.target.value)} onKeyUp={handleSpecialKey} - variant="filled" + /> </Grid> <Grid item> @@ -156,7 +156,7 @@ const LoginPage = () => { </Button> </Grid> <Grid item xs> - <FormControl variant="filled" fullWidth> + <FormControl fullWidth> <InputLabel>{t('loginLanguage')}</InputLabel> <Select value={language} onChange={(e) => setLanguage(e.target.value)}> {languageList.map((it) => <MenuItem key={it.code} value={it.code}>{it.name}</MenuItem>)} diff --git a/modern/src/login/RegisterPage.js b/modern/src/login/RegisterPage.js index ce09b63e..e0b408f4 100644 --- a/modern/src/login/RegisterPage.js +++ b/modern/src/login/RegisterPage.js @@ -81,7 +81,7 @@ const RegisterPage = () => { autoComplete="name" autoFocus onChange={(event) => setName(event.target.value)} - variant="filled" + /> </Grid> <Grid item> @@ -94,7 +94,7 @@ const RegisterPage = () => { value={email} autoComplete="email" onChange={(event) => setEmail(event.target.value)} - variant="filled" + /> </Grid> <Grid item> @@ -107,7 +107,7 @@ const RegisterPage = () => { type="password" autoComplete="current-password" onChange={(event) => setPassword(event.target.value)} - variant="filled" + /> </Grid> <Grid item> diff --git a/modern/src/login/ResetPasswordPage.js b/modern/src/login/ResetPasswordPage.js index f9f4a88e..c74d3396 100644 --- a/modern/src/login/ResetPasswordPage.js +++ b/modern/src/login/ResetPasswordPage.js @@ -94,7 +94,7 @@ const ResetPasswordPage = () => { value={email} autoComplete="email" onChange={(event) => setEmail(event.target.value)} - variant="filled" + /> </Grid> ) @@ -109,7 +109,7 @@ const ResetPasswordPage = () => { type="password" autoComplete="current-password" onChange={(event) => setPassword(event.target.value)} - variant="filled" + /> </Grid> )} |