Initial commit
This commit is contained in:
		
						commit
						7523a19d1f
					
				
					 40 changed files with 3984 additions and 0 deletions
				
			
		
							
								
								
									
										40
									
								
								templates/base.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								templates/base.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,40 @@ | |||
| {% from 'bootstrap/utils.html' import render_messages %} | ||||
| 
 | ||||
| <!doctype html> | ||||
| <html lang="en"> | ||||
|     <head> | ||||
|         {% block head %} | ||||
|             <meta charset="utf-8"> | ||||
|             <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||||
|             {% block styles %} | ||||
|                 {{ bootstrap.load_css() }} | ||||
|                 <link rel="stylesheet" href="{{url_for('static', filename='theme.css')}}"> | ||||
|             {% endblock %} | ||||
|             <title>MediaDash</title> | ||||
|         {% endblock %} | ||||
|     </head> | ||||
|     <body> | ||||
|         {% block navbar %} | ||||
|         <nav class="navbar sticky-top navbar-expand-lg navbar-dark" style="background-color: #222;"> | ||||
|             <a class="navbar-brand" href="/">MediaDash</a> | ||||
|             <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar_main" aria-controls="navbar_main" aria-expanded="false" aria-label="Toggle navigation"> | ||||
|                 <span class="navbar-toggler-icon"></span> | ||||
|             </button> | ||||
|             <div class="collapse navbar-collapse" id="navbar_main"> | ||||
|                 {{nav.left_nav.render(renderer='bootstrap4')}} | ||||
|             </div> | ||||
|             </nav> | ||||
|         </div> | ||||
|         {% endblock %} | ||||
|         {% block content %} | ||||
|         <div class={{"container-fluid" if fluid else "container"}}> | ||||
|             {{render_messages()}} | ||||
|             {% block app_content %}{% endblock %} | ||||
|         </div> | ||||
|         {% endblock %} | ||||
| 
 | ||||
|         {% block scripts %} | ||||
|             {{ bootstrap.load_js(with_popper=False) }} | ||||
|         {% endblock %} | ||||
|     </body> | ||||
| </html> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue