mirror of
https://github.com/pklaus/brother_ql_web.git
synced 2024-05-25 11:56:53 +03:00
Move to a collapsible accordion for the settings
This commit is contained in:
parent
3c26567223
commit
5df1ea821b
|
@ -12,16 +12,38 @@
|
|||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<fieldset class="form-group">
|
||||
<label for="labelSize">Label Size:</label>
|
||||
<div class="panel-group" id="accordion">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="#collapse1">
|
||||
Label Size</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="collapse1" class="panel-collapse collapse">
|
||||
<label for="labelSize" style="display: none">Label Size:</label>
|
||||
<select class="form-control" id="labelSize" onChange="preview()">
|
||||
{% for label_size in label_sizes %}<option value="{{label_size[0]}}">{{label_size[1]}}</option>{% endfor %}
|
||||
</select>
|
||||
<label for="fontFamily">Font Selection:</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="#collapse2">
|
||||
Font Settings</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="collapse2" class="panel-collapse collapse in">
|
||||
<label for="fontFamily">Font Family:</label>
|
||||
<select class="form-control" id="fontFamily" onChange="preview()">
|
||||
{% for font in fonts %}<option>{{font}}</option> {% endfor %}
|
||||
</select>
|
||||
<label for="fontSize" >Font Size:</label>
|
||||
<input id="fontSize" type="text" name="quant[2]" class="form-control input-number" value="70" min="1" max="120" onChange="preview()">
|
||||
<input id="fontSize" class="form-control" type="number" min="1" value="70" max="150" onChange="preview()">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
|
|
Loading…
Reference in New Issue
Block a user