mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
login changes
This commit is contained in:
@ -117,7 +117,7 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
||||
const SizedBox(height: 10),
|
||||
Text(
|
||||
'Please fill in your account information to\nretrieve your password',
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
style: Theme.of(context).textTheme.bodySmall!.copyWith(fontSize: 14,fontWeight: FontWeight.w400),
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
Column(
|
||||
@ -126,8 +126,8 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
"Country/Region",
|
||||
style:
|
||||
Theme.of(context).textTheme.bodySmall,
|
||||
style: Theme.of(context).textTheme.bodySmall!.copyWith(fontSize: 14,fontWeight: FontWeight.w400),
|
||||
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
SizedBox(
|
||||
@ -140,7 +140,7 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
||||
hintText: null,
|
||||
),
|
||||
hint: SizedBox(
|
||||
width: size.width * 0.11,
|
||||
width: size.width * 0.12,
|
||||
child: const Align(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: Text(
|
||||
@ -157,7 +157,10 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
||||
.map((RegionModel region) {
|
||||
return DropdownMenuItem<String>(
|
||||
value: region.id,
|
||||
child: Text(region.name),
|
||||
child: SizedBox(
|
||||
width: size.width*0.06,
|
||||
|
||||
child: Text(region.name)),
|
||||
);
|
||||
}).toList(),
|
||||
onChanged: (String? value) {
|
||||
@ -176,8 +179,8 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
"Account",
|
||||
style:
|
||||
Theme.of(context).textTheme.bodySmall,
|
||||
style: Theme.of(context).textTheme.bodySmall!.copyWith(fontSize: 14,fontWeight: FontWeight.w400),
|
||||
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
SizedBox(
|
||||
@ -200,8 +203,8 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
"One Time Password",
|
||||
style:
|
||||
Theme.of(context).textTheme.bodySmall,
|
||||
style: Theme.of(context).textTheme.bodySmall!.copyWith(fontSize: 14,fontWeight: FontWeight.w400),
|
||||
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
SizedBox(
|
||||
@ -247,8 +250,8 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
"Password",
|
||||
style:
|
||||
Theme.of(context).textTheme.bodySmall,
|
||||
style: Theme.of(context).textTheme.bodySmall!.copyWith(fontSize: 14,fontWeight: FontWeight.w400),
|
||||
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
SizedBox(
|
||||
@ -324,7 +327,9 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
),
|
||||
const SizedBox(height: 15.0),
|
||||
|
||||
],
|
||||
),
|
||||
),
|
||||
|
@ -354,7 +354,6 @@ class _LoginWebPageState extends State<LoginWebPage> {
|
||||
)
|
||||
),
|
||||
onPressed: () {
|
||||
|
||||
if(loginBloc.loginFormKey.currentState!.validate() ){
|
||||
loginBloc.add(LoginButtonPressed(
|
||||
regionUuid:loginBloc.regionUuid,
|
||||
@ -364,7 +363,6 @@ class _LoginWebPageState extends State<LoginWebPage> {
|
||||
}else{
|
||||
loginBloc.add(ChangeValidateEvent());
|
||||
}
|
||||
|
||||
},
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user