fix(formatting of form)

This commit is contained in:
walkews 2017-07-12 11:13:00 -05:00
parent e1ae0fdc15
commit b5812d733f
2 changed files with 18 additions and 11 deletions

View file

@ -7,17 +7,12 @@ body{
font-weight:10; font-weight:10;
} }
.text_input{
height:75px;
width:70%;
max-width: 300px;
}
.chosen{ .chosen{
text-align:right;
float:right; float:right;
height:75px; height:75px;
width:70%; width:100%;
max-width: 300px; /*max-width: 300px;*/
padding:5px; padding:5px;
} }
@ -32,5 +27,12 @@ body{
.text_input{ .text_input{
float:right; float:right;
height:30px; height:30px;
width:70%; width:100%;
} }
.right{
float:right;
width:70%;
max-width: 300px;
}

View file

@ -4,7 +4,10 @@
<div class="row" min-height:150px> <div class="row" min-height:150px>
{% for input in inputs %} {% for input in inputs %}
<div class='col-sm-3'> <div class='col-sm-3'>
{{ input }}: <input type='text' class='text_input' id={{ input }} name='{{ input }}'> {{ input }}:
<div class='right'>
<input type='text' class='text_input' id={{ input }} name='{{ input }}'>
</div>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
@ -12,12 +15,14 @@
{% for dropdown in dropdowns %} {% for dropdown in dropdowns %}
<div class="col-sm-3"> <div class="col-sm-3">
{{ dropdown }}: {{ dropdown }}:
<div class='right'>
<select id={{ dropdown }} class="chosen" multiple="true"> <select id={{ dropdown }} class="chosen" multiple="true">
{% for item in dropdowns[dropdown] %} {% for item in dropdowns[dropdown] %}
<option>{{ item }}</option> <option>{{ item }}</option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>
</div>
{% endfor %} {% endfor %}
</div> </div>
</div> </div>