Skip to content

Commit

Permalink
improving filter layout on mobile devices, see #19
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwdunlop committed Sep 8, 2015
1 parent 579c77e commit 778436a
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Select filters for {{model.prefLabel}}</h3>
<h3 id="myModalLabel">Select filters<span class="hidden-xs"> for <em>{{model.prefLabel}}</em></span></h3>
</div>
<div class="modal-body" style="overflow-y: visible;">
<div id="activity-filters">
<p><h4>Activity Filter</h4></p>
<div class="row">
<div class="col-sm-2">
<div class="col-sm-2 small-padding-bottom">
{{view "select"
content=activityTypes
optionLabelPath="content.label"
Expand All @@ -19,15 +19,15 @@
selection=selectedActivity
}}
</div>
<div class="col-sm-2">
<div class="col-sm-2 small-padding-bottom">
{{view "select"
content=conditions
prompt="Select an operator"
value=selectedCondition
selection=selectedCondition
}}
</div>
<div class="col-sm-4">
<div class="col-sm-4 small-padding-bottom">
{{input type="text" class="form-control" placeholder="Enter an activity value" value=activityValue id="activityValueInput"}}
</div>
<div class="col-sm-2">
Expand All @@ -52,7 +52,7 @@
<div id="pchembl-filters">
<p><h4>pChembl Filter</h4></p>
<div class="row form-group">
<div class="col-sm-2">
<div class="col-sm-2 small-padding-bottom">
{{view "select"
content=pchemblConditions
prompt="Select an operator"
Expand All @@ -67,11 +67,11 @@
</div>
<div>
<p><h4>Organism filters</h4></p>
<div class="row">
<h5 class="inline col-md-1">Assay:</h5> {{input type="text" class="form-control"placeholder="Assay organism name" value=assayOrganismQuery action="fetchOrganism" id="assay_organism_box" autocomplete="off"}}
<div>
<h5>Assay:</h5> {{input type="text" class="form-control"placeholder="Assay organism name" value=assayOrganismQuery action="fetchOrganism" id="assay_organism_box" autocomplete="off"}}
</div>
<div class="row">
<h5 class="inline col-md-1">Target:</h5> {{input type="text" class="form-control" placeholder="Target organism name" value=targetOrganismQuery action="fetchOrganism" id="target_organism_box" autocomplete="off"}}
<div>
<h5>Target:</h5> {{input type="text" class="form-control" placeholder="Target organism name" value=targetOrganismQuery action="fetchOrganism" id="target_organism_box" autocomplete="off"}}
</div>
</div>
</div>
Expand Down

0 comments on commit 778436a

Please sign in to comment.