Commit 26e5e7fd authored by Christophe Benz's avatar Christophe Benz

Use Bootstrap margins directly

parent 86b78e2c
{% extends "base_template.html" %} {% extends "base_template.html" %}
{% block head %}
{{ super() }}
<style>
div.mb-5 h2.my-4, div.my-5 h2.my-4 {
margin-bottom: 0.2em !important;
}
</style>
{% endblock %}
{% block title %}Accueil{% endblock %} {% block title %}Accueil{% endblock %}
{% block content %} {% block content %}
<div class="container"> <div class="container">
{% for section in sections %} {% for section in sections %}
{% if section.catalog %} {% if section.catalog %}
<div class="mb-5"> <div class="my-5">
<h2 class="my-4">{{ section.title }}</h2> <h2>{{ section.title }}</h2>
{% if section.description %} {% if section.description %}
<p class="text-muted">{{ section.description }}</p> <p class="text-muted">{{ section.description }}</p>
{% endif %}</h2> {% endif %}
<form action="{{ url_for('custom_validator') }}" method="GET"> <form action="{{ url_for('custom_validator') }}" method="GET">
<div class="form-row"> <div class="form-row">
<div class="form-group col-lg-9"> <div class="form-group col-lg-9">
...@@ -40,7 +31,7 @@ ...@@ -40,7 +31,7 @@
{% endfor %} {% endfor %}
<div class="my-5"> <div class="my-5">
<h2 class="my-4">Schéma à la carte</h2> <h2>Schéma à la carte</h2>
<p class="text-muted">Indiquez ici l'URL du schéma que vous souhaitez pour valider un fichier.</p> <p class="text-muted">Indiquez ici l'URL du schéma que vous souhaitez pour valider un fichier.</p>
<form action="{{ url_for('custom_validator') }}" data-cy="custom_schema_form" method="GET"> <form action="{{ url_for('custom_validator') }}" data-cy="custom_schema_form" method="GET">
<div class="form-row"> <div class="form-row">
...@@ -69,9 +60,9 @@ ...@@ -69,9 +60,9 @@
{% for section in sections %} {% for section in sections %}
{% if section.links %} {% if section.links %}
<div class="my-5"> <div class="my-5">
<h2 class="my-4">{{ section.title }}</h2> <h2>{{ section.title }}</h2>
{% if section.description %} {% if section.description %}
<p class="text-muted">{{ section.description}}</p> <p class="text-muted">{{ section.description }}</p>
{% endif %} {% endif %}
<div class="row my-4"> <div class="row my-4">
{% for item in section.links %} {% for item in section.links %}
......
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