ajout file d'ariane

This commit is contained in:
Arthur ZHU 2022-07-06 20:37:20 +02:00
parent 9f7d6a3020
commit ec987ad8fa
9 changed files with 266 additions and 147 deletions

View File

@ -1,28 +1,37 @@
.nav-entreprise>ul { .nav-entreprise {
padding-left: 0; text-align: left;
}
.nav-entreprise ul {
padding: 0;
} }
.nav-entreprise li{ .nav-entreprise li{
list-style: none; list-style: none;
display: inline-block; display: inline-block;
padding: 10px; padding: 10px;
border: 2px black solid;
border-radius: 10px;
}
.nav-entreprise li:hover{
background-color: rgb(212, 212, 212);
} }
.nav-entreprise>ul>li>a { .nav-entreprise>ul>li>a {
text-decoration: none; text-decoration: none;
color: black; color: black;
padding: 15px; padding: 15px;
}
.nav-entreprise>ul>li>a:hover {
text-decoration: underline;
} }
.form-error { .form-error {
color: #a94442; color: #a94442;
} }
.nav-entreprise>ul>li>a:hover {
color: red;
}
.boutons .btn { .boutons .btn {
margin-top: 5px; margin-top: 5px;
margin-bottom: 5px; margin-bottom: 5px;
@ -133,5 +142,34 @@
.title-form-error { .title-form-error {
font-weight: bold; font-weight: bold;
color: #a94442 color: #a94442;
}
.breadcrumbs {
padding: 0;
}
.breadcrumbs_item {
display: inline-block;
}
.breadcrumbs_item:not(:last-of-type)::after {
content: '\203a';
margin: 0 5px;
color: #777;
}
.breadcrumbs_link {
text-decoration: none;
color: #777;
}
.breadcrumbs_link:hover {
text-decoration: underline;
color: #333;
}
.breadcrumbs_link-active {
color: #333;
font-weight: bold;
} }

View File

@ -9,6 +9,20 @@
{% endblock %} {% endblock %}
{% block app_content %} {% block app_content %}
<div class="container">
<ul class="breadcrumbs">
<li class="breadcrumbs_item">
<a href="{{ url_for('entreprises.index') }}" class="breadcrumbs_link">Entreprises</a>
</li>
<li class="breadcrumbs_item">
<a href="{{ url_for('entreprises.fiche_entreprise', id=entreprise_id) }}" class="breadcrumbs_link">Fiche entreprise</a>
</li>
<li class="breadcrumbs_item">
<a href="" class="breadcrumbs_link breadcrumbs_link-active">Contacts</a>
</li>
</ul>
</div>
<div class="container" style="margin-bottom: 10px;"> <div class="container" style="margin-bottom: 10px;">
<h1>Liste des contacts</h1> <h1>Liste des contacts</h1>
{% if current_user.has_permission(current_user.Permission.RelationsEntreprisesChange, None) %} {% if current_user.has_permission(current_user.Permission.RelationsEntreprisesChange, None) %}

View File

@ -9,6 +9,17 @@
{% endblock %} {% endblock %}
{% block app_content %} {% block app_content %}
<div class="container">
<ul class="breadcrumbs">
<li class="breadcrumbs_item">
<a href="{{ url_for('entreprises.index') }}" class="breadcrumbs_link">Entreprises</a>
</li>
<li class="breadcrumbs_item">
<a href="" class="breadcrumbs_link breadcrumbs_link-active">Fiche entreprise</a>
</li>
</ul>
</div>
{% if logs %} {% if logs %}
<div class="container"> <div class="container">
<h3>Dernières opérations sur cette fiche <a href="{{ url_for('entreprises.logs_entreprise', id=entreprise.id) }}">Voir tout</a></h3> <h3>Dernières opérations sur cette fiche <a href="{{ url_for('entreprises.logs_entreprise', id=entreprise.id) }}">Voir tout</a></h3>
@ -55,7 +66,7 @@
<div class="taxe-apprentissage"> <div class="taxe-apprentissage">
<ul id="liste-taxes-apprentissages"> <ul id="liste-taxes-apprentissages">
{% if not taxes|check_taxe_now %} {% if not taxes|check_taxe_now %}
<li>année actuelle : non versé</li> <li>année actuelle : non versée</li>
{% endif %} {% endif %}
{% for taxe in taxes %} {% for taxe in taxes %}
<li> <li>

View File

@ -7,6 +7,18 @@
{% endblock %} {% endblock %}
{% block app_content %} {% block app_content %}
<div class="container">
<ul class="breadcrumbs">
<li class="breadcrumbs_item">
<a href="{{ url_for('entreprises.index') }}" class="breadcrumbs_link">Entreprises</a>
</li>
<li class="breadcrumbs_item">
<a href="" class="breadcrumbs_link breadcrumbs_link-active">Importation données</a>
</li>
</ul>
</div>
<div class="container">
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<br> <br>
<div> <div>
@ -132,5 +144,6 @@
</div> </div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</div>
{% endblock %} {% endblock %}

View File

@ -2,6 +2,17 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block app_content %} {% block app_content %}
<div class="container">
<ul class="breadcrumbs">
<li class="breadcrumbs_item">
<a href="{{ url_for('entreprises.index') }}" class="breadcrumbs_link">Entreprises</a>
</li>
<li class="breadcrumbs_item">
<a href="" class="breadcrumbs_link breadcrumbs_link-active">Dernières opérations</a>
</li>
</ul>
</div>
<div class="container"> <div class="container">
<h3>Dernières opérations</h3> <h3>Dernières opérations</h3>
{% if logs.items %} {% if logs.items %}

View File

@ -2,6 +2,20 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block app_content %} {% block app_content %}
<div class="container">
<ul class="breadcrumbs">
<li class="breadcrumbs_item">
<a href="{{ url_for('entreprises.index') }}" class="breadcrumbs_link">Entreprises</a>
</li>
<li class="breadcrumbs_item">
<a href="{{ url_for('entreprises.fiche_entreprise', id=entreprise.id) }}" class="breadcrumbs_link">Fiche entreprise</a>
</li>
<li class="breadcrumbs_item">
<a href="" class="breadcrumbs_link breadcrumbs_link-active">Dernières opérations</a>
</li>
</ul>
</div>
<div class="container"> <div class="container">
<h3>Dernières opérations - {{ entreprise.nom }}</h3> <h3>Dernières opérations - {{ entreprise.nom }}</h3>
{% if logs.items %} {% if logs.items %}

View File

@ -1,4 +1,5 @@
{# -*- mode: jinja-html -*- #} {# -*- mode: jinja-html -*- #}
<div class="container">
<nav class="nav-entreprise"> <nav class="nav-entreprise">
<ul> <ul>
<li><a href="{{ url_for('entreprises.index') }}">Entreprises</a></li> <li><a href="{{ url_for('entreprises.index') }}">Entreprises</a></li>
@ -12,3 +13,4 @@
{% endif %} {% endif %}
</ul> </ul>
</nav> </nav>
</div>

View File

@ -2,6 +2,20 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block app_content %} {% block app_content %}
<div class="container">
<ul class="breadcrumbs">
<li class="breadcrumbs_item">
<a href="{{ url_for('entreprises.index') }}" class="breadcrumbs_link">Entreprises</a>
</li>
<li class="breadcrumbs_item">
<a href="{{ url_for('entreprises.fiche_entreprise', id=entreprise.id) }}" class="breadcrumbs_link">Fiche entreprise</a>
</li>
<li class="breadcrumbs_item">
<a href="" class="breadcrumbs_link breadcrumbs_link-active">Offres expirées</a>
</li>
</ul>
</div>
<div class="container"> <div class="container">
<h1>Offres expirées - {{ entreprise.nom }}</h1> <h1>Offres expirées - {{ entreprise.nom }}</h1>
{% if offres_expirees %} {% if offres_expirees %}

View File

@ -5,6 +5,7 @@
{% block app_content %} {% block app_content %}
{% include 'entreprises/nav.html' %} {% include 'entreprises/nav.html' %}
<div class="container">
<h1>Préférences module gestion entreprises</h1> <h1>Préférences module gestion entreprises</h1>
<br> <br>
<div class="row"> <div class="row">
@ -12,4 +13,5 @@
{{ wtf.quick_form(form, novalidate=True) }} {{ wtf.quick_form(form, novalidate=True) }}
</div> </div>
</div> </div>
</div>
{% endblock %} {% endblock %}