forked from tykayn/funky-framadate-front
add favicon calendar
This commit is contained in:
parent
612b65a3a0
commit
1f4809e56a
@ -53,7 +53,7 @@
|
||||
<div class="top">
|
||||
<button
|
||||
id="close_dialog"
|
||||
class="button no-outline cancel-button-reject"
|
||||
class="button no-outline cancel-button-reject pull-right"
|
||||
(click)="focusOnCancelButton()"
|
||||
>
|
||||
{{ 'SENTENCES.Close' | translate }} <i class="fa fa-times"></i>
|
||||
@ -62,54 +62,52 @@
|
||||
<div class="column">
|
||||
<section class="search">
|
||||
<form (ngSubmit)="searchMyPolls()">
|
||||
<div class="search-others-box">
|
||||
<div class="columns">
|
||||
<div class="search-others column contained-in-main-column">
|
||||
<h2 class="title is-2">
|
||||
{{ 'home.search_title' | translate }}
|
||||
</h2>
|
||||
<div class="search-description">
|
||||
{{ 'home.search_subtitle' | translate }}
|
||||
</div>
|
||||
<label for="search_email">
|
||||
{{ 'home.search_label' | translate }}
|
||||
</label>
|
||||
<input
|
||||
type="email"
|
||||
class="is-full input"
|
||||
name="search_email"
|
||||
id="search_email"
|
||||
[ngClass]="{
|
||||
'has-background-success': email_sent,
|
||||
'ng-invalid has-background-warning':
|
||||
nonexistent_email === storageService.vote_stack.owner.email
|
||||
}"
|
||||
[(ngModel)]="storageService.vote_stack.owner.email"
|
||||
/>
|
||||
<div class="email_sent has-background-success padded" *ngIf="email_sent">
|
||||
<i class="fa fa-envelope"></i> C'est envoyé! Vérifiez votre boite email, ainsi
|
||||
que votre dossier de spam.
|
||||
</div>
|
||||
<!-- <div-->
|
||||
<!-- class="email_error has-background-warning padded"-->
|
||||
<!-- *ngIf="nonexistent_email === storageService.vote_stack.owner.email"-->
|
||||
<!-- >-->
|
||||
<!-- <i class="fa fa-warning"></i> Aucun sondage enregistré pour cet email.-->
|
||||
<!-- </div>-->
|
||||
<button
|
||||
type="submit"
|
||||
role="button"
|
||||
class="button is-outlined is-fullwidth is-info button-submit"
|
||||
[disabled]="
|
||||
!storageService.vote_stack.owner.email.length ||
|
||||
nonexistent_email === storageService.vote_stack.owner.email
|
||||
"
|
||||
routerLink="user/polls"
|
||||
>
|
||||
<i class="fa fa-search"></i>
|
||||
{{ 'home.search_button' | translate }}
|
||||
</button>
|
||||
<div class="columns">
|
||||
<div class="search-others column">
|
||||
<h2 class="title is-2">
|
||||
{{ 'home.search_title' | translate }}
|
||||
</h2>
|
||||
<div class="search-description">
|
||||
{{ 'home.search_subtitle' | translate }}
|
||||
</div>
|
||||
<label for="search_email">
|
||||
{{ 'home.search_label' | translate }}
|
||||
</label>
|
||||
<input
|
||||
type="email"
|
||||
class="is-full input"
|
||||
name="search_email"
|
||||
id="search_email"
|
||||
[ngClass]="{
|
||||
'has-background-success': email_sent,
|
||||
'ng-invalid has-background-warning':
|
||||
nonexistent_email === storageService.vote_stack.owner.email
|
||||
}"
|
||||
[(ngModel)]="storageService.vote_stack.owner.email"
|
||||
/>
|
||||
<div class="email_sent has-background-success padded" *ngIf="email_sent">
|
||||
<i class="fa fa-envelope"></i> C'est envoyé! Vérifiez votre boite email, ainsi que
|
||||
votre dossier de spam.
|
||||
</div>
|
||||
<div
|
||||
class="email_error has-background-warning padded"
|
||||
*ngIf="email_sent && nonexistent_email === storageService.vote_stack.owner.email"
|
||||
>
|
||||
<i class="fa fa-warning"></i> Aucun sondage enregistré pour cet email.
|
||||
</div>
|
||||
<button
|
||||
type="submit"
|
||||
role="button"
|
||||
class="button is-outlined is-fullwidth is-info button-submit"
|
||||
[disabled]="
|
||||
!storageService.vote_stack.owner.email.length ||
|
||||
nonexistent_email === storageService.vote_stack.owner.email
|
||||
"
|
||||
routerLink="user/polls"
|
||||
>
|
||||
<i class="fa fa-search"></i>
|
||||
{{ 'home.search_button' | translate }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ChangeDetectorRef, Component, Inject } from '@angular/core';
|
||||
import { ChangeDetectorRef, Component, Inject, OnInit } from '@angular/core';
|
||||
import { environment } from '../../../../environments/environment';
|
||||
import { StorageService } from '../../services/storage.service';
|
||||
import { ApiService } from '../../services/api.service';
|
||||
@ -11,7 +11,7 @@ import { Title } from '@angular/platform-browser';
|
||||
templateUrl: './home.component.html',
|
||||
styleUrls: ['./home.component.scss'],
|
||||
})
|
||||
export class HomeComponent {
|
||||
export class HomeComponent implements OnInit {
|
||||
public environment = environment;
|
||||
public AppTitle = environment.appTitle;
|
||||
public nonexistent_email = '';
|
||||
@ -26,7 +26,10 @@ export class HomeComponent {
|
||||
private api: ApiService,
|
||||
private cd: ChangeDetectorRef
|
||||
) {
|
||||
this.titleService.setTitle(environment.appTitle + ' - Accueil ');
|
||||
this.titleService.setTitle(environment.appTitle + ' - Landing ');
|
||||
}
|
||||
ngOnInit() {
|
||||
this.openModalFindPoll();
|
||||
}
|
||||
|
||||
searchMyPolls() {
|
||||
|
@ -57,7 +57,6 @@ export class LanguageService {
|
||||
}
|
||||
|
||||
private setLanguageFromStorage(): void {
|
||||
console.log('this.storageService.language', this.storageService.language);
|
||||
if (this.storageService.language && this.translate.getLangs().includes(this.storageService.language)) {
|
||||
this.setLanguage(this.storageService.language);
|
||||
}
|
||||
|
BIN
src/assets/favicons/android-chrome-192x192.png
Normal file
BIN
src/assets/favicons/android-chrome-192x192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
BIN
src/assets/favicons/android-chrome-512x512.png
Normal file
BIN
src/assets/favicons/android-chrome-512x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 179 KiB |
BIN
src/assets/favicons/apple-touch-icon.png
Normal file
BIN
src/assets/favicons/apple-touch-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
src/assets/favicons/favicon-16x16.png
Normal file
BIN
src/assets/favicons/favicon-16x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 812 B |
BIN
src/assets/favicons/favicon-32x32.png
Normal file
BIN
src/assets/favicons/favicon-32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
src/assets/favicons/favicon.ico
Normal file
BIN
src/assets/favicons/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -4,9 +4,10 @@
|
||||
<meta charset="utf-8" />
|
||||
<base href="/" />
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport" />
|
||||
<link href="favicon.ico" rel="icon" type="image/x-icon" />
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet" />
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
||||
<link href="assets/favicons/favicon.ico" rel="icon" type="image/x-icon" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png" />
|
||||
</head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
|
Loading…
Reference in New Issue
Block a user