INNER CODE UNIT · JavaScript

addPostUploadFile

lucky-sideburn/kubeinvaders · html/js/chaos_report.js:134

function addPostUploadFile(selectedValue) {
  if (selectedValue == "POST") {
    $("#chaosReportUploadFileDiv").html(`
    <div class="row" style='margin-top: 1%;'>
      <div class="col-xs-2">
        <label for="formFile" class="form-label">Upload File</label>
        <input class="form-control" type="file" id="formFile">
      </div>
    </div>
    `);
  } else {
    $("#chaosReportUploadFileDiv").html("");
  }
}

function chaosReportHttpEndpointAdd() {
  $("#addSiteAreaChaosReport").html(`
<div class="row">

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…