mirror of https://github.com/apache/superset.git
parent
b93f9ec598
commit
7eceb140be
|
@ -153,8 +153,8 @@ const px = function () {
|
|||
if (data !== undefined) {
|
||||
$('#query_container').html(data.query);
|
||||
}
|
||||
$('#timer').removeClass('btn-warning');
|
||||
$('#timer').addClass('btn-success');
|
||||
$('#timer').removeClass('label-warning label-danger');
|
||||
$('#timer').addClass('label-success');
|
||||
$('span.view_query').removeClass('disabled');
|
||||
$('#json').click(function () {
|
||||
window.location = data.json_endpoint;
|
||||
|
@ -231,8 +231,8 @@ const px = function () {
|
|||
container.css('height', this.height());
|
||||
dttm = 0;
|
||||
timer = setInterval(stopwatch, 10);
|
||||
$('#timer').removeClass('btn-danger btn-success');
|
||||
$('#timer').addClass('btn-warning');
|
||||
$('#timer').removeClass('label-danger label-success');
|
||||
$('#timer').addClass('label-warning');
|
||||
this.viz.render();
|
||||
},
|
||||
resize() {
|
||||
|
|
|
@ -192,9 +192,16 @@
|
|||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="slice-meta-controls pull-right">
|
||||
<span id="is_cached" class="label label-default" title="{{ _("Force refresh" )}}" data-toggle="tooltip">
|
||||
<span id="is_cached" class="label label-default m-r-3" title="{{ _("Force refresh" )}}" data-toggle="tooltip">
|
||||
cached
|
||||
</span>
|
||||
<span
|
||||
class="label label-warning m-r-3"
|
||||
id="timer"
|
||||
title="{{ _("Query timer") }}"
|
||||
data-toggle="tooltip">
|
||||
{{ _("0 sec") }}
|
||||
</span>
|
||||
<div class="btn-group results" role="group">
|
||||
<a role="button" tabindex="0" class="btn btn-default btn-sm" id="shortner" data-toggle="popover" data-trigger="focus">
|
||||
<i class="fa fa-link" data-toggle="tooltip" title="{{ _("Short URL") }}"></i>
|
||||
|
|
Loading…
Reference in New Issue