Fix design on standard view (#3)

* Move notes above the fields
* Adding documentation
* Add documentation
* Fix design issue on standard view
This commit is contained in:
Sergiu Toporjinschi
2022-02-08 21:34:52 +02:00
committed by GitHub
parent 1401aa8252
commit a2751b96d6
15 changed files with 210 additions and 788 deletions
@@ -26,12 +26,12 @@
{% set max = max|default("") %}
{% set unit = unit|trim|default("") %}
<div class="row-fluid">
<div class="span6">
<div data-bind="class: $root.columnLabelCls()">
<label for="{{ label }}" class="pull-right" style="margin-top: 5px;" title="{{ title }}">
{{ _(label) }}
</label>
</div>
<div class="span6">
<div data-bind="class: $root.columnFieldCls()">
<div class="input-append">
<input type="{{ type }}" id="{{ label }}" title="{{ title }}" class="input-small" step="{{ step }}" min="{{ min }}" max="{{ max }}" data-bind="value: {{ binding }}, enable: {{ enable }}">
{% if unit != "" %}
@@ -49,12 +49,12 @@
{% set max = max|default("") %}
{% set unit = unit|trim|default("") %}
<div class="row-fluid">
<div class="span6">
<div data-bind="class: $root.columnLabelCls()">
<label for="{{ label }}" class="pull-right" style="margin-top: 5px;" title="{{ title }}">
{{ _(label) }}
</label>
</div>
<div class="span6">
<div data-bind="class: $root.columnFieldCls()">
<div class="input-append input-prepend">
<span class="add-on" title="{{ title }}">{{ _(label) }}</span>
<input type="{{ type }}" id="{{ label }}" title="{{ title }}" class="input-small" step="{{ step }}" min="{{ min }}" max="{{ max }}" data-bind="value: {{ binding }}, enable: {{ enable }}">