Merge branch 'main' into WIP-Portail_Parent-update_summer_2024
This commit is contained in:
commit
4d99d731ab
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pencil-square" viewBox="0 0 16 16">
|
||||
<path d="M15.502 1.94a.5.5 0 0 1 0 .706L14.459 3.69l-2-2L13.502.646a.5.5 0 0 1 .707 0l1.293 1.293zm-1.75 2.456-2-2L4.939 9.21a.5.5 0 0 0-.121.196l-.805 2.414a.25.25 0 0 0 .316.316l2.414-.805a.5.5 0 0 0 .196-.12l6.813-6.814z"/>
|
||||
<path fill-rule="evenodd" d="M1 13.5A1.5 1.5 0 0 0 2.5 15h11a1.5 1.5 0 0 0 1.5-1.5v-6a.5.5 0 0 0-1 0v6a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9a.5.5 0 0 0 0-1H2.5A1.5 1.5 0 0 0 1 2.5z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 575 B |
|
@ -1,12 +1,19 @@
|
|||
{% load static %}
|
||||
<div class="parent_portal">
|
||||
<h2>Bienvenue dans le Portail Parent</h2>
|
||||
<div>
|
||||
{% if json.aes_id %}
|
||||
<div class="intro">
|
||||
<p><a href="{{ eservices_url }}portail-parent/pp-modifier-mes-donnees-parent/">Consulter et modifier mes données</a></p>
|
||||
</div>
|
||||
<ul class="children">
|
||||
{% for child in homepage_data.children %}
|
||||
<li class="child">
|
||||
<div class="child-info">
|
||||
<h4>{{ child.name }}</h4>
|
||||
<a class="edit" href="{{ eservices_url }}portail-parent/pp-modifier-les-donnees-d-un-enfant/?enfant={{ child.id }}">
|
||||
<img src="{% static "/img/pencil-square.svg" %}" alt="Mettre à jour les données d'un enfant"/>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="forms">
|
||||
{% for form in child.forms %}
|
||||
|
@ -20,6 +27,8 @@
|
|||
<span class="title"> {{ form.title }} </span>
|
||||
</a>
|
||||
</li>
|
||||
{% empty %}
|
||||
<li style="list-style: none">Aucune démarche n'est possible pour cet enfant.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -79,6 +88,16 @@
|
|||
}
|
||||
.parent_portal .child h4 {
|
||||
margin: 0;
|
||||
display: inline;
|
||||
}
|
||||
.parent_portal .edit {
|
||||
display: inline-block;
|
||||
margin-left: 0.2em;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
.parent_portal .edit img {
|
||||
vertical-align: top;
|
||||
}
|
||||
.parent_portal .child p {
|
||||
margin: 0 0 1ex 1em;
|
||||
|
|
Loading…
Reference in New Issue