Compare commits

..

No commits in common. "b9b1a07eebc42f8533c32419d9b1611c4ab89dc2" and "0733925af024d54f7f050f9e0b85250fbe8e0755" have entirely different histories.

2 changed files with 2 additions and 14 deletions

View File

@ -18,22 +18,13 @@
.center {
text-align: center;
}
.content-margin {
margin: 20px 10%;
margin: 20px 15%;
}
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>
@ -45,7 +36,7 @@
class="responsive" width="600" height="400">
<div class="center content-margin">
<div class="center">
<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>

View File

@ -17,15 +17,12 @@ 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()