old_contents: $(document).ready(function() {
      tableApi = $('#all-queries').DataTable( {
          "rowCallback": function( row, data, index ){
              if (data[4] == "Pi-holed") {
                  $(row).css('color','red')
              }
              else{
                  $(row).css('color','green')
              }
  
          },
          "ajax": "api.php?getAllQueries",
          "autoWidth" : false,
          "order" : [[0, "desc"]],
          "columns": [
              { "width" : "20%", "type": "date" },
              { "width" : "10%" },
              { "width" : "40%" },
              { "width" : "15%" },
              { "width" : "15%" }
          ]
      })
  } );
  
  function refreshData() {
      tableApi.ajax.url("api.php?getAllQueries").load();
  }
new_contents: $(document).ready(function() {
      tableApi = $('#all-queries').DataTable( {
          "rowCallback": function( row, data, index ){
              if (data[4] == "Pi-holed") {
                  $(row).css('color','red')
              }
              else{
                  $(row).css('color','green')
              }
  
          },
          "ajax": "api.php?getAllQueries",
          "autoWidth" : false,
          "order" : [[0, "desc"]],
          "columns": [
              { "width" : "20%", "type": "date" },
              { "width" : "10%" },
              { "width" : "40%" },
              { "width" : "15%" },
              { "width" : "15%" }
          ],
          "lengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
      })
  } );
  
  function refreshData() {
      tableApi.ajax.url("api.php?getAllQueries").load();
  }
  
subject: Add option to show *all* queries at once