Use BabyBlotter base template for registration base.

This keep any changes to the main application base structure in line with the registration pages without duplication.
This commit is contained in:
Christopher Charbonneau Wells 2017-10-20 09:49:37 -04:00
parent 838da05308
commit 1d013f5173
1 changed files with 3 additions and 18 deletions

View File

@ -1,21 +1,7 @@
{% extends "babyblotter/base.html" %}
{% load static widget_tweaks %} {% load static widget_tweaks %}
<!DOCTYPE html> {% block page %}
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{% block title %}{% endblock %} | Baby Blotter</title>
{% if debug %}
<link rel="stylesheet" href="{% static "babyblotter/css/app.css" %}" />
<link rel="stylesheet" href="{% static "babyblotter/css/vendor.css" %}" />
{% else %}
<link rel="stylesheet" href="{% static "babyblotter/css/app.min.css" %}" />
<link rel="stylesheet" href="{% static "babyblotter/css/vendor.min.css" %}" />
{% endif %}
</head>
<body class="bg-dark registration">
<div id="view-{{ request.resolver_match.view_name }}" class="container"> <div id="view-{{ request.resolver_match.view_name }}" class="container">
<div class="text-center mb-4"> <div class="text-center mb-4">
<h1 class="display-3 mb-3"><span class="text-info">Baby</span> Blotter</h1> <h1 class="display-3 mb-3"><span class="text-info">Baby</span> Blotter</h1>
@ -24,5 +10,4 @@
{% block content %}{% endblock %} {% block content %}{% endblock %}
</div> </div>
</div> </div>
</body> {% endblock %}
</html>