From 46684cb7e652d1e2639af434047dab7e110c21c8 Mon Sep 17 00:00:00 2001 From: Sam Wachspress Date: Mon, 3 May 2021 21:54:31 -0500 Subject: [PATCH 1/2] improve indel primer list page --- base/static/css/styles.css | 10 +++ base/templates/tools/indel_primer.html | 18 +++--- base/templates/tools/ip_result_list.html | 79 ++++++++++++++++++------ 3 files changed, 80 insertions(+), 27 deletions(-) diff --git a/base/static/css/styles.css b/base/static/css/styles.css index c52382dc..6ed1cfeb 100644 --- a/base/static/css/styles.css +++ b/base/static/css/styles.css @@ -638,3 +638,13 @@ article { padding-left: 0px; padding-right: 0px; } + +.dataTables_filter { + padding-top: 10px; + padding-bottom: 10px; +} + +.dataTables_length { + padding-top: 10px; + padding-bottom: 10px; +} \ No newline at end of file diff --git a/base/templates/tools/indel_primer.html b/base/templates/tools/indel_primer.html index 8f80ca4d..a2b447c7 100644 --- a/base/templates/tools/indel_primer.html +++ b/base/templates/tools/indel_primer.html @@ -31,6 +31,15 @@ These regions should be avoided because indel calls are less reliable and high levels of variation will make primer searches more error-prone.

+
+
+ +
{{ form.csrf_token }} @@ -47,15 +56,6 @@
-
diff --git a/base/templates/tools/ip_result_list.html b/base/templates/tools/ip_result_list.html index ccb47d34..b4fce769 100644 --- a/base/templates/tools/ip_result_list.html +++ b/base/templates/tools/ip_result_list.html @@ -1,22 +1,39 @@ {% extends "_layouts/default.html" %} +{% block custom_head %} + + +{% endblock %} + +{% block style %} + +{% endblock %} + {% block content %}
- - - +
- - - - - - - - + + + + + + @@ -24,15 +41,15 @@ {% for item in items %} {% if item %} - - - + + + {% if item.empty %} - + {% else %} - + {% endif %} - {% endif %} - + {% endfor %} @@ -54,3 +71,29 @@ {% endblock %} + +{% block script %} + + + + +{% endblock %} \ No newline at end of file From e5d195ed9d7f3ac1296ccee140e5e603ae7c1a83 Mon Sep 17 00:00:00 2001 From: Sam Wachspress Date: Mon, 3 May 2021 21:56:39 -0500 Subject: [PATCH 2/2] newline at eof --- base/static/css/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/static/css/styles.css b/base/static/css/styles.css index 6ed1cfeb..ff25e5ec 100644 --- a/base/static/css/styles.css +++ b/base/static/css/styles.css @@ -647,4 +647,4 @@ article { .dataTables_length { padding-top: 10px; padding-bottom: 10px; -} \ No newline at end of file +}
Site Strain 1 Strain 2 Empty Status Date Site Strain 1 Strain 2 Empty Status Date
{{ item.site }} {{ item.strain1 }} {{ item.strain2 }} {{ item.site }} {{ item.strain1 }} {{ item.strain2 }} + {% if item.status == 'COMPLETE' %} {{ item.status }} @@ -42,7 +59,7 @@ {% endif %} {{ item.created_on|date_format }} {{ item.created_on|date_format }}