|
@@ -86,7 +86,8 @@ ${layout.menubar(section='query')}
|
|
|
<div class="control-group">
|
|
<div class="control-group">
|
|
|
${comps.label(f['key'])}
|
|
${comps.label(f['key'])}
|
|
|
${comps.field(f['key'], attrs=dict(placeholder=app_name == 'impala' and "ABORT_ON_ERROR" or "mapred.reduce.tasks",
|
|
${comps.field(f['key'], attrs=dict(placeholder=app_name == 'impala' and "ABORT_ON_ERROR" or "mapred.reduce.tasks",
|
|
|
- klass="settingsField span8"
|
|
|
|
|
|
|
+ klass="settingsField span8",
|
|
|
|
|
+ autocomplete="off"
|
|
|
))}
|
|
))}
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -630,6 +631,14 @@ ${layout.menubar(section='query')}
|
|
|
});
|
|
});
|
|
|
% endif
|
|
% endif
|
|
|
});
|
|
});
|
|
|
|
|
+
|
|
|
|
|
+ $.getJSON("${ url('beeswax:configuration') }", function(data) {
|
|
|
|
|
+ $(".settingsField").typeahead({
|
|
|
|
|
+ source: $.map(data.config_values, function(value, key) {
|
|
|
|
|
+ return value.key;
|
|
|
|
|
+ })
|
|
|
|
|
+ });
|
|
|
|
|
+ });
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|