funky-framadate-front/src/app/features/administration/success/success.component.html

70 lines
2.2 KiB
HTML
Raw Normal View History

2021-11-08 17:24:28 +01:00
<section class="hero is-medium has-background-success">
2020-12-16 17:21:01 +01:00
<div class="hero-body">
<div class="container has-text-centered">
2021-05-03 13:56:00 +02:00
<div class="main-block">
<h1 class="title is-1">🎉 {{ 'resume.title' | translate }}</h1>
<h2 class="subtitle">
Votre sondage «
<strong class="poll-title">
{{ pollService.form.value.title }}
2021-05-03 13:56:00 +02:00
</strong>
» a bien été créé !
</h2>
</div>
2020-12-16 17:21:01 +01:00
</div>
</div>
</section>
<div class="container padded">
<div class="has-text-centered">
<div class="main-block">
<div class="admin">
<h2 class="title is-2">
{{ 'resume.admins' | translate }}
</h2>
<p>
Voici les liens daccès au sondage, conservez-les soigneusement ! (Si vous les perdez vous pourrez
toujours les recevoir par email)
</p>
<h2 class="title is-2">
Côté admin
</h2>
<p>
Pour accéder au sondage et à tous ses paramètres :
<br />
<a class="button is-info" routerLink="/admin/{{ pollService.form.value.admin_key }}"
>{{ pollService.getAdministrationUrlFromForm() }}
</a>
<app-copy-text [textToCopy]="pollService.getAdministrationUrlFromForm()"></app-copy-text>
</p>
2021-05-03 13:56:00 +02:00
<br />
<a class="button is-info" [href]="pollService.getAdministrationUrlFromForm()">
Voir le sondage coté administrateur·ice
</a>
2021-05-03 13:56:00 +02:00
<br />
<p class="note">
Note : Le sondage sera supprimé {{ pollService.form.value.default_expiracy_days_from_now }} jours
après la date de sa dernière modification.
<span class="expiracy-detail" *ngIf="poll.expiracy_date">
Le {{ pollService.form.value.expiracy_date | date: 'short' }}
</span>
</p>
</div>
<div class="public">
<h2 class="title is-2" i18n>{{ 'resume.users' | translate }}</h2>
<p>
2021-05-03 13:56:00 +02:00
Pour voir le sondage :
<br />
<a class="button is-info" [href]="pollService.getParticipationUrlFromForm()"
>{{ pollService.getParticipationUrlFromForm() }}
</a>
</p>
<br />
<app-copy-text [textToCopy]="pollService.getParticipationUrlFromForm()"></app-copy-text>
2021-05-03 13:56:00 +02:00
<br />
</div>
<!-- <img src="assets/img/undraw_group_selfie_ijc6.svg" alt="image succès" />-->
</div>
</div>
</div>