2019-10-23 11:35:43 +00:00
|
|
|
|
{% load i18n static %}
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
{% block head %}
|
|
|
|
|
|
|
|
|
|
{% block meta %}
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<meta name="robots" content="NONE,NOARCHIVE" />
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2019-10-25 11:32:21 +00:00
|
|
|
|
<title>{% block title %}{% if name %}{{ name }} – {% endif %}Django musician{% endblock %}</title>
|
2019-10-23 11:35:43 +00:00
|
|
|
|
|
|
|
|
|
{% block style %}
|
|
|
|
|
{% block bootstrap_theme %}
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static "musician/css/bootstrap.min.css" %}" />
|
2019-12-03 11:45:54 +00:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static "musician/css/theme.min.css" %}" />
|
2019-10-23 11:35:43 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2019-12-03 12:34:12 +00:00
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto&display=swap" />
|
|
|
|
|
|
2019-12-03 11:41:34 +00:00
|
|
|
|
<link rel="stylesheet" href="{% static "musician/fontawesome/css/all.min.css" %}" />
|
2019-10-23 11:35:43 +00:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static "musician/css/default.css" %}" />
|
|
|
|
|
{% if code_style %}<style>
|
|
|
|
|
{{ code_style }}
|
|
|
|
|
</style>{% endif %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
|
|
|
|
|
<body class="{% block bodyclass %}{% endblock %}">
|
|
|
|
|
<div class="wrapper">
|
2019-12-03 11:41:34 +00:00
|
|
|
|
<nav id="sidebar" class="bg-primary border-right pt-4">
|
2019-10-23 11:35:43 +00:00
|
|
|
|
{% block sidebar %}
|
2019-10-25 11:32:21 +00:00
|
|
|
|
{# <!-- branding --> #}
|
2019-12-03 11:41:34 +00:00
|
|
|
|
<img class="img-fluid" src="{% static 'musician/images/logo-pangea-monocrome-white.png' %}"
|
|
|
|
|
alt="Pangea.org - Internet etic i solidari" />
|
|
|
|
|
<span class="text-light d-block text-right">{{ version }}</span>
|
2019-10-23 11:35:43 +00:00
|
|
|
|
<div class="dropdown-divider"></div>
|
2019-10-25 11:32:21 +00:00
|
|
|
|
{# <!-- services menu --> #}
|
2019-10-30 13:36:03 +00:00
|
|
|
|
{% for item in services_menu %}
|
2019-10-25 11:32:21 +00:00
|
|
|
|
<ul class="nav flex-column">
|
|
|
|
|
<li class="nav-item">
|
2019-12-03 11:41:34 +00:00
|
|
|
|
<a class="nav-link text-light active" href="{% url item.pattern_name %}">
|
|
|
|
|
<i class="fas fa-{{ item.icon }}"></i>
|
|
|
|
|
{{ item.title }}
|
|
|
|
|
</a>
|
2019-10-25 11:32:21 +00:00
|
|
|
|
</li>
|
2019-10-23 11:35:43 +00:00
|
|
|
|
</ul>
|
2019-10-30 13:36:03 +00:00
|
|
|
|
{% endfor %}
|
2019-10-25 11:32:21 +00:00
|
|
|
|
{# <!-- user profile menu --> #}
|
|
|
|
|
<div class="dropdown-divider mt-5"></div>
|
|
|
|
|
<ul class="nav flex-column">
|
|
|
|
|
<li class="nav-item">
|
2019-12-03 11:41:34 +00:00
|
|
|
|
<a href="#profile" class="nav-link text-light">
|
|
|
|
|
<img id="user-avatar" class="float-right" width="64" height="64" src="{% static "musician/images/default-profile-picture.png" %}" alt="user-profile-picture"/>
|
|
|
|
|
<strong>{{ user.username|default:"Username" }}</strong><br/>
|
|
|
|
|
<i class="fas fa-cog"></i> Settings
|
|
|
|
|
|
|
|
|
|
</a>
|
2019-10-25 11:32:21 +00:00
|
|
|
|
</li>
|
|
|
|
|
<div class="dropdown-divider"></div>
|
2019-12-03 11:41:34 +00:00
|
|
|
|
<li class="nav-item text-right">
|
|
|
|
|
<a class="nav-link text-light" href="{% url 'musician:logout' %}">
|
|
|
|
|
{% trans 'Log out' %}
|
|
|
|
|
<i class="fas fa-power-off"></i>
|
|
|
|
|
</a>
|
2019-10-25 11:32:21 +00:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
2019-10-23 11:35:43 +00:00
|
|
|
|
{% endblock sidebar %}
|
|
|
|
|
</nav><!-- ./sidebar -->
|
|
|
|
|
<div id="content" class="container-fluid pt-4">
|
|
|
|
|
{% block content %}
|
|
|
|
|
{% endblock content %}
|
|
|
|
|
</div><!-- ./content -->
|
|
|
|
|
</div><!-- ./wrapper -->
|
|
|
|
|
|
|
|
|
|
{% block script %}
|
|
|
|
|
<script src="{% static "musician/js/jquery-3.3.1.slim.min.js" %}"></script>
|
|
|
|
|
<script src="{% static "musician/js/popper.min.js" %}"></script>
|
|
|
|
|
<script src="{% static "musician/js/bootstrap.min.js" %}"></script>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
</html>
|