Commit f1c97362 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

cleaning up

parent bb6e41a4
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -1501,6 +1501,19 @@ ul.ui_tabs li.active a{
  border-bottom: 1px solid #ddd;
}

#query_editor_results table td {
  height: 26px;
}

#query_editor_results table th {
  height: 32px;
  border-left: 1px solid #ddd;
}

#query_editor_results table th:first-child {
  border-left: none;
}

#query_editor_error {
  display: none;
  padding: 10px 20px;
@@ -1713,3 +1726,8 @@ p.success {
#topnav {
  display:none;
}

.CodeMirror {
  font-size: 115%;
  line-height: 140%;
}
+11 −2
Original line number Diff line number Diff line
@@ -20,7 +20,8 @@ FnordMetric = (function() {
      }
      results_html += "</tr>";

      for (j = 0; j < result.rows.length; ++j) {
      var j = 0;
      for (; j < result.rows.length; ++j) {
        var row = result.rows[j];
        results_html += "<tr>";
        for (k = 0; k < row.length; ++k) {
@@ -29,6 +30,14 @@ FnordMetric = (function() {
        results_html += "</tr>";
      }

      for (; j < 20; ++j) {
        results_html += "<tr>";
        for (k = 0; k < result.columns.length; ++k) {
          results_html += "<td></td>";
        }
        results_html += "</tr>";
      }


      results_html += "</tbody></table>";
    }
@@ -74,7 +83,7 @@ FnordMetric = (function() {
    document.getElementById("wrap").innerHTML =
        navbar +
        "<div id='query_editor'>" +
          "<textarea id='query_editor_textarea'>select 1 as one, 2 as two, 3 as three, 4 as four;</textarea>" +
          "<textarea id='query_editor_textarea'>DRAW BAR CHART;\nDRAW LEFT AXIS;\n\nSELECT\n\t1 as one,\n\t2 as two,\n\t3 as three,\n\t4 as four;</textarea>" +
        "</div>" +
        "<div class='headbar small'>Query executed in...</div>" +
        "<div id='query_editor_error'></div>" +