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

90 lines
2.8 KiB
HTML
Raw Normal View History

2020-12-16 17:21:01 +01:00
<section class="hero is-medium is-success">
<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.getAdministrationUrl() }}
</a>
2021-05-03 13:56:00 +02:00
<app-copy-text [textToCopy]="pollService.getAdministrationUrl()"></app-copy-text>
</p>
2021-05-03 13:56:00 +02:00
<br />
<a class="button is-info" [href]="pollService.getAdministrationUrl()">
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" routerLink="/poll/{{ pollService.form.value.custom_url }}/consultation"
2021-05-03 13:56:00 +02:00
>{{ pollService.getParticipationUrl() }}
</a>
</p>
<br />
2021-05-03 13:56:00 +02:00
<app-copy-text [textToCopy]="pollService.getParticipationUrl()"></app-copy-text>
<br />
</div>
<!-- <img src="assets/img/undraw_group_selfie_ijc6.svg" alt="image succès" />-->
</div>
<section class="mail">
<h2 i18n>{{ 'resume.links_mail' | translate }}</h2>
<p>
<label for="email">
Pour être sûr de retrouver ces liens, nous pouvons vous les envoyer sur votre mail :
</label>
<br />
2021-05-20 11:04:29 +02:00
<input type="email" id="email" name="email" [(ngModel)]="poll.creatorEmail" placeholder="email" />
<br />
<button class="btn btn--primary" (click)="sendToEmail()">
Envoyer les liens du sondage
<i class="fa fa-paper-plane" aria-hidden="true"></i>
</button>
<br />
<br />
<a class="button is-info" href="{{ pollService.form.value.custom_url }}">
Voir le sondage côté public
</a>
</p>
</section>
</div>
</div>