O flask
está me retornando o seguinte error
:
127.0.0.1 - - [13/Jun/2019 22:55:07] "GET /destino/17 HTTP/1.1" 200 -
127.0.0.1 - - [13/Jun/2019 22:55:07] "GET /static/css/bootstrap/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [13/Jun/2019 22:55:07] "GET /static/css/bootstrap/dataTables.bootstrap4.min.css HTTP/1.1" 304 -
127.0.0.1 - - [13/Jun/2019 22:55:07] "GET /static/css/gaia/main.css HTTP/1.1" 304 -
Segue o meu HTML
:
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<!--<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap/bootstrap-reboot.min.css') }}">-->
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap/bootstrap.min.css') }}">
<!--<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap/bootstrap-grid.min.css') }}">-->
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap/dataTables.bootstrap4.min.css') }}">
<!-- Ga.IA -->
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/gaia/main.css') }}">
<title>Ga.IA</title>
</head>
<body>
<div class="container">
{% block content %}
{% endblock %}
</div>
<footer class="footer">
<p class="navbar-brand">Versão: {{ sistema['versao'] }} - 2019 (c) - Bruno La Porta</p>
</footer>
<!-- jQuery primeiro, depois Popper.js, depois Bootstrap JS -->
<script type="text/plain" src="{{ url_for('static', filename='js/jquery/jquery-3.4.1.min.js') }}"></script>
<script type="text/plain" src="{{ url_for('static', filename='js/jquery/jquery.mask.min.js') }}"></script>
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>-->
<script type="text/plain" src="{{ url_for('static', filename='js/bootstrap/bootstrap.min.js') }}"></script>
<!-- DataTable -->
<script type="text/plain" src="{{ url_for('static', filename='js/jquery/jquery.dataTables.min.js') }}"></script>
<script type="text/plain" src="{{ url_for('static', filename='js/bootstrap/dataTables.bootstrap4.min.js') }}"></script>
<!-- Sweet Alert -->
<script type="text/plain" src="{{ url_for('static', filename='js/sweet_alert/sweetalert.min.js') }}"></script>
<!-- Ga.IA -->
<script type="text/plain" src="{{ url_for('static', filename='js/gaia/main.js') }}"></script>
<script type="text/plain" src="{{ url_for('static', filename='js/gaia/usuario.js') }}"></script>
<script type="text/plain" src="{{ url_for('static', filename='js/gaia/cliente.js') }}"></script>
</body>
</html>
Nota
Os scripts
javascript
devem ficar comotype="text/plain"
, caso contrário retornariam o mesmoerror
. Já tentei utilizar otype
nocss
e até mesmo removendo todos, porém o tipo deerror
é o mesmo.
CTRL + R
que é o mesmo queF5
, depois você me fala se persiste.JQuery
e quando tento acessar uma pagina ele acusa erro nobootstrap.min.js
.error
na sua pergunta, assim fica mais fácil de te ajudar. Então oerror
atual da pegunta não possui mais né?