[importer] Restyled normal partitions
@@ -438,17 +438,21 @@ ${ assist.assistPanel() }
<input type="checkbox" data-bind="checked: hasHeader"> ${_('Use first row as column names')}
</label>
- <label for="tablePartitions" class="control-label"><div>${ _('Partitions') }</div>
+ <label class="control-label"><div>${ _('Partitions') }</div>
<!-- ko if: tableFormat() != 'kudu' -->
+ <div style="display: inline-table">
<div class="form-inline" data-bind="foreach: partitionColumns">
- <div data-bind="template: { name: 'table-field-template', data: $data }" class="margin-top-10 field"></div>
- <a data-bind="click: function() { $parent.partitionColumns.remove($data); }"><i class="fa fa-minus"></i></a>
+ <div data-bind="template: { name: 'table-field-template', data: $data }" class="margin-top-10 field inline-block"></div>
+ <a class="pointer inline-block" data-bind="click: function() { $parent.partitionColumns.remove($data); }"><i class="fa fa-minus"></i></a>
+ <div class="clearfix"></div>
</div>
<a data-bind="click: function() { partitionColumns.push($root.loadField({operations: [], nested: [], name: '', level: 0, type: '', keyType: '', showProperties: false, isPartition: true})); }" class="pointer margin-left-20" title="${_('Add Operation')}"><i class="fa fa-plus"></i> ${_('Add partition')}</a>
+ </div>
<!-- /ko -->
<!-- ko if: tableFormat() == 'kudu' -->
+ <div style="display: inline-table">
<div class="form-inline" data-bind="foreach: kuduPartitionColumns">
${ _('Columns') }
<select id="kuduPks" data-bind="selectize: $parent.primaryKeys, selectedOptions: columns" size="3" multiple="true"></select>
@@ -459,7 +463,7 @@ ${ assist.assistPanel() }
<!-- /ko -->
<!-- ko if: name() == 'RANGE BY' -->
- <div class="form-inline" data-bind="foreach: range_partitions">
+ <div class="form-inline" data-bind="foreach: range_partitions" style="display: inline-table">
<!-- ko if: name() == 'VALUES' -->
<input type="input" data-bind="value: lower_val">
<input type="checkbox" data-bind="checked: include_lower_val">
@@ -491,6 +495,7 @@ ${ assist.assistPanel() }
<!-- /ko -->
</div>
<a data-bind="click: function() { kuduPartitionColumns.push(ko.mapping.fromJS({columns: [], range_partitions: [], name: 'HASH', int_val: 16})); }" class="pointer margin-left-20" title="${_('Add Operation')}"><i class="fa fa-plus"></i> ${_('Add partition')}</a>
+ </div>
<!-- /ko -->
</label>
