2021-09-14 17:32:51 +02:00
|
|
|
{% extends "base.html" %}
|
2021-09-25 20:31:08 +02:00
|
|
|
{% load i18n %}
|
2021-09-14 17:32:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
{% block mainpage %}
|
|
|
|
<div class="px-4 py-5 my-5 text-center">
|
|
|
|
<h1 class="display-5 fw-bold">RPG notes</h1>
|
|
|
|
<div class="col-lg-6 mx-auto">
|
|
|
|
<p class="lead mb-4">
|
2021-09-25 20:31:08 +02:00
|
|
|
{% translate "An experimental, collaborative note taking app and wiki optimized for RPG games." %}
|
2021-09-14 17:32:51 +02:00
|
|
|
</p>
|
|
|
|
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
|
|
|
|
{% if user.is_authenticated %}
|
2021-09-25 20:31:08 +02:00
|
|
|
<a href="{% url "campaignlist" %}"
|
|
|
|
class="btn btn-primary btn-lg">{% translate "List of Campaigns" %}</a>
|
2021-09-14 17:32:51 +02:00
|
|
|
{% else %}
|
2021-09-25 20:31:08 +02:00
|
|
|
<a href="{% url "login" %}" class="btn btn-primary btn-lg px-4 gap-3">
|
|
|
|
{% translate "Log in" %}
|
|
|
|
</a>
|
|
|
|
<a href="{% url "django_registration_register" %}" class="btn btn-outline-secondary btn-lg px-4">
|
|
|
|
{% translate "Sign up" %}
|
|
|
|
</a>
|
2021-09-14 17:32:51 +02:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|