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.

62 lines
2.1 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Waka Waka</title>
  6. {% load staticfiles %}
  7. <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}" type="text/css">
  8. <link rel="stylesheet" href="{% static 'css/style.css' %}" type="text/css">
  9. <link rel="stylesheet" href="{% static 'css/pricing.css' %}" type="text/css">
  10. </head>
  11. <body>
  12. <nav class="navbar navbar-default">
  13. <div class="container-fluid">
  14. <div class="navbar-header">
  15. <a class="navbar-brand" href="{% url 'hc-index' %}">Health Checks</a>
  16. </div>
  17. <ul class="nav navbar-nav">
  18. <li {% if page == 'welcome' %} class="active" {% endif %}>
  19. <a href="{% url 'hc-index' %}">Welcome</a>
  20. </li>
  21. {% if request.user.is_authenticated %}
  22. <li {% if page == 'checks' %} class="active" {% endif %}>
  23. <a href="{% url 'hc-checks' %}">My Checks</a>
  24. </li>
  25. {% endif %}
  26. <li {% if page == 'pricing' %} class="active" {% endif %}>
  27. <a href="{% url 'hc-pricing' %}">Pricing</a>
  28. </li>
  29. <li {% if page == 'docs' %} class="active" {% endif %}>
  30. <a href="{% url 'hc-docs' %}">Documentation</a>
  31. </li>
  32. <li {% if page == 'about' %} class="active" {% endif %}>
  33. <a href="{% url 'hc-about' %}">About</a>
  34. </li>
  35. </ul>
  36. <ul class="nav navbar-nav navbar-right">
  37. {% if request.user.is_authenticated %}
  38. <li><a href="#">{{ request.user.email }}</a></li>
  39. <li><a href="{% url 'hc-logout' %}">Log Out</a></li>
  40. {% else %}
  41. <li><a href="{% url 'hc-login' %}">Log In</a></li>
  42. {% endif %}
  43. </ul>
  44. </div>
  45. </nav>
  46. <div class="container">
  47. {% block content %}{% endblock %}
  48. </div>
  49. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  50. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  51. <script src="{% static 'js/checks.js' %}"></script>
  52. </body>
  53. </html>