61 lines
2.6 KiB
HTML
61 lines
2.6 KiB
HTML
{% load static %}
|
|
{% load has_plan %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en-GB">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Pathogen - {{ request.path_info }}</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
|
|
|
<link rel="stylesheet" href="{% static 'style.css' %}" />
|
|
</head>
|
|
<body>
|
|
<section class="hero is-primary is-fullheight">
|
|
<div class="hero-head">
|
|
<nav class="navbar navbar-default navbar-static-top">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand" href="{% url 'home' %}">Pathogen</a>
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#base-nav" aria-expanded="false">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="base-nav">
|
|
<ul class="nav navbar-nav navbar-right">
|
|
{% if user.is_authenticated %}
|
|
<li><a href="{% url 'billing' %}">Billing</a></li>
|
|
{% endif %}
|
|
{% if user|has_plan:'drilldown' %}
|
|
<li><a href="{% url 'drilldown' %}">Drilldown</a></li>
|
|
{% endif %}
|
|
{% if not user.is_authenticated %}
|
|
<li><a href="{% url 'login' %}">Login</a></li>
|
|
<li><a href="{% url 'signup' %}">Sign Up</a></li>
|
|
{% endif %}
|
|
{% if user.is_authenticated %}
|
|
<li><a href="{% url 'logout' %}">Logout</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
<div class="hero-body">
|
|
<div class="container has-text-centered">
|
|
{% block content %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</body>
|
|
|
|
</html>
|