Add tables styles for history view
This commit is contained in:
parent
8420d55491
commit
ab709bafa6
@ -220,6 +220,7 @@
|
|||||||
max-height: 51px;
|
max-height: 51px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
white-space: pre;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
@ -237,6 +238,10 @@
|
|||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#results.history td div {
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
|
|
||||||
#custom_query {
|
#custom_query {
|
||||||
height: 205px;
|
height: 205px;
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="output">
|
<div id="output">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<table id="results" class="table table-striped"></table>
|
<table id="results" class="table"></table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -48,7 +48,8 @@ function resetTable() {
|
|||||||
$("#results").
|
$("#results").
|
||||||
attr("data-mode", "").
|
attr("data-mode", "").
|
||||||
text("").
|
text("").
|
||||||
removeClass("empty");
|
removeClass("empty").
|
||||||
|
removeClass("history");
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildTable(results) {
|
function buildTable(results) {
|
||||||
@ -67,7 +68,7 @@ function buildTable(results) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var cols = "";
|
var cols = "";
|
||||||
var rows = ""
|
var rows = "";
|
||||||
|
|
||||||
results.columns.forEach(function(col) {
|
results.columns.forEach(function(col) {
|
||||||
cols += "<th data='" + col + "'>" + col + "</th>";
|
cols += "<th data='" + col + "'>" + col + "</th>";
|
||||||
@ -100,6 +101,7 @@ function showQueryHistory() {
|
|||||||
setCurrentTab("table_history");
|
setCurrentTab("table_history");
|
||||||
$("#input").hide();
|
$("#input").hide();
|
||||||
$("#output").addClass("full");
|
$("#output").addClass("full");
|
||||||
|
$("#results").addClass("history");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user