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

wording

parent bb54efdf
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -38,18 +38,13 @@ FnordMetric.views.QueryPlayground = function() {
  var button_bar;

  function renderExecutionInfo(duration, tables, elem) {
    if (tables == undefined) {return;}
    if (elem.lastChild.className == "info_field") {
      elem.removeChild(elem.lastChild);
    }
    var info_field = document.createElement("div");
    info_field.className = "info_field";
    var duration = FnordMetric.util.parseMilliTS(duration);
    var rows = FnordMetric.util.humanCountRows(tables);
    info_field.innerHTML =
      "The execution took " + duration + 
      "Query execution took " + duration + 
      " and returned " + rows;
    info_field.style.top = elem.offsetHeight + "px";
    elem.appendChild(info_field);
  }

@@ -58,7 +53,7 @@ FnordMetric.views.QueryPlayground = function() {
    var error_box = document.createElement("div");
    error_box.className = "error_box";
    error_box.innerHTML = 
      "Oopps. FnordMetric Server encountered an error. " + "<br>" + 
      "Sorry, FnordMetric Server encountered an error. " + "<br>" + 
      "If you believe this is a bug in FnordMetric Server "+
      "please report an issue at github.com/.../issues.";
    elem.appendChild(error_box);
+3 −3
Original line number Diff line number Diff line
@@ -853,9 +853,9 @@ table.metric_list tr:hover td {
}

.info_field {
  font-style: italic;
  position: absolute;
  left: 5px;
  margin: 20px 10px;
  text-align: center;
  font-size: 90%;
}

.popup_ui.background {