Skip to content

Commit

Permalink
Corrige l'alignement des boutons et retire les icones inutiles
Browse files Browse the repository at this point in the history
  • Loading branch information
funelie authored and LoanR committed Mar 29, 2024
1 parent 8ca5002 commit 5c7fea3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
1 change: 1 addition & 0 deletions web/b3desk/static/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ footer{
form.delete {
display: inline-block;
text-align: center;
width: 100%;
}


Expand Down
12 changes: 10 additions & 2 deletions web/b3desk/templates/meeting/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,18 @@ <h1 id="delete-file-{{ file.id }}-title" class="fr-modal__title">
Supprimer
</h1>
<p class="padbot">Voulez-vous vraiment supprimer le fichier <em>{{ file.short_title }}</em> ?</p>
</div>
<div class="fr-modal__footer">
<form action="{{ url_for("meeting_files.delete_meeting_file") }}" method="POST" onsubmit="deleteFile(event)">
<input class="fr-input" type="hidden" name="id" value="{{ file.id }}" />
<button type="submit" class="fr-btn fr-btn--primary" >Supprimer</button>
<button type="reset" class="fr-btn fr-btn--secondary" aria-controls="delete-file-{{ file.id }}" title="Annuler">Annuler</button>
<ul class="fr-btns-group fr-btns-group--inline-reverse fr-btns-group--inline-lg fr-btns-group--right">
<li>
<button type="submit" class="fr-btn fr-btn--primary fr-btn--delete" >Supprimer</button>
</li>
<li>
<button type="reset" class="fr-btn fr-btn--secondary" aria-controls="delete-file-{{ file.id }}" title="Annuler">Annuler</button>
</li>
</ul>
{% include 'meeting/csrf.html' %}
</form>
</div>
Expand Down
4 changes: 2 additions & 2 deletions web/b3desk/templates/meeting/modals/delete.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
</div>
<div class="fr-modal__content">
<h1 id="delete-{{ meeting.id }}-title" class="fr-modal__title">
<span class="fr-icon-arrow-right-line fr-icon--lg" aria-hidden="true"></span>
<span class="" aria-hidden="true"></span>
Supprimer "<em>{{ meeting.name }}</em>" ?
</h1>
<p>Voulez-vous vraiment supprimer {{ the_meeting }} "<em>{{ meeting.name }}</em>" ?</p>
<div class="fr-notice fr-notice--info">
<div class="fr-container">
<div class="fr-notice__body">
<p class="fr-notice__title">La suppression est définitive</p>
<p>Si vous supprimez cette salle, tous les médias (documents importés et enregistrements) qui lui sont rattachés seront supprimés.</p>
</div>
<p>Si vous supprimez cette salle, tous les médias (documents importés et enregistrements) qui lui sont rattachés seront supprimés.</p>
</div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions web/b3desk/templates/meeting/modals/invite.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<div class="fr-modal__content">
<h2 id="share-{{ meeting.id }}-title" class="fr-modal__title">
<span class="fr-icon-arrow-right-line fr-icon--lg" aria-hidden="true"></span>
<span class="" aria-hidden="true"></span>
Inviter les modérateurs
</h2>
<p>En leur envoyant l’adresse ci-dessous :</p>
Expand All @@ -30,7 +30,7 @@ <h2 id="share-{{ meeting.id }}-title" class="fr-modal__title">
<a class="fr-link" target="_blank" rel="noopener" href="{{ url_for("join.join_meeting_as_role", meeting=meeting, role=Role.moderator) }}">Rejoindre {{ the_meeting }} en tant que modérateur principal</a>
</p>
<h2 id="share-{{ meeting.id }}-title" class="fr-modal__title">
<span class="fr-icon-arrow-right-line fr-icon--lg" aria-hidden="true"></span>Inviter les participants</h2>
<span class="" aria-hidden="true"></span>Inviter les participants</h2>
<p>En leur envoyant l’adresse ci-dessous :</p>
<div class="fr-grid-row fr-text--sm">
<div class="fr-col-xs-9 fr-col-sm-10">
Expand All @@ -48,7 +48,7 @@ <h2 id="share-{{ meeting.id }}-title" class="fr-modal__title">
</p>

<h2 id="share-{{ meeting.id }}-title" class="fr-modal__title">
<span class="fr-icon-arrow-right-line fr-icon--lg" aria-hidden="true"></span>Inviter les participants authentifiés {% if config.OIDC_ATTENDEE_SERVICE_NAME %}via {{ config.OIDC_ATTENDEE_SERVICE_NAME }} {% endif %}</h2>
<span class="" aria-hidden="true"></span>Inviter les participants authentifiés {% if config.OIDC_ATTENDEE_SERVICE_NAME %}via {{ config.OIDC_ATTENDEE_SERVICE_NAME }} {% endif %}</h2>
<p>En leur envoyant l’adresse ci-dessous :</p>
<div class="fr-grid-row fr-text--sm">
<div class="fr-col-xs-9 fr-col-sm-10">
Expand Down

0 comments on commit 5c7fea3

Please sign in to comment.