Commit f5206e40 authored by Christophe Benz's avatar Christophe Benz
Browse files

Use CDN for bootstrap

parent 280eab1b
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -8,10 +8,8 @@
<link rel="icon" href="{{ url_for('static', filename='img/favicon.ico')}}" type="image/x-icon">
<link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.ico')}}" type="image/x-icon">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="{{url_for('static', filename='css/bootstrap.min.css')}}" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<!-- JQuery -->
<script type="text/javascript" src="{{ url_for('static', filename='js/jquery-3.3.1.min.js')}}"></script>
<title>Validata - {% block title %}{% endblock %}</title>
<style>
......@@ -69,10 +67,12 @@
{% block content %}{% endblock %}
</div>
<script src="{{url_for('static', filename='js/jquery-3.3.1.min.js')}}"></script>
<script src="{{url_for('static', filename='js/popper.min.js')}}"></script>
<script src="{{url_for('static', filename='js/bootstrap.min.js')}}"></script>
{% block footer %}{% endblock %}
{% block scripts %}
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
{% endblock %}
<footer class="footer hidden-print">
<div>
Le service de validation du <a href="https://www.validata.fr/">projet Validata</a>
......
......@@ -88,4 +88,4 @@ block head %}
</div>
{% endblock %} {% block footer %} {% endblock %}
{% endblock %}
\ No newline at end of file
......@@ -45,7 +45,7 @@
<div class="row">
<div class="col-md-{% if print_mode %}12{% else %}5{% endif %} my-4">
<div class="card bg-faded">
<div class="card-body">
<div class="card-body">
{% include 'schema_info_part.html' %}
<hr />
<div>
......@@ -166,16 +166,16 @@
{% endblock %}
{% block footer %}
<script>
$(function() {
{% block scripts %}
{{ super() }}
<script>
$(function() {
// Errors tooltip activate
$('[data-toggle="popover"]').popover({
html: true,
placement: "auto",
trigger: "hover"
});
});
});
</script>
{% endblock %}
\ No newline at end of file
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment