"resources/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "907cb7b82b5f5358e040923ea23a40a832a75f40"
Commit 60487c81 authored by Carlos André's avatar Carlos André
Browse files

ajuste no dropdown login

parent 1d047e7b
...@@ -99,50 +99,54 @@ ...@@ -99,50 +99,54 @@
@guest @guest
<a href="{{ route('coord.home') }}" class="btn navbar-text negrito" style="color: rgb(0, 140, 255);">Editais</a> <a href="{{ route('coord.home') }}" class="btn navbar-text negrito" style="color: rgb(0, 140, 255);">Editais</a>
<a href="#" class="btn dropdown-toggle negrito" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="color: rgb(0, 140, 255);">Login</a> <a href="#" class="btn dropdown-toggle negrito" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="color: rgb(0, 140, 255);">Login</a>
<div class="dropdown-menu dropdown-menu-right negrito" aria-labelledby="dropdownMenuLink" style="right: 15%; width: 300px; height: 380px;"> <div id="dropdown-login" class="dropdown-menu dropdown-menu-right negrito" aria-labelledby="dropdownMenuLink" style="right: 15%; width: 300px; height: 380px;">
<form method="POST" action="{{ route('login') }}">
@csrf <div class="">
<div style="padding: 20px;"> <form method="POST" action="{{ route('login') }}">
<div style="color: rgb(0, 140, 255); position: relative; top: 5px; text-align: center; font-size: 20px;"> @csrf
Entrar <div style="padding: 20px;">
</div> <div style="color: rgb(0, 140, 255); position: relative; top: 5px; text-align: center; font-size: 20px;">
<div style="position: relative; top: 30px; left: 1px;"> Entrar
</div>
<label for="email" class="col-form-label negrito" style="color: rgb(0, 140, 255);">{{ __('Endereço de E-mail') }}</label> <div style="position: relative; top: 30px; left: 1px;">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
<label for="email" class="col-form-label negrito" style="color: rgb(0, 140, 255);">{{ __('Endereço de E-mail') }}</label>
@error('email') <input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong> @error('email')
</span> <span class="invalid-feedback" role="alert">
@enderror <strong>{{ $message }}</strong>
</span>
<label for="password" class="col-form-label negrito" style="color: rgb(0, 140, 255);">{{ __('Senha') }}</label> @enderror
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
<label for="password" class="col-form-label negrito" style="color: rgb(0, 140, 255);">{{ __('Senha') }}</label>
@error('password') <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong> @error('password')
</span> <span class="invalid-feedback" role="alert">
@enderror <strong>{{ $message }}</strong>
</div> </span>
<div style="position: relative; top: 40px;"> @enderror
<div class="form-check"> </div>
<input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}> <div style="position: relative; top: 40px;">
<div class="form-check">
<label class="form-check-label" for="remember"> <input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
{{ __('Lembrar Senha') }}
</label> <label class="form-check-label" for="remember">
{{ __('Lembrar Senha') }}
</label>
</div>
</div>
<div style="position: relative; top: 50px;">
<button class="btn botao-entrar" style="color: white;">
{{__('Entrar')}}
</button>
<a href="{{ route('password.request') }}" style="font-weight: normal; color: rgb(44, 96, 209);">{{ __('Esqueceu sua senha?')}}</a>
</div> </div>
</div> </div>
<div style="position: relative; top: 50px;"> </form>
<button class="btn botao-entrar" style="color: white;"> </div>
{{__('Entrar')}}
</button>
<a href="{{ route('password.request') }}" style="font-weight: normal; color: rgb(44, 96, 209);">{{ __('Esqueceu sua senha?')}}</a>
</div>
</div>
</form>
</div> </div>
<a href="{{ route('register') }}" class="btn navbar-text btn-azul-destaque negrito" style="color: rgb(0, 140, 255);">{{ __('Cadastre-se') }}</a> <a href="{{ route('register') }}" class="btn navbar-text btn-azul-destaque negrito" style="color: rgb(0, 140, 255);">{{ __('Cadastre-se') }}</a>
@else @else
...@@ -313,4 +317,16 @@ ...@@ -313,4 +317,16 @@
</div> </div>
</div> </div>
</body> </body>
<script>
$(document).ready(function() {
$("#dropdown-login").on('click', function(event){
event.stopPropagation();
});
});
@if(old('email') != null)
$(document).ready(function() {
$('#dropdownMenuLink').click();
});
@endif
</script>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment