2017-08-29 15:55:15 +03:00
|
|
|
{% raw %}{% load static i18n {% endraw %}{% if cookiecutter.use_compressor == "y" %}compress{% endif %}{% raw %}%}<!DOCTYPE html>
|
2016-06-04 00:07:25 +03:00
|
|
|
<html lang="en">
|
2013-08-14 22:01:41 +04:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2015-05-09 21:21:48 +03:00
|
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
2013-10-09 21:15:41 +04:00
|
|
|
<title>{% block title %}{% endraw %}{{ cookiecutter.project_name }}{% raw %}{% endblock title %}</title>
|
2013-08-14 22:01:41 +04:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
2017-04-14 21:54:38 +03:00
|
|
|
|
2013-08-14 22:01:41 +04:00
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
|
|
<!--[if lt IE 9]>
|
2016-10-19 18:51:53 +03:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
|
2013-08-14 22:01:41 +04:00
|
|
|
<![endif]-->
|
|
|
|
|
2018-05-05 22:25:07 +03:00
|
|
|
<link rel="icon" href="{% static 'images/favicons/favicon.ico' %}">
|
|
|
|
|
2013-08-15 21:59:11 +04:00
|
|
|
{% block css %}
|
2018-01-21 04:05:12 +03:00
|
|
|
{% endraw %}{% if cookiecutter.custom_bootstrap_compilation == "n" %}{% raw %}
|
2018-07-12 12:35:28 +03:00
|
|
|
<!-- Latest compiled and minified Bootstrap 4.1.1 CSS -->
|
|
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
|
2018-01-21 04:05:12 +03:00
|
|
|
{% endraw %}{% endif %}{% raw %}
|
2013-08-15 21:59:11 +04:00
|
|
|
|
2016-08-04 02:03:43 +03:00
|
|
|
<!-- Your stuff: Third-party CSS libraries go here -->
|
2016-06-18 05:07:45 +03:00
|
|
|
{% endraw %}{% if cookiecutter.use_compressor == "y" %}{% raw %}{% compress css %}{% endraw %}{% endif %}{% raw %}
|
2016-08-04 02:03:43 +03:00
|
|
|
<!-- This file stores project-specific CSS -->
|
2018-02-24 13:14:41 +03:00
|
|
|
{% endraw %}{% if cookiecutter.js_task_runner == "Gulp" and cookiecutter.use_compressor == "n" %}{% raw %}
|
2018-01-21 04:05:12 +03:00
|
|
|
<link href="{% static 'css/project.min.css' %}" rel="stylesheet">
|
|
|
|
{% endraw %}{% else %}{% raw %}
|
2017-06-21 23:12:22 +03:00
|
|
|
<link href="{% static 'css/project.css' %}" rel="stylesheet">
|
2018-01-21 04:05:12 +03:00
|
|
|
{% endraw %}{% endif %}{% raw %}
|
2016-06-18 05:07:45 +03:00
|
|
|
{% endraw %}{% if cookiecutter.use_compressor == "y" %}{% raw %}{% endcompress %}{% endraw %}{% endif %}{% raw %}
|
2013-08-15 21:59:11 +04:00
|
|
|
{% endblock %}
|
2013-08-14 22:01:41 +04:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2015-10-25 04:31:36 +03:00
|
|
|
|
2016-08-04 02:03:43 +03:00
|
|
|
<div class="m-b-1">
|
2017-09-05 15:21:25 +03:00
|
|
|
<nav class="navbar navbar-expand-md navbar-light bg-light">
|
2017-04-21 01:18:30 +03:00
|
|
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<a class="navbar-brand" href="{% url 'home' %}">{% endraw %}{{ cookiecutter.project_name }}{% raw %}</a>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
|
|
<ul class="navbar-nav mr-auto">
|
|
|
|
<li class="nav-item active">
|
|
|
|
<a class="nav-link" href="{% url 'home' %}">Home <span class="sr-only">(current)</span></a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{% url 'about' %}">About</a>
|
|
|
|
</li>
|
|
|
|
{% if request.user.is_authenticated %}
|
2015-10-25 04:31:36 +03:00
|
|
|
<li class="nav-item">
|
2017-04-21 01:18:30 +03:00
|
|
|
{# URL provided by django-allauth/account/urls.py #}
|
|
|
|
<a class="nav-link" href="{% url 'users:detail' request.user.username %}">{% trans "My Profile" %}</a>
|
2015-10-25 04:31:36 +03:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2017-04-21 01:18:30 +03:00
|
|
|
{# URL provided by django-allauth/account/urls.py #}
|
|
|
|
<a class="nav-link" href="{% url 'account_logout' %}">{% trans "Sign Out" %}</a>
|
2015-10-25 04:31:36 +03:00
|
|
|
</li>
|
2017-04-21 01:18:30 +03:00
|
|
|
{% else %}
|
|
|
|
<li class="nav-item">
|
|
|
|
{# URL provided by django-allauth/account/urls.py #}
|
|
|
|
<a id="sign-up-link" class="nav-link" href="{% url 'account_signup' %}">{% trans "Sign Up" %}</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
{# URL provided by django-allauth/account/urls.py #}
|
|
|
|
<a id="log-in-link" class="nav-link" href="{% url 'account_login' %}">{% trans "Sign In" %}</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2015-07-14 05:26:40 +03:00
|
|
|
</div>
|
2015-08-31 01:41:46 +03:00
|
|
|
</nav>
|
2017-04-21 01:18:30 +03:00
|
|
|
|
2015-08-31 01:41:46 +03:00
|
|
|
</div>
|
2013-08-14 22:01:41 +04:00
|
|
|
|
2015-07-15 21:08:49 +03:00
|
|
|
<div class="container">
|
2015-05-09 20:40:32 +03:00
|
|
|
|
2013-11-12 19:58:28 +04:00
|
|
|
{% if messages %}
|
|
|
|
{% for message in messages %}
|
2015-11-22 19:38:36 +03:00
|
|
|
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% endif %}">{{ message }}</div>
|
2013-11-12 19:58:28 +04:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2016-09-12 01:22:21 +03:00
|
|
|
|
2013-08-15 21:59:11 +04:00
|
|
|
{% block content %}
|
2013-08-14 22:01:41 +04:00
|
|
|
<p>Use this document as a way to quick start any new project.</p>
|
2013-08-15 21:59:11 +04:00
|
|
|
{% endblock content %}
|
2013-08-14 22:01:41 +04:00
|
|
|
|
|
|
|
</div> <!-- /container -->
|
2015-05-09 20:40:32 +03:00
|
|
|
|
2013-08-19 19:47:15 +04:00
|
|
|
{% block modal %}{% endblock modal %}
|
2013-08-14 22:01:41 +04:00
|
|
|
|
|
|
|
<!-- Le javascript
|
|
|
|
================================================== -->
|
|
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
2013-08-15 21:59:11 +04:00
|
|
|
{% block javascript %}
|
2018-01-21 04:05:12 +03:00
|
|
|
{% endraw %}{% if cookiecutter.custom_bootstrap_compilation == "y" and cookiecutter.js_task_runner == "Gulp" %}{% raw %}
|
|
|
|
<!-- Vendor dependencies bundled as one file-->
|
|
|
|
{% endraw %}{% if cookiecutter.use_compressor == "y" %}{% raw %}{% compress js %}{% endraw %}{% endif %}{% raw %}
|
|
|
|
<script src="{% static 'js/vendors.js' %}"></script>
|
|
|
|
{% endraw %}{% if cookiecutter.use_compressor == "y" %}{% raw %}{% endcompress %}{% endraw %}{% endif %}{% raw %}
|
|
|
|
{% endraw %}{% else %}{% raw %}
|
2018-07-12 12:35:28 +03:00
|
|
|
<!-- Required by Bootstrap v4.1.1 -->
|
|
|
|
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
|
2013-08-16 20:23:22 +04:00
|
|
|
|
|
|
|
<!-- Your stuff: Third-party javascript libraries go here -->
|
2018-01-21 04:05:12 +03:00
|
|
|
{% endraw %}{% endif %}{% raw %}
|
2016-09-12 01:22:21 +03:00
|
|
|
|
2013-08-15 21:59:11 +04:00
|
|
|
<!-- place project specific Javascript in this file -->
|
2016-06-18 05:07:45 +03:00
|
|
|
{% endraw %}{% if cookiecutter.use_compressor == "y" %}{% raw %}{% compress js %}{% endraw %}{% endif %}{% raw %}
|
2017-06-21 23:12:22 +03:00
|
|
|
<script src="{% static 'js/project.js' %}"></script>
|
2016-06-18 05:07:45 +03:00
|
|
|
{% endraw %}{% if cookiecutter.use_compressor == "y" %}{% raw %}{% endcompress %}{% endraw %}{% endif %}{% raw %}
|
2016-09-12 01:22:21 +03:00
|
|
|
|
2013-08-15 21:59:11 +04:00
|
|
|
{% endblock javascript %}
|
2013-08-14 22:01:41 +04:00
|
|
|
</body>
|
|
|
|
</html>
|
2013-08-19 17:42:14 +04:00
|
|
|
{% endraw %}
|