Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. {% extends "base.html" %}
  2.  
  3. {% block content %}
  4. <body>
  5.  
  6. <div class="d-flex" id="wrapper">
  7.  
  8. <!-- Sidebar -->
  9. <div class="bg-light border-right" id="sidebar-wrapper">
  10. <div class="sidebar-heading">
  11. <table>
  12. <tr valign="top">
  13. <td><img src="{{ user.avatar(160) }}"></td>
  14. </tr>
  15. <tr><td><h1>Olรก {{ user.username }}</h1></td></tr>
  16. </table>
  17. </div>
  18. <div class="list-group list-group-flush">
  19. <a href="#" class="list-group-item list-group-item-action bg-light">Perfil</a>
  20. <a href="teste.html" class="list-group-item list-group-item-action bg-light">Voos</a>
  21. <a href="#" class="list-group-item list-group-item-action bg-light">Check-in</a>
  22. <a href="#" class="list-group-item list-group-item-action bg-light">Pilotos</a>
  23. <a href="#" class="list-group-item list-group-item-action bg-light">Eventos</a>
  24. <a href="#" class="list-group-item list-group-item-action bg-light">Financeiro</a>
  25. </div>
  26. </div>
  27. <!-- /#sidebar-wrapper -->
  28.  
  29. <!-- Page Content -->
  30. <div class="container-fluid">
  31. <h1 class="mt-4">Simple Sidebar</h1>
  32. <p>The starting state of the menu will appear collapsed on smaller screens, and will appear non-collapsed on larger screens. When toggled using the button below, the menu will change.</p>
  33. <p>Make sure to keep all page content within the <code>#page-content-wrapper</code>. The top navbar is optional, and just for demonstration. Just create an element with the <code>#menu-toggle</code> ID which will toggle the menu when clicked.</p>
  34. </div>
  35. </div>
  36. <!-- /#page-content-wrapper -->
  37.  
  38. </div>
  39. <!-- /#wrapper -->
  40.  
  41. <!-- Bootstrap core JavaScript -->
  42. <script src="vendor/jquery/jquery.min.js"></script>
  43. <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  44.  
  45. <!-- Menu Toggle Script -->
  46. <script>
  47. $("#menu-toggle").click(function(e) {
  48. e.preventDefault();
  49. $("#wrapper").toggleClass("toggled");
  50. });
  51. </script>
  52.  
  53. </body>
  54.  
  55.  
  56. {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement