PDF editor: Small UX improvements (#3185)

This commit is contained in:
Raphael Michel
2023-03-28 09:47:37 +02:00
committed by GitHub
parent c612f183ef
commit 861c689410
4 changed files with 75 additions and 10 deletions

View File

@@ -174,6 +174,14 @@
</span>
</div>
<div class="panel-body" id="toolbox-body">
{% if name %}
<div class="row control-group pdf-info">
<div class="col-sm-12">
<label>{% trans "Layout name" %}</label><br>
<input type="text" id="pdf-info-name" class="input-block-level form-control" name="name" value="{{ name }}">
</div>
</div>
{% endif %}
<div class="row control-group pdf-info">
<div class="col-sm-6">
<label>{% trans "Width (mm)" %}</label><br>
@@ -455,6 +463,7 @@
{% trans "Preview" %}
</button>
<button type="submit" class="btn btn-primary btn-save" id="editor-save">
<span class="fa fa-fw fa-save"></span>
{% trans "Save" %}
</button>
</div>