|
|
@@ -361,7 +361,7 @@ except ImportError, e:
|
|
|
${ _('A file (max %s cells)') % DOWNLOAD_CELL_LIMIT.get() }
|
|
|
</label>
|
|
|
<div data-bind="visible: saveTarget() == 'hdfs-file'" class="inline">
|
|
|
- <input data-bind="value: savePath, valueUpdate:'afterkeydown', filechooser: { value: savePath, isNestedModal: true }, filechooserOptions: { uploadFile: false, skipInitialPathIfEmpty: true }, hdfsAutocomplete: savePath" type="text" name="target_file" placeholder="${_('Path to CSV file')}" class="pathChooser margin-left-10">
|
|
|
+ <input data-bind="value: savePath, valueUpdate:'afterkeydown', filechooser: { value: savePath, isNestedModal: true }, filechooserOptions: { uploadFile: false, skipInitialPathIfEmpty: true, linkMarkup: true }, hdfsAutocomplete: savePath" type="text" name="target_file" placeholder="${_('Path to CSV file')}" class="pathChooser margin-left-10">
|
|
|
</div>
|
|
|
<label class="radio" data-bind="visible: saveTarget() == 'hdfs-file'">
|
|
|
<input data-bind="checked: saveOverwrite" type="checkbox" name="overwrite">
|
|
|
@@ -376,7 +376,7 @@ except ImportError, e:
|
|
|
${ _('A file (large result)') }
|
|
|
</label>
|
|
|
<div data-bind="visible: saveTarget() == 'hdfs-directory'" class="inline">
|
|
|
- <input data-bind="value: savePath, valueUpdate:'afterkeydown', filechooser: { value: savePath, isNestedModal: true }, filechooserOptions: { uploadFile: false, skipInitialPathIfEmpty: true, displayOnlyFolders: true }, hdfsAutocomplete: savePath" type="text" name="target_dir" placeholder="${_('Path to empty directory')}" class="pathChooser margin-left-10">
|
|
|
+ <input data-bind="value: savePath, valueUpdate:'afterkeydown', filechooser: { value: savePath, isNestedModal: true }, filechooserOptions: { uploadFile: false, skipInitialPathIfEmpty: true, displayOnlyFolders: true, linkMarkup: true }, hdfsAutocomplete: savePath" type="text" name="target_dir" placeholder="${_('Path to empty directory')}" class="pathChooser margin-left-10">
|
|
|
<div class="inline-block" data-bind="tooltip: { title: '${ _ko("Use this option if you have a large result. It will rerun the entire query and save the results to the chosen HDFS directory.") }', placement: 'top' }" style="padding: 8px">
|
|
|
<i class="fa fa-fw fa-question-circle muted"></i>
|
|
|
</div>
|
|
|
@@ -448,6 +448,7 @@ except ImportError, e:
|
|
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
(function () {
|
|
|
+
|
|
|
function DownloadResultsViewModel (params, element) {
|
|
|
var self = this;
|
|
|
self.$downloadForm = $(element).find(".download-form");
|