individual pages
This commit is contained in:
parent
fb2b483d43
commit
6a3bb974b9
@ -1 +1 @@
|
||||
@import "scss/base.scss"
|
||||
@import "scss/base.scss";
|
1
apps/home/static/home/scss/leagues.scss
Normal file
1
apps/home/static/home/scss/leagues.scss
Normal file
@ -0,0 +1 @@
|
||||
@import "scss/base.scss";
|
1
apps/home/static/home/scss/venues.scss
Normal file
1
apps/home/static/home/scss/venues.scss
Normal file
@ -0,0 +1 @@
|
||||
@import "scss/base.scss";
|
@ -2,9 +2,6 @@
|
||||
{% load static %}
|
||||
{% load compress %}
|
||||
|
||||
{% block title %}
|
||||
Venues |
|
||||
{% endblock title %}
|
||||
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
|
||||
|
11
apps/home/templates/home/leagues.html
Normal file
11
apps/home/templates/home/leagues.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
{% load compress %}
|
||||
|
||||
{% block title %} · Leagues{% endblock title %}
|
||||
|
||||
{% block stylesheets %}
|
||||
{% compress css %}
|
||||
<link type="text/x-scss" rel="stylesheet" href="{% static 'home/scss/leagues.scss' %}">
|
||||
{% endcompress %}
|
||||
{% endblock stylesheets %}
|
11
apps/home/templates/home/venues.html
Normal file
11
apps/home/templates/home/venues.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
{% load compress %}
|
||||
|
||||
{% block title %} · Venues{% endblock title %}
|
||||
|
||||
{% block stylesheets %}
|
||||
{% compress css %}
|
||||
<link type="text/x-scss" rel="stylesheet" href="{% static 'home/scss/venues.scss' %}">
|
||||
{% endcompress %}
|
||||
{% endblock stylesheets %}
|
@ -5,5 +5,7 @@ from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.IndexView.as_view(), name="index")
|
||||
path("", views.IndexView.as_view(), name="index"),
|
||||
path("venues", views.VenueWatersView.as_view(), name="venues-waters"),
|
||||
path("leagues", views.LeagueView.as_view(), name="leagues")
|
||||
]
|
@ -8,3 +8,15 @@ class IndexView(TemplateView):
|
||||
"""The index view of the home app."""
|
||||
|
||||
template_name = "home/index.html"
|
||||
|
||||
|
||||
class VenueWatersView(TemplateView):
|
||||
"""Page for indexing Venues & Waters."""
|
||||
|
||||
template_name = "home/venues.html"
|
||||
|
||||
|
||||
class LeagueView(TemplateView):
|
||||
"""Page for indexing Leagues."""
|
||||
|
||||
template_name = "home/leagues.html"
|
Loading…
x
Reference in New Issue
Block a user