mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
start visibility
This commit is contained in:
parent
7a9c7b6dc3
commit
8ff8cbc408
@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
</a>
|
</a>
|
||||||
<div id="translate_example">
|
<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">
|
<div class="lang-choices">
|
||||||
<button class="btn btn-info" (click)="switchLanguage('en')">en</button>
|
<button class="btn btn-info" (click)="switchLanguage('en')">en</button>
|
||||||
<button class="btn btn-info" (click)="switchLanguage('fr')">fr</button>
|
<button class="btn btn-info" (click)="switchLanguage('fr')">fr</button>
|
||||||
|
@ -34,16 +34,17 @@ export const defaultDates = [
|
|||||||
export class PollConfig {
|
export class PollConfig {
|
||||||
step = 0;
|
step = 0;
|
||||||
stepMax = 3;
|
stepMax = 3;
|
||||||
pollType = 'classic';
|
pollType = 'classic';// classic or date
|
||||||
title = '';
|
title = '';
|
||||||
description = '';
|
description = '';
|
||||||
myName = '';
|
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';
|
allowSeveralHours = 'false';
|
||||||
// access
|
// access
|
||||||
visibility = 'link_only'; // visible to anyone with the link:
|
visibility = 'link_only'; // visible to anyone with the link:
|
||||||
password = '';
|
password = '';
|
||||||
|
customUrl = '';
|
||||||
whoCanChangeAnswers = 'everybody';// everybody, self, nobody (= just admin)
|
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
|
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
|
timeList: DateOption[] = timeOfDay; // ranges of time expressed as strings
|
||||||
@ -51,7 +52,6 @@ export class PollConfig {
|
|||||||
id: 0,
|
id: 0,
|
||||||
text: 'réponse de démo 1'
|
text: 'réponse de démo 1'
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
text: 'réponse 2'
|
text: 'réponse 2'
|
||||||
|
@ -20,11 +20,11 @@
|
|||||||
<label for="answer-visible">puisse voir les réponses au sondage</label>
|
<label for="answer-visible">puisse voir les réponses au sondage</label>
|
||||||
</section>
|
</section>
|
||||||
<h3>Votes</h3>
|
<h3>Votes</h3>
|
||||||
<section class="row">
|
<section>
|
||||||
<label for="vote-date">Les personnes sondées pourront voter jusqu'au</label>
|
<label for="vote-date">Les personnes sondées pourront voter jusqu'au</label>
|
||||||
<input type="date" name="vote-date">
|
<input type="date" name="vote-date">
|
||||||
</section>
|
</section>
|
||||||
<section class="row">
|
<section>
|
||||||
<label for="alter-vote">Elles</label>
|
<label for="alter-vote">Elles</label>
|
||||||
<select name="alter-vote">
|
<select name="alter-vote">
|
||||||
<option value="yes" selected>auront</option>
|
<option value="yes" selected>auront</option>
|
||||||
@ -61,15 +61,40 @@
|
|||||||
<input class="btn btn--alert" type="submit" name="del" value="Supprimer le sondage">
|
<input class="btn btn--alert" type="submit" name="del" value="Supprimer le sondage">
|
||||||
<h2>Liens d'accès au sondage</h2>
|
<h2>Liens d'accès au sondage</h2>
|
||||||
<h3>Coté administrateur·ice</h3>
|
<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">
|
<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>
|
<a href="#" class="next">Voir le sondage coté administrateur·ice</a>
|
||||||
<h3>Côté sondé·es</h3>
|
<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">
|
<input class="btn btn--mini" type="submit" name="copy-link" value="Copier le lien">
|
||||||
<a href="#" class="next">Voir le sondage</a>
|
<a href="#" class="next">Voir le sondage</a>
|
||||||
<h3>Recevoir les liens par mail</h3>
|
<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>
|
<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 type="email" name="mail">
|
||||||
<input class="btn btn--mini" type="submit" name="send-mail" value="Envoyer les liens du sondage">
|
<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>
|
</form>
|
||||||
|
@ -1,14 +1,46 @@
|
|||||||
<h1 i18n>
|
<h1 i18n>
|
||||||
|
{{"visibility.top_txt"|translate}}
|
||||||
{{"visibility.title"|translate}}
|
{{"visibility.title"|translate}}
|
||||||
</h1>
|
|
||||||
<h1 i18n>
|
{{"visibility.visibility_want"|translate}}
|
||||||
{{"visibility.votes"|translate}}
|
{{"visibility.visibility_link"|translate}}
|
||||||
</h1>
|
{{"visibility.visibility_nobody"|translate}}
|
||||||
<h1 i18n>
|
{{"visibility.visibility_see"|translate}}
|
||||||
{{"visibility.archiving"|translate}}
|
|
||||||
</h1>
|
</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}}
|
{{"visibility.access"|translate}}
|
||||||
</h1>
|
</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>
|
<a [routerLink]="'/step/end'" class="btn btn--primary" i18n="@@confirm">C'est parfait!</a>
|
||||||
|
@ -26,6 +26,9 @@
|
|||||||
<a [routerLink]="'/graphic/toto'" i18n>
|
<a [routerLink]="'/graphic/toto'" i18n>
|
||||||
Graphique
|
Graphique
|
||||||
</a>
|
</a>
|
||||||
|
<a [routerLink]="'/step/admin'" i18n>
|
||||||
|
Administration
|
||||||
|
</a>
|
||||||
<a [routerLink]="'/home'" i18n>
|
<a [routerLink]="'/home'" i18n>
|
||||||
Accueil
|
Accueil
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user