Page heading and block precontainer changes

This commit is contained in:
2022-06-25 09:07:20 -05:00
parent d113adbd44
commit 50134dd480
9 changed files with 10 additions and 23 deletions

View File

@@ -1,12 +1,7 @@
{% extends "base.html" %}{% load static %}
{% block title %}Dashboard{% endblock %}
{% block title_header %}Dashboard{% endblock title_header %}
{% block pre_container %}{% include "page-heading.html" with title="Dashboard" %}{% endblock pre_container %}
{% block content %}
{# <div class="row">#}
{# <div class="col">#}
{# <h4 class="display-4">Dashboard</h4>#}
{# </div>#}
{# </div>#}
<div class="row">
<div class="col">

View File

@@ -1,13 +1,8 @@
{% extends "base.html" %}{% load static %}
{% block title %} {{ title }}{% endblock %}
{% block page_heading %}
<div class="row d-inline-flex">
<div class="col">
Multiple Lineup Edit
</div>
</div>
{% block pre_container %}
{% include 'page-heading.html' with title="Choose Events" %}
{% endblock %}
{% block content %}
<form method="post" action="{% url 'teamsnap_choose_multiple_lineups' team_id=team_id%}">

View File

@@ -1,7 +1,6 @@
{% extends "base.html" %}
{% block title %}{{ opponent.data.name }}{% endblock %}
{% block pre_container %}{% include 'page-heading.html' with title=opponent.data.name%}{% endblock %}
{% block content %}
<h4>{{ opponent.data.name }}</h4>
<form method="post" enctype="multipart/form-data">{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Save">

View File

@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}Opponents{% endblock %}
{% block pre_container %}{% include 'page-heading.html' with title="Opponents"%}{% endblock %}
{% block content %}
<h4 class="display-4">Opponents</h4>
<table class="table bg-white">
<thead>
<tr>

View File

@@ -1,7 +1,7 @@
{% extends "base.html" %}{% load static %}
{% block title %} {{ title }}{% endblock %}
{% block title_header %}Schedule{% endblock title_header %}
{% block pre_container %}{% include "page-heading.html" with title="Dashboard" %}{% endblock pre_container %}
{% block content %}
{% load tz %}
<div class="">