From 294bf173236610fc8c308f81d8617e7e0d0e4bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Fri, 10 Jun 2011 16:38:25 -0300 Subject: Added HTTPS only message --- templates/public/https.html | 39 +++++++++++++++++++++++++++++++++++++++ urls.py | 2 ++ 2 files changed, 41 insertions(+) create mode 100644 templates/public/https.html diff --git a/templates/public/https.html b/templates/public/https.html new file mode 100644 index 00000000..7cfe44e9 --- /dev/null +++ b/templates/public/https.html @@ -0,0 +1,39 @@ +{% extends "base.html" %} +{% block title %}Parabola - HTTPS Only site{% endblock %} +{% block content %} +
+

Parabola GNU/Linux-libre

+ +

Hi! This is not the main site. You're seeing this message because you + entered our website without using a secure connection. We like privacy for + all so we've decided to serve our website only through secure channels.

+ +

The website uses SSL certificates issued by CACert. Some web browsers or systems still + don't provide CACert's root certificate, so if you find a huge error + message telling you're about to do something bad, come back here and keep + reading.

+ +

Parabola GNU/Linux-libre

+ +

I just want to get the ISOs

+ +

You can proceed to our ISOs download page on our wiki (which isn't secured + yet, sadly).

+ +

I want to do this the right way

+ +

Ask your distribution to include CACert's root certificates.

+ +

Alternatively, install the root + certificate in your browser. (more details here.)

+ +
+{% endblock %} + diff --git a/urls.py b/urls.py index 8cae8660..209fb899 100644 --- a/urls.py +++ b/urls.py @@ -51,6 +51,8 @@ urlpatterns += patterns('public.views', (r'^$', 'index', {}, 'index'), (r'^about/$', TemplateView.as_view(template_name='public/about.html'), {}, 'page-about'), + (r'^https/$', TemplateView.as_view(template_name='public/https.html'), + {}, 'page-https'), (r'^art/$', TemplateView.as_view(template_name='public/art.html'), {}, 'page-art'), (r'^svn/$', TemplateView.as_view(template_name='public/svn.html'), -- cgit v1.2.3-2-g168b