aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/rqtl2/select-population.html
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/templates/rqtl2/select-population.html')
-rw-r--r--qc_app/templates/rqtl2/select-population.html148
1 files changed, 78 insertions, 70 deletions
diff --git a/qc_app/templates/rqtl2/select-population.html b/qc_app/templates/rqtl2/select-population.html
index 1102805..37731f0 100644
--- a/qc_app/templates/rqtl2/select-population.html
+++ b/qc_app/templates/rqtl2/select-population.html
@@ -22,29 +22,26 @@
{{flash_messages("error-select-population")}}
<input type="hidden" name="species_id" value="{{species.SpeciesId}}" />
- <fieldset>
- <label for="select:inbredset" class="form-col-1">population</label>
+
+ <div class="form-group">
+ <label for="select:inbredset" class="form-label">population</label>
<select id="select:inbredset"
name="inbredset_id"
required="required"
- class="form-col-2">
+ class="form-control">
<option value="">Select a grouping/population</option>
{%for pop in populations%}
<option value="{{pop.InbredSetId}}">
{{pop.InbredSetName}} ({{pop.FullName}})</option>
{%endfor%}
</select>
- <span class="form-input-help">If you are adding data to an already existing
+ <span class="form-text text-muted">If you are adding data to an already existing
population, simply pick the population from this drop-down selector. If
you cannot find your population from this list, try the form below to
create a new one..</span>
- </fieldset>
+ </div>
- <fieldset>
- <input type="submit"
- value="select population"
- class="btn btn-primary form-col-2" />
- </fieldset>
+ <button type="submit" class="btn btn-primary" />select population</button>
</form>
<p style="color:#FE3535; padding-left:20em; font-weight:bolder;">OR</p>
@@ -55,70 +52,81 @@
{{flash_messages("error-create-population")}}
<input type="hidden" name="species_id" value="{{species.SpeciesId}}" />
- <fieldset>
- <legend>mandatory</legend>
- <label for="txt:inbredset-name" class="form-col-1">name</label>
- <input id="txt:inbredset-name"
- 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
- population. Useful for menus, and quick scanning.</span>
-
- <label for="txt:" class="form-col-1">full name</label>
- <input id="txt:inbredset-fullname"
- name="inbredset_fullname"
- type="text"
- 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
- be longer. Useful for documentation, and human communication.</span>
- </fieldset>
- <fieldset>
- <legend>Optional</legend>
-
- <label for="num:public" class="form-col-1">public?</label>
- <select id="num:public"
- name="public"
- class="form-col-2">
- <option value="0">0 - Only accessible to authorised users</option>
- <option value="1">1 - Publicly accessible to all users</option>
- <option value="2" selected>
- 2 - Publicly accessible to all users</option>
- </select>
- <span class="form-input-help">This determines whether the
- population/grouping will appear on the menus for users.</span>
-
- <label for="txt:inbredset-family" class="form-col-1">family</label>
- <input id="txt:inbredset-family"
- name="inbredset_family"
- type="text"
- placeholder="I am not sure what this is about."
- class="form-col-2" />
- <span class="form-input-help">I do not currently know what this is about.
- This is a failure on my part to figure out what this is and provide a
- useful description. Please feel free to remind me.</span>
-
- <label for="txtarea:" class="form-col-1">Description</label>
+
+ <div class="form-group">
+ <legend class="heading">mandatory</legend>
+
+ <div class="form-group">
+ <label for="txt:inbredset-name" class="form-label">name</label>
+ <input id="txt:inbredset-name"
+ name="inbredset_name"
+ type="text"
+ required="required"
+ maxlength="30"
+ placeholder="Enter grouping/population name"
+ class="form-control" />
+ <span class="form-text text-muted">This is a short name that identifies the
+ population. Useful for menus, and quick scanning.</span>
+ </div>
+
+ <div class="form-group">
+ <label for="txt:" class="form-label">full name</label>
+ <input id="txt:inbredset-fullname"
+ name="inbredset_fullname"
+ type="text"
+ required="required"
+ maxlength="100"
+ placeholder="Enter the grouping/population's full name"
+ class="form-control" />
+ <span class="form-text text-muted">This can be the same as the name above, or can
+ be longer. Useful for documentation, and human communication.</span>
+ </div>
+ </div>
+
+ <div class="form-group">
+ <legend class="heading">optional</legend>
+
+ <div class="form-group">
+ <label for="num:public" class="form-label">public?</label>
+ <select id="num:public"
+ name="public"
+ class="form-control">
+ <option value="0">0 - Only accessible to authorised users</option>
+ <option value="1">1 - Publicly accessible to all users</option>
+ <option value="2" selected>
+ 2 - Publicly accessible to all users</option>
+ </select>
+ <span class="form-text text-muted">This determines whether the
+ population/grouping will appear on the menus for users.</span>
+ </div>
+
+ <div class="form-group">
+ <label for="txt:inbredset-family" class="form-label">family</label>
+ <input id="txt:inbredset-family"
+ name="inbredset_family"
+ type="text"
+ placeholder="I am not sure what this is about."
+ class="form-control" />
+ <span class="form-text text-muted">I do not currently know what this is about.
+ This is a failure on my part to figure out what this is and provide a
+ useful description. Please feel free to remind me.</span>
+ </div>
+
+ <div class="form-group">
+ <label for="txtarea:" class="form-label">Description</label>
<textarea id="txtarea:description"
name="description"
rows="5"
placeholder="Enter a description of this grouping/population"
- class="form-col-2"></textarea>
- <span class="form-input-help">A long-form description of what the population
- consists of. Useful for humans.</span>
- </fieldset>
-
- <fieldset>
- <input type="submit"
- value="create grouping/population"
- class="btn btn-primary form-col-2" />
- </fieldset>
+ class="form-control"></textarea>
+ <span class="form-text text-muted">
+ A long-form description of what the population consists of. Useful for
+ humans.</span>
+ </div>
+ </div>
+
+ <button type="submit" class="btn btn-primary" />
+ create grouping/population</button>
</form>
{%endblock%}