add favicon calendar

This commit is contained in:
Tykayn 2022-02-08 14:46:13 +01:00 committed by tykayn
parent 612b65a3a0
commit 1f4809e56a
10 changed files with 56 additions and 55 deletions

View File

@ -53,7 +53,7 @@
<div class="top"> <div class="top">
<button <button
id="close_dialog" id="close_dialog"
class="button no-outline cancel-button-reject" class="button no-outline cancel-button-reject pull-right"
(click)="focusOnCancelButton()" (click)="focusOnCancelButton()"
> >
{{ 'SENTENCES.Close' | translate }} <i class="fa fa-times"></i> {{ 'SENTENCES.Close' | translate }} <i class="fa fa-times"></i>
@ -62,9 +62,8 @@
<div class="column"> <div class="column">
<section class="search"> <section class="search">
<form (ngSubmit)="searchMyPolls()"> <form (ngSubmit)="searchMyPolls()">
<div class="search-others-box">
<div class="columns"> <div class="columns">
<div class="search-others column contained-in-main-column"> <div class="search-others column">
<h2 class="title is-2"> <h2 class="title is-2">
{{ 'home.search_title' | translate }} {{ 'home.search_title' | translate }}
</h2> </h2>
@ -87,15 +86,15 @@
[(ngModel)]="storageService.vote_stack.owner.email" [(ngModel)]="storageService.vote_stack.owner.email"
/> />
<div class="email_sent has-background-success padded" *ngIf="email_sent"> <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 <i class="fa fa-envelope"></i> C'est envoyé! Vérifiez votre boite email, ainsi que
que votre dossier de spam. 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> </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 <button
type="submit" type="submit"
role="button" role="button"
@ -111,7 +110,6 @@
</button> </button>
</div> </div>
</div> </div>
</div>
</form> </form>
<div class="poll-list"> <div class="poll-list">

View File

@ -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 { environment } from '../../../../environments/environment';
import { StorageService } from '../../services/storage.service'; import { StorageService } from '../../services/storage.service';
import { ApiService } from '../../services/api.service'; import { ApiService } from '../../services/api.service';
@ -11,7 +11,7 @@ import { Title } from '@angular/platform-browser';
templateUrl: './home.component.html', templateUrl: './home.component.html',
styleUrls: ['./home.component.scss'], styleUrls: ['./home.component.scss'],
}) })
export class HomeComponent { export class HomeComponent implements OnInit {
public environment = environment; public environment = environment;
public AppTitle = environment.appTitle; public AppTitle = environment.appTitle;
public nonexistent_email = ''; public nonexistent_email = '';
@ -26,7 +26,10 @@ export class HomeComponent {
private api: ApiService, private api: ApiService,
private cd: ChangeDetectorRef private cd: ChangeDetectorRef
) { ) {
this.titleService.setTitle(environment.appTitle + ' - Accueil '); this.titleService.setTitle(environment.appTitle + ' - Landing ');
}
ngOnInit() {
this.openModalFindPoll();
} }
searchMyPolls() { searchMyPolls() {

View File

@ -57,7 +57,6 @@ export class LanguageService {
} }
private setLanguageFromStorage(): void { private setLanguageFromStorage(): void {
console.log('this.storageService.language', this.storageService.language);
if (this.storageService.language && this.translate.getLangs().includes(this.storageService.language)) { if (this.storageService.language && this.translate.getLangs().includes(this.storageService.language)) {
this.setLanguage(this.storageService.language); this.setLanguage(this.storageService.language);
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -4,9 +4,10 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<base href="/" /> <base href="/" />
<meta content="width=device-width, initial-scale=1" name="viewport" /> <meta content="width=device-width, initial-scale=1" name="viewport" />
<link href="favicon.ico" rel="icon" type="image/x-icon" /> <link href="assets/favicons/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 rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> <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> </head>
<body> <body>
<app-root></app-root> <app-root></app-root>