mirror of
https://github.com/pklaus/brother_ql_web.git
synced 2024-05-25 11:56:53 +03:00
allow to select fonts family AND style in web interface
This commit is contained in:
@@ -49,7 +49,11 @@
|
||||
<div class="chooser panel-body">
|
||||
<label for="fontFamily">Font Family:</label>
|
||||
<select class="form-control" id="fontFamily" onChange="preview()">
|
||||
{% for font in fonts %}<option>{{font}}</option> {% endfor %}
|
||||
{% for font_family_name in font_family_names %}
|
||||
{% for font_style in fonts[font_family_name].keys() %}
|
||||
<option>{{font_family_name}} ({{ font_style }})</option>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</select>
|
||||
<label for="fontSize" >Font Size:</label>
|
||||
<input id="fontSize" class="form-control" type="number" min="1" value="70" onChange="preview()" required>
|
||||
|
||||
Reference in New Issue
Block a user