




<br />
<b>Deprecated</b>:  Creation of dynamic property Google\Site_Kit\Core\Authentication\Setup::$proxy_support_link_url is deprecated in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php</b> on line <b>94</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>35</b><br />
<br />
<b>Warning</b>:  Attempt to read property "num_rows" on bool in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>44</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>55</b><br />
<br />
<b>Warning</b>:  Attempt to read property "num_rows" on bool in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>64</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>75</b><br />
<br />
<b>Warning</b>:  Attempt to read property "num_rows" on bool in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>84</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>95</b><br />
<br />
<b>Warning</b>:  Attempt to read property "num_rows" on bool in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>104</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>115</b><br />
<br />
<b>Warning</b>:  Attempt to read property "num_rows" on bool in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>124</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>134</b><br />
<br />
<b>Warning</b>:  Attempt to read property "num_rows" on bool in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>143</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  Attempt to read property "num_rows" on bool in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>163</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>173</b><br />
<br />
<b>Warning</b>:  Attempt to read property "num_rows" on bool in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>182</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>195</b><br />
<br />
<b>Warning</b>:  Attempt to read property "num_rows" on bool in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>198</b><br />
<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>228</b><br />
  <!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Development Stages</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
  <style>
    .delete-button {
            background-color: #ff4d4d !important;
            border: none !important;
            color: white ;
            padding: 10px 20px !important;
            text-align: center !important;
            text-decoration: none !important;
            display: inline-block !important;
            font-size: 16px !important;
            margin: 4px 2px !important;
            cursor: pointer !important;
            border-radius: 5px !important;
            transition: background-color 0.3s ease !important;
        }

        .delete-button:hover {
            background-color: #e60000 !important;
        }

        .delete-button:active {
            background-color: #cc0000 !important;
        }

        .delete-button:focus {
            outline: none !important;
            box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.5) !important;
        }
    #mark-project-completed {
      background-color: #273964;
      color: white;
      border: none;
      border-radius: 5px;
      padding: 10px 20px;
      font-size: 16px;
    }

     #mark-project-complete {
      background-color: #273964;
      color: white;
      border: none;
      border-radius: 5px;
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
    }

    #mark-project-complete:hover {
      background-color: #1b2a3b; /* Darker shade when hovered */
    }

    .accordion {
      background-color: #f9f9f9;
      color: #333;
      cursor: pointer;
      padding: 18px;
      width: 100%;
      border: none;
      text-align: left;
      outline: none;
      font-size: 18px;
      transition: 0.4s;
    }

    .active, .accordion:hover {
      background-color: #ddd;
    }

    .panel {
      padding: 0 18px;
      display: none;
      background-color: white;
      overflow: hidden;
    }

    .completed {
      color: #666;
    }

    form {
      margin-top: 10px;
    }

    label {
      display: block;
      margin-bottom: 5px;
    }

    input[type="text"], textarea {
      width: 100%;
      padding: 8px;
      margin-bottom: 10px;
      box-sizing: border-box;
    }

    input[type="submit"] {
      background-color: #4CAF50;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    input[type="submit"]:hover {
      background-color: #45a049;
    }
  </style>
</head>
<body>

<h2>Development Stages</h2>

<div class="accordion">1. Data Curation<span class="status"></span></div>
<div class="panel">
  <p>
    <form autocomplete="off" action="https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/action2.php" method="post">
      <label><input id="checkbox_1" name="completed" type="checkbox" class="mark-complete" > Mark as complete</label><br>

      <input type="hidden" name="project_id" value="<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>371</b><br />
">
      <input type="hidden" name="stage_name" value="Data Curation">
      <label for="source_code_1">Link to the project code files (e.g. Python, R, SPSS, Excel):</label>
      <input type="text" id="source_code_1" name="source_code" value=""><br>
      <label for="documentation_1">Documentation Link:</label>
      <input type="text" id="documentation_1" name="documentation" value=""><br>
      <label for="feedback_1">Beneficiary Feedback Link:</label>
      <textarea id="feedback_1" name="feedback" ></textarea><br>
      <input type="submit" value="Submit">
    </form>
  </p>
</div>

<div class="accordion">2. Exploratory Data Analysis<span class="status"></span></div>
<div class="panel">
  <p>
    <form autocomplete="off" action="https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/action2.php" method="post">
      <label><input id="checkbox_2" name="completed" type="checkbox" class="mark-complete" > Mark as complete</label><br>

      <input type="hidden" name="project_id" value="<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>390</b><br />
">
      <input type="hidden" name="stage_name" value="Exploratory Data Analysis">
      <label for="source_code_2">Link to the project code files (e.g. Python, R, SPSS, Excel):</label>
      <input type="text" id="source_code_2" name="source_code" value=""><br>
      <label for="documentation_2">Documentation Link:</label>
      <input type="text" id="documentation_2" name="documentation" value=""><br>
      <label for="feedback_2">Beneficiary Feedback Link:</label>
      <textarea id="feedback_2" name="feedback" ></textarea><br>
      <input type="submit" value="Submit">
    </form>
  </p>
</div>

<div class="accordion">3. Modelling<span class="status"></span></div>
<div class="panel">
  <p>
    <form autocomplete="off" action="https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/action2.php" method="post">
      <label><input id="checkbox_3" name="completed" type="checkbox" class="mark-complete" > Mark as complete</label><br>

      <input type="hidden" name="project_id" value="<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>409</b><br />
">
      <input type="hidden" name="stage_name" value="Modelling">
      <label for="source_code_3">Link to the project code files (e.g. Python, R, SPSS, Excel):</label>
      <input type="text" id="source_code_3" name="source_code" value=""><br>
      <label for="documentation_3">Documentation Link:</label>
      <input type="text" id="documentation_3" name="documentation" value=""><br>
      <label for="feedback_3">Beneficiary Feedback Link:</label>
      <textarea id="feedback_3" name="feedback" ></textarea><br>
      <input type="submit" value="Submit">
    </form>
  </p>
</div>

<div class="accordion">4. Model Testing<span class="status"></span></div>
<div class="panel">
  <p>
    <form autocomplete="off" action="https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/action2.php" method="post">
      <label><input id="checkbox_4" name="completed" type="checkbox" class="mark-complete" > Mark as complete</label><br>

      <input type="hidden" name="project_id" value="<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>428</b><br />
">
      <input type="hidden" name="stage_name" value="Model Testing">
      <label for="source_code_4">Link to the project code files (e.g. Python, R, SPSS, Excel):</label>
      <input type="text" id="source_code_4" name="source_code" value=""><br>
      <label for="documentation_4">Documentation Link:</label>
      <input type="text" id="documentation_4" name="documentation" value=""><br>
      <label for="feedback_4">Beneficiary Feedback Link:</label>
      <textarea id="feedback_4" name="feedback" ></textarea><br>
      <input type="submit" value="Submit">
    </form>
  </p>
</div>

<div class="accordion">5. Bias Auditing<span class="status"></span></div>
<div class="panel">
  <p>
    <form autocomplete="off" action="https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/action2.php" method="post">
      <label><input id="checkbox_5" name="completed" type="checkbox" class="mark-complete" > Mark as complete</label><br>

      <input type="hidden" name="project_id" value="<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>447</b><br />
">
      <input type="hidden" name="stage_name" value="Bias Auditing">
      <label for="source_code_5">Link to the project code files (e.g. Python, R, SPSS, Excel):</label>
      <input type="text" id="source_code_5" name="source_code" value=""><br>
      <label for="documentation_5">Documentation Link:</label>
      <input type="text" id="documentation_5" name="documentation" value=""><br>
      <label for="feedback_5">Beneficiary Feedback Link:</label>
      <textarea id="feedback_5" name="feedback" ></textarea><br>
      <input type="submit" value="Submit">
    </form>
  </p>
</div>

<div class="accordion">6. Deployment Testing<span class="status"></span></div>
<div class="panel">
  <p>
    <form autocomplete="off" action="https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/action2.php" method="post">
      <label><input id="checkbox_6" name="completed" type="checkbox" class="mark-complete" > Mark as complete</label><br>

      <input type="hidden" name="project_id" value="<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>466</b><br />
">
      <input type="hidden" name="stage_name" value="Deployment Testing">
      <label for="source_code_6">Link to the project code files (e.g. Python, R, SPSS, Excel):</label>
      <input type="text" id="source_code_6" name="source_code" value=""><br>
      <label for="documentation_6">Documentation Link:</label>
      <input type="text" id="documentation_6" name="documentation" value=""><br>
      <label for="feedback_6">Beneficiary Feedback Link:</label>
      <textarea id="feedback_6" name="feedback" ></textarea><br>
      <input type="submit" value="Submit">
    </form>
  </p>
</div>

<div class="accordion">7. Final Development<span class="status"></span></div>
<div class="panel">
  <p>
    <form autocomplete="off" action="https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/action2.php" method="post">
      <label><input id="checkbox_7" name="completed" type="checkbox" class="mark-complete" > Mark as complete</label><br>

      <input type="hidden" name="project_id" value="<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>485</b><br />
">
      <input type="hidden" name="stage_name" value="Final Development">
      <label for="source_code_7">Link to the project code files (e.g. Python, R, SPSS, Excel):</label>
      <input type="text" id="source_code_7" name="source_code" value=""><br>
      <label for="documentation_7">Documentation Link:</label>
      <input type="text" id="documentation_7" name="documentation" value=""><br>
      <label for="feedback_7">Beneficiary Feedback Link:</label>
      <textarea id="feedback_7" name="feedback" ></textarea><br>
      <input type="submit" value="Submit">
    </form>
  </p>
</div>

<div class="accordion">8. UI interface / Dashboard Development<span class="status"></span></div>
<div class="panel">
  <p>
    <form autocomplete="off" action="https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/action2.php" method="post">
      <label><input id="checkbox_8" name="completed" type="checkbox" class="mark-complete" > Mark as complete</label><br>

      <input type="hidden" name="project_id" value="<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>504</b><br />
">
      <input type="hidden" name="stage_name" value="UI Development">
      <label for="source_code_8">Link to the project code files (e.g. Python, R, SPSS, Excel):</label>
      <input type="text" id="source_code_8" name="source_code" value=""><br>
      <label for="documentation_8">Documentation Link:</label>
      <input type="text" id="documentation_8" name="documentation" value=""><br>
      <label for="feedback_8">Beneficiary Feedback Link:</label>
      <textarea id="feedback_8" name="feedback" ></textarea><br>
      <input type="submit" value="Submit">
    </form>
  </p>
</div>
<br>
<button id="mark-project-complete">Mark Project as Complete</button>
<button id="mark-project-completed" disabled>Project Completed</button>
<form action="https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/mark_project_incomplete.php" method="get">
  <input type="hidden" name="projectid" value="<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>526</b><br />
" />
  <input id="incompleteButton" class="delete-button" type="submit" name="deleteCall" value="Mark Project as Incomplete"/>
</form>

<script>
    var checkboxes = document.querySelectorAll(".mark-complete");


  var accordions = document.getElementsByClassName("accordion");
  var i;

  for (i = 0; i < accordions.length; i++) {
    accordions[i].addEventListener("click", function() {
      this.classList.toggle("active");
      var panel = this.nextElementSibling;
      if (panel.style.display === "block") {
        panel.style.display = "none";
      } else {
        panel.style.display = "block";
      }
    });
  }
  var flagCompleted = "1";
  console.log(flagCompleted);
  if(flagCompleted==1){
    document.getElementById("mark-project-complete").style.display = "none";
    // document.getElementById("incompleteButton").style.display = "none";
  }
  else{
    document.getElementById("mark-project-complete").style.display = "block";
    // document.getElementById("incompleteButton").style.display = "block";
  }

  var markCompleteCheckboxes = document.getElementsByClassName("mark-complete");
  var j;

  var isProjectComplete = "1";
  if (isProjectComplete==1) {
        // Disable checkboxes if the project is marked as completed
        checkboxes.forEach(function(checkbox) {
            checkbox.disabled = true;
        });

    }else{
      checkboxes.forEach(function(checkbox) {
            checkbox.disabled = false;
        });
    }

  for (j = 0; j < markCompleteCheckboxes.length; j++) {
    markCompleteCheckboxes[j].addEventListener("change", function() {
      var accordion = this.closest(".panel").previousElementSibling;
      if (this.checked) {
        accordion.querySelector('.status').innerHTML = " (Completed) <i class=\"fa-solid fa-square-check\" style=\"color: #45a049;\"></i>";
        accordion.classList.add('completed');
      } else {
        accordion.querySelector('.status').innerText = "";
        accordion.classList.remove('completed');
      }
    });

     if (markCompleteCheckboxes[j].checked) {
      var accordion = markCompleteCheckboxes[j].closest(".panel").previousElementSibling;
      accordion.querySelector('.status').innerHTML = " (Completed) <i class=\"fa-solid fa-square-check\" style=\"color: #45a049;\"></i>";
      accordion.classList.add('completed');
    }
  }


    

  document.getElementById("mark-project-complete").addEventListener("click", function() {
    var projectId = "<br />
<b>Warning</b>:  Undefined variable $projectid in <b>/sys-data/WebData/projects/epsilon/wp-content/plugins/bi-toolkit-development/bi-toolkit-development.php</b> on line <b>598</b><br />
"; // Replace with actual project ID
    // Send AJAX request to your PHP file with project ID parameter
    var xhr = new XMLHttpRequest();
    xhr.open("POST", "https://epsilon.cs.ucy.ac.cy/wp-content/plugins/bi-toolkit-development/mark_project_complete.php", true);
    xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xhr.onreadystatechange = function() {
        if (xhr.readyState == 4 && xhr.status == 200) {
            // Handle the response if needed
            console.log(xhr.responseText);
            location.reload();
        }
    };
    xhr.send("project_id=" + projectId);
  });

</script>

</body>
</html>


  {"id":498,"date":"2024-03-29T09:44:22","date_gmt":"2024-03-29T09:44:22","guid":{"rendered":"https:\/\/epsilon.cs.ucy.ac.cy\/?page_id=498"},"modified":"2024-04-08T10:01:39","modified_gmt":"2024-04-08T10:01:39","slug":"bi-toolkit-development","status":"publish","type":"page","link":"https:\/\/epsilon.cs.ucy.ac.cy\/index.php\/bi-toolkit-development\/","title":{"rendered":"BI Toolkit-Development"},"content":{"rendered":"\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ub_ctt_via":""},"featured_image_src":null,"_links":{"self":[{"href":"https:\/\/epsilon.cs.ucy.ac.cy\/index.php\/wp-json\/wp\/v2\/pages\/498"}],"collection":[{"href":"https:\/\/epsilon.cs.ucy.ac.cy\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/epsilon.cs.ucy.ac.cy\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/epsilon.cs.ucy.ac.cy\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/epsilon.cs.ucy.ac.cy\/index.php\/wp-json\/wp\/v2\/comments?post=498"}],"version-history":[{"count":3,"href":"https:\/\/epsilon.cs.ucy.ac.cy\/index.php\/wp-json\/wp\/v2\/pages\/498\/revisions"}],"predecessor-version":[{"id":521,"href":"https:\/\/epsilon.cs.ucy.ac.cy\/index.php\/wp-json\/wp\/v2\/pages\/498\/revisions\/521"}],"wp:attachment":[{"href":"https:\/\/epsilon.cs.ucy.ac.cy\/index.php\/wp-json\/wp\/v2\/media?parent=498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}