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

ajuste no dropdown login

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