LAyout aufgeräumt
This commit is contained in:
parent
3eac9a659e
commit
bdd79a66cb
@ -27,17 +27,44 @@ function renderLayout(string $contentView, array $viewData, string $pageTitle, ?
|
|||||||
}
|
}
|
||||||
|
|
||||||
$partialsPath = __DIR__ . '/partials';
|
$partialsPath = __DIR__ . '/partials';
|
||||||
|
|
||||||
require $partialsPath . '/head.php';
|
|
||||||
require $partialsPath . '/sidebar.php';
|
|
||||||
require $partialsPath . '/topbar.php';
|
|
||||||
?>
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="de">
|
||||||
|
<!-- Begin Head -->
|
||||||
|
<?php require $partialsPath . '/head.php'; ?>
|
||||||
|
<!-- End of Head -->
|
||||||
|
<body id="page-top">
|
||||||
|
|
||||||
|
<!-- Page Wrapper -->
|
||||||
|
<div id="wrapper">
|
||||||
|
<!-- Begin Sidebar -->
|
||||||
|
<?php require $partialsPath . '/sidebar.php'; ?>
|
||||||
|
<!-- End of Sidebar -->
|
||||||
|
<!-- Content Wrapper -->
|
||||||
|
<div id="content-wrapper" class="d-flex flex-column">
|
||||||
|
|
||||||
|
<!-- Main Content -->
|
||||||
|
<div id="content">
|
||||||
|
<!-- Begin Topbar -->
|
||||||
|
<?php require $partialsPath . '/topbar.php'; ?>
|
||||||
|
<!-- End of Topbar -->
|
||||||
<!-- Begin Page Content -->
|
<!-- Begin Page Content -->
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<?php require $contentView; ?>
|
<?php require $contentView; ?>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.container-fluid -->
|
<!-- End of Page Content -->
|
||||||
|
</div>
|
||||||
|
<!-- End of Main Content -->
|
||||||
|
<!-- Begin Footer -->
|
||||||
|
<?php require $partialsPath . '/footer.php'; ?>
|
||||||
|
<!-- End of Footer -->
|
||||||
|
</div>
|
||||||
|
<!-- End of Content Wrapper -->
|
||||||
|
</div>
|
||||||
|
<!-- End of Page Wrapper -->
|
||||||
|
<?php require $partialsPath . '/scripts.php';
|
||||||
|
?>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
<?php
|
<?php
|
||||||
require $partialsPath . '/footer.php';
|
|
||||||
require $partialsPath . '/scripts.php';
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,7 +17,7 @@ declare(strict_types=1);
|
|||||||
<div class="text-center mb-4">
|
<div class="text-center mb-4">
|
||||||
<h1 class="h4 text-gray-900">Willkommen beim AD Admin Tool</h1>
|
<h1 class="h4 text-gray-900">Willkommen beim AD Admin Tool</h1>
|
||||||
<p class="text-muted mb-0">
|
<p class="text-muted mb-0">
|
||||||
Dies ist unser Testserver für den <pre>develop</pre> Branch.
|
Dies ist unser Testserver für den <code>develop</code> Branch.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -1,13 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
// public/views/partials/footer.php
|
// public/views/partials/footer.php
|
||||||
?>
|
?>
|
||||||
</div>
|
|
||||||
<!-- /.container-fluid -->
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- End of Main Content -->
|
|
||||||
|
|
||||||
<!-- Footer -->
|
|
||||||
<footer class="sticky-footer bg-white">
|
<footer class="sticky-footer bg-white">
|
||||||
<div class="container my-auto">
|
<div class="container my-auto">
|
||||||
<div class="copyright text-center my-auto">
|
<div class="copyright text-center my-auto">
|
||||||
@ -15,10 +10,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<!-- End of Footer -->
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- End of Content Wrapper -->
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- End of Page Wrapper -->
|
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
// public/views/partials/head.php
|
// public/views/partials/head.php
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
@ -17,7 +16,4 @@
|
|||||||
<link href="../../vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">
|
<link href="../../vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body id="page-top">
|
|
||||||
|
|
||||||
<!-- Page Wrapper -->
|
|
||||||
<div id="wrapper">
|
|
||||||
|
|||||||
@ -26,5 +26,4 @@
|
|||||||
<script src="../../js/demo/chart-area-demo.js"></script>
|
<script src="../../js/demo/chart-area-demo.js"></script>
|
||||||
<script src="../../js/demo/chart-pie-demo.js"></script>
|
<script src="../../js/demo/chart-pie-demo.js"></script>
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
// public/views/partials/sidebar.php
|
// public/views/partials/sidebar.php
|
||||||
?>
|
?>
|
||||||
<!-- Sidebar -->
|
|
||||||
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
|
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
|
||||||
|
|
||||||
<!-- Sidebar - Brand -->
|
<!-- Sidebar - Brand -->
|
||||||
@ -46,4 +46,3 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<!-- End of Sidebar -->
|
|
||||||
|
|||||||
@ -1,13 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
// public/views/partials/topbar.php
|
// public/views/partials/topbar.php
|
||||||
?>
|
?>
|
||||||
<!-- Content Wrapper -->
|
|
||||||
<div id="content-wrapper" class="d-flex flex-column">
|
|
||||||
|
|
||||||
<!-- Main Content -->
|
|
||||||
<div id="content">
|
|
||||||
|
|
||||||
<!-- Topbar -->
|
|
||||||
<nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">
|
<nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">
|
||||||
|
|
||||||
<!-- Sidebar Toggle (Topbar) -->
|
<!-- Sidebar Toggle (Topbar) -->
|
||||||
@ -43,7 +38,3 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
<!-- End of Topbar -->
|
|
||||||
|
|
||||||
<!-- Begin Page Content -->
|
|
||||||
<div class="container-fluid">
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user