aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/rqtl2
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-07 15:28:26 +0300
committerFrederick Muriuki Muriithi2024-02-07 15:28:26 +0300
commit5b63c582c106ac219d16a79a995b0bc2fde6fcf5 (patch)
tree29a665cb314a6e90b844c22b2d703cff517841df /qc_app/templates/rqtl2
parentb59ddf47a8f968e23aae6985986806ad5d704474 (diff)
downloadgn-uploader-5b63c582c106ac219d16a79a995b0bc2fde6fcf5.tar.gz
Set up limits for inputs in UI
Diffstat (limited to 'qc_app/templates/rqtl2')
-rw-r--r--qc_app/templates/rqtl2/select-geno-dataset.html7
-rw-r--r--qc_app/templates/rqtl2/select-population.html4
-rw-r--r--qc_app/templates/rqtl2/select-probeset-dataset.html3
-rw-r--r--qc_app/templates/rqtl2/select-probeset-study-id.html9
4 files changed, 17 insertions, 6 deletions
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 @@
<input type="text"
id="txt:dataset-name"
name="dataset-name"
+ maxlength="100"
required="required" />
<span class="form-col-2">
Provide the new name for the genotype dataset, e.g. "BXDGeno"
@@ -90,7 +91,8 @@
<input type="text"
id="txt:dataset-fullname"
name="dataset-fullname"
- required="required" />
+ required="required"
+ maxlength="100" />
<span class="form-col-2">
Provide a longer name that better describes the genotype dataset, e.g.
@@ -102,7 +104,8 @@
<label for="txt:dataset-shortname">Short Name</label>
<input type="text"
id="txt:dataset-shortname"
- name="dataset-shortname" />
+ name="dataset-shortname"
+ maxlength="100" />
<span class="form-col-2">
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" />
<span class="form-input-help">This is a short name that identifies the
@@ -71,7 +72,8 @@
<input id="txt:inbredset-fullname"
name="inbredset_fullname"
type="text"
- required = "required"
+ required="required"
+ maxlength="100"
placeholder="Enter the grouping/population's full name"
class="form-col-2" />
<span class="form-input-help">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 @@
<label for="txt:datasetname">Name</label>
<input type="text" id="txt:datasetname" name="datasetname"
required="required"
+ maxlength="40"
title="Name of the dataset, e.g 'BXDMicroArray_ProbeSet_June03'. (Required)" />
<span class="form-col-2">
@@ -114,6 +115,7 @@
<label for="txt:datasetfullname">Full Name</label>
<input type="text" id="txt:datasetfullname" name="datasetfullname"
required="required"
+ maxlength="100"
title="A longer name for the dataset, e.g. 'UTHSC Brain mRNA U74Av2 (Jun03) MAS5'. (Required)" />
<span class="form-col-2">
@@ -126,6 +128,7 @@
<fieldset>
<label for="txt:datasetshortname">Short Name</label>
<input type="text" id="txt:datasetshortname" name="datasetshortname"
+ maxlength="100"
title="An abbreviated name for the dataset, e.g 'Br_U_0603_M'. (Optional)" />
<span class="form-col-2">
diff --git a/qc_app/templates/rqtl2/select-probeset-study-id.html b/qc_app/templates/rqtl2/select-probeset-study-id.html
index 35fe655..3bbb94a 100644
--- a/qc_app/templates/rqtl2/select-probeset-study-id.html
+++ b/qc_app/templates/rqtl2/select-probeset-study-id.html
@@ -111,14 +111,16 @@
<label for="txt:studyname">Study name</label>
<input type="text" id="txt:studyname" name="studyname"
placeholder="Name of the study. (Required)"
- required="required" />
+ required="required"
+ maxlength="100" />
<span class="form-col-2">Provide a name for the study.</span>
</fieldset>
<fieldset>
<label for="txt:studyfullname">Full Study Name</label>
<input type="text" id="txt:studyfullname" name="studyfullname"
- placeholder="Longer name of the study. (Optional)" />
+ placeholder="Longer name of the study. (Optional)"
+ maxlength="100" />
<span class="form-col-2">
Provide a longer, more descriptive name for the study. This is optional
and you can leave it blank.
@@ -128,7 +130,8 @@
<fieldset>
<label for="txt:studyshortname">Short Study Name</label>
<input type="text" id="txt:studyshortname" name="studyshortname"
- placeholder="Shorter name of the study. (Optional)" />
+ placeholder="Shorter name of the study. (Optional)"
+ maxlength="100" />
<span class="form-col-2">
Provide a shorter name for the study. This is optional and you can leave
it blank.