aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorzsloan2024-03-13 17:36:41 +0000
committerzsloan2024-03-13 17:36:41 +0000
commit9583c7d21bd01f4b838a7281710952d3812223fe (patch)
tree2a861763c4cafaa05295218a821a749b5bdfc7fd /gn2
parentd1e03021bd0df00f295d954949acc73efe0850fa (diff)
downloadgenenetwork2-9583c7d21bd01f4b838a7281710952d3812223fe.tar.gz
Make some improvements to the collections list template
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/templates/collections/list.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/gn2/wqflask/templates/collections/list.html b/gn2/wqflask/templates/collections/list.html
index c553717f..c3d5d2a4 100644
--- a/gn2/wqflask/templates/collections/list.html
+++ b/gn2/wqflask/templates/collections/list.html
@@ -5,6 +5,7 @@
<link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='DataTables/css/jquery.dataTables.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ url_for('js', filename='DataTablesExtensions/buttonsBootstrap/css/buttons.bootstrap.css') }}" />
<link rel="stylesheet" type="text/css" href="/static/new/css/show_trait.css" />
+ <link rel="stylesheet" type="text/css" href="/static/new/css/trait_list.css" />
{% endblock %}
{% block content %}
<!-- Start of body -->
@@ -17,7 +18,7 @@
<h1>Your Collections</h1>
{% endif %}
- <div>
+ <div class="tool-button-container">
<button class="btn btn-default" id="select_all"><span class="glyphicon glyphicon-ok"></span> Select All</button>
<button class="btn btn-default" id="deselect_all"><span class="glyphicon glyphicon-remove"></span> Deselect All</button>
<button class="btn btn-default" id="invert"><span class="glyphicon glyphicon-resize-vertical"></span> Invert</button>
@@ -31,7 +32,7 @@
</form>
</div>
<br>
- <div id="collections_list" style="width:50%; margin-top: 10px; margin-bottom: 10px;">
+ <div id="collections_list" style="width: 800px;">
{%if anon_collections_error is defined%}
{{display_error("Anonymous Collections", anon_collections_error)}}
{%endif%}
@@ -65,7 +66,7 @@
</table>
{%endif%}
{% if collections|length > 0 %}
- {% if (anon_collections | length > 0) and (collections | length > 0) %}
+ {% if (anon_collections | length > 0) and (collections | length > 0) %}
<hr />
{%endif%}
<table class="table-hover table-striped cell-border" id='trait_table' style="float: left;">
@@ -94,7 +95,8 @@
{% endfor %}
</tbody>
</table>
- {% else %}
+ {% endif %}
+ {% if (anon_collections | length < 1) and (collections | length < 1) %}
You have no collections yet.
{% endif %}
</div>