1
0
Fork 0
mirror of https://github.com/Findus23/acronomy.git synced 2024-09-19 15:33:45 +02:00
acronomy/templates/base.html

42 lines
1.4 KiB
HTML
Raw Normal View History

2020-06-02 18:05:58 +02:00
{% load bootstrap4 %}
2020-06-01 11:03:21 +02:00
{% load static %}
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>{% block title %}Acronomy{% endblock %}</title>
<!-- Bootstrap -->
2020-06-02 20:10:37 +02:00
<link rel="stylesheet" href="{% static "css/main.css" %}">
2020-06-01 11:03:21 +02:00
{% block extra_head %}
{% endblock %}
</head>
<body>
{# <div class="container {{ referrers is defined ? "edit" }}">#}
<div class="container {% block containerclasses %}{% endblock %}">
2020-06-02 18:05:58 +02:00
{% bootstrap_messages %}
2020-06-01 11:03:21 +02:00
{% if user.is_authenticated %}
<div class="accountStatus">
Hello {{ user.get_username }}, <a href="{% url 'logout' %}">Log out</a>
</div>
{% endif %}
<div id="autocomplete" class="autocomplete">
<input class="autocomplete-input" {% block searchInput %}{% endblock %}/>
<ul class="autocomplete-result-list"></ul>
</div>
{% block content %}
{% endblock %}
</div>
2020-06-02 20:10:37 +02:00
<script src="{% static "libs/jquery.slim.min.js" %}"></script>
<script src="{% static "libs/popper.min.js" %}"></script>
<script src="{% static "libs/bootstrap.min.js" %}"></script>
<script src="{% static "libs/tagify.min.js" %}"></script>
<script src="{% static "libs/autocomplete.min.js" %}"></script>
2020-06-01 11:03:21 +02:00
<script src="{% static "app.js" %}"></script>
</body>
</html>