neptune/core/templates/base.html

55 lines
2.1 KiB
HTML
Raw Normal View History

2022-07-21 12:46:05 +00:00
{% load static %}
2022-07-21 12:45:28 +00:00
<!DOCTYPE html>
2022-07-21 12:46:05 +00:00
<html lang="en-GB">
<head>
2022-07-21 12:45:28 +00:00
<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> #}
2022-07-21 12:46:05 +00:00
</head>
<body>
2022-07-21 12:45:28 +00:00
<section class="hero is-primary is-fullheight">
2022-07-21 12:46:05 +00:00
<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>
<span class="icon-bar"></span>
</button>
2022-07-21 12:45:28 +00:00
</div>
2022-07-21 12:46:05 +00:00
<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.paid %}
2022-07-21 12:46:05 +00:00
<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 %}
2022-07-21 12:45:28 +00:00
</div>
2022-07-21 12:46:05 +00:00
</div>
2022-07-21 12:45:28 +00:00
</section>
2022-07-21 12:46:05 +00:00
</body>
2022-07-21 12:45:28 +00:00
</html>