<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Waka Waka</title>
|
|
|
|
{% load staticfiles %}
|
|
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}" type="text/css">
|
|
<link rel="stylesheet" href="{% static 'css/style.css' %}" type="text/css">
|
|
<link rel="stylesheet" href="{% static 'css/pricing.css' %}" type="text/css">
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-default">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand" href="{% url 'hc-index' %}">Health Checks</a>
|
|
</div>
|
|
|
|
<ul class="nav navbar-nav">
|
|
<li {% if page == 'welcome' %} class="active" {% endif %}>
|
|
<a href="{% url 'hc-index' %}">Welcome</a>
|
|
</li>
|
|
|
|
{% if request.user.is_authenticated %}
|
|
<li {% if page == 'checks' %} class="active" {% endif %}>
|
|
<a href="{% url 'hc-checks' %}">My Checks</a>
|
|
</li>
|
|
{% endif %}
|
|
|
|
<li {% if page == 'pricing' %} class="active" {% endif %}>
|
|
<a href="{% url 'hc-pricing' %}">Pricing</a>
|
|
</li>
|
|
|
|
<li {% if page == 'docs' %} class="active" {% endif %}>
|
|
<a href="{% url 'hc-docs' %}">Documentation</a>
|
|
</li>
|
|
|
|
<li {% if page == 'about' %} class="active" {% endif %}>
|
|
<a href="{% url 'hc-about' %}">About</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
{% if request.user.is_authenticated %}
|
|
<li><a href="#">{{ request.user.email }}</a></li>
|
|
<li><a href="{% url 'hc-logout' %}">Log Out</a></li>
|
|
{% else %}
|
|
<li><a href="{% url 'hc-login' %}">Log In</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="container">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
|
|
<script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
|
|
<script src="{% static 'js/bootstrap.min.js' %}"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|