2020-04-14 11:28:33 +02:00
|
|
|
<div class="poll">
|
|
|
|
<button class="btn btn--primary" (click)="config.execStuff()" *ngIf="config.isAdmin">
|
2020-04-11 17:23:52 +02:00
|
|
|
launch admin action execStuff !
|
2020-04-14 11:28:33 +02:00
|
|
|
</button>
|
|
|
|
<button class="btn btn--primary" (click)="config.exportJson()" *ngIf="config.isAdmin">
|
|
|
|
<i class="fa fa-file-archive-o"></i>
|
2020-04-11 17:23:52 +02:00
|
|
|
export CSV
|
2020-04-14 11:28:33 +02:00
|
|
|
</button>
|
2020-04-11 17:23:52 +02:00
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
<div class="loading" *ngIf="config.loading">
|
|
|
|
<i class="fa fa-refresh fa-spin"></i>
|
|
|
|
</div>
|
|
|
|
<div class="loaded-poll" *ngIf="!config.loading && config.currentPoll">
|
|
|
|
<div id="choices">
|
|
|
|
<framadate-choices-list></framadate-choices-list>
|
|
|
|
</div>
|
|
|
|
<div id="table">
|
2020-02-05 10:54:30 +01:00
|
|
|
<!-- <framadate-voting-navigation ></framadate-voting-navigation >-->
|
2020-04-14 11:28:33 +02:00
|
|
|
<framadate-voting-summary></framadate-voting-summary>
|
|
|
|
</div>
|
|
|
|
<div id="poll_comments">
|
|
|
|
<framadate-comments-list></framadate-comments-list>
|
|
|
|
</div>
|
|
|
|
<div id="graph">
|
2020-02-05 10:54:30 +01:00
|
|
|
<!--<framadate-voting-graph ></framadate-voting-graph >-->
|
2020-04-14 11:28:33 +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-04-14 11:28:33 +02:00
|
|
|
<i class="fa fa-share"></i>
|
|
|
|
</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-14 11:28:33 +02:00
|
|
|
<framadate-copy-text [textToCopy]="config.currentPoll.urlPublic"></framadate-copy-text>
|
|
|
|
<h3 class="margin-top-x6 margin-btm-x3">
|
2020-02-05 10:54:30 +01:00
|
|
|
Exporter/Imprimer
|
2020-04-14 11:28:33 +02:00
|
|
|
</h3>
|
2020-02-05 10:54:30 +01:00
|
|
|
<input
|
|
|
|
type="submit"
|
|
|
|
name="export"
|
|
|
|
class="margin-btm-x3 btn btn--primary btn--outline"
|
|
|
|
value="Exporter en .csv"
|
2020-04-14 11:28:33 +02:00
|
|
|
(click)="config.exportCSV()"
|
|
|
|
/>
|
2020-02-05 10:54:30 +01:00
|
|
|
<input
|
|
|
|
type="submit"
|
|
|
|
name="copy-link"
|
|
|
|
class="btn btn--primary btn--outline"
|
|
|
|
value="Imprimer le sondage"
|
2020-04-14 11:28:33 +02:00
|
|
|
(click)="config.print()"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="badly-loaded" *ngIf="config.loading && !config.currentPoll">
|
|
|
|
<div class="well is-warning">
|
2020-02-05 10:54:30 +01:00
|
|
|
No current poll available
|
2020-04-14 11:28:33 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|