Remove unused PHP files related to Hyper-V and Storage dashboards

- Deleted `cluster-detail2.php`, `constants.inc copy.php`, `D.php`, and `Dashboard2.php`. These files were no longer in use and contributed to unnecessary clutter in the codebase.
- Cleaned up references to removed files.
This commit is contained in:
e025532
2025-07-29 14:02:06 +02:00
parent 1f794e2273
commit 5c7ea9f3fc
70 changed files with 14141 additions and 6259 deletions

View File

@@ -1,15 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Page Title -->
<title>Web Infra Reports IT</title>
<link rel="shortcut icon" type="image/png" href="/include/favicon-32x32.png">
<!-- JQuery -->
<script src="/js/jquery-3.6.1.min.js"></script>
<!-- Bootstrap -->
@@ -24,49 +21,55 @@
<script src="/js/tableExport.min.js"></script>
<script src="/js/bootstrap-table-export.min.js"></script>
<script src="/js/libs/js-xlsx/xlsx.core.min.js"></script>
</head>
<body class="bg-light text-dark">
<?php include $_SERVER['DOCUMENT_ROOT'] . "/include/all.php"; ?> <!-- Include All -->
<?php include $_SERVER['DOCUMENT_ROOT'] . "/include/all.php"; ?> <!-- Include All -->
<!-- HTML -->
<div class="container-fluid" id="content">
<div class="row flex-nowrap">
<!-- Left NAVBAR -->
<div class="col-auto col-md-2 col-xl-2 px-sm-2 px-0 bg-dark" style="-ms-flex: 0 0 230px;flex: 0 0 230px;">
<?php include $_SERVER['DOCUMENT_ROOT'] . "/navbar.html"; ?>
</div>
<!-- Display -->
<div class="col py-3">
<!-- Page Title -->
<h1><span class="badge text-bg-secondary font-weight-bold" style="width:100%;">Group Review</span></h1>
<!-- HTML -->
<div class="container-fluid" id="content">
<div class="row flex-nowrap">
<!-- Left NAVBAR -->
<div class="col-auto col-md-2 col-xl-2 px-sm-2 px-0 bg-dark" style="-ms-flex: 0 0 230px;flex: 0 0 230px;">
<?php include $_SERVER['DOCUMENT_ROOT'] . "/navbar.html"; ?>
</div>
<!-- Display -->
<div class="col py-3">
<!-- Page Title -->
<h1><span class="badge text-bg-secondary font-weight-bold" style="width:100%;">Group Review</span></h1>
<!-- Main content -->
<div class="container-fluid">
<?php // DATA
$teams = Invoke_Infra("SELECT distinct equipe FROM Group_Review_SOX");
foreach ($teams as $team) {
echo "<h2 class='text-center'>".$team['equipe']."</h2>";
$groups = Invoke_Infra("SELECT * FROM Group_Review_SOX WHERE equipe = '".$team['equipe']."' order by groupe");
foreach($groups as $group) {
echo "<h3>".$group['Groupe']."</h3>";
echo "<h4>".$group['Tiering']."</h4>";
echo " - ".str_replace("),",")<br> - ",$group['Members']);
echo "<br><br>";
}
echo "<hr>";
<!-- Main content -->
<div class="container-fluid">
<?php
$all_groups = Invoke_Infra(" SELECT equipe, Groupe, Tiering, Members FROM Group_Review_SOX ORDER BY equipe, groupe");
$grouped_by_team = [];
foreach ($all_groups as $group) {
$team_name = $group['equipe'];
if (!isset($grouped_by_team[$team_name])) {
$grouped_by_team[$team_name] = [];
}
?>
<div>
<br>
</div>
$grouped_by_team[$team_name][] = $group;
}
foreach ($grouped_by_team as $team_name => $groups_in_team) {
echo "<h2 class='text-center'>" . htmlspecialchars($team_name) . "</h2>";
foreach ($groups_in_team as $group_data) {
echo "<h3>" . htmlspecialchars($group_data['Groupe']) . "</h3>";
echo "<h4>" . htmlspecialchars($group_data['Tiering']) . "</h4>";
$formatted_members = str_replace("),", ")<br> - ", htmlspecialchars($group_data['Members']));
echo " - " . $formatted_members;
echo "<br><br>";
}
echo "<hr>";
}
?>
<div>
<br>
</div>
<!-- End of main content -->
</div>
<!-- End of main content -->
</div>
</div>
</div>
</body>
<script src="/js/switch.js"></script>
</HTML>