Skip to content

Commit

Permalink
reformat menu based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Dec 4, 2023
1 parent 544af91 commit 84e1aac
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions _layouts/workflow-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ <h6 class="card-subtitle mb-2 text-muted">
<small class="text-muted">Last updated {{ workflow.path | gtn_mod_date | date: "%b %-d, %Y" }}</small>
</p>
<p class="card-text">
<span tabindex="0" role="button" class="workflow show-when-galaxy-proxy-active" data-workflow="{{ workflow.trs_endpoint }}">Launch in Tutorial Mode</span><br/>
<span tabindex="0" role="button" class="workflow show-when-galaxy-proxy-active" data-workflow="{{ workflow.trs_endpoint }}">Launch in Tutorial Mode</span>
<a href="{% link faqs/galaxy/tutorial_mode.md %}" class="hide-when-galaxy-proxy-active">{% icon question %}</a>
<br/>


License:
{% if workflow.license %}
Expand All @@ -38,13 +41,19 @@ <h6 class="card-subtitle mb-2 text-muted">
Tests: {% if workflow.tests %}✅{% else %}❌{% endif %}
Results: {% if workflow.test_results == nil %}Not yet automated{% endif %}
</p>

<a href="{{ site.url }}{{ site.baseurl }}/{{ workflow.path }}" class="btn btn-primary">Download Galaxy Workflow.ga</a>
<a href="https://usegalaxy.eu/workflows/trs_import?run_form=true&trs_url={{ workflow.trs_endpoint }}" class="btn btn-secondary hide-when-galaxy-proxy-active">EU</a>
<a href="https://usegalaxy.org/workflows/trs_import?run_form=true&trs_url={{ workflow.trs_endpoint }}" class="btn btn-secondary hide-when-galaxy-proxy-active">US</a>
<a href="https://usegalaxy.org.au/workflows/trs_import?run_form=true&trs_url={{ workflow.trs_endpoint }}" class="btn btn-secondary hide-when-galaxy-proxy-active">AU</a>
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false">
Import or Download
</button>
<div class="dropdown-menu">
<a href="{{ site.url }}{{ site.baseurl }}/{{ workflow.path }}" class="dropdown-item">Download Galaxy Workflow.ga</a>
<a href="https://usegalaxy.eu/workflows/trs_import?run_form=true&trs_url={{ workflow.trs_endpoint }}" class="dropdown-item hide-when-galaxy-proxy-active">UseGalaxy.eu</a>
<a href="https://usegalaxy.org/workflows/trs_import?run_form=true&trs_url={{ workflow.trs_endpoint }}" class="dropdown-item hide-when-galaxy-proxy-active">UseGalaxy.org</a>
<a href="https://usegalaxy.org.au/workflows/trs_import?run_form=true&trs_url={{ workflow.trs_endpoint }}" class="dropdown-item hide-when-galaxy-proxy-active">UseGalaxy.org.au</a>
<a href="https://my.galaxy.training/?path=/workflows/trs_import%3Frun_form=true%26trs_url={{ workflow.trs_endpoint }}"
class="btn btn-secondary hide-when-galaxy-proxy-active">Import to another server (≥23.0+ only!)</a>
class="dropdown-item hide-when-galaxy-proxy-active">Import to another server (≥23.0+ only!)</a>
</div>
</div>

</div>
<pre class="mermaid">{{ workflow.mermaid }}
Expand Down

0 comments on commit 84e1aac

Please sign in to comment.