funky-framadate-front/src/app/features/user-profile/user-polls/user-polls.component.html

37 lines
916 B
HTML
Raw Normal View History

2020-05-01 19:10:17 +02:00
<div class="container has-text-centered">
<div class="columns">
<div class="column">
<h1>Mes sondages</h1>
2020-05-01 19:10:17 +02:00
</div>
</div>
<div *ngIf="pollsAreLoaded">
2020-05-01 19:10:17 +02:00
<div class="columns">
<div class="column">
<table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth">
<thead></thead>
<tbody>
<tr *ngFor="let poll of (_user | async)?.polls">
2020-05-12 19:16:23 +02:00
<th>{{ poll.question }}</th>
2020-05-01 19:10:17 +02:00
<td>
2020-06-25 22:42:26 +02:00
<a routerLink="{{ '../../poll/' + poll.slug + '/consultation' }}">
2020-05-12 19:16:23 +02:00
{{ poll.slug }}
2020-05-01 19:10:17 +02:00
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="columns">
<div class="column">
<form (submit)="sendRetrieveEmail()">
<input type="email" autofocus="autofocus" placeholder="contact@exemple.com" />
<button class="button is-primary">
envoyez-moi la liste par email
2020-05-01 19:10:17 +02:00
</button>
</form>
2020-05-01 19:10:17 +02:00
</div>
</div>
</div>