mirror of
				https://github.com/StefBuwalda/WebTech.git
				synced 2025-10-30 11:19:58 +00:00 
			
		
		
		
	HET WERKT
This commit is contained in:
		
							
								
								
									
										58
									
								
								application/templates/base_template.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								application/templates/base_template.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,58 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
|  | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" | ||||
|         integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> | ||||
|     <link href="{{url_for('static', filename='style.css')}}" rel="stylesheet"> | ||||
|     <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" | ||||
|         integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" | ||||
|         crossorigin="anonymous"></script> | ||||
|     <title>{% block title %}{% endblock %}</title> | ||||
| </head> | ||||
|  | ||||
| <body> | ||||
|     <nav id="nav" class="navbar sticky-top navbar-expand-lg bg-body-tertiary" data-bs-theme="dark"> | ||||
|         <div class="container-fluid"> | ||||
|             <a class="navbar-brand" href="{{url_for('index')}}">Applicatie naam</a> | ||||
|             <button class="navbar-toggler" type="button" data-bs-toggle="collapse" | ||||
|                 data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" | ||||
|                 aria-label="Toggle navigation"> | ||||
|                 <span class="navbar-toggler-icon"></span> | ||||
|             </button> | ||||
|             <div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||||
|                 <ul class="navbar-nav me-auto mb-2 mb-lg-0"> | ||||
|                     <li class="nav-item"> | ||||
|                         <a class="nav-link active" aria-current="page" href="{{url_for('dash.index')}}">Dashboard</a> | ||||
|                     </li> | ||||
|                     <li class="nav-item"> | ||||
|                         <a class="nav-link" href="#">Info</a> | ||||
|                     </li> | ||||
|                     <li class="nav-item dropdown"> | ||||
|                         <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" | ||||
|                             aria-expanded="false"> | ||||
|                             Dropdown | ||||
|                         </a> | ||||
|                         <ul class="dropdown-menu"> | ||||
|                             <li><a class="dropdown-item" href="#">Action</a></li> | ||||
|                             <li><a class="dropdown-item" href="#">Another action</a></li> | ||||
|                             <li> | ||||
|                                 <hr class="dropdown-divider"> | ||||
|                             </li> | ||||
|                             <li><a class="dropdown-item" href="#">Something else here</a></li> | ||||
|                         </ul> | ||||
|                     </li> | ||||
|                 </ul> | ||||
|                 {% if current_user.is_authenticated %} | ||||
|                 <a class="btn btn-outline-info" data-bs-theme="dark" href="{{url_for('auth.logout')}}">Logout</a> | ||||
|                 {% endif %} | ||||
|             </div> | ||||
|         </div> | ||||
|     </nav> | ||||
|     {% block content %} | ||||
|     {% endblock %} | ||||
| </body> | ||||
|  | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user