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
81dada1a
Commit
81dada1a
authored
Dec 05, 2020
by
Loic DAVID
Browse files
Ajout page profil
parents
fbdce619
9a590b62
Pipeline
#21302
failed with stages
in 31 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
index.html
View file @
81dada1a
...
...
@@ -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 @
81dada1a
...
...
@@ -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 @
81dada1a
...
...
@@ -30,7 +30,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