Website to manage tibia accounts and characters
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base_generic.html 1.2KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. {% block title %}<title>Ambitious Server</title>{% endblock %}
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
  7. <!-- Add additional CSS in static file -->
  8. {% load static %}
  9. <link rel="stylesheet" href="{% static 'css/styles.css' %}">
  10. </head>
  11. <body>
  12. <div class="container-fluid">
  13. <div class="row">
  14. <div class="col-sm-2">
  15. {% block sidebar %}
  16. <ul class="sidebar-nav">
  17. {% if user.is_authenticated %}
  18. <li>User: {{ user.get_username }}</li>
  19. <li><a href="{% url 'logout'%}?next={{request.path}}">Logout</a></li>
  20. {% else %}
  21. <li><a href="{% url 'login'%}?next={{request.path}}">Login</a></li>
  22. {% endif %}
  23. <li><a href="{% url 'accounts:index' %}">Home</a></li>
  24. <li><a href="">Account</a></li>
  25. <li><a href="">All authors</a></li>
  26. </ul>
  27. {% endblock %}
  28. </div>
  29. <div class="col-sm-10 ">{% block content %}{% endblock %}</div>
  30. </div>
  31. </div>
  32. </body>
  33. </html>