Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
68954a6f
Commit
68954a6f
authored
Jun 10, 2020
by
carlos
Browse files
atualizando
parent
79737f1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/layouts/app.blade.php
View file @
68954a6f
...
@@ -22,141 +22,144 @@
...
@@ -22,141 +22,144 @@
<link
href=
"{{ asset('css/app.css') }}"
rel=
"stylesheet"
>
<link
href=
"{{ asset('css/app.css') }}"
rel=
"stylesheet"
>
<link
href=
"{{ asset('css/layout.css') }}"
rel=
"stylesheet"
>
<link
href=
"{{ asset('css/layout.css') }}"
rel=
"stylesheet"
>
</head>
</head>
<body>
<header>
{{-- Navbar --}}
<nav
class=
"navbar navbar-light backgroud-color-default shadow"
>
<div
class=
"container"
>
<div
class=
"links-menu"
>
<a
class=
"navbar-brand"
href=
"{{route('home-user')}}"
>
<img
id=
"logo-menu"
src=
"{{ asset('img/icons/logo_submeta_pemenor.png') }}"
alt=
""
>
</a>
</div>
<div
class=
"navbar-text"
>
@guest
<a
href=
"#"
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;"
>
<form
method=
"POST"
action=
"{{ route('login') }}"
>
@csrf
<div
style=
"padding: 20px;"
>
<div
style=
"color: rgb(0, 140, 255); position: relative; top: 5px; text-align: center; font-size: 20px;"
>
Entrar
</div>
<div
style=
"position: relative; top: 30px; left: 1px;"
>
<label
for=
"email"
class=
"col-form-label negrito"
style=
"color: rgb(0, 140, 255);"
>
{{ __('Endereço de E-mail') }}
</label>
<input
id=
"email"
type=
"email"
class=
"form-control @error('email') is-invalid @enderror"
name=
"email"
value=
"{{ old('email') }}"
required
autocomplete=
"email"
autofocus
>
@error('email')
<span
class=
"invalid-feedback"
role=
"alert"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
<label
for=
"password"
class=
"col-form-label negrito"
style=
"color: rgb(0, 140, 255);"
>
{{ __('Senha') }}
</label>
<body>
<input
id=
"password"
type=
"password"
class=
"form-control @error('password') is-invalid @enderror"
name=
"password"
required
autocomplete=
"current-password"
>
<div
id=
"app"
>
<header>
@error('password')
{{-- Navbar --}}
<span
class=
"invalid-feedback"
role=
"alert"
>
<nav
class=
"navbar navbar-light backgroud-color-default shadow"
>
<strong>
{{ $message }}
</strong>
<div
class=
"container"
>
</span>
<div
class=
"links-menu"
>
@enderror
<a
class=
"navbar-brand"
href=
"{{route('home-user')}}"
>
</div>
<img
id=
"logo-menu"
src=
"{{ asset('img/icons/logo_submeta_pemenor.png') }}"
alt=
""
>
<div
style=
"position: relative; top: 40px;"
>
</a>
<div
class=
"form-check"
>
</div>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"remember"
id=
"remember"
{{
old
('
remember
')
?
'
checked
'
:
''
}}
>
<div
class=
"navbar-text"
>
@guest
<label
class=
"form-check-label"
for=
"remember"
>
<a
href=
"#"
class=
"btn navbar-text negrito"
style=
"color: rgb(0, 140, 255);"
>
Editais
</a>
{{ __('Lembrar Senha') }}
<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>
</label>
<div
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
style=
"padding: 20px;"
>
<div
style=
"color: rgb(0, 140, 255); position: relative; top: 5px; text-align: center; font-size: 20px;"
>
Entrar
</div>
<div
style=
"position: relative; top: 30px; left: 1px;"
>
<label
for=
"email"
class=
"col-form-label negrito"
style=
"color: rgb(0, 140, 255);"
>
{{ __('Endereço de E-mail') }}
</label>
<input
id=
"email"
type=
"email"
class=
"form-control @error('email') is-invalid @enderror"
name=
"email"
value=
"{{ old('email') }}"
required
autocomplete=
"email"
autofocus
>
@error('email')
<span
class=
"invalid-feedback"
role=
"alert"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
<label
for=
"password"
class=
"col-form-label negrito"
style=
"color: rgb(0, 140, 255);"
>
{{ __('Senha') }}
</label>
<input
id=
"password"
type=
"password"
class=
"form-control @error('password') is-invalid @enderror"
name=
"password"
required
autocomplete=
"current-password"
>
@error('password')
<span
class=
"invalid-feedback"
role=
"alert"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
</div>
<div
style=
"position: relative; top: 40px;"
>
<div
class=
"form-check"
>
<input
class=
"form-check-input"
type=
"checkbox"
name=
"remember"
id=
"remember"
{{
old
('
remember
')
?
'
checked
'
:
''
}}
>
<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);"
>
{{ __('Esqueseu sua senha?')}}
</a>
</div>
</div>
</div>
</div>
<div
style=
"position: relative; top: 50px;"
>
</form>
<button
class=
"btn botao-entrar"
style=
"color: white;"
>
</div>
{{__('Entrar')}}
<a
href=
"{{ route('register') }}"
class=
"btn navbar-text btn-azul-destaque negrito"
style=
"color: rgb(0, 140, 255);"
>
{{ __('Cadastre-se') }}
</a>
</button>
@else
<a
href=
"{{ route('password.request') }}"
style=
"font-weight: normal; color: rgb(44, 96, 209);"
>
{{ __('Esqueseu sua senha?')}}
</a>
<a
href=
"{{route('visualizarEvento')}}"
class=
"btn navbar-text negrito "
style=
"color: rgb(0, 140, 255);"
>
Home
</a>
</div>
</div>
</form>
</div>
<a
href=
"{{ route('register') }}"
class=
"btn navbar-text btn-azul-destaque negrito"
style=
"color: rgb(0, 140, 255);"
>
{{ __('Cadastre-se') }}
</a>
@else
<a
href=
"{{route('visualizarEvento')}}"
class=
"btn navbar-text negrito "
style=
"color: rgb(0, 140, 255);"
>
Home
</a>
<a
id=
"navbarDropdown"
class=
"btn navbar-text negrito dropdown-toggle"
style=
"color: rgb(0, 140, 255);"
href=
"#"
role=
"button"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
v-pre
>
{{ Auth::user()->name }}
<span
class=
"caret"
></span>
</a>
<div
class=
"dropdown-menu dropdown-menu-right"
style=
"right: 5%;"
aria-labelledby=
"navbarDropdown"
>
<a
class=
"dropdown-item"
href=
"{{ route('user.perfil') }}"
>
<img
src=
"{{asset('img/icons/perfil.svg')}}"
alt=
""
>
{{ __('Minha Conta') }}
</a>
@if(Auth::user()->administradors != null)
<a
class=
"dropdown-item"
href=
"{{ route('admin.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Administrador') }}
</a>
@endif
@if(Auth::user()->AdministradorResponsavel != null)
<a
class=
"dropdown-item"
href=
"{{ route('adminResp.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Pro-reitor') }}
</a>
@endif
@if(Auth::user()->coordenadorComissao != null)
<a
class=
"dropdown-item"
href=
"{{ route('coordenador.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Coordenador') }}
</a>
@endif
@if(Auth::user()->avaliadors != null)
<a
class=
"dropdown-item"
href=
"{{ route('avaliador.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Avaliador') }}
</a>
@endif
@if(Auth::user()->proponentes != null)
<a
class=
"dropdown-item"
href=
"{{ route('proponente.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Proponente') }}
</a>
@endif
@if(Auth::user()->participantes != null)
<a
class=
"dropdown-item"
href=
"{{ route('participante.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Participante') }}
</a>
@endif
<a
class=
"dropdown-item"
href=
"{{ route('logout') }}"
<a
id=
"navbarDropdown"
class=
"btn navbar-text negrito dropdown-toggle"
style=
"color: rgb(0, 140, 255);"
href=
"#"
role=
"button"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
v-pre
>
onclick=
"event.preventDefault();
{{ Auth::user()->name }}
<span
class=
"caret"
></span>
document.getElementById('logout-form').submit();"
>
<img
src=
"{{asset('img/icons/sign-out-alt-solid.svg')}}"
alt=
""
>
{{ __('Sair') }}
</a>
</a>
<div
class=
"dropdown-menu dropdown-menu-right"
style=
"right: 5%;"
aria-labelledby=
"navbarDropdown"
>
<form
id=
"logout-form"
action=
"{{ route('logout') }}"
method=
"POST"
style=
"display: none;"
>
<a
class=
"dropdown-item"
href=
"{{ route('user.perfil') }}"
>
@csrf
<img
src=
"{{asset('img/icons/perfil.svg')}}"
alt=
""
>
</form>
{{ __('Minha Conta') }}
</div>
</a>
@endguest
@if(Auth::user()->administradors != null)
</div>
<a
class=
"dropdown-item"
href=
"{{ route('admin.index') }}"
>
</div>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
</nav>
{{ __('Perfil Administrador') }}
</header>
</a>
@endif
@if(Auth::user()->AdministradorResponsavel != null)
<a
class=
"dropdown-item"
href=
"{{ route('adminResp.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Pro-reitor') }}
</a>
@endif
@if(Auth::user()->coordenadorComissao != null)
<a
class=
"dropdown-item"
href=
"{{ route('coordenador.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Coordenador') }}
</a>
@endif
@if(Auth::user()->avaliadors != null)
<a
class=
"dropdown-item"
href=
"{{ route('avaliador.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Avaliador') }}
</a>
@endif
@if(Auth::user()->proponentes != null)
<a
class=
"dropdown-item"
href=
"{{ route('proponente.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Proponente') }}
</a>
@endif
@if(Auth::user()->participantes != null)
<a
class=
"dropdown-item"
href=
"{{ route('participante.index') }}"
>
<img
src=
"{{asset('img/icons/file-alt-regular-black.svg')}}"
alt=
""
>
{{ __('Perfil Participante') }}
</a>
@endif
<a
class=
"dropdown-item"
href=
"{{ route('logout') }}"
onclick=
"event.preventDefault();
document.getElementById('logout-form').submit();"
>
<img
src=
"{{asset('img/icons/sign-out-alt-solid.svg')}}"
alt=
""
>
{{ __('Sair') }}
</a>
<form
id=
"logout-form"
action=
"{{ route('logout') }}"
method=
"POST"
style=
"display: none;"
>
@csrf
</form>
</div>
@endguest
</div>
</div>
</nav>
</header>
<section>
<section>
@hasSection ('sidebar')
@hasSection ('sidebar')
@yield('sidebar')
@yield('sidebar')
@endif
@endif
{{--
<main
class=
"container-fluid"
>
--}}
{{--
<main
class=
"container-fluid"
>
--}}
@yield('content')
@yield('content')
{{--
</main>
--}}
{{--
</main>
--}}
</section>
</section>
</div>
@hasSection ('javascript')
@hasSection ('javascript')
@yield('javascript')
@yield('javascript')
@else
@else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment