Commit 1807ae06 authored by Luca Silly's avatar Luca Silly
Browse files

recherche css

parent 0e53277d
Pipeline #21284 failed with stages
in 30 seconds
......@@ -78,14 +78,3 @@ header{
text-align: center;
}
.recherche{
height: 200px;
width: 200px;
background: rgb(31, 216, 6);
}
.searchResultButton{
height: 200px;
margin-top: 13px;
margin-bottom: 13px;
margin-right: 13px;
}
\ No newline at end of file
......@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="recherche.css">
<script src="test.js"></script>
<script defer src="https://use.fontawesome.com/releases/v5.14.0/js/all.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
......@@ -32,7 +33,9 @@
</header>
<div id="div1"></div>
<div id="projet">
</div>
</body>
......
#projet{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
.recherche{
flex-basis: auto;
height: 200px;
width: 200px;
background: rgb(31, 216, 6);
}
.searchResultButton{
flex-basis: auto;
height: 200px;
margin-top: 13px;
margin-bottom: 13px;
margin-right: 13px;
}
\ No newline at end of file
......@@ -16,7 +16,7 @@ function test3(){
function addRechercheResultat(nomProjet, idProjet) {
document.getElementById('div1').innerHTML +="<div class='recherche'>"+ nomProjet +"<button type='submit' class='searchResultButton' id='submit' onclick='addElement("+idProjet+")'> </div>";
document.getElementById('projet').innerHTML +="<div class='recherche'>"+ nomProjet +"<button type='submit' class='searchResultButton' onclick='addElement("+idProjet+")'> </div>";
//changer adElement() par la méthode qui permettra de charger la page d'un projet
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment