Skip to content
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
7 changes: 4 additions & 3 deletions weblab/static/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,13 @@ h1#entityname,
h2#entityversionname,
h3#entityversionfilename
{
margin-bottom:0;
margin-top: 0.5em;
margin-bottom: 0;
}
.suppl
{
color: #888;
font-size: .8em;
color: #888;
font-size: .8em;
}


Expand Down
1 change: 0 additions & 1 deletion weblab/templates/datasets/dataset_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@

<div id="experiment-files-switcher">
{% comment %}
<button style="float:left;" id="experiment-files-switcher-files" title="View files associated with this dataset">Files</button>
<button style="margin-left:5px; float:left;" id="experiment-files-switcher-exp" title="View &amp; compare experiments using this ${entity.type}">Compare ${otherType}s</button>
<br/>
{% endcomment %}
Expand Down
13 changes: 4 additions & 9 deletions weblab/templates/entities/entity_version.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@
data-alter-file-href="{% entity_url 'alter_file' entity %}"
data-get-proto-interfaces-href="{% url 'entities:get_protocol_interfaces' %}"
data-version-json-href="{% entity_version_url 'version_json' entity version %}">
<div class="closebtn">
<small>
<a href="{% entity_url 'version_list' entity %}">list all versions</a>
{% if permission %}
| <a href="{% entity_url 'newversion' entity %}">add new version</a>
{% endif %}
</small>
</div>

<h2 id="entityversionname">
<small>Version:</small>
Expand Down Expand Up @@ -60,7 +52,10 @@ <h2 id="entityversionname">
</div>

<div id="entity-view-buttons" class="link-list">
<a class="button selected" href="{% entity_version_url 'version' entity version %}" title="View files associated with this {{ type }}">Files</a>
<a class="button" href="{% entity_url 'version_list' entity %}" title="List all versions of this {{ type }}">List versions</a>
{% if permission %}
<a class="button" href="{% entity_url 'newversion' entity %}" title="Add new version of this {{ type }}">Add version</a>
{% endif %}
<div class="button hover-menu" title="Compare... (hover to see options)">Compare&hellip;<ul>
{% if type == 'model' or type == 'protocol' %}
<li><a href="{{ entity|url_compare_experiments:version }}" title="Compare experiment results of {% if type == 'model' %}protocols run on this model version{% else %}this protocol version run on different models{% endif %}">Results with different {{ other_type }}s</a></li>
Expand Down