Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mirador Video
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
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
IIIF
Mirador
Mirador Video
Commits
fee6e495
Commit
fee6e495
authored
2 years ago
by
Anthony
Browse files
Options
Downloads
Patches
Plain Diff
WIP media card
parent
e96d01be
No related branches found
No related tags found
2 merge requests
!13
Manifest side to side
,
!11
Draft: 33 8 open an other manifest side by side from an annotation
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/AnnotationManifestsAccordion.js
+14
-9
14 additions, 9 deletions
src/components/AnnotationManifestsAccordion.js
with
14 additions
and
9 deletions
src/components/AnnotationManifestsAccordion.js
+
14
−
9
View file @
fee6e495
...
@@ -50,6 +50,8 @@ export class AnnotationManifestsAccordion extends Component {
...
@@ -50,6 +50,8 @@ export class AnnotationManifestsAccordion extends Component {
annotation
.
manifests
=
searchManifest
(
annotation
.
content
.
concat
(
annotation
.
id
));
annotation
.
manifests
=
searchManifest
(
annotation
.
content
.
concat
(
annotation
.
id
));
// TODO fetch url to get image and label
if
(
annotation
.
manifests
===
null
)
{
if
(
annotation
.
manifests
===
null
)
{
return
null
;
return
null
;
}
}
...
@@ -71,26 +73,29 @@ export class AnnotationManifestsAccordion extends Component {
...
@@ -71,26 +73,29 @@ export class AnnotationManifestsAccordion extends Component {
<
CardMedia
<
CardMedia
component
=
"
img
"
component
=
"
img
"
alt
=
"
Contemplative Reptile
"
alt
=
"
Contemplative Reptile
"
height
=
"
140
"
height
=
"
100
"
width
=
"
100%
"
image
=
"
https://www.tetras-libre.fr/themes/tetras/img/logo.svg
"
image
=
"
https://www.tetras-libre.fr/themes/tetras/img/logo.svg
"
title
=
"
Tetras tooltip
"
title
=
"
Tetras tooltip
"
/>
/>
<
CardContent
>
<
CardContent
>
<
Typography
gutterBottom
variant
=
"
h5
"
component
=
"
h2
"
>
<
Typography
gutterBottom
variant
=
"
h5
"
component
=
"
h2
"
>
L
izard
L
abel
de
mon
manifest
<
/Typography
>
<
/Typography
>
<
Typography
variant
=
"
body2
"
color
=
"
textSecondary
"
component
=
"
p
"
>
<
Typography
variant
=
"
body2
"
color
=
"
textSecondary
"
component
=
"
p
"
>
Lizards
are
a
widespread
group
of
squamate
reptiles
,
with
over
6
,
000
species
,
ranging
Description
de
mon
manifest
across
all
continents
except
Antarctica
<
/Typography
>
<
/Typography
>
<
/CardContent
>
<
/CardContent
>
<
/CardActionArea
>
<
/CardActionArea
>
<
CardActions
>
<
CardActions
>
<
Button
size
=
"
small
"
color
=
"
primary
"
>
<
Button
Share
size
=
"
small
"
<
/Button
>
color
=
"
primary
"
<
Button
size
=
"
small
"
color
=
"
primary
"
>
onClick
=
{(
e
)
=>
{
Learn
More
this
.
handleOpenManifestSideToSide
(
e
,
manifestId
);
}}
>
Open
in
new
panel
<
/Button
>
<
/Button
>
<
/CardActions
>
<
/CardActions
>
<
/Card
>
<
/Card
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment