Work on layout

This commit is contained in:
William Bouzourène 2025-07-11 13:42:55 +02:00
parent 56a2d30189
commit f87ca9698d
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
12 changed files with 356 additions and 355 deletions

View file

@ -1,7 +1,7 @@
{% extends "layouts/main.html" %}
{% block main %}
<div class="container mt-4">
<div class="container-fluid my-4 px-4">
<div class="mb-4">
<nav>
<ol class="breadcrumb">
@ -24,20 +24,20 @@
<hr />
</div>
{% if Errors %}
<div class="alert alert-danger">
<ul class="m-0">
{% for Error in Errors %}
<li>{{ Error }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
<form id="section" method="post" class="mw-1200">
{% if Errors %}
<div class="alert alert-danger">
<ul class="m-0">
{% for Error in Errors %}
<li>{{ Error }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
<form id="section" method="post">
<div class="row mb-3">
<label for="name" class="form-label col-md-2"> Nom </label>
<div class="col-md-10">
<label for="name" class="form-label col-md-2 col-xl-3"> Nom </label>
<div class="col-md-10 col-xl-9">
<input
id="name"
class="form-control"
@ -52,10 +52,10 @@
</div>
<div class="row mb-3">
<label for="short_name" class="form-label col-md-2">
<label for="short_name" class="form-label col-md-2 col-xl-3">
Nom technique
</label>
<div class="col-md-10">
<div class="col-md-10 col-xl-9">
<input
id="short_name"
class="form-control"
@ -69,10 +69,10 @@
</div>
<div class="row mb-3">
<label for="parent_section" class="form-label col-md-2">
<label for="parent_section" class="form-label col-md-2 col-xl-3">
Section parente
</label>
<div class="col-md-10">
<div class="col-md-10 col-xl-9">
<select
id="parent_section"
class="form-select"
@ -98,7 +98,7 @@
</div>
<div class="row mb-3">
<div class="col-md-10 offset-md-2">
<div class="col-md-10 col-xl-9 offset-md-2 offset-xl-3">
<input
type="checkbox"
class="form-check-input me-2"
@ -116,7 +116,7 @@
</div>
<div class="row mb-3">
<div class="col-md-10 offset-md-2">
<div class="col-md-10 col-xl-9 offset-md-2 offset-xl-3">
<input
type="checkbox"
class="form-check-input me-2"