From cb69dc529f14c171e9c02b2a5f559a7b48cedfeb Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Sun, 7 Nov 2010 15:46:49 -0800 Subject: [PATCH] Remove another ExtJS panel reference. This version has a working two column independantly scrollable library browse with no ExtJS dependency. --- htsworkflow/frontend/samples/views.py | 5 +- .../templates/samples/library_index.html | 94 +++++++++---------- 2 files changed, 48 insertions(+), 51 deletions(-) diff --git a/htsworkflow/frontend/samples/views.py b/htsworkflow/frontend/samples/views.py index e63cf4d..afccc02 100644 --- a/htsworkflow/frontend/samples/views.py +++ b/htsworkflow/frontend/samples/views.py @@ -62,7 +62,7 @@ def count_lanes(lane_set): def create_library_context(cl): """ - Create a list of libraries that includes how many lanes were run + Create a list of libraries that includes how many lanes were run """ records = [] #for lib in library_items.object_list: @@ -88,7 +88,7 @@ def create_library_context(cl): return {'library_list': records } def library(request): - # build changelist + # build changelist fcl = ChangeList(request, Library, list_filter=['affiliations', 'library_species'], search_fields=['id', 'library_name', 'amplified_from_sample__id'], @@ -103,7 +103,6 @@ def library(request): app_context = { 'page_name': 'Library Index', - 'east_region_config_div': 'changelist-filter', 'body': t.render(c) } app_context.update(SAMPLES_CONTEXT_DEFAULTS) diff --git a/htsworkflow/frontend/templates/samples/library_index.html b/htsworkflow/frontend/templates/samples/library_index.html index af2f9ed..1a53ac2 100644 --- a/htsworkflow/frontend/templates/samples/library_index.html +++ b/htsworkflow/frontend/templates/samples/library_index.html @@ -16,7 +16,6 @@ {% endblock %} {% block bodyclass %}change-list{% endblock %} {% block coltype %}flex{% endblock %} - {% block content %}
@@ -34,52 +33,51 @@
{% endif %} {% endblock %} -{% block summary_stats %} - - - - - - - - - - - - - - - - - - - - - - - - {% for lib in library_list %} - - - - - - - - - - - - {% if lib.is_archived %} - - {% else %} - - {% endif %} - - {% endfor %} - -
ParentLibrary IDSpeciesLibrary NameSinglePairedHD
<40<100100+<40<100100+
{{ lib.amplified_from }}{{ lib.library_id }}{{ lib.species_name }}{{ lib.library_name }}{{ lib.lanes_run.0.0 }}{{ lib.lanes_run.0.1 }}{{ lib.lanes_run.0.2 }}{{ lib.lanes_run.1.0 }}{{ lib.lanes_run.1.1 }}{{ lib.lanes_run.1.2 }}Archived
+ {% block summary_stats %} + + + + + + + + + + + + + + + + + + + + + + + + {% for lib in library_list %} + + + + + + + + + + + + {% if lib.is_archived %} + + {% else %} + + {% endif %} + + {% endfor %} + +
ParentLibrary IDSpeciesLibrary NameSinglePairedHD
<40<100100+<40<100100+
{{ lib.amplified_from }}{{ lib.library_id }}{{ lib.species_name }}{{ lib.library_name }}{{ lib.lanes_run.0.0 }}{{ lib.lanes_run.0.1 }}{{ lib.lanes_run.0.2 }}{{ lib.lanes_run.1.0 }}{{ lib.lanes_run.1.1 }}{{ lib.lanes_run.1.2 }}Archived
+ {% endblock %}
- -{% endblock %} {% endblock %} -- 2.30.2