autb login fix

This commit is contained in:
Felipe Mateus 2024-05-19 19:42:17 -03:00
parent a04e33646e
commit 9f4cb21592
No known key found for this signature in database
GPG key ID: 94D494618F214123

View file

@ -7,7 +7,7 @@
<div class="card shadow-none border"> <div class="card shadow-none border">
<div class="card-header bg-transparent p-3"> <div class="card-header bg-transparent p-3">
<h4 class="font-weight-bold mb-0 text-center"> <h4 class="font-weight-bold mb-0 text-center">
{{ __('auth.login') }} {{ __('auth.loginTitle') }}
</h4> </h4>
</div> </div>
@ -25,7 +25,7 @@
<div class="form-group row mb-0"> <div class="form-group row mb-0">
<div class="col-md-12"> <div class="col-md-12">
<label for="email" class="small font-weight-bold text-muted mb-0">{{ __("auth.emailAddress") }}</label> <label for="email" class="small font-weight-bold text-muted mb-0">{{__("auth.emailAddress")}}</label>
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" placeholder="{{__('Email')}}" required autofocus> <input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" placeholder="{{__('Email')}}" required autofocus>
@if ($errors->has('email')) @if ($errors->has('email'))
@ -45,7 +45,7 @@
<div class="form-group row mb-0"> <div class="form-group row mb-0">
<div class="col-md-12"> <div class="col-md-12">
<label for="password" class="small font-weight-bold text-muted mb-0">{{__('auth.password')}}</label> <label for="password" class="small font-weight-bold text-muted mb-0">{{ __("auth.password")}}</label>
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="{{__('Password')}}" required> <input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="{{__('Password')}}" required>
@if ($errors->has('password')) @if ($errors->has('password'))
@ -56,7 +56,7 @@
<p class="help-text small text-right mb-0"> <p class="help-text small text-right mb-0">
<a href="{{ route('password.request') }}" class="small text-muted font-weight-bold"> <a href="{{ route('password.request') }}" class="small text-muted font-weight-bold">
{{ __('Forgot Password') }} {{ __('auth.forgot') }}
</a> </a>
</p> </p>
</div> </div>
@ -89,14 +89,9 @@
</div> </div>
@endif @endif
<div class="form-group row mb-4"> <button type="submit" class="btn btn-primary btn-block btn-lg font-weight-bold rounded-pill">
<div class="col-md-12"> {{ __('auth.login') }}
<button type="submit" class="btn btn-primary btn-block btn-lg font-weight-bold"> </button>
{{ __('auth.login') }}
</button>
</div>
</div>
</form> </form>
@if( @if(
@ -109,7 +104,7 @@
<div class="form-group row mb-0"> <div class="form-group row mb-0">
<div class="col-md-12"> <div class="col-md-12">
<button type="submit" class="btn btn-primary btn-sm btn-block rounded-pill font-weight-bold" style="background: linear-gradient(#6364FF, #563ACC);"> <button type="submit" class="btn btn-primary btn-sm btn-block rounded-pill font-weight-bold" style="background: linear-gradient(#6364FF, #563ACC);">
{{ __('auth.signInMastodon') }} {{__("auth.signInMastodon")}}
</button> </button>
</div> </div>
</div> </div>
@ -120,12 +115,7 @@
<hr> <hr>
<p class="text-center font-weight-bold mb-0"> <p class="text-center font-weight-bold mb-0">
<a href="/register">Register</a> <a href="/register">{{ __("auth.register")}}</a>
<span class="px-1">·</span>
@endif
<a href="{{ route('password.request') }}">
{{ __('auth.forgot') }}
</a>
</p> </p>
@endif @endif
</div> </div>