Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
JunkJumper 2020-12-04 02:58:41 +01:00
commit a04a010222
9 changed files with 91 additions and 31 deletions

View File

@ -1,8 +1,14 @@
#blockMenu
{
float: right;
width: 95%;
}
#lineMenu
{
list-style-type: none;
overflow: hidden;
background-color: #0064b5;
background-color: #0073be;
height: 49px;
margin: 0px;
padding: 0px;
@ -15,42 +21,31 @@
padding: 14px 20px;
background-color: transparent;
color: white;
transition: background-color 0.2s, padding 0.2s, font-size 0.2s,transform 0.2s;
transition: background-color 0.1s, padding 0.1s, font-size 0.1s,transform 0.2s;
cursor: pointer;
}
.animationButtonMenu:hover
{
background-color: #0073be;
background-color: #197abb;
font-size: 19px;
padding: 13px 17px;
}
aMenu
.aMenu
{
color: white;
text-decoration: none;
}
#lineSign
{
list-style-type: none;
overflow: hidden;
background-color: #0073be;
height: 35px;
margin: 0px;
padding: 0px;
}
.colonneSign
{
float: right;
font-size: 15px;
padding: 10px 8px;
font-size: 17px;
padding: 14px 20px;
background-color: transparent;
color: white;
transition: font-size 0.2s,transform 0.2s;
transition: background-color 0.2s, padding 0.2s, font-size 0.2s,transform 0.2s;
cursor: pointer;
}
@ -69,3 +64,24 @@ aMenu
{
width: 100%;
}
#blockLogo
{
float: left;
width: 5%;
}
#logo
{
width: 100%;
height: 110px;
}
#blockDeco
{
width: 95%;
height: 10px;
float: right;
background-color: #5496c2;
}

BIN
img/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
img/logoV2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -5,33 +5,33 @@
<meta charset="UTF-8">
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/menu.css">
<title></title>
</head>
<body>
<!--Block de connexion et d'inscription-->
<div id="blockSign">
<ul id="lineSign">
<li class="colonneSign">
<a class="aMenu underLineHover">Connexion</a>
</li>
<li class="colonneSign">
<a class="aMenu underLineHover">Inscription</a>
</li>
</ul>
<div id="blockLogo">
<img id="logo" src="img/logoV2.jpg">
</div>
<!--Block de Menu-->
<nav id="blockMenu">
<ul id="lineMenu">
<li class="colonneMenu animationButtonMenu underLineHover">
<a class="aMenu">Acceuil</a>
<a class="aMenu" href="#">Acceuil</a>
</li>
<li class="colonneMenu animationButtonMenu underLineHover">
<a class="aMenu">Profil</a>
<a class="aMenu" href="#">Profil</a>
</li>
<li class="colonneMenu animationButtonMenu underLineHover">
<a class="aMenu">Météo</a>
<a class="aMenu" href="#">Météo</a>
</li>
<li class="colonneSign animationButtonMenu underLineHover">
<a class="aMenu" href="connexion.html">Connexion</a>
</li>
<li class="colonneSign animationButtonMenu underLineHover">
<a class="aMenu" href="inscription.html">Inscription</a>
</li>
</ul>
</nav>
<div id="blockDeco"></div>
</body>
</html>

View File

@ -6,4 +6,10 @@ class Pollution
private int $id;
private int $niveauPollution;
private string $description;
function __contruct(int $id,int $niveauPollution,string $description){
$this->id = $id;
$this->niveauPollution = $niveauPollution;
$this->description = $description;
}
}

View File

@ -13,4 +13,18 @@ class Produits
private bool $estEngrais;
private bool $estPeinture;
private string $autreProduit;
function __contruct(int $id,bool $estCremeSolaire,bool $estCremeParfum,bool $estCremeHydratante,bool $estMaquillage,
bool $estEssence,bool $estCigarette,bool $estEngrais,bool $estPeinture,string $autreProduit){
$this->id = $id;
$this->estCremeSolaire = $estCremeSolaire;
$this->estCremeParfum = $estCremeParfum;
$this->estCremeHydratante = $estCremeHydratante;
$this->estMaquillage = $estMaquillage;
$this->estEssence = $estEssence;
$this->estCigarette = $estCigarette;
$this->estEngrais = $estEngrais;
$this->estPeinture = $estPeinture;
$this->autreProduit = $autreProduit;
}
}

View File

@ -8,4 +8,12 @@ class Spot
private Ville $ville;
private MeteoSpot $meteo;
private Pollution $pollution;
function __contruct(int $id,string $nom,Ville $ville,Pollution $pollution,MeteoSpot $meteo){
$this->id = $id;
$this->nom = $nom;
$this->ville = $ville;
$this->pollution = $pollution;
$this->meteo = $meteo;
}
}

View File

@ -10,4 +10,12 @@ class Utilisateur
private string $mail;
private string $password;
function __contruct(int $id,string $nom,string $prenom,string $pseudo,string $mail,string $password){
$this->id = $id;
$this->nom = $nom;
$this->prenom = $prenom;
$this->pseudo = $pseudo;
$this->mail = $mail;
$this->password = $password;
}
}

View File

@ -8,4 +8,12 @@ class Ville
private string $codePostal;
private int $temperature;
private MeteoVille $meteo;
function __contruct(int $id,string $nom,string $codePostal,string $temperature,MeteoVille $meteo){
$this->id = $id;
$this->nom = $nom;
$this->codePostal = $codePostal;
$this->temperature = $temperature;
$this->meteo = $meteo;
}
}