mirror of
https://github.com/StartBootstrap/startbootstrap-sb-admin.git
synced 2025-01-06 05:22:21 +01:00
108 lines
No EOL
7.2 KiB
HTML
108 lines
No EOL
7.2 KiB
HTML
<!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">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
<title>Fixed Navigation - SB Admin</title>
|
|
<link href="css/styles.css" rel="stylesheet">
|
|
<script data-search-pseudo-elements defer src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/js/all.min.js"></script>
|
|
</head>
|
|
<body class="sb-nav-fixed">
|
|
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark"><a class="navbar-brand" href="index.html">Start Bootstrap</a>
|
|
<button class="btn btn-link btn-sm text-white order-1 order-lg-0" id="sidebarToggle" href="#"><i class="fas fa-bars"></i></button>
|
|
<!-- Navbar Search-->
|
|
<form class="d-none d-md-inline-block form-inline ml-auto mr-0 mr-md-3 my-2 my-md-0">
|
|
<div class="input-group">
|
|
<input class="form-control" type="text" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
|
|
<div class="input-group-append">
|
|
<button class="btn btn-primary" type="button"><i class="fas fa-search"></i></button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<!-- Navbar-->
|
|
<ul class="navbar-nav ml-auto ml-md-0">
|
|
<li class="nav-item dropdown"><a class="nav-link dropdown-toggle" id="userDropdown" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="userDropdown"><a class="dropdown-item" href="#">Settings</a><a class="dropdown-item" href="#">Activity Log</a>
|
|
<div class="dropdown-divider"></div><a class="dropdown-item" href="login.html">Logout</a>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
<div id="layoutSidenav">
|
|
<div id="layoutSidenav_nav">
|
|
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
|
<div class="sb-sidenav-menu">
|
|
<div class="nav">
|
|
<div class="sb-sidenav-menu-heading">Core</div><a class="nav-link" href="index.html">
|
|
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>Dashboard</a>
|
|
<div class="sb-sidenav-menu-heading">Interface</div><a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
|
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>Layouts
|
|
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div></a>
|
|
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-parent="#sidenavAccordion">
|
|
<nav class="sb-sidenav-menu-nested nav"><a class="nav-link" href="layout-fixed.html">Fixed Navigation</a><a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a></nav>
|
|
</div><a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
|
|
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>Pages
|
|
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div></a>
|
|
<div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-parent="#sidenavAccordion">
|
|
<nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages"><a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#pagesCollapseAuth" aria-expanded="false" aria-controls="pagesCollapseAuth">Authentication
|
|
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div></a>
|
|
<div class="collapse" id="pagesCollapseAuth" aria-labelledby="headingOne" data-parent="#sidenavAccordionPages">
|
|
<nav class="sb-sidenav-menu-nested nav"><a class="nav-link" href="login.html">Login</a><a class="nav-link" href="register.html">Register</a><a class="nav-link" href="password.html">Forgot Password</a></nav>
|
|
</div><a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#pagesCollapseError" aria-expanded="false" aria-controls="pagesCollapseError">Error
|
|
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div></a>
|
|
<div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne" data-parent="#sidenavAccordionPages">
|
|
<nav class="sb-sidenav-menu-nested nav"><a class="nav-link" href="401.html">401 Page</a><a class="nav-link" href="404.html">404 Page</a><a class="nav-link" href="500.html">500 Page</a></nav>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
<div class="sb-sidenav-menu-heading">Addons</div><a class="nav-link" href="charts.html">
|
|
<div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>Charts</a><a class="nav-link" href="tables.html">
|
|
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>Tables</a>
|
|
</div>
|
|
</div>
|
|
<div class="sb-sidenav-footer">
|
|
<div class="small">Logged in as:</div>Start Bootstrap
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
<div id="layoutSidenav_content">
|
|
<main>
|
|
<div class="container-fluid">
|
|
<h1 class="mt-4">Fixed Navigation</h1>
|
|
<ol class="breadcrumb mb-4">
|
|
<li class="breadcrumb-item"><a href="index.html">Dashboard</a></li>
|
|
<li class="breadcrumb-item active">Fixed Navigation</li>
|
|
</ol>
|
|
<div class="card mb-4">
|
|
<div class="card-body">
|
|
This page is an example of using fixed navigation. By adding the <code>.sb-nav-fixed</code> class to the <code>body</code> tag, the top navigation and side navigation will become fixed on scroll. Scroll down this page to see an example.
|
|
|
|
</div>
|
|
</div>
|
|
<div style="height: 100vh;"></div>
|
|
<div class="card mb-4">
|
|
<div class="card-body">When scrolling, the navigation stays in place. This is the end of the fixed navigation demo page.</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<footer class="py-4 bg-light mt-auto">
|
|
<div class="container-fluid">
|
|
<div class="d-flex align-items-center justify-content-between small">
|
|
<div class="text-muted">Copyright © Your Website 2019</div>
|
|
<div><a href="#">Privacy Policy</a>
|
|
·
|
|
<a href="#">Terms & Conditions</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js" integrity="sha384-xrRywqdh3PHs8keKZN+8zzc5TX0GRTLCcmivcbNJWm2rs5C8PRhcEn3czEjhAO9o" crossorigin="anonymous"></script>
|
|
<script src="js/scripts.js"></script>
|
|
</body>
|
|
</html> |