2023-06-09 20:19:15 +00:00
|
|
|
{% load static %}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2023-06-11 19:20:45 +00:00
|
|
|
<link rel="stylesheet" href="{% static 'milligram.css' %}">
|
2023-06-09 20:19:15 +00:00
|
|
|
<title>Guild Journal</title>
|
2023-06-11 19:20:45 +00:00
|
|
|
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation {
|
|
|
|
background-color: #cdf4d3;
|
|
|
|
padding: 1rem;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-title {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #333;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-list {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 3.6rem;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-line {
|
|
|
|
background-color: #cdf4d3;
|
|
|
|
background-clip: content-box;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-item {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
</style>
|
2023-06-09 20:19:15 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2023-06-11 19:20:45 +00:00
|
|
|
<nav class="navigation">
|
|
|
|
<section class="container">
|
|
|
|
<a class="navigation-title" href="/">Guild Journal</a>
|
|
|
|
|
|
|
|
<ul class="navigation-list">
|
2023-06-13 19:30:11 +00:00
|
|
|
{% comment %} <li class="navigation-item">
|
2023-06-11 19:20:45 +00:00
|
|
|
<a href="{% url 'guild:adventure_list' %}">Adventures</a>
|
|
|
|
</li>
|
|
|
|
<li class="navigation-item">
|
|
|
|
<a href="{% url 'guild:character_list' %}">Characters</a>
|
2023-06-13 19:30:11 +00:00
|
|
|
</li> {% endcomment %}
|
2023-06-13 18:24:54 +00:00
|
|
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<li class="navigation-item">
|
|
|
|
<a href="{% url 'guild:logout' %}">Logout</a>
|
|
|
|
</li>
|
|
|
|
{% else %}
|
|
|
|
<li class="navigation-item">
|
|
|
|
<a href="{% url 'guild:login' %}">Login</a>
|
|
|
|
</li>
|
2023-06-22 18:35:43 +00:00
|
|
|
<li class="navigation-item">
|
|
|
|
<a href="{% url 'guild:register' %}">Register</a>
|
|
|
|
</li>
|
2023-06-13 18:24:54 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2023-06-11 19:20:45 +00:00
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</nav>
|
|
|
|
|
2023-06-09 20:19:15 +00:00
|
|
|
<main class="container">
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</main>
|
|
|
|
|
2023-06-20 19:22:56 +00:00
|
|
|
<footer class="container">
|
|
|
|
<hr>
|
|
|
|
<a href="{% url 'guild:settings' %}">Settings</a>
|
|
|
|
</footer>
|
|
|
|
|
2023-06-09 20:19:15 +00:00
|
|
|
</body>
|
|
|
|
</html>
|