...
 
Commits (2)
......@@ -18,13 +18,22 @@
.center {
text-align: center;
margin: 20px 15%;
}
.content-margin {
margin: 20px 10%;
}
body {
font-family: Helvetica, sans-serif;
font-size: 15pt;
color: black;
}
.para-title{
font-weight: 600;
}
footer{
margin: 50px 0 25px;
}
</style>
<title>{{ domain|default:"This part of the Internet" }} is not reachable by IPv4</title>
</head>
......@@ -36,7 +45,7 @@
class="responsive" width="600" height="400">
<div class="center">
<div class="center content-margin">
<p>
Welcome to the end of the IPv4 Internet. Unfortunately the site you tried reach is not reachable by IPv4. To access {{ domain|default:"this part of the Internet" }}, you need to enable IPv6 on your computer.
</p>
......
......@@ -17,12 +17,15 @@ from django.conf.urls import url
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.urls import path
from django.views.generic import RedirectView
from no_ipv4_here.views import IndexView
urlpatterns = [
url(r'^$', IndexView.as_view(), name='index'),
path('admin/', admin.site.urls),
url(r'^favicon\.ico$',
RedirectView.as_view(url='/static/img/favicon.ico')),
]
urlpatterns += staticfiles_urlpatterns()