{% extends layout|default('base.html', true) %} {% block style %} {% endblock %} {% block content %} Plexora - Open Project

Samples

Loading…

{# A dataset is a folder for samples that belong together. Beside Import Sample rather than on a page of its own: the whole point is that grouping is something done in passing while looking at the samples, not a management screen to go to. #} {# A button rather than a link: importing opens a dialog in place instead of navigating to a form. Whoever came here to find a sample and found they had not imported it yet should not lose this page to do so. #}
{# [ Projects ] [ Figures ] ... -- the strip only exists once something else is on it. A single tab reading "Projects" beside nothing is a control that does not control anything, so a core-only build renders no strip at all rather than a degenerate one. #} {% set page_tabs = data.plugin_nav_items | selectattr('menu', 'equalto', 'open_project') | list %} {% if page_tabs %}
Projects {% for item in page_tabs %} {{ item.label }} {% endfor %}
{% endif %} {# Where you are, and the way back out. The root crumb is also a drop target: dragging cards onto it is how a project leaves a dataset, which is the counterpart of dragging it onto a folder and is the only gesture that could otherwise not be undone the same way it was done. #}
{# What can be done to a selection, shown only once there is one. Every action here is a bulk one: the per-card Edit and Delete stay on the cards, where they are about that one project. #}
{# An emptied folder is still somewhere you can drop things, which is why this is its own panel rather than the "no results" one: it has to hold enough height to be a target. #}
{% endblock %}