aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2020-07-13 00:44:56 -0500
committerBonfaceKilz2020-07-24 03:46:26 +0300
commitbd411b8de6dbc2f9b7f5592936c181c599afcdd6 (patch)
tree70a3db0e876b206645905739ee73f4834aa50df4 /wqflask
parenta3b488a88ce27fa206d830961c32695ffc4de480 (diff)
downloadgenenetwork2-bd411b8de6dbc2f9b7f5592936c181c599afcdd6.tar.gz
Added pagination to search pages and moved info to both top and bottom of each table
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/gsearch_gene.html5
-rw-r--r--wqflask/wqflask/templates/gsearch_pheno.html5
-rw-r--r--wqflask/wqflask/templates/search_result_page.html18
-rw-r--r--wqflask/wqflask/templates/snp_browser.html4
4 files changed, 18 insertions, 14 deletions
diff --git a/wqflask/wqflask/templates/gsearch_gene.html b/wqflask/wqflask/templates/gsearch_gene.html
index 8c261eec..62ef1a7b 100644
--- a/wqflask/wqflask/templates/gsearch_gene.html
+++ b/wqflask/wqflask/templates/gsearch_gene.html
@@ -249,10 +249,11 @@
}
],
'order': [[1, "asc" ]],
- 'sDom': "tir",
+ 'sDom': "pitirp",
'autoWidth': true,
+ 'iDisplayLength': 500,
'deferRender': true,
- 'paging': false,
+ 'paging': true,
'orderClasses': true,
'processing': true,
'language': {
diff --git a/wqflask/wqflask/templates/gsearch_pheno.html b/wqflask/wqflask/templates/gsearch_pheno.html
index 04b45659..f5058158 100644
--- a/wqflask/wqflask/templates/gsearch_pheno.html
+++ b/wqflask/wqflask/templates/gsearch_pheno.html
@@ -250,10 +250,11 @@
}
],
'order': [[1, "asc" ]],
- 'sDom': "tir",
+ 'sDom': "pitirp",
'autoWidth': false,
'deferRender': true,
- 'paging': false,
+ 'iDisplayLength': 500,
+ 'paging': true,
'orderClasses': true,
'processing': true,
'language': {
diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html
index 3dfae3dd..1f76ea82 100644
--- a/wqflask/wqflask/templates/search_result_page.html
+++ b/wqflask/wqflask/templates/search_result_page.html
@@ -377,11 +377,12 @@
} else{
author_string = data.authors
}
- try {
- return decodeURIComponent(escape(author_string))
- } catch(err){
- return author_string
- }
+ return author_string
+ // try {
+ // return decodeURIComponent(escape(author_string))
+ // } catch(err){
+ // return author_string
+ // }
}
},
{
@@ -441,12 +442,13 @@
postfixButtons: [ 'colvisRestore' ]
}
],
- 'sDom': "Bitir",
+ 'sDom': "Bpitirp",
{% else %}
- 'sDom': "itir",
+ 'sDom': "pitirp",
{% endif %}
+ 'iDisplayLength': 500,
'deferRender': true,
- 'paging': false,
+ 'paging': true,
'orderClasses': true,
'processing': true,
'language': {
diff --git a/wqflask/wqflask/templates/snp_browser.html b/wqflask/wqflask/templates/snp_browser.html
index 88cb4d31..4537cd06 100644
--- a/wqflask/wqflask/templates/snp_browser.html
+++ b/wqflask/wqflask/templates/snp_browser.html
@@ -406,8 +406,8 @@
],
{% endif %}
'order': [[1, "asc" ]],
- 'sDom': "rti",
- 'iDisplayLength': -1,
+ 'sDom': "rtip",
+ 'iDisplayLength': 500,
'processing': true,
'language': {
'loadingRecords': ' ',