[fb] Support shift + click to select multi rows
@@ -42,7 +42,7 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
<i class="fa fa-spinner fa-spin hue-spinner-large hue-spinner-center muted"></i>
</div>
- <table class="table table-condensed datatables tablescroller-disable" data-bind="style: {'opacity': isLoading() ? '.5': '1'}">
+ <table id="fileBrowserTable" class="table table-condensed datatables tablescroller-disable" data-bind="style: {'opacity': isLoading() ? '.5': '1'}">
<thead>
<tr>
<th width="1%"><div data-bind="click: selectAll, css: {hueCheckbox: true, 'fa': true, 'fa-check': allSelected}" class="select-all"></div></th>
@@ -634,7 +634,7 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
<script id="fileTemplate" type="text/html">
<tr class="row-animated" style="cursor: pointer" data-bind="drop: { enabled: name !== '.' && type !== 'file' && (!$root.isS3() || ($root.isS3() && !$root.isS3Root())), value: $data }, event: { mouseover: toggleHover, mouseout: toggleHover, contextmenu: showContextMenu }, click: $root.viewFile, css: { 'row-selected': selected(), 'row-highlighted': highlighted(), 'row-deleted': deleted() }">
<td class="center" data-bind="click: handleSelect" style="cursor: default">
- <div data-bind="visible: name != '..', css: { hueCheckbox: name != '..', 'fa': name != '..', 'fa-check': selected }"></div>
+ <div data-bind="multiCheck: '#fileBrowserTable', visible: name != '..', css: { hueCheckbox: name != '..', 'fa': name != '..', 'fa-check': selected }"></div>
</td>
<td class="left"><i data-bind="click: $root.viewFile, css: { 'fa': true,
% if 'oozie' in apps:
