forked from mne-tools/mne-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into proj_joint
* upstream/main: MRG: In Report, allow to add multiple figure or image elements to the same content block ("section") (mne-tools#10694) CI: Add style conditional (mne-tools#10723) Fix coreg tutorial typos (mne-tools#10716) MAINT: Deal with nibabel deprecation (mne-tools#10719)
- Loading branch information
Showing
21 changed files
with
935 additions
and
963 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% extends "section.html.jinja" %} | ||
{% block html_content %} | ||
<div class="row"> | ||
{{ html_slider_axial | safe }} | ||
{{ html_slider_sagittal | safe }} | ||
{{ html_slider_coronal | safe }} | ||
</div> | ||
{% endblock html_content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,6 @@ | ||
<div class="accordion-item code" id="{{ id }}" data-mne-tags="{% for tag in tags %} {{ tag }} {% endfor %}"> | ||
<div class="accordion-header" id="accordion-header-{{ id }}"> | ||
<button class="accordion-button pt-1 pb-1" type="button" data-bs-toggle="collapse" | ||
data-bs-target="#accordion-collapse-{{ id }}" aria-expanded="true" aria-controls="accordion-collapse-{{ id }}"> | ||
<div class="w-100"> | ||
<span class="me-auto">{{ title }}</span> | ||
{% for tag in tags %} | ||
<span class="badge bg-primary rounded-pill float-end me-1" data-mne-tag="{{ tag }}"> | ||
{{ tag }} | ||
</span> | ||
{% endfor %} | ||
</div> | ||
</button> | ||
</div> | ||
|
||
<div id="accordion-collapse-{{ id }}" class="accordion-collapse collapse show" | ||
aria-labelledby="accordion-header-{{ id }}"> | ||
<div class="accordion-body"> | ||
<pre class="my-0"> | ||
<code class="language-{{ language }}">{{ code }}</code> | ||
</pre> | ||
</div> | ||
</div> | ||
</div> | ||
{% extends "section.html.jinja" %} | ||
{% block html_content %} | ||
<pre class="my-0"> | ||
<code class="language-{{ language }}">{{ code }}</code> | ||
</pre> | ||
{% endblock html_content %} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,5 @@ | ||
<div class="accordion-item forward-solution" id="{{ id }}" data-mne-tags="{% for tag in tags %} {{ tag }} {% endfor %}"> | ||
<div class="accordion-header" id="accordion-header-{{ id }}"> | ||
<button class="accordion-button pt-1 pb-1" type="button" data-bs-toggle="collapse" | ||
data-bs-target="#accordion-collapse-{{ id }}" aria-expanded="true" aria-controls="accordion-collapse-{{ id }}"> | ||
<div class="w-100"> | ||
<span class="me-auto">{{ title }}</span> | ||
{% for tag in tags %} | ||
<span class="badge bg-primary rounded-pill float-end me-1" data-mne-tag="{{ tag }}"> | ||
{{ tag }} | ||
</span> | ||
{% endfor %} | ||
</div> | ||
</button> | ||
</div> | ||
|
||
<div id="accordion-collapse-{{ id }}" class="accordion-collapse collapse show" | ||
aria-labelledby="accordion-header-{{ id }}"> | ||
<div class="accordion-body"> | ||
{{repr | safe}} | ||
{{sensitivity_maps | safe }} | ||
</div> | ||
</div> | ||
</div> | ||
{% extends "section.html.jinja" %} | ||
{% block html_content %} | ||
{{repr | safe}} | ||
{{sensitivity_maps | safe}} | ||
{% endblock html_content %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,17 @@ | ||
<div class="accordion-item {{ div_klass }}" id="{{ id }}" data-mne-tags="{% for tag in tags %} {{ tag }} {% endfor %}" | ||
{% if not show %}style="display: none" {% endif %}> | ||
<div class="accordion-header" id="accordion-header-{{ id }}"> | ||
<button class="accordion-button pt-1 pb-1" type="button" data-bs-toggle="collapse" | ||
data-bs-target="#accordion-collapse-{{ id }}" aria-expanded="true" aria-controls="accordion-collapse-{{ id }}"> | ||
<div class="w-100"> | ||
<span class="me-auto">{{ title }}</span> | ||
{% for tag in tags %} | ||
<span class="badge bg-primary rounded-pill float-end me-1" data-mne-tag="{{ tag }}"> | ||
{{ tag }} | ||
</span> | ||
{% endfor %} | ||
</div> | ||
</button> | ||
{% extends "section.html.jinja" %} | ||
{% block html_content %} | ||
<figure class="figure mx-auto d-block"> | ||
{% if image_format == 'svg' %} | ||
<div class="d-flex justify-content-center"> | ||
{{ img }} | ||
</div> | ||
{% else %} | ||
<img class="figure-img img-fluid rounded mx-auto my-0 d-block" alt="{{ title }}" | ||
src="data:image/{{ image_format }};base64,{{ img }}"> | ||
{% endif %} | ||
|
||
<div id="accordion-collapse-{{ id }}" class="accordion-collapse collapse show" | ||
aria-labelledby="accordion-header-{{ id }}"> | ||
<div class="accordion-body"> | ||
<figure class="figure mx-auto d-block"> | ||
{% if image_format == 'svg' %} | ||
<div class="d-flex justify-content-center"> | ||
{{ img }} | ||
</div> | ||
{% else %} | ||
<img class="figure-img img-fluid rounded mx-auto my-0 d-block" alt="{{ title }}" | ||
src="data:image/{{ image_format }};base64,{{ img }}"> | ||
{% endif %} | ||
|
||
{% if caption is not none %} | ||
<figcaption class="figure-caption text-center">{{ caption }}</figcaption> | ||
{% endif %} | ||
</figure> | ||
</div> | ||
</div> | ||
</div> | ||
{% if caption is not none %} | ||
<figcaption class="figure-caption text-center">{{ caption }}</figcaption> | ||
{% endif %} | ||
</figure> | ||
{% endblock html_content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,5 @@ | ||
<div class="accordion-item inverse-operator" id="{{ id }}" data-mne-tags="{% for tag in tags %} {{ tag }} {% endfor %}"> | ||
<div class="accordion-header" id="accordion-header-{{ id }}"> | ||
<button class="accordion-button pt-1 pb-1" type="button" data-bs-toggle="collapse" | ||
data-bs-target="#accordion-collapse-{{ id }}" aria-expanded="true" aria-controls="accordion-collapse-{{ id }}"> | ||
<div class="w-100"> | ||
<span class="me-auto">{{ title }}</span> | ||
{% for tag in tags %} | ||
<span class="badge bg-primary rounded-pill float-end me-1" data-mne-tag="{{ tag }}"> | ||
{{ tag }} | ||
</span> | ||
{% endfor %} | ||
</div> | ||
</button> | ||
</div> | ||
|
||
<div id="accordion-collapse-{{ id }}" class="accordion-collapse collapse show" | ||
aria-labelledby="accordion-header-{{ id }}"> | ||
<div class="accordion-body"> | ||
{{repr | safe}} | ||
{{source_space | safe}} | ||
</div> | ||
</div> | ||
</div> | ||
{% extends "section.html.jinja" %} | ||
{% block html_content %} | ||
{{repr | safe}} | ||
{{source_space | safe}} | ||
{% endblock html_content %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.