Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions idr_gallery/static/idr_gallery/categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ function render() {
if (!groupByType) {
// Show all studies... with 'zarr' stuides in a different section at the top
zarrHtml = `<div style="color:#666; margin-bottom: 5px">OME-Zarr studies</div>`;
html = `<div style="color:#666; margin-bottom: 5px">Other studies</div>`;
model.studies.forEach((study) => {
let idrId = study.Name.split("-")[0];
// Ignore multiple projects/screens from same study/publication
Expand Down
10 changes: 5 additions & 5 deletions idr_gallery/templates/idr_gallery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
}

.switchLabel {
font-size: 1.0rem;
display: inline;
vertical-align: middle;
position: relative;
Expand Down Expand Up @@ -474,18 +473,19 @@ <h3 style="color: white; padding: 15px; background: red;">Moving to OME-Zarr</h3
All new studies must be submitted in OME-Zarr format.
</p>
</div>
<div id="zarrStudies" style="margin-bottom: 15px">
</div>
<div style="clear:both; padding: 7px"></div>
<form style="clear:both">
<form style="position: absolute; right: 20px;">
<label class="switchLabel">Group Studies by type</label>
<label class="switch" style="margin-right: 20px">
<input id="groupByType" type="checkbox">
<span class="sliderToggle round"></span>
</label>
</form>
<div id="zarrStudies" style="margin-bottom: 15px">
</div>
<div style="clear:both; padding: 7px"></div>
<div id="studies">
<!-- Placeholder thumbnails - updated by render() once studies have loaded -->
<div style="clear:both; padding: 7px"></div>
<script>document.write((new Array(100)).fill(`<div class="studyThumb"></div>`).join(""))</script>
</div>
</div>
Expand Down
Loading