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

reformat menu based on feedback #4570

Merged
merged 1 commit into from
Dec 6, 2023
Merged
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
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
Loading