| 1 |
<!doctype html> |
| 2 |
<html lang="en" class="h-100"> |
| 3 |
<head> |
| 4 |
<meta charset="utf-8"> |
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 |
<meta name="description" content=""> |
| 7 |
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> |
| 8 |
<meta name="generator" content="Hugo 0.88.1"> |
| 9 |
<title>flask-bootstrap example ยท Bootstrap v5.1</title> |
| 10 |
|
| 11 |
<link rel="canonical" href="https://getbootstrap.com/docs/5.1/examples/sticky-footer-navbar/"> |
| 12 |
|
| 13 |
<!-- Bootstrap core CSS --> |
| 14 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> |
| 15 |
<style> |
| 16 |
.bd-placeholder-img { |
| 17 |
font-size: 1.125rem; |
| 18 |
text-anchor: middle; |
| 19 |
-webkit-user-select: none; |
| 20 |
-moz-user-select: none; |
| 21 |
user-select: none; |
| 22 |
} |
| 23 |
|
| 24 |
@media (min-width: 768px) { |
| 25 |
.bd-placeholder-img-lg { |
| 26 |
font-size: 3.5rem; |
| 27 |
} |
| 28 |
} |
| 29 |
main > .container { |
| 30 |
padding: 60px 15px 0; |
| 31 |
} |
| 32 |
</style> |
| 33 |
</head> |
| 34 |
<body class="d-flex flex-column h-100"> |
| 35 |
<header> |
| 36 |
<!-- Fixed navbar --> |
| 37 |
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark"> |
| 38 |
<div class="container-fluid"> |
| 39 |
<a class="navbar-brand" href="#">Fixed navbar</a> |
| 40 |
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> |
| 41 |
<span class="navbar-toggler-icon"></span> |
| 42 |
</button> |
| 43 |
<div class="collapse navbar-collapse" id="navbarCollapse"> |
| 44 |
<ul class="navbar-nav me-auto mb-2 mb-md-0"> |
| 45 |
<li class="nav-item"> |
| 46 |
<a class="nav-link" aria-current="page" href="#">Home</a> |
| 47 |
</li> |
| 48 |
<li class="nav-item" id="users-url"> |
| 49 |
<a class="nav-link" href="{{ url_for('index', bs='bootstrap5') }}">Users</a> |
| 50 |
</li> |
| 51 |
<li class="nav-item" id="users-page-url"> |
| 52 |
<a class="nav-link" href="{{ url_for('users', bs='bootstrap5') }}">Users Page Views</a> |
| 53 |
</li> |
| 54 |
<li class="nav-item"> |
| 55 |
<a class="nav-link" href="{{ url_for('index') }}">(BS4) Users</a> |
| 56 |
</li> |
| 57 |
</ul> |
| 58 |
<form class="d-flex"> |
| 59 |
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search"> |
| 60 |
<button class="btn btn-outline-success" type="submit">Search</button> |
| 61 |
</form> |
| 62 |
</div> |
| 63 |
</div> |
| 64 |
</nav> |
| 65 |
</header> |
| 66 |
|
| 67 |
<!-- Begin page content --> |
| 68 |
<main class="flex-shrink-0"> |
| 69 |
<div class="container"> |
| 70 |
{% block body %}{% endblock %} |
| 71 |
</div> |
| 72 |
</main> |
| 73 |
|
| 74 |
<footer class="footer mt-auto py-3 bg-light"> |
| 75 |
<div class="container"> |
| 76 |
<span class="text-muted">Place sticky footer content here.</span> |
| 77 |
</div> |
| 78 |
</footer> |
| 79 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> |
| 80 |
<script> |
| 81 |
{% block js %}{% endblock %} |
| 82 |
</script> |
| 83 |
</body> |
| 84 |
</html> |