ootbox.dialog({
          message: "Invalid Settings Detected: {{ data['errors'] }}",
          className: 'modal modal-danger fade-in',
          okButton: true
      });
  }

  function hide_modal(){
        bootbox.hideAll()
    }

    function refreshCpuInfos() {
      $("#host_cpu").load("/ajax/host_cpu_infos", function(responseTxt, statusTxt, xhr){
        if (statusTxt == "error")
          console.log("CPU Status Error : "+statusTxt+" -> "+responseTxt);
      });
    }
    
    function refreshRamIn