From de380d13b5d6cab618279540356f826f44d79582 Mon Sep 17 00:00:00 2001 From: Che140401 Date: Thu, 31 Oct 2024 17:15:48 +0530 Subject: [PATCH] Fixed responsive header and footer with login signup page --- static/base.css | 0 templates/base.html | 67 ++++++++++++++ templates/generateurl.html | 145 ++++++++++++++++++++++++------ templates/index.html | 23 ++--- templates/stats.html | 175 ++++++++++++++++++++++++++----------- 5 files changed, 322 insertions(+), 88 deletions(-) create mode 100644 static/base.css diff --git a/static/base.css b/static/base.css new file mode 100644 index 0000000..e69de29 diff --git a/templates/base.html b/templates/base.html index 871dc42..1669c84 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,8 +8,11 @@ {%block title %} {% endblock %} - trim.lol + + + @@ -31,5 +52,51 @@ {% block script %} {% endblock %} + diff --git a/templates/generateurl.html b/templates/generateurl.html index 86d4ba7..65dec15 100644 --- a/templates/generateurl.html +++ b/templates/generateurl.html @@ -1,37 +1,75 @@ +
+
+
+ Logo +

A URL Shortener

+
+ + + + + + +
+ + + +
+ + + {% extends 'base.html' %} {%block content %} -
-
-

{%block title%}Generate URL{%endblock%}

+
+
+

{% block title %}Generate URL{% endblock %}

Check - Statistics + class="text-center bg-blue-700 hover:bg-blue-800 transition ease-in-out duration-200 text-white rounded-lg p-2 px-4 md:px-6">Check Statistics

-
+
-
+ - +
-
- +
+ - +
-
+

Copy your custom URL

-
+
-
+ + + + + {%endblock%} {%block script %} + + + + + + + + +