diff --git a/app/app/urls.py b/app/app/urls.py index 7ba0c260..00a8f37f 100644 --- a/app/app/urls.py +++ b/app/app/urls.py @@ -31,6 +31,8 @@ path("admin/", admin.site.urls), path("_health/", views.health, name="health"), path("", views.home, name="home"), + path("contact/", views.contact, name="contact"), + path("legal_notices/", views.legal_notices, name="legal_notices"), path("institutions/", views.institutions, name="institutions"), path("documents/", views.documents, name="documents"), path("projects/", views.projects, name="projects"), diff --git a/app/app/views.py b/app/app/views.py index 3f24687f..24d521d8 100644 --- a/app/app/views.py +++ b/app/app/views.py @@ -23,6 +23,20 @@ def home(request): return render(request, template_name=template, context=context) +def contact(request): + template = "app/contact.html" + context = {"current_page": "contact"} + + return render(request, template_name=template, context=context) + + +def legal_notices(request): + template = "app/legal_notices.html" + context = {"current_page": "legal_notices"} + + return render(request, template_name=template, context=context) + + def get_date_range(project): start_date = project.start_date end_date = project.end_date diff --git a/app/static/css/styles.css b/app/static/css/styles.css index d17e3ae5..a14dfde2 100755 --- a/app/static/css/styles.css +++ b/app/static/css/styles.css @@ -13,13 +13,17 @@ /*General*/ body { padding: 0; - margin-bottom: 60px; + margin: 0; } html { position: relative; min-height: 100%; - padding-bottom: 60px; +} + +.content { + overflow: hidden; + padding-bottom: 130px; } .footer { @@ -449,6 +453,9 @@ html { .gap-2 > * { margin-right: 0; } + .content { + padding-bottom: 200px; + } } /*small devices (tablets, 600px and up) */ @@ -489,6 +496,9 @@ html { .gap-2 > * { margin-right: 0; } + .content { + padding-bottom: 200px; + } } /*Medium screens (tablets, between 768px and 1001px)*/ diff --git a/app/templates/app/contact.html b/app/templates/app/contact.html new file mode 100644 index 00000000..a8127217 --- /dev/null +++ b/app/templates/app/contact.html @@ -0,0 +1,53 @@ +{% extends "base.html" %} +{% load static %} +{% load i18n %} + +{% block content %} + +
+
+
+
+

{% trans "Contact us" %}

+
+
+
{% trans "Contact details for more information: "%}
+

{% blocktrans %}Juan Steyn
+ South African Centre for Digital Language Resources (SADiLaR)
+ North-West University
+ South Africa{% endblocktrans %}

+

+27 18 285 2750

+

info@sadilar.org

+
+ +
+
{% trans "Physical address:" %}
+
{% blocktrans %} + Buildings F16 C & F16 D
+ North-West University
+ Potchefstroom Campus
+ Potchefstroom
+ South Africa{% endblocktrans %} +
+

+ Directions +

+
+ +
+
{% trans "Postal address:" %}
+
{% blocktrans %} + SADiLaR
+ Internal Box 340
+ Private bag X6001
+ Potchefstroom
+ South Africa
+ 2520{% endblocktrans %} +
+
+
+
+
+
+
+{% endblock content %} diff --git a/app/templates/app/legal_notices.html b/app/templates/app/legal_notices.html new file mode 100644 index 00000000..d4279063 --- /dev/null +++ b/app/templates/app/legal_notices.html @@ -0,0 +1,71 @@ +{% extends "base.html" %} +{% load static %} +{% load i18n %} + +{% block content %} + +
+
+
+
+

{% trans "Terms of use" %}

+

+ {% trans "The terms of use statement for the SADiLaR website and services" %} +

+
+

{% trans "Copyright" %}

+

+ {% blocktrans %}Intellectual property rights concerning the materials shared via this website and the website + as such belong to the original creator or to SADiLaR. Where exceptions apply, the license + agreement governing a particular resource will be explicitly listed. + Content included in the website is shared under the Creative Commons License Attribution + 2.0, unless indicated otherwise for specific materials. This license agreement does not allow + the inclusion of any elements contained in the website (such as images, logos, videos and + other resources) in a frame-set or an in-line link to another web page without giving due + credit to the origin of the material.{% endblocktrans %} +

+
{% trans "Disclaimer" %}
+

+ {% blocktrans %}SADiLaR and its partners make a conscious effort to obtain copyright clearance for any + materials shared on or used in creation of the website before publication. Should you notice + any potential infringement on your own or anyone else’s intellectual property rights, we ask + that you inform us directly so that we may remove the material and/or clear any outstanding + copyright matters with the rightful owner immediately.{% endblocktrans %} +

+
+

{% trans "Privacy Policy and Privacy Statement" %}

+

+ {% blocktrans %}Please find the privacy policy and privacy statement for the SADiLaR website and services + here.{% endblocktrans %} +

+
{% trans "Protection of Personal Information" %}
+

+ {% blocktrans %}The purpose of the South African Protection of Personal Information Act 4 of 2013 (POPIA) + is to ensure responsible handling of an individual’s personal information and to hold all South + African institutions accountable should they not safeguard the collection, storing or sharing + of such information against possible abuse in any way. SADiLaR is strongly committed to + protecting personal information/data and strives to adhere to the {% endblocktrans %}{% trans "guidelines" %} + {% blocktrans %} as set out by the host institution for the Centre, the North-West University.{% endblocktrans %} +

+
{% trans "Use of cookies" %}
+

+ {% blocktrans %}Cookies are data saved on the device with which you access this website to customise your + experience or provide essential functions of the website such as enabling you to log in to + secure areas, e.g. the Repository. You can learn more about the different types of cookies + and how to disable non-essential cookies {% endblocktrans %}{% trans "here." %} +

+

+ {% blocktrans %}By using the SADiLaR website, you consent to our use of cookies and storage thereof on + your device. Should you not accept our use of cookies (or your browser is set to block all + cookies), your ability to access all functions on this website might be impaired.{% endblocktrans %} +

+
{% trans "User support" %}
+

+ {% blocktrans %}Any questions concerning the website or services offered via the website can be addressed + to SADiLaR via email to {% endblocktrans %}info@sadilar.org +

+
+
+
+ +{% endblock content %} diff --git a/app/templates/base.html b/app/templates/base.html index f8dce1e9..26f3c70b 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -79,7 +79,7 @@ {% endblock app_header %} -
+
{% block content %} {% endblock content %} @@ -89,8 +89,13 @@