[FIX] deleting old templates and urls and making better links in template
This commit is contained in:
parent
3330a089ae
commit
0b66657fad
|
@ -1,4 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
Website Under construction
|
||||
{% endblock content %}
|
|
@ -31,7 +31,7 @@
|
|||
<header>
|
||||
<nav class="border-gray-200 bg-gray-900">
|
||||
<div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4">
|
||||
<a href="https://tldtest.net/" class="flex items-center space-x-3 rtl:space-x-reverse">
|
||||
<a href="{% url 'main' %}" class="flex items-center space-x-3 rtl:space-x-reverse">
|
||||
<img src="{% static 'images/image.png' %}" class="h-8" alt="Logo"/>
|
||||
<span class="self-center text-2xl font-semibold whitespace-nowrap text-white">TLD-Tester</span>
|
||||
</a>
|
||||
|
@ -48,12 +48,12 @@
|
|||
<div class="hidden w-full md:block md:w-auto" id="navbar-default">
|
||||
<ul class="font-medium flex flex-col p-4 md:p-0 mt-4 border rounded-lg md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 bg-gray-800 md:bg-gray-900 border-gray-700">
|
||||
<li>
|
||||
<a href="/"
|
||||
<a href="{% url 'main' %}"
|
||||
class="block py-2 px-3 bg-blue-700 rounded md:bg-transparent md:p-0 text-white md:text-blue-500"
|
||||
aria-current="page">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/api"
|
||||
<a href="api/"
|
||||
class="block py-2 px-3 rounded md:border-0 md:p-0 text-white md:hover:text-blue-500 hover:bg-gray-700 hover:text-white md:hover:bg-transparent"
|
||||
aria-current="page">API</a>
|
||||
</li>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
Website under construction
|
||||
{% endblock content %}
|
|
@ -22,9 +22,7 @@ favicon_view = RedirectView.as_view(url='https://static.tldtest.net/images/image
|
|||
|
||||
|
||||
urlpatterns = [
|
||||
path("", Index.as_view(), name="home"),
|
||||
path("about/", About.as_view(), name="about"),
|
||||
path("latency/", Latency.as_view(), name="latency"),
|
||||
path("", Index.as_view(), name="main"),
|
||||
re_path(r'^favicon\.ico$', favicon_view),
|
||||
path('admin/', admin.site.urls),
|
||||
path('api/', include("tldtest.apiurls"))
|
||||
|
|
Loading…
Reference in a new issue