Page heading and block precontainer changes
This commit is contained in:
@@ -54,9 +54,6 @@
|
||||
<li class="nav-item active">
|
||||
<a class="nav-link" href="{% url 'home' %}">Home <span class="visually-hidden">(current)</span></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url 'about' %}">About</a>
|
||||
</li>
|
||||
{% if request.user.is_authenticated %}
|
||||
{% if request.user.teamsnap_preferences %}
|
||||
<li class="nav-item">
|
||||
@@ -129,7 +126,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="mb-3 bg-white px-4 pt-1 border-bottom"><h6 class="display-6">{% block title_header %}{% endblock title_header%}</h6></div>
|
||||
{% block pre_container %}<div class="mt-1"></div>{% endblock pre_container %}
|
||||
|
||||
<div class="container">
|
||||
|
||||
|
||||
1
benchcoach/templates/page-heading.html
Normal file
1
benchcoach/templates/page-heading.html
Normal file
@@ -0,0 +1 @@
|
||||
<div class="mb-3 bg-white px-4 pt-1 border-bottom"><h6 class="display-6">{{ title }}</h6></div>
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}{% load tz %}
|
||||
{% block title_header %}GameChanger Events{% endblock title_header %}
|
||||
{% block pre_container %}GameChanger Events{% endblock title_header %}
|
||||
{% block content %}
|
||||
<table class="table">
|
||||
{% for event in events %}
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
<div class="col text-nowrap px-0">Hounds Instagenerator</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block pre_container %}Generate Social Image{% endblock %}
|
||||
{% block content %}
|
||||
<h4 class="display-4">Generate Image</h4>
|
||||
<form method="get" action="{% url 'instagen_generate' team_id=event.data.team_id event_id=event.data.id %}">
|
||||
|
||||
<div class="mb-3">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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%}">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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="">
|
||||
|
||||
Reference in New Issue
Block a user