Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CaCaoCritics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bilel El Yaagoubi
CaCaoCritics
Merge requests
!8
Movie page
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Movie page
movie-page
into
master
Overview
0
Commits
14
Pipelines
14
Changes
4
Merged
Movie page
Bilel El Yaagoubi
requested to merge
movie-page
into
master
Jun 8, 2022
Overview
0
Commits
14
Pipelines
14
Changes
4
0
0
Merge request reports
Viewing commit
24e8488b
Prev
Next
Show latest version
4 files
+
68
−
27
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
24e8488b
work continuation
· 24e8488b
Bilel El Yaagoubi
authored
Jun 8, 2022
frontend/src/components/Movie.vue
+
28
−
20
View file @ 24e8488b
Edit in single-file editor
Open in Web IDE
<
template
>
<
template
>
<table>
<div
class=
"child"
>
<thead>
<img
<th>
Titre
</th>
class=
"movieImage"
<th>
Date de sortie
</th>
:src=
"'https://image.tmdb.org/t/p/original/' + movie.poster_path"
<th>
Image
</th>
/>
</thead>
<h2>
{{
movie
.
title
}}
</h2>
<tbody>
<h3>
{{
movie
.
release_date
}}
</h3>
<tr
v-for=
"movie in movies"
:key=
"movie.id"
>
</div>
<td>
{{
movie
.
title
}}
</td>
<td>
{{
movie
.
release_date
}}
</td>
<td>
<img
:src=
"'https://image.tmdb.org/t/p/original/' + movie.poster_path"
/>
</td>
</tr>
</tbody>
</table>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
{
props
:
{
movie
s
:
Array
,
movie
:
Array
,
},
},
};
};
</
script
>
</
script
>
<
style
scoped
></
style
>
<
style
scoped
>
.movieImage
{
width
:
50%
;
}
.child
{
margin-left
:
auto
;
margin-right
:
auto
;
}
table
{
border-collapse
:
collapse
;
}
th
,
td
{
border
:
1px
solid
#000000
;
padding
:
10px
;
}
</
style
>
Loading