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

ajuste no dropdown login

parent 1d047e7b
......@@ -99,7 +99,9 @@
@guest
<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>
<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;">
<div class="">
<form method="POST" action="{{ route('login') }}">
@csrf
<div style="padding: 20px;">
......@@ -144,6 +146,8 @@
</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>
@else
@if(Auth::user()->administradors != null)
......@@ -313,4 +317,16 @@
</div>
</div>
</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>
\ 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