-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from uspdev/issue117
Skin do IFUSP
- Loading branch information
Showing
4 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@section('skin_footer') | ||
<!-- Footer uspdev --> | ||
<footer> | ||
<div class="text-center py-4"> | ||
<hr /> | ||
© {{ now()->year }} Instituto de Física - USP :: CCIF | ||
</div> | ||
</footer> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@section('skin_styles') | ||
@parent {{-- devemos incluir o conteúdo existente --}} | ||
<style> | ||
/* #skin_header é o div pai */ | ||
#skin_header .container-fluid { | ||
display: block; | ||
height: 100px; | ||
background-color: #FFFFFF; | ||
font-size: 24px; | ||
} | ||
#skin_header .skin_logo img { | ||
height: 80px; | ||
margin: 10px; | ||
} | ||
#skin_header .skin_texto img { | ||
margin-top: 8px; | ||
height: 50px; | ||
} | ||
</style> | ||
@endsection | ||
|
||
@section('skin_header') | ||
<!-- container vai ocultar em mobile para ganhar espaço --> | ||
<div class="container-fluid d-none d-sm-block"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<a class="skin_logo float-left" href="{{ config('app.url')}}"> | ||
<img src="{{ asset('/vendor/laravel-usp-theme/skins/if/images/logo_if.png') }}" alt="Logo do Instituto de Física" /> | ||
</a> | ||
<div class="float-left pr-1 pt-2"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@section('skin_styles') | ||
@parent {{-- devemos incluir o conteúdo existente --}} | ||
<style> | ||
/* #skin_login_bar é o div pai */ | ||
#skin_login_bar { | ||
display: block; | ||
/*background-color: #a19152; /*dourado*/ | ||
background-color: #004437; /*verde*/ | ||
font-size: 15px; | ||
color: #FFFFFF; | ||
padding-top: 5px; | ||
margin-bottom: 5px; | ||
} | ||
/* .login_logout_link formata os links correspondentes que estão nos includes */ | ||
#skin_login_bar .login_logout_link { | ||
color: #FFFFFF !important; | ||
text-decoration: none !important; | ||
font-weight: bold; | ||
padding-left: 5px; | ||
padding-right: 10px; | ||
} | ||
</style> | ||
@endsection | ||
|
||
@section('skin_login_bar') | ||
{{-- esta faixa está fora de container para tocar as bordas da janela --}} | ||
<div class="text-right"> | ||
@auth | ||
{{ Auth::user()->name }} - {{ Auth::user()->email }} | | ||
@include('laravel-usp-theme::partials.login_bar.logout_link') | ||
@else | ||
Não autenticado | | ||
@include('laravel-usp-theme::partials.login_bar.login_link') | ||
@endauth | ||
</div> | ||
@endsection |