This file contains hidden or 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
| /* | |
| * Centralizando o elemento no meio da elemento pai | |
| */ | |
| .to-table { | |
| display:table; | |
| width: 100%; | |
| text-align: center; | |
| } | |
| .to-table .to-middle { | |
| display: table-cell; |
This file contains hidden or 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
| function listarArtistas(){ | |
| $.ajax({ | |
| url : "http://localhost:8000/artista/listar", | |
| dataType : "json", | |
| type : "GET", | |
| success : function(data) { | |
| $('.listar_artista').html(); | |
| for (i = 0; i <= data.length; i++) { | |
| $('.listar_artista').append(); | |
| $('.listar_artista').append( |
This file contains hidden or 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
| //return view('helpers.pagination', 'pagination => $pagination'); | |
| <ul class="pagination pagination-sm no-margin pull-right"> | |
| <!-- Anterior --> | |
| @if( $pagination->currentPage() == 1 ) | |
| <li><a href="{{ $pagination->url( $pagination->currentPage() ) }}">«</a></li> | |
| @else | |
| <li><a href="{{ $pagination->url( $pagination->currentPage() -1) }}">«</a></li> | |
| @endif @if( ($pagination->total() /10) < 1 ) | |
| <li><a href="{{ $pagination->url( 1 ) }}">{{ 1 }}</a></li> @else @for( | |
| $i = 1; $i <= ($pagination->total() /2); $i++) |
NewerOlder