From 5b63c582c106ac219d16a79a995b0bc2fde6fcf5 Mon Sep 17 00:00:00 2001
From: Frederick Muriuki Muriithi
Date: Wed, 7 Feb 2024 15:28:26 +0300
Subject: Set up limits for inputs in UI
---
qc_app/templates/rqtl2/select-geno-dataset.html | 7 +++++--
qc_app/templates/rqtl2/select-population.html | 4 +++-
qc_app/templates/rqtl2/select-probeset-dataset.html | 3 +++
qc_app/templates/rqtl2/select-probeset-study-id.html | 9 ++++++---
4 files changed, 17 insertions(+), 6 deletions(-)
(limited to 'qc_app/templates')
diff --git a/qc_app/templates/rqtl2/select-geno-dataset.html b/qc_app/templates/rqtl2/select-geno-dataset.html
index 1964a79..069ae98 100644
--- a/qc_app/templates/rqtl2/select-geno-dataset.html
+++ b/qc_app/templates/rqtl2/select-geno-dataset.html
@@ -79,6 +79,7 @@
Provide the new name for the genotype dataset, e.g. "BXDGeno"
@@ -90,7 +91,8 @@
+ required="required"
+ maxlength="100" />
Provide a longer name that better describes the genotype dataset, e.g.
@@ -102,7 +104,8 @@
+ name="dataset-shortname"
+ maxlength="100" />
Provide a short name for the genotype dataset. This is optional. If not
diff --git a/qc_app/templates/rqtl2/select-population.html b/qc_app/templates/rqtl2/select-population.html
index 8f2db84..0f0ee18 100644
--- a/qc_app/templates/rqtl2/select-population.html
+++ b/qc_app/templates/rqtl2/select-population.html
@@ -62,6 +62,7 @@
name="inbredset_name"
type="text"
required="required"
+ maxlength="30"
placeholder="Enter grouping/population name"
class="form-col-2" />
This is a short name that identifies the
@@ -71,7 +72,8 @@
This can be the same as the name above, or can
diff --git a/qc_app/templates/rqtl2/select-probeset-dataset.html b/qc_app/templates/rqtl2/select-probeset-dataset.html
index ebd715e..aa30f6f 100644
--- a/qc_app/templates/rqtl2/select-probeset-dataset.html
+++ b/qc_app/templates/rqtl2/select-probeset-dataset.html
@@ -102,6 +102,7 @@
@@ -114,6 +115,7 @@
@@ -126,6 +128,7 @@