mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Work in progress
This commit is contained in:
parent
a8e3687bdd
commit
7712d9f4be
1 changed files with 156 additions and 140 deletions
66
index.php
66
index.php
|
@ -93,7 +93,7 @@ $theme_url = 'app/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
|||
<![endif]-->
|
||||
</head>
|
||||
<body id="page-top">
|
||||
|
||||
<!-- Page Wrapper -->
|
||||
<div id="wrapper">
|
||||
<!-- Sidebar -->
|
||||
<ul class="navbar-nav bg-gray-100 sidebar sidebar-light accordion" id="accordionSidebar">
|
||||
|
@ -107,7 +107,6 @@ $theme_url = 'app/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
|||
<!-- Divider -->
|
||||
<hr class="sidebar-divider my-0">
|
||||
|
||||
<!-- Nav Item - Dashboard -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="index.php?page=wlan0_info"><i class="fas fa-tachometer-alt fa-fw"></i> <?php echo _("Dashboard"); ?></a>
|
||||
</li>
|
||||
|
@ -171,22 +170,21 @@ $theme_url = 'app/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
|||
<!-- End of Sidebar -->
|
||||
|
||||
<!-- Begin Page Content -->
|
||||
<div id="content-wrapper" class="d-flex flex-column">
|
||||
<!-- Main Content -->
|
||||
<div id="content">
|
||||
<!-- Topbar -->
|
||||
<nav class="navbar navbar-expand navbar-light bg-gray-100 topbar mb-4 static-top">
|
||||
<!-- Sidebar Toggle (Topbar) -->
|
||||
<button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
|
||||
<i class="fa fa-bars"></i>
|
||||
</button>
|
||||
<!-- Topbar Navbar -->
|
||||
</nav>
|
||||
<!-- End of Topbar -->
|
||||
<!-- Begin Page Content -->
|
||||
<div class="container-fluid">
|
||||
|
||||
<!-- Content Row
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<h2 class="page-header">
|
||||
<img class="logo" src="app/img/raspAP-logo.png" width="45" height="45">RaspAP
|
||||
</h2>
|
||||
</div>
|
||||
</div>< /.row -->
|
||||
|
||||
<!-- Page Heading -->
|
||||
<div class="d-sm-flex align-items-center justify-content-between mb-4">
|
||||
<!-- todo -->
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$extraFooterScripts = array();
|
||||
// handle page actions
|
||||
|
@ -234,15 +232,33 @@ $theme_url = 'app/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
|||
DisplayDashboard();
|
||||
}
|
||||
|
||||
?>
|
||||
</div><!-- /#page-wrapper -->
|
||||
</div><!-- /#wrapper -->
|
||||
?>
|
||||
</div><!-- /.container-fluid -->
|
||||
</div><!-- End of Main Content -->
|
||||
<!-- Footer -->
|
||||
<footer class="sticky-footer bg-grey-100">
|
||||
<div class="container my-auto">
|
||||
<div class="copyright text-center my-auto">
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- End Footer -->
|
||||
</div><!-- End of Content Wrapper -->
|
||||
</div><!-- End of Page Wrapper -->
|
||||
<!-- Scroll to Top Button-->
|
||||
<a class="scroll-to-top rounded" href="#page-top" style="display: inline;">
|
||||
<i class="fas fa-angle-up"></i>
|
||||
</a>
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="dist/jquery/jquery.min.js"></script>
|
||||
|
||||
<!-- Bootstrap Core JavaScript -->
|
||||
<script src="dist/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="dist/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<!-- Core plugin JavaScript -->
|
||||
<script src="dist/jquery-easing/jquery.easing.min.js"></script>
|
||||
|
||||
<!-- Bootstrap Toggle JavaScript -->
|
||||
<script src="dist/bootstrap-toggle/js/bootstrap-toggle.min.js"></script>
|
||||
|
@ -256,9 +272,9 @@ $theme_url = 'app/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
|||
<!-- Custom RaspAP JS -->
|
||||
<script src="app/js/custom.js"></script>
|
||||
|
||||
<?php
|
||||
// Load non default JS/ECMAScript in footer.
|
||||
foreach ($extraFooterScripts as $script) {
|
||||
<?php
|
||||
// Load non default JS/ECMAScript in footer.
|
||||
foreach ($extraFooterScripts as $script) {
|
||||
echo ' <script type="text/javascript" src="' , $script['src'] , '"';
|
||||
if ($script['defer']) {
|
||||
echo ' defer="defer"';
|
||||
|
@ -266,8 +282,8 @@ foreach ($extraFooterScripts as $script) {
|
|||
|
||||
// if ($script['async']) { echo ( echo ' defer="async"'; ), intrigity=, nonce= etc. etc.
|
||||
echo '></script>' , PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue