Add about page

modern-tables
Mark Veidemanis 2 years ago
parent b323ea2ae2
commit 473dfd1b43
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -21,7 +21,7 @@ from django.views.generic import TemplateView
# Threshold API stuff
from core.api.views.threshold import ThresholdChans, ThresholdOnline, ThresholdUsers
from core.views import Billing, Cancel, Home, Order, Portal, Signup
from core.views import Billing, Cancel, About, Order, Portal, Signup
from core.views.callbacks import Callback
from core.views.manage.threshold.irc import (
ThresholdIRCActions,
@ -62,6 +62,7 @@ from core.views.ui.insights import (
urlpatterns = [
path("", Drilldown.as_view(), name="home"),
path("about/", About.as_view(), name="about"),
path("callback", Callback.as_view(), name="callback"),
path("billing/", Billing.as_view(), name="billing"),
path("order/<str:plan_name>/", Order.as_view(), name="order"),

@ -89,7 +89,10 @@
<div id="bar" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="{% url 'home' %}">
Home
Search
</a>
<a class="navbar-item" href="{% url 'about' %}">
About
</a>
{% if user.is_authenticated %}
<a class="navbar-item" href="{% url 'billing' %}">

@ -18,7 +18,7 @@ logger = logging.getLogger(__name__)
# Create your views here
class Home(View):
class About(View):
template_name = "index.html"
def get(self, request):

Loading…
Cancel
Save