2026-02-24 13:24:56 +00:00

51 lines
2.1 KiB
HTML

{% load custom_tags %}
{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
<link href="{% static 'bootstrap/css/bootstrap.min.css' %}" rel="stylesheet" media="screen">
<link href="{% static 'bootstrap/css/bootstrap-responsive.min.css' %}" rel="stylesheet" media="screen">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href="http://getbootstrap.com/examples/jumbotron-narrow/jumbotron-narrow.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="{% static 'bootstrap/js/bootstrap.min.js' %}"></script>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{% block title %}{{site.name}}{% endblock title %}</title>
<meta name="description" content="{% block meta-description %}{% endblock %}" />
<meta name="keywords" content="{% block meta-keywords %}{% endblock %}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% block extra_head %}{% endblock %}
</head>
<body>
<div class="container">
<div class="header">
<nav>
<ul class="nav nav-pills pull-right">
{% if user.is_authenticated %}
<li class="{% active 'my-profile' %}"><a href="{% url 'my-profile' %}">My Profile</a></li>
<li><a href="{% url 'django.contrib.auth.views.logout' %}">Logout</a></li>
{% else %}
<li><a href="{% url 'django.contrib.auth.views.login' %}">Login</a></li>
{% endif %}
</ul>
</nav>
<h3 class="text-muted"><a href="{% url 'home' %}">Project name</a></h3>
</div>
{% if messages %}
{% for message in messages %}
<div class="alert alert-{% if message.tags %}{{ message.tags }}{% endif %}">
<span id="message_{{ forloop.counter }}">
{{ message }}
</span>
</div>
{% endfor %}
{% endif %}
{% block content %}
{% endblock %}
<footer class="footer">
<p>© Company 2015</p>
</footer>
</div>
</body>
</html>