Open DICOM viewer details by default and comment out multi-image block for improved user experience

This commit is contained in:
Ross
2025-10-01 20:28:54 +01:00
parent 4fc1de4300
commit 735a29e71b
@@ -72,10 +72,8 @@
{% if collection.show_built_in_viewer %} {% if collection.show_built_in_viewer %}
<details id="dicom-viewer-details"> <details id="dicom-viewer-details" open>
<summary>Viewer</summary> <summary>Viewer</summary>
Named stacks
<div id="main_viewer" class="dicom-viewer-root" <div id="main_viewer" class="dicom-viewer-root"
style="box-sizing: border-box; background: #222; width: 100%; height: 600px;" style="box-sizing: border-box; background: #222; width: 100%; height: 600px;"
data-auto-cache-stack="false" data-auto-cache-stack="false"
@@ -83,7 +81,7 @@
></div> ></div>
</details> </details>
<div class="pre-whitespace multi-image-block"> {% comment %} <div class="pre-whitespace multi-image-block">
<details open> <details open>
<summary> <summary>
Images Images
@@ -113,7 +111,7 @@
<div id="single-dicom-viewer" class="dicom-viewer" data-images="" data-annotations=''> <div id="single-dicom-viewer" class="dicom-viewer" data-images="" data-annotations=''>
</div> </div>
</div> </div> {% endcomment %}
{% else %} {% else %}
{% endif %} {% endif %}