Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ariele Luciano Sgheiza
Portfolio CUI
Commits
9a590b62
Commit
9a590b62
authored
Dec 05, 2020
by
Luca Silly
Browse files
fin recherche.css
parent
fa1db47d
Pipeline
#21297
failed with stages
in 35 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
index.html
View file @
9a590b62
...
...
@@ -31,7 +31,7 @@
</div>
</header>
<img
src=
"images/noresult.png"
alt=
"noresult"
class=
"noresult"
>
</body>
</html>
\ No newline at end of file
recherche.css
View file @
9a590b62
...
...
@@ -20,6 +20,7 @@
}
.nomProjet
{
margin-top
:
7px
;
text-align
:
center
;
color
:
white
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
...
...
@@ -31,4 +32,11 @@
height
:
200px
;
width
:
200px
;
cursor
:
pointer
;
}
\ No newline at end of file
}
.recherche
:hover
.noresult
{
height
:
160px
;
width
:
200px
;
}
test.js
View file @
9a590b62
...
...
@@ -23,7 +23,7 @@ function chargerPageProjet(idProjet){
function
addRechercheResultat
(
nomProjet
,
idProjet
)
{
document
.
getElementById
(
'
projets
'
).
innerHTML
+=
"
<div class='recherche' onclick='chargerPageProjet(
"
+
idProjet
+
"
)'>
"
+
"
<img src='images/noresult.png' alt='noresult' class='noresult'>
"
+
"
<p class='nomProjet'>nomProjet</p>
"
+
"
</div>
"
;
document
.
getElementById
(
'
projets
'
).
innerHTML
+=
"
<div class='recherche' onclick='chargerPageProjet(
"
+
idProjet
+
"
)'>
"
+
"
<img src='images/noresult.png' alt='noresult' class='noresult'>
"
+
"
<p class='nomProjet'>
"
+
nomProjet
+
"
</p>
"
+
"
</div>
"
;
//changer adElement() par la méthode qui permettra de charger la page d'un projet
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment