Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
StrandLab2.net
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Strand Lab
StrandLab2.net
Commits
6e73ac3f
Commit
6e73ac3f
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Plain Diff
Merge branch 'biorepo-thumbnails' into 'develop'
Biorepo thumbnails See merge request
!78
parents
b33ddc4c
371f2d89
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!84
Develop
,
!80
Dimensions.branch
,
!78
Biorepo thumbnails
Pipeline
#7929
passed with stages
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
layouts/custom/repository.html
+22
-10
22 additions, 10 deletions
layouts/custom/repository.html
with
22 additions
and
10 deletions
layouts/custom/repository.html
+
22
−
10
View file @
6e73ac3f
...
...
@@ -118,7 +118,8 @@
<div
class=
"container"
align=
center
style=
"max-width: none;"
>
<table
id=
"samplesTable"
border=
"1"
>
<tr>
<th>
H
&
E Thumbnail
</th>
<th>
H
&
E Thumbnail (Pr)
</th>
<th>
H
&
E Thumbnail (Bl)
</th>
<th>
Disease
</th>
<th>
ID
</th>
<th>
Age
</th>
...
...
@@ -849,15 +850,26 @@
for
(
i
=
0
;
i
<
repo
.
length
;
i
++
)
{
if
(
filtered
.
includes
(
repo
[
i
].
PatientID
))
{
let
newRow
=
table
.
insertRow
(
-
1
)
var
row_he
=
newRow
.
insertCell
(
0
)
var
row_ds
=
newRow
.
insertCell
(
1
)
var
row_si
=
newRow
.
insertCell
(
2
)
var
row_ag
=
newRow
.
insertCell
(
3
)
var
row_et
=
newRow
.
insertCell
(
4
)
var
thm
=
document
.
createElement
(
"
img
"
)
thm
.
src
=
"
https://s3.us-east-2.amazonaws.com/biorepo.images.thumbnails/Pr/
"
+
repo
[
i
][
"
Disease Status
"
]
+
(
"
000
"
+
repo
[
i
][
"
Study ID
"
]).
slice
(
-
3
)
+
"
.jpg
"
thm
.
height
=
"
100
"
row_he
.
appendChild
(
thm
)
var
row_he_pr
=
newRow
.
insertCell
(
0
)
var
row_he_bl
=
newRow
.
insertCell
(
1
)
var
row_ds
=
newRow
.
insertCell
(
2
)
var
row_si
=
newRow
.
insertCell
(
3
)
var
row_ag
=
newRow
.
insertCell
(
4
)
var
row_et
=
newRow
.
insertCell
(
5
)
var
thm_pr
=
document
.
createElement
(
"
img
"
)
thm_pr
.
src
=
"
https://s3.us-east-2.amazonaws.com/biorepo.images.thumbnails/Pr/
"
+
repo
[
i
][
"
Disease Status
"
]
+
(
"
000
"
+
repo
[
i
][
"
Study ID
"
]).
slice
(
-
3
)
+
"
.00.Pr.jpg
"
thm_pr
.
height
=
"
75
"
row_he_pr
.
appendChild
(
thm_pr
)
thm_pr
.
onerror
=
function
(){
this
.
remove
()
}
var
thm_bl
=
document
.
createElement
(
"
img
"
)
thm_bl
.
src
=
"
https://s3.us-east-2.amazonaws.com/biorepo.images.thumbnails/Bl/
"
+
repo
[
i
][
"
Disease Status
"
]
+
(
"
000
"
+
repo
[
i
][
"
Study ID
"
]).
slice
(
-
3
)
+
"
.00.Bl.jpg
"
thm_bl
.
height
=
"
75
"
row_he_bl
.
appendChild
(
thm_bl
)
thm_bl
.
onerror
=
function
(){
this
.
remove
()
}
row_ds
.
innerHTML
=
repo
[
i
][
"
Disease Status
"
]
row_si
.
innerHTML
=
repo
[
i
][
"
Study ID
"
]
row_ag
.
innerHTML
=
repo
[
i
].
Age
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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