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 }}"
|
||||
alt="{{ environment.appTitle }}"
|
||||
/>
|
||||
<!-- <img src="assets/img/icone_home.png" alt="calendrier icone framadate" />-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -41,6 +40,9 @@
|
||||
<h1 class="title is-1">Titre h1</h1>
|
||||
<h2 class="title is-2">Titre h2</h2>
|
||||
<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">bouton primaire</button>
|
||||
<button class="is-primary is-thin">bouton primaire fin</button>
|
||||
@ -93,6 +95,8 @@
|
||||
</div>
|
||||
|
||||
<!-- dialog search-->
|
||||
|
||||
<form (ngSubmit)="searchMyPolls()">
|
||||
<p-dialog
|
||||
[modal]="true"
|
||||
[(visible)]="display_poll_search_dialog"
|
||||
@ -114,7 +118,6 @@
|
||||
</div>
|
||||
<div class="">
|
||||
<section class="search">
|
||||
<form (ngSubmit)="searchMyPolls()">
|
||||
<div class="">
|
||||
<div class="search-others column">
|
||||
<h2 class="title is-2">
|
||||
@ -135,6 +138,7 @@
|
||||
[ngClass]="{
|
||||
'has-background-success': email_sent,
|
||||
'ng-invalid has-background-warning':
|
||||
storageService.vote_stack.owner.email.length &&
|
||||
nonexistent_email === 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.
|
||||
</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
|
||||
type="submit"
|
||||
role="button"
|
||||
class="is-outlined is-fullwidth is-info button-submit"
|
||||
class="button is-primary button-submit"
|
||||
(click)="searchMyPolls()"
|
||||
[disabled]="
|
||||
!storageService.vote_stack.owner.email.length ||
|
||||
nonexistent_email === storageService.vote_stack.owner.email
|
||||
!storageService.vote_stack.owner.email.length &&
|
||||
storageService.vote_stack.owner.email.indexOf('@') !== -1
|
||||
"
|
||||
routerLink="user/polls"
|
||||
>
|
||||
<i class="fa fa-search"></i>
|
||||
{{ 'home.search_button' | translate }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
</p-dialog>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<div class="demos">
|
||||
<div class="poll-list">
|
||||
<ul>
|
||||
<li *ngFor="let p of storageService.userPolls">
|
||||
@ -176,7 +197,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="demo-capabilities">
|
||||
<div
|
||||
@ -191,13 +211,12 @@
|
||||
☑️ Créer un nouveau sondage
|
||||
</li>
|
||||
<li>
|
||||
☑️ accéder à un sondage existant en tant que visiteur, ajouter une réponse (StackOfVote)
|
||||
et un commentaire.
|
||||
☑️ accéder à un sondage existant en tant que visiteur, ajouter une réponse (StackOfVote) et un
|
||||
commentaire.
|
||||
</li>
|
||||
<li>
|
||||
☑️
|
||||
<a
|
||||
href="https://framagit.org/framasoft/framadate/funky-framadate-front/-/tree/master/docs"
|
||||
<a href="https://framagit.org/framasoft/framadate/funky-framadate-front/-/tree/master/docs"
|
||||
>lire la documentation</a
|
||||
>
|
||||
</li>
|
||||
@ -213,13 +232,10 @@
|
||||
🚴 modifier un de ses sondages existants par un lien d'administration
|
||||
</li>
|
||||
<li>
|
||||
🚴 recevoir immédiatement les emails. Ceux ci nécessitent un vidage du spool d'emails
|
||||
du backend sur demande (mesure anti spam).
|
||||
🚴 recevoir immédiatement les emails. Ceux ci nécessitent un vidage du spool d'emails du backend
|
||||
sur demande (mesure anti spam).
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</p-dialog>
|
||||
</section>
|
||||
</div>
|
||||
|
@ -8,6 +8,8 @@
|
||||
min-width: 107px;
|
||||
min-height: 83px;
|
||||
padding: 8px 0 16px;
|
||||
color: $primary-color;
|
||||
|
||||
.button-description {
|
||||
margin-top: 8px;
|
||||
font-weight: 700;
|
||||
|
Loading…
Reference in New Issue
Block a user