mirror of https://github.com/itflow-org/itflow
Revert Tidy UI design as it was not very copy paste friendly
This commit is contained in:
parent
f2e518e745
commit
39b4bce09e
|
|
@ -188,105 +188,66 @@ $webServer = $_SERVER['SERVER_SOFTWARE'];
|
|||
<h3 class="card-title"><i class="fas fa-fw fa-bug mr-2"></i>Debug</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<h3>Database Structure Check</h3>
|
||||
|
||||
<?php
|
||||
if (empty($differences)) {
|
||||
echo "The database structure matches the desired structure.";
|
||||
} else {
|
||||
echo "Differences found:\n";
|
||||
print_r($differences);
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="row">
|
||||
<hr>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="card card-dark">
|
||||
<div class="card-header py-3">
|
||||
<h3 class="card-title"><i class="fas fa-fw fa-database mr-2"></i>Database Structure Check</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<?php
|
||||
if (empty($differences)) {
|
||||
echo "The database structure matches the desired structure.";
|
||||
} else {
|
||||
echo "Differences found:\n";
|
||||
print_r($differences);
|
||||
}
|
||||
?>
|
||||
<h4>Database stats</h4>
|
||||
|
||||
<?php
|
||||
echo "Number of tables: " . $numTables . "<br>";
|
||||
echo "Total number of fields: " . $numFields . "<br>";
|
||||
echo "Total number of rows: " . $numRows . "<br>";
|
||||
?>
|
||||
|
||||
<hr>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3>Versions</h3>
|
||||
|
||||
<?php
|
||||
echo "PHP version: " . $phpVersion . "<br>";
|
||||
echo "MySQL Version: " . $mysqlVersion . "<br>";
|
||||
echo "Operating System: " . $operatingSystem . "<br>";
|
||||
echo "Web Server: " . $webServer;
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="card card-dark">
|
||||
<div class="card-header py-3">
|
||||
<h3 class="card-title"><i class="fas fa-fw fa-chart-bar mr-2"></i>Database Statistics</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<?php
|
||||
echo "Number of tables: " . $numTables . "<br>";
|
||||
echo "Total number of fields: " . $numFields . "<br>";
|
||||
echo "Total number of rows: " . $numRows . "<br>";
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
?>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="card card-dark">
|
||||
<div class="card-header py-3">
|
||||
<h3 class="card-title"><i class="fas fa-fw fa-check mr-2"></i>Versions Check</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<?php
|
||||
echo "PHP version: " . $phpVersion . "<br>";
|
||||
echo "MySQL Version: " . $mysqlVersion . "<br>";
|
||||
echo "Operating System: " . $operatingSystem . "<br>";
|
||||
echo "Web Server: " . $webServer;
|
||||
<hr>
|
||||
|
||||
?>
|
||||
<h3>File System</h3>
|
||||
<?php
|
||||
$result = countFilesInDirectory($folderPath);
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
$totalFiles = $result['count'];
|
||||
$totalSizeMB = round($result['size'] / (1024 * 1024), 2);
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="card card-dark">
|
||||
<div class="card-header py-3">
|
||||
<h3 class="card-title"><i class="fas fa-fw fa-hdd mr-2"></i>File system Check</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
echo "Total number of files in $folderPath and its subdirectories: " . $totalFiles . "<br>";
|
||||
echo "Total size of files in $folderPath and its subdirectories: " . $totalSizeMB . " MB";
|
||||
?>
|
||||
|
||||
<?php
|
||||
$result = countFilesInDirectory($folderPath);
|
||||
<hr>
|
||||
|
||||
<h3>PHP Modules Installed</h3>
|
||||
|
||||
<?php
|
||||
foreach ($loadedModules as $module) {
|
||||
echo $module . "<br>";
|
||||
}
|
||||
?>
|
||||
|
||||
$totalFiles = $result['count'];
|
||||
$totalSizeMB = round($result['size'] / (1024 * 1024), 2);
|
||||
<hr>
|
||||
|
||||
echo "Total number of files in $folderPath and its subdirectories: " . $totalFiles . "<br>";
|
||||
echo "Total size of files in $folderPath and its subdirectories: " . $totalSizeMB . " MB";
|
||||
?>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="card card-dark">
|
||||
<div class="card-header py-3">
|
||||
<h3 class="card-title"><i class="fas fa-fw fa-puzzle-piece mr-2"></i>PHP Modules Installed</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<?php
|
||||
foreach ($loadedModules as $module) {
|
||||
echo $module . "<br>";
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue