mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
home modal to search for polls by email, style, buttons in footer
This commit is contained in:
parent
e09429d0d8
commit
c3b1df4fc7
@ -33,7 +33,6 @@
|
|||||||
src="{{ environment.appLanding }}"
|
src="{{ environment.appLanding }}"
|
||||||
alt="{{ environment.appTitle }}"
|
alt="{{ environment.appTitle }}"
|
||||||
/>
|
/>
|
||||||
<!-- <img src="assets/img/icone_home.png" alt="calendrier icone framadate" />-->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -41,6 +40,9 @@
|
|||||||
<h1 class="title is-1">Titre h1</h1>
|
<h1 class="title is-1">Titre h1</h1>
|
||||||
<h2 class="title is-2">Titre h2</h2>
|
<h2 class="title is-2">Titre h2</h2>
|
||||||
<h3 class="title is-3">Titre h3</h3>
|
<h3 class="title is-3">Titre h3</h3>
|
||||||
|
<h4 class="title is-4">Titre h4</h4>
|
||||||
|
<h5 class="title is-5">Titre h5</h5>
|
||||||
|
<h6 class="title is-6">Titre h6</h6>
|
||||||
<button class="is-primary is-disabled">bouton primaire inactif</button>
|
<button class="is-primary is-disabled">bouton primaire inactif</button>
|
||||||
<button class="is-primary">bouton primaire</button>
|
<button class="is-primary">bouton primaire</button>
|
||||||
<button class="is-primary is-thin">bouton primaire fin</button>
|
<button class="is-primary is-thin">bouton primaire fin</button>
|
||||||
@ -93,6 +95,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- dialog search-->
|
<!-- dialog search-->
|
||||||
|
|
||||||
|
<form (ngSubmit)="searchMyPolls()">
|
||||||
<p-dialog
|
<p-dialog
|
||||||
[modal]="true"
|
[modal]="true"
|
||||||
[(visible)]="display_poll_search_dialog"
|
[(visible)]="display_poll_search_dialog"
|
||||||
@ -114,7 +118,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="">
|
<div class="">
|
||||||
<section class="search">
|
<section class="search">
|
||||||
<form (ngSubmit)="searchMyPolls()">
|
|
||||||
<div class="">
|
<div class="">
|
||||||
<div class="search-others column">
|
<div class="search-others column">
|
||||||
<h2 class="title is-2">
|
<h2 class="title is-2">
|
||||||
@ -135,6 +138,7 @@
|
|||||||
[ngClass]="{
|
[ngClass]="{
|
||||||
'has-background-success': email_sent,
|
'has-background-success': email_sent,
|
||||||
'ng-invalid has-background-warning':
|
'ng-invalid has-background-warning':
|
||||||
|
storageService.vote_stack.owner.email.length &&
|
||||||
nonexistent_email === storageService.vote_stack.owner.email
|
nonexistent_email === storageService.vote_stack.owner.email
|
||||||
}"
|
}"
|
||||||
[(ngModel)]="storageService.vote_stack.owner.email"
|
[(ngModel)]="storageService.vote_stack.owner.email"
|
||||||
@ -149,23 +153,40 @@
|
|||||||
>
|
>
|
||||||
<i class="fa fa-warning"></i> Aucun sondage enregistré pour cet email.
|
<i class="fa fa-warning"></i> Aucun sondage enregistré pour cet email.
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ng-template pTemplate="footer" class="has-text-right">
|
||||||
|
<button
|
||||||
|
class="button is-secondary"
|
||||||
|
(click)="focusOnCancelButton()"
|
||||||
|
id="cancel_popup_button"
|
||||||
|
aria-haspopup="dialog"
|
||||||
|
>
|
||||||
|
{{ 'nav.leave' | translate }}
|
||||||
|
</button>
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
role="button"
|
role="button"
|
||||||
class="is-outlined is-fullwidth is-info button-submit"
|
class="button is-primary button-submit"
|
||||||
|
(click)="searchMyPolls()"
|
||||||
[disabled]="
|
[disabled]="
|
||||||
!storageService.vote_stack.owner.email.length ||
|
!storageService.vote_stack.owner.email.length &&
|
||||||
nonexistent_email === storageService.vote_stack.owner.email
|
storageService.vote_stack.owner.email.indexOf('@') !== -1
|
||||||
"
|
"
|
||||||
routerLink="user/polls"
|
routerLink="user/polls"
|
||||||
>
|
>
|
||||||
<i class="fa fa-search"></i>
|
<i class="fa fa-search"></i>
|
||||||
{{ 'home.search_button' | translate }}
|
{{ 'home.search_button' | translate }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</ng-template>
|
||||||
</div>
|
</p-dialog>
|
||||||
</form>
|
</form>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="demos">
|
||||||
<div class="poll-list">
|
<div class="poll-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li *ngFor="let p of storageService.userPolls">
|
<li *ngFor="let p of storageService.userPolls">
|
||||||
@ -176,7 +197,6 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="demo-capabilities">
|
<section class="demo-capabilities">
|
||||||
<div
|
<div
|
||||||
@ -191,13 +211,12 @@
|
|||||||
☑️ Créer un nouveau sondage
|
☑️ Créer un nouveau sondage
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
☑️ accéder à un sondage existant en tant que visiteur, ajouter une réponse (StackOfVote)
|
☑️ accéder à un sondage existant en tant que visiteur, ajouter une réponse (StackOfVote) et un
|
||||||
et un commentaire.
|
commentaire.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
☑️
|
☑️
|
||||||
<a
|
<a href="https://framagit.org/framasoft/framadate/funky-framadate-front/-/tree/master/docs"
|
||||||
href="https://framagit.org/framasoft/framadate/funky-framadate-front/-/tree/master/docs"
|
|
||||||
>lire la documentation</a
|
>lire la documentation</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
@ -213,13 +232,10 @@
|
|||||||
🚴 modifier un de ses sondages existants par un lien d'administration
|
🚴 modifier un de ses sondages existants par un lien d'administration
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
🚴 recevoir immédiatement les emails. Ceux ci nécessitent un vidage du spool d'emails
|
🚴 recevoir immédiatement les emails. Ceux ci nécessitent un vidage du spool d'emails du backend
|
||||||
du backend sur demande (mesure anti spam).
|
sur demande (mesure anti spam).
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</p-dialog>
|
|
||||||
</section>
|
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
min-width: 107px;
|
min-width: 107px;
|
||||||
min-height: 83px;
|
min-height: 83px;
|
||||||
padding: 8px 0 16px;
|
padding: 8px 0 16px;
|
||||||
|
color: $primary-color;
|
||||||
|
|
||||||
.button-description {
|
.button-description {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
Loading…
Reference in New Issue
Block a user