Compare commits

...

2 Commits

Author SHA1 Message Date
PCoder b9b1a07eeb Improve some styles 2019-02-02 21:35:21 +01:00
PCoder c6517f091a Add url for favicon.ico 2019-02-02 21:35:07 +01:00
2 changed files with 14 additions and 2 deletions

View File

@ -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>

View File

@ -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()