Adding the core applications code to the repository
This commit is contained in:
21
website/templates/base.html
Normal file
21
website/templates/base.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
{% load staticfiles %} {% load bootstrap3 %}
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<title>{% block title %}La maraude{% endblock %}</title>
|
||||
{% if stylesheets %}{% for stylesheet in stylesheets %}<link rel="stylesheet" type="text/css" href="{% static stylesheet %}" />{% endfor %}{% endif %}
|
||||
{# Load CSS and JavaScript #}{% bootstrap_css %}{% bootstrap_javascript %}
|
||||
</head>
|
||||
<body>
|
||||
{% block globalnav %}{% endblock %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{% block panels %}<div class="col-md-12">{% endblock %}
|
||||
{% bootstrap_messages %}
|
||||
<div class="page-header"><h1>{% block page_header %}Header{% endblock %}</h1></div>
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user