Compare commits
2 Commits
0733925af0
...
b9b1a07eeb
Author | SHA1 | Date |
---|---|---|
PCoder | b9b1a07eeb | |
PCoder | c6517f091a |
|
@ -18,13 +18,22 @@
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 20px 15%;
|
}
|
||||||
|
|
||||||
|
.content-margin {
|
||||||
|
margin: 20px 10%;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
font-family: Helvetica, sans-serif;
|
font-family: Helvetica, sans-serif;
|
||||||
font-size: 15pt;
|
font-size: 15pt;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
.para-title{
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
footer{
|
||||||
|
margin: 50px 0 25px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<title>{{ domain|default:"This part of the Internet" }} is not reachable by IPv4</title>
|
<title>{{ domain|default:"This part of the Internet" }} is not reachable by IPv4</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -36,7 +45,7 @@
|
||||||
class="responsive" width="600" height="400">
|
class="responsive" width="600" height="400">
|
||||||
|
|
||||||
|
|
||||||
<div class="center">
|
<div class="center content-margin">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
|
|
@ -17,12 +17,15 @@ from django.conf.urls import url
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
||||||
from django.urls import path
|
from django.urls import path
|
||||||
|
from django.views.generic import RedirectView
|
||||||
|
|
||||||
from no_ipv4_here.views import IndexView
|
from no_ipv4_here.views import IndexView
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^$', IndexView.as_view(), name='index'),
|
url(r'^$', IndexView.as_view(), name='index'),
|
||||||
path('admin/', admin.site.urls),
|
path('admin/', admin.site.urls),
|
||||||
|
url(r'^favicon\.ico$',
|
||||||
|
RedirectView.as_view(url='/static/img/favicon.ico')),
|
||||||
]
|
]
|
||||||
|
|
||||||
urlpatterns += staticfiles_urlpatterns()
|
urlpatterns += staticfiles_urlpatterns()
|
||||||
|
|
Loading…
Reference in New Issue