framadate-responsive/mocks/old-stuff/pages/poll/poll-display/poll-display.component.html

60 lines
1.8 KiB
HTML
Raw Normal View History

<div class="poll">
2020-04-21 10:50:26 +02:00
<button class="btn btn--primary" (click)="config.execStuff()" *ngIf="config.isAdmin">
launch admin action execStuff !
</button>
<button class="btn btn--primary" (click)="config.exportJson()" *ngIf="config.isAdmin">
2020-05-12 19:16:23 +02:00
<i class="fa fa-file-archive-o" aria-hidden="true"></i>
2021-04-26 11:27:44 +02:00
export json
2020-04-21 10:50:26 +02:00
</button>
2020-04-11 17:23:52 +02:00
2020-04-21 10:50:26 +02:00
<div class="loading" *ngIf="config.loading">
2020-05-12 19:16:23 +02:00
<i class="fa fa-refresh fa-spin" aria-hidden="true"></i>
2020-04-21 10:50:26 +02:00
</div>
<div class="loaded-poll" *ngIf="!config.loading && config.currentPoll">
<div id="choices">
2020-04-22 12:56:18 +02:00
<app-choices-list></app-choices-list>
2020-04-21 10:50:26 +02:00
</div>
<div id="table">
2020-04-22 12:56:18 +02:00
<!-- <app-voting-navigation ></app-voting-navigation >-->
<app-voting-summary></app-voting-summary>
2020-04-21 10:50:26 +02:00
</div>
<div id="poll_comments">
2020-04-22 12:56:18 +02:00
<app-comments-list></app-comments-list>
2020-04-21 10:50:26 +02:00
</div>
<div id="graph">
2020-04-22 12:56:18 +02:00
<!--<app-voting-graph ></app-voting-graph >-->
2020-04-21 10:50:26 +02:00
</div>
<div id="export_and_share">
<div class="sharing" *ngIf="config.currentPoll">
<h3 class="margin-top-x8">
Partager le sondage
2020-01-29 17:30:39 +01:00
2020-05-12 19:16:23 +02:00
<i class="fa fa-share" aria-hidden="true"></i>
2020-04-21 10:50:26 +02:00
</h3>
<p class="nobold text-14" for="copyLink">
Pour partager le sondage, vous pouvez diffuser ce lien :
<a href="{{ config.currentPoll.urlPublic }}">
{{ config.currentPoll.urlPublic }}
</a>
</p>
2020-02-05 10:54:30 +01:00
2020-04-22 12:56:18 +02:00
<app-copy-text [textToCopy]="config.currentPoll.urlPublic"></app-copy-text>
2020-04-21 10:50:26 +02:00
<h3 class="margin-top-x6 margin-btm-x3">
Exporter/Imprimer
</h3>
<button class="export export-csv" (click)="config.exportCSV()">
Exporter en .csv
</button>
<button class="export export-print" (click)="config.print()">
Imprimer le sondage
</button>
</div>
</div>
</div>
<div class="badly-loaded" *ngIf="config.loading && !config.currentPoll">
<div class="well is-warning">
No current poll available
</div>
</div>
</div>