Browse Source

HUE-5640 [importer] Align better Solr fields

Enrico Berti 9 years ago
parent
commit
fbe58a8
1 changed files with 7 additions and 4 deletions
  1. 7 4
      desktop/libs/indexer/src/indexer/templates/importer.mako

+ 7 - 4
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -81,12 +81,17 @@ ${ assist.assistPanel() }
     text-align: right;
     padding-right: 8px;
     display: inline-block;
+    vertical-align: middle;
   }
 
   .step label.checkbox {
     margin-left: 130px;
   }
 
+  .step .field-properties label.checkbox {
+    margin-left: 10px;
+  }
+
   .step label:not(.checkbox) {
     display: inline-block;
   }
@@ -696,10 +701,8 @@ ${ assist.assistPanel() }
   <label>${ _('Type') }
     <select class="input-small" data-bind="selectize: $root.createWizard.fieldTypes, value: type"></select>
   </label>
-  <a href="javascript:void(0)" title="${ _('Show field properties') }" data-bind="click: function() {showProperties(! showProperties()) }">
-    <i class="fa fa-sliders"></i>
-  </a>
-  <span data-bind="visible: showProperties">
+  <a href="javascript:void(0)" title="${ _('Show field properties') }" data-bind="css: {'inactive-action': !showProperties()}, click: function() {showProperties(!showProperties()) }"><i class="fa fa-sliders"></i></a>
+  <span data-bind="visible: showProperties" class="field-properties">
     <label class="checkbox">
       <input type="checkbox" data-bind="checked: unique"> ${_('Unique')}
     </label>