[assist] Unify dashboard assistant look & feel with the SQL assistant
@@ -2593,17 +2593,10 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, get_ord
<!-- ko if: filteredFields().length > 0 -->
<ul class="assist-tables" data-bind="foreachVisible: { data: filteredFields, minHeight: 23, container: '.assist-db-scrollable' }">
<li class="assist-entry assist-table-link" style="position: relative;">
- <a href="javascript:void(0)" class="assist-entry assist-table-link" data-bind="attr: {'title': name() + ' - ' + type() }">
- <!-- ko if: isId -->
- <i class="fa fa-fw fa-key muted valign-middle"></i>
- <!-- /ko -->
- <!-- ko ifnot: isId -->
- <i class="fa fa-fw fa-genderless muted valign-middle"></i>
- <!-- /ko -->
- <div data-bind="text: name" class="inline-block"></div>
- <div data-bind="text: type" class="pull-right muted margin-right-20"></div>
- <div class="clearfix"></div>
- </a>
+ <div class="assist-entry default-cursor assist-entry-left-action" href="javascript:void(0)" data-bind="attr: {'title': name() + ' - ' + type() }, draggableText: { text: name, meta: {'type': 'solr', 'field': name, 'type': type} }">
+ <span data-bind="text: type" class="muted pull-right margin-right-20"></span>
+ <span data-bind="text: name"></span><!-- ko if: isId --> <i class="fa fa-key"></i><!-- /ko -->
+ </div>
</li>
</ul>
<!-- /ko -->
