2022-07-21 12:45:28 +00:00
|
|
|
{% load static %}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2022-07-21 12:45:57 +00:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">s
|
2022-07-21 12:45:28 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2022-07-21 12:45:57 +00:00
|
|
|
<title>Pathogen - {{ request.path_info }}</title>
|
2022-07-21 12:45:28 +00:00
|
|
|
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
|
|
|
|
<link rel="stylesheet" href="{% static 'style.css' %}" />
|
|
|
|
<script src="https://js.stripe.com/v3/"></script>
|
|
|
|
|
|
|
|
</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" data-toggle="collapse" data-target=".navbar-collapse">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<sapn class="icon-bar"></sapn>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<ul class="nav navbar-nav navbar-right collapse navbar-collapse">
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<li><a href="{% url 'profile' %}">Profile</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% if user.plan == "drilldown" and user.paid %}
|
|
|
|
<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>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="hero-body">
|
|
|
|
<div class="container has-text-centered">
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|