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
{% if paginator.num_pages > 1 %} | |
<div class="flex justify-center"> | |
<div class="flex flex-col items-center my-12"> | |
<div class="flex text-gray-700"> | |
{% if entity.has_previous %} | |
<a href="?page={{ entity.previous_page_number }}#pagtable" | |
class="h-12 w-12 mr-1 flex justify-center items-center rounded-full bg-gray-200 cursor-pointer"> | |
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="none" | |
viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" | |
stroke-linecap="round" |
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
version: '3' | |
services: | |
mysql: | |
image: mysql:5.7 | |
restart: always | |
ports: | |
- 3306:3306 | |
environment: | |
MYSQL_ROOT_PASSWORD: example |
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
//SwaggerConfiguration.java | |
package com.moises.webapi; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import springfox.documentation.builders.RequestHandlerSelectors; | |
import springfox.documentation.spi.DocumentationType; | |
import springfox.documentation.spring.web.plugins.Docket; |
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
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
# C extensions | |
*.so | |
# Distribution / packaging |
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
{% if paginator.num_pages > 1%} | |
<div class="d-flex justify-content-center"> | |
<ul class="pagination"> | |
{% if entity.has_previous %} | |
<li class="page-item d-none d-sm-block"><a class="page-link" href="?page={{ entity.previous_page_number }}#pagtable">Anterior</a></li> | |
{% endif %} | |
{% for page in paginator.page_range %} | |
{% if forloop.last and page != entity.number and paginator.num_pages > 7 %} | |
{% if entity.next_page_number != paginator.num_pages%} | |
<li class="page-item"> |