Skip to content

Commit

Permalink
Added static copyright page
Browse files Browse the repository at this point in the history
  • Loading branch information
nlongn22 committed Nov 18, 2024
1 parent af9cd1f commit f6240f4
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions webcentral/src/pages/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
path("impressum", views.impressum, name="impressum"),
path("about", views.about, name="about"),
path("coming", views.coming, name="coming"),
path("copyright", views.copyright, name="copyright"),
path(
"Datenschutzhinweis",
views.Datenschutzhinweis,
Expand Down
3 changes: 3 additions & 0 deletions webcentral/src/pages/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def Datenschutzhinweis(request):
"""Call render function for datenschutzhinweis page."""
return render(request, "pages/Datenschutzhinweis.html")

def copyright(request):
"""Call render function for copyright page."""
return render(request, "pages/copyright.html")

def about(request):
"""Call render function for about page."""
Expand Down
48 changes: 48 additions & 0 deletions webcentral/src/templates/pages/copyright.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{% extends 'base.html' %}

{% block title %}Copyright{% endblock %}

{% load static %}
{% load i18n %}

{% block content %}

<!-- =======================
Page Banner START -->
<section class="py-4">
<div class="container">
<div class="row">
<div class="col-12">
<div class="text-left rounded-3">
<h1 class="m-0">Copyright</h1>
</div>
</div>
</div>
</div>
</section>
<!-- =======================
Page Banner END -->

<section id="about" class=" pt-4 py-lg-5">
<div class="container">
<div class="row">
<div class="col-md-12">
<p class="lead">
Text 1
</p>
<br />
<h4>Python</h4>
<p class="lead">
Python text
</p>
<br />
<h4>Autodesk</h4>
<p class="lead">
Autodesk text
</p>
</div>
</div>
</div>
</section>

{% endblock %}

0 comments on commit f6240f4

Please sign in to comment.