forked from tykayn/funky-framadate-front
start visibility
This commit is contained in:
parent
7a9c7b6dc3
commit
8ff8cbc408
@ -7,6 +7,8 @@
|
||||
|
||||
</a>
|
||||
<div id="translate_example">
|
||||
<img src="assets/img/icone-langue.svg" alt="location icon">
|
||||
<img src="assets/img/icone-menu.svg" alt="menu icon">
|
||||
<div class="lang-choices">
|
||||
<button class="btn btn-info" (click)="switchLanguage('en')">en</button>
|
||||
<button class="btn btn-info" (click)="switchLanguage('fr')">fr</button>
|
||||
|
@ -34,16 +34,17 @@ export const defaultDates = [
|
||||
export class PollConfig {
|
||||
step = 0;
|
||||
stepMax = 3;
|
||||
pollType = 'classic';
|
||||
pollType = 'classic';// classic or date
|
||||
title = '';
|
||||
description = '';
|
||||
myName = '';
|
||||
|
||||
// date specific poll
|
||||
// date specific poll, we have the choice to setup different hours (timeList) for all possible dates (dateList), or use the same hours for all dates
|
||||
allowSeveralHours = 'false';
|
||||
// access
|
||||
visibility = 'link_only'; // visible to anyone with the link:
|
||||
password = '';
|
||||
customUrl = '';
|
||||
whoCanChangeAnswers = 'everybody';// everybody, self, nobody (= just admin)
|
||||
dateList: DateOption[] = defaultDates; // sets of days as strings, config to set identical time for days in a special days poll
|
||||
timeList: DateOption[] = timeOfDay; // ranges of time expressed as strings
|
||||
@ -51,7 +52,6 @@ export class PollConfig {
|
||||
id: 0,
|
||||
text: 'réponse de démo 1'
|
||||
},
|
||||
|
||||
{
|
||||
id: 1,
|
||||
text: 'réponse 2'
|
||||
|
@ -20,11 +20,11 @@
|
||||
<label for="answer-visible">puisse voir les réponses au sondage</label>
|
||||
</section>
|
||||
<h3>Votes</h3>
|
||||
<section class="row">
|
||||
<section>
|
||||
<label for="vote-date">Les personnes sondées pourront voter jusqu'au</label>
|
||||
<input type="date" name="vote-date">
|
||||
</section>
|
||||
<section class="row">
|
||||
<section>
|
||||
<label for="alter-vote">Elles</label>
|
||||
<select name="alter-vote">
|
||||
<option value="yes" selected>auront</option>
|
||||
@ -61,15 +61,40 @@
|
||||
<input class="btn btn--alert" type="submit" name="del" value="Supprimer le sondage">
|
||||
<h2>Liens d'accès au sondage</h2>
|
||||
<h3>Coté administrateur·ice</h3>
|
||||
<label for="copy-link-admin">Pour accéder au sondage et à tous ses paramètres : https://framadate.org/urladmindusondage</label>
|
||||
<label for="copy-link-admin">Pour accéder au sondage et à tous ses paramètres :
|
||||
https://framadate.org/urladmindusondage</label>
|
||||
<input class="btn btn--mini" type="submit" name="copy-link-admin" value="Copier le lien">
|
||||
<a href="#" class="next">Voir le sondage coté administrateur·ice</a>
|
||||
<h3>Côté sondé·es</h3>
|
||||
<label for="copy-link">Pour accéder au sondage et à tous ses paramètres : https://framadate.org/urladmindusondage</label>
|
||||
<label for="copy-link">Pour accéder au sondage et à tous ses paramètres :
|
||||
https://framadate.org/urladmindusondage</label>
|
||||
<input class="btn btn--mini" type="submit" name="copy-link" value="Copier le lien">
|
||||
<a href="#" class="next">Voir le sondage</a>
|
||||
<h3>Recevoir les liens par mail</h3>
|
||||
<label for="mail">Pour être sur de retrouver ces liens, nous pouvons vous les envoyer sur votre mail :</label>
|
||||
<input type="email" name="mail">
|
||||
<input class="btn btn--mini" type="submit" name="send-mail" value="Envoyer les liens du sondage">
|
||||
|
||||
<section class="deletion">
|
||||
{{"admin.deletion"|translate}}
|
||||
{{"admin.deletion_desc"|translate}}
|
||||
{{"admin.deletion_btn"|translate}}
|
||||
|
||||
</section>
|
||||
<section class="links">
|
||||
{{"admin.link"|translate}}
|
||||
{{"admin.link_admin"|translate}}
|
||||
{{"admin.link_admin_desc"|translate}}
|
||||
{{"admin.link_admin_btn"|translate}}
|
||||
{{"admin.copy_link"|translate}}
|
||||
|
||||
{{"admin.polled_people"|translate}}
|
||||
{{"admin.polled_people_desc"|translate}}
|
||||
{{"admin.polled_people_btn"|translate}}
|
||||
{{"admin.email_links"|translate}}
|
||||
{{"admin.email_links_desc"|translate}}
|
||||
{{"admin.email_links_key"|translate}}
|
||||
{{"admin.email_links_btn"|translate}}
|
||||
</section>
|
||||
|
||||
</form>
|
||||
|
@ -1,14 +1,46 @@
|
||||
<h1 i18n>
|
||||
{{"visibility.top_txt"|translate}}
|
||||
{{"visibility.title"|translate}}
|
||||
</h1>
|
||||
<h1 i18n>
|
||||
{{"visibility.votes"|translate}}
|
||||
</h1>
|
||||
<h1 i18n>
|
||||
{{"visibility.archiving"|translate}}
|
||||
|
||||
{{"visibility.visibility_want"|translate}}
|
||||
{{"visibility.visibility_link"|translate}}
|
||||
{{"visibility.visibility_nobody"|translate}}
|
||||
{{"visibility.visibility_see"|translate}}
|
||||
|
||||
</h1>
|
||||
|
||||
<h1 i18n>
|
||||
<section>
|
||||
<h1>
|
||||
{{"visibility.votes"|translate}}
|
||||
</h1>
|
||||
{{"visibility.votes_possible"|translate}}
|
||||
{{"visibility.votes_possible_single"|translate}}
|
||||
{{"visibility.votes_possible_normal"|translate}}
|
||||
{{"visibility.votes_possible_full"|translate}}
|
||||
|
||||
|
||||
</section>
|
||||
<section class="visibility">
|
||||
|
||||
<h1>
|
||||
{{"visibility.archiving"|translate}}
|
||||
</h1>
|
||||
{{"visibility.archiving_start"|translate}}
|
||||
{{"visibility.archiving_can"|translate}}
|
||||
{{"visibility.archiving_can_not"|translate}}
|
||||
{{"visibility.archiving_end"|translate}}
|
||||
|
||||
|
||||
</section>
|
||||
<section class="access">
|
||||
<h1>
|
||||
{{"visibility.access"|translate}}
|
||||
</h1>
|
||||
{{"visibility.access_want"|translate}}
|
||||
{{"visibility.access_want_yes"|translate}}
|
||||
{{"visibility.access_want_no"|translate}}
|
||||
{{"visibility.access_protect"|translate}}
|
||||
|
||||
</section>
|
||||
|
||||
<a [routerLink]="'/step/end'" class="btn btn--primary" i18n="@@confirm">C'est parfait!</a>
|
||||
|
@ -26,6 +26,9 @@
|
||||
<a [routerLink]="'/graphic/toto'" i18n>
|
||||
Graphique
|
||||
</a>
|
||||
<a [routerLink]="'/step/admin'" i18n>
|
||||
Administration
|
||||
</a>
|
||||
<a [routerLink]="'/home'" i18n>
|
||||
Accueil
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user