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

40 lines
1.0 KiB
HTML

<div class="container has-text-centered">
<div class="columns">
<div class="column">
<h1>Mes sondages</h1>
</div>
</div>
<div *ngIf="pollsAreLoaded">
<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">
<th>{{ poll.title }}</th>
<td>
<a routerLink="{{ '../../poll/' + poll.slug + '/consultation' }}">
{{ poll.slug }}
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="columns">
<div class="column">
<form (submit)="sendRetrieveEmail()">
<label for="search_field">
<img src="assets/img/undraw_prototyping_process_rswj.svg" alt="image my polls" />
<input type="email" id="search_field" autofocus="autofocus" placeholder="contact@exemple.com" />
</label>
<button class="button is-primary">
envoyez-moi la liste par email
</button>
</form>
</div>
</div>
</div>