Fixed site to use simpler templates
This commit is contained in:
parent
acf802c7fa
commit
298530599e
2 changed files with 5 additions and 5 deletions
|
|
@ -4,7 +4,7 @@
|
|||
{% if subtitle %}
|
||||
{{ subtitle }} |
|
||||
{% endif %}
|
||||
{{ title }} | HouseWars Admin
|
||||
{{ title }} | House Wars Admin
|
||||
{% endblock %}
|
||||
|
||||
{% block branding %}
|
||||
|
|
|
|||
|
|
@ -15,16 +15,16 @@
|
|||
<script src="{% static 'smart-selects/admin/js/chainedm2m.js' %}"></script>
|
||||
|
||||
{% block title %}
|
||||
<title>House Wars</title>
|
||||
<title>
|
||||
{% if title %}{{ title }}{% endif %} | House Wars
|
||||
</title>
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<main role="main" class="container max-height">
|
||||
<div class="row d-flex justify-content-center align-items-center max-height">
|
||||
<div class="card col-md-5 p-4 m-3">
|
||||
{% block formtitle %}
|
||||
<h1 class="text-center mt-1 mb-4">House Wars</h1>
|
||||
{% endblock %}
|
||||
<h1 class="text-center mt-1 mb-4">{% if formtitle %}{{ formtitle }}{% endif %}</h1>
|
||||
<!-- Main content -->
|
||||
{% block content %}{% endblock %}
|
||||
<div class="mt-3">
|
||||
|
|
|
|||
Reference in a new issue