Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor header-cards component to use embedded snippet #194

Merged
merged 6 commits into from
Oct 17, 2024
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
2 changes: 1 addition & 1 deletion communities/genome/lab/annotation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ tabs:
<p>
The flowchart below shows how you might use your input data (in green) with different Galaxy tools (in blue) to annotate a genome assembly. For example, one pathway would be taking an assembled genome, plus information about repeats, and data from RNA-seq, to run in the Maker pipeline. The annotatations can then be viewed in JBrowse.
</p>
<img class="img-fluid" src="/static/home/labs/genome/static/annotation-overview.png" alt="Genome annotation flowchart">
<img class="img-fluid" src="./static/annotation-overview.png" alt="Genome annotation flowchart">
<p class="text-center">
A graphical representation of genome annotation
</p>
Expand Down
2 changes: 1 addition & 1 deletion communities/genome/lab/assembly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ tabs:
<li>Assessment - at any stage, the assembly can be assessed for number of contigs, number of base pairs, whether expected genes are present, and many other metrics.</li>
<li>Annotation - identify features on the genome assembly such as gene names and locations.</li>
</ul>
<img class="img-fluid" src="/static/home/labs/genome/static/assembly-overview.png" alt="Genome assembly flowchart">
<img class="img-fluid" src="./static/assembly-overview.png" alt="Genome assembly flowchart">
<p class="text-center">
A graphical representation of genome assembly
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h5 class="modal-title">Feedback</h5>
<div class="modal-body">
<div class="default-content">
<p>
We'd love to hear your feedback on the Galaxy Australia {{ site_name }}. Please let us know what
We'd love to hear your feedback on the Galaxy {{ site_name }} {{ lab_name }}. Please let us know what
you think!
</p>
<div class="mb-3">
Expand Down
4 changes: 2 additions & 2 deletions communities/proteomics/lab/templates/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
What is this page?
</a>
<p>
Welcome to the {{ site_name }} {{ lab_name }}. Get quick access to the
Welcome to the Galaxy {{ site_name }} {{ lab_name }}. Get quick access to the
tools, workflows and tutorials you need to get started with proteomics on
Galaxy.
</p>
Expand All @@ -17,7 +17,7 @@
This page is currently under development in consultation with the
<a href="https://www.biocommons.org.au/proteomics-community" target="_blank">
Australian Proteomics Bioinformatics community</a>.
</p>
</p>
</section>

<hr>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{% include 'home/snippets/header-cards.html' %}
<iframe id="headerCardsIframe" style="width: 100%;" src="https://site.usegalaxy.org.au/embed/home/snippets/header-cards.html?overflow=hidden"></iframe>
<script>
window.addEventListener("message", function(event) {
document.getElementById('headerCardsIframe').style.height = event.data.height + 'px';
}, false);
</script>
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<iframe id="footerIframe" style="width: 100%;" src="https://site.usegalaxy.org.au/embed/home/snippets/footer.html"></iframe>
<iframe id="footerIframe" style="width: 100%;" src="https://site.usegalaxy.org.au/embed/home/snippets/footer.html?overflow=hidden"></iframe>
<script>
window.addEventListener("message", function(event) {
const iframe = document.getElementById('footerIframe');
const height = event.data.height + 'px';
console.log('Set footer height:', height);
iframe.style.height = height;
document.getElementById('footerIframe').style.height = event.data.height + 'px';
}, false);
</script>