2019-11-18 19:32:14 +01:00
|
|
|
<form>
|
2020-01-16 14:37:11 +01:00
|
|
|
<h1>Nom du sondage</h1>
|
|
|
|
|
|
|
|
<!--Infos-->
|
2020-04-14 11:28:33 +02:00
|
|
|
<h2>{{ 'admin.info_section_title' | translate }}</h2>
|
2020-01-16 14:37:11 +01:00
|
|
|
|
|
|
|
<label for="title">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'admin.choose_title' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
2020-04-14 11:28:33 +02:00
|
|
|
<input type="text" name="title" />
|
2020-01-16 14:37:11 +01:00
|
|
|
|
|
|
|
<label for="desc">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'admin.description' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
|
|
|
<textarea name="desc"> </textarea>
|
|
|
|
|
|
|
|
<label for="name">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'creation.name' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
2020-04-14 11:28:33 +02:00
|
|
|
<input type="text" name="name" />
|
2020-01-16 14:37:11 +01:00
|
|
|
|
|
|
|
<!--Params-->
|
2020-04-14 11:28:33 +02:00
|
|
|
<h2>{{ 'admin.settings_section_title' | translate }}</h2>
|
|
|
|
<h3>{{ 'visibility.title' | translate }}</h3>
|
2020-01-16 14:37:11 +01:00
|
|
|
|
|
|
|
<section class="row">
|
|
|
|
<label for="answer-visible">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.visibility_want' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
|
|
|
<select name="answer-visible">
|
|
|
|
<option value="all" selected>
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.visibility_link' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</option>
|
|
|
|
<option value="per">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.visibility_nobody' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
<label for="answer-visible">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.visibility_see' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
|
|
|
</section>
|
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
<h3>{{ 'visibility.votes' | translate }}</h3>
|
2020-01-16 14:37:11 +01:00
|
|
|
<section>
|
|
|
|
<label for="vote-date">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.archiving' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
2020-04-14 11:28:33 +02:00
|
|
|
<input type="date" name="vote-date" />
|
2020-01-16 14:37:11 +01:00
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<label for="alter-vote">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.archiving_start' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
|
|
|
<select name="alter-vote">
|
|
|
|
<option value="yes" selected>
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.archiving_can' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</option>
|
|
|
|
<option value="no">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.archiving_can_not' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
<label for="type-vote">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.archiving_end' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
|
|
|
<select name="type-vote">
|
|
|
|
<option value="solo" selected>
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.modfiy_their' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</option>
|
|
|
|
<option value="all">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.modfiy_everyone' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<label for="del-vote">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'admin.votes_deletion_desc' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
2020-04-14 11:28:33 +02:00
|
|
|
<button class="btn btn--alert btn--outline" (click)="config.deleteVotes()">
|
2020-01-16 14:37:11 +01:00
|
|
|
<i class="fa fa-trash"></i>
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'admin.votes_deletion_btn' | translate }}
|
|
|
|
<i class="fa fa-object-group"></i>
|
|
|
|
</button>
|
2020-01-16 14:37:11 +01:00
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
<h3>{{ 'admin.comments_deletion_title' | translate }}</h3>
|
2020-01-16 14:37:11 +01:00
|
|
|
<label for="del-com">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'admin.comments_deletion_desc' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
<button class="btn btn--alert btn--outline" (click)="config.deleteComments()">
|
2020-01-16 14:37:11 +01:00
|
|
|
<i class="fa fa-trash"></i>
|
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'admin.comments_deletion_btn' | translate }}
|
|
|
|
<i class="fa fa-comments-o"></i>
|
|
|
|
</button>
|
2020-01-16 14:37:11 +01:00
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
<h3>{{ 'admin.archiving_title' | translate }}</h3>
|
2020-01-16 14:37:11 +01:00
|
|
|
<section class="row">
|
|
|
|
<label for="arch">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'admin.archiving_desc' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
2020-04-14 11:28:33 +02:00
|
|
|
<input type="date" name="arch" />
|
2020-01-16 14:37:11 +01:00
|
|
|
</section>
|
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
<h3>{{ 'visibility.access' | translate }}</h3>
|
2020-01-16 14:37:11 +01:00
|
|
|
<section class="row">
|
|
|
|
<label for="password">Je</label>
|
|
|
|
<select name="password">
|
|
|
|
<option value="yes" selected>
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.access_want_yes' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</option>
|
|
|
|
<option value="no">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.access_want_no' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
<label for="alter-vote">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'visibility.access_protect' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
</label>
|
|
|
|
</section>
|
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
<h3>{{ 'admin.deletion' | translate }}</h3>
|
|
|
|
<label for="del"> {{ 'admin.deletion_desc' | translate }} </label>
|
|
|
|
<input class="btn btn--alert" type="submit" name="del" value="{{ 'admin.deletion_btn' | translate }}" />
|
2020-01-16 14:37:11 +01:00
|
|
|
|
|
|
|
<!-- Access link -->
|
2020-04-14 11:28:33 +02:00
|
|
|
<h2>{{ 'admin.link' | translate }}</h2>
|
|
|
|
<h3>{{ 'admin.link_admin' | translate }}</h3>
|
2020-01-16 14:37:11 +01:00
|
|
|
|
|
|
|
<label for="copy-link-admin">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'admin.link_admin_desc' | translate }}
|
2020-01-16 14:37:11 +01:00
|
|
|
https://framadate.org/urladmindusondage
|
|
|
|
</label>
|
2020-04-14 11:28:33 +02:00
|
|
|
<input class="btn btn--mini" type="submit" name="copy-link-admin" value="{{ 'admin.copy_link' | translate }}" />
|
|
|
|
<a href="#" class="next">{{ 'admin.link_admin_btn' | translate }}</a>
|
2020-01-16 14:37:11 +01:00
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
<h3>{{ 'admin.polled_people' | translate }}</h3>
|
2020-01-16 14:37:11 +01:00
|
|
|
<label for="copy-link">
|
2020-04-14 11:28:33 +02:00
|
|
|
{{ 'admin.polled_people_desc' | translate }}
|
|
|
|
{{ config.urlPublic }}</label
|
|
|
|
>
|
|
|
|
<input class="btn btn--mini" type="submit" name="copy-link" value="{{ 'admin.copy_link' | translate }}" />
|
|
|
|
<a href="#" class="next">{{ 'admin.polled_people_btn' | translate }}</a>
|
2020-01-16 14:37:11 +01:00
|
|
|
|
2020-04-14 11:28:33 +02:00
|
|
|
<h3>{{ 'admin.email_links' | translate }}</h3>
|
|
|
|
<label for="mail">{{ 'admin.email_links_desc' | translate }}</label>
|
|
|
|
<input type="email" name="mail" />
|
|
|
|
<input class="btn btn--mini" type="submit" name="send-mail" value="{{ 'admin.email_links_btn' | translate }}" />
|
2019-11-18 19:32:14 +01:00
|
|
|
</form>
|
2020-01-16 14:37:11 +01:00
|
|
|
<p-confirmDialog header="Confirmation" icon="pi pi-exclamation-triangle"></p-confirmDialog>
|