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 8ae3039..b8e98bd 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,8 +8,11 @@ {% block title %} {% endblock %} - trim.lol + + + @@ -31,4 +52,53 @@ {% block script %} {% endblock %} + + + + diff --git a/templates/generateurl.html b/templates/generateurl.html index a84e78d..5e636d1 100644 --- a/templates/generateurl.html +++ b/templates/generateurl.html @@ -1,189 +1,416 @@ -{% extends 'base.html' %} {%block content %} -
-
-

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

- Check Statistics -
-
-
-
-
- - -
-
- - - -
- -
-

Copy your custom URL

-
- - -
-
-
-
- - Logout -

- Github. Developed By - AvgBlank - and - AalokeCode -

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

A URL Shortener

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

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

+ Check Statistics +
+
+
+
+ + + +
+
+ + + +
+ +
+

Copy your custom URL

+
+ + +
+
+
+ +
+ + + + + + Logout + +

+ Github. Developed By + AverageBlank and AalokeCode +

+
+ + + +{%endblock%} {%block script %} + + + + + + + + + + +{%endblock%} +======= +{% extends 'base.html' %} {%block content %} +
+
+

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

+ Check Statistics +
+
+
+
+
+ + +
+
+ + + +
+ +
+

Copy your custom URL

+
+ + +
+
+
+
+ + Logout +

+ Github. Developed By + AvgBlank + and + AalokeCode +

+
+{%endblock%} {%block script %} + +{%endblock%} + diff --git a/templates/index.html b/templates/index.html index c14fc28..b27409d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,43 +1,69 @@ -{%extends 'base.html'%} {%block content %} -
-
- -

- A URL Shortener programmed in python -

-

Built using Flask & MongoDB

-
-
- Sign Up - Login - Login with Google - -
-
-

- Github. Developed By - AvgBlank - and - AalokeCode -

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

A URL Shortener Programmed in Python

+

Built using Flask & MongoDB

+
+
+ Log + in + Sign + Up +
+
+

+ Github. Developed By + AverageBlank and AalokeCode +

+{% endblock %} +======= +{%extends 'base.html'%} {%block content %} +
+
+ +

+ A URL Shortener programmed in python +

+

Built using Flask & MongoDB

+
+
+ Sign Up + Login + Login with Google + +
+
+

+ Github. Developed By + AvgBlank + and + AalokeCode +

+{%endblock%} diff --git a/templates/stats.html b/templates/stats.html index 6e01f4e..51f78f5 100644 --- a/templates/stats.html +++ b/templates/stats.html @@ -1,185 +1,354 @@ -{%extends 'base.html' %} {%block content %} -
- -

Hello, {{ userID }}

-
-

{%block title%}Statistics{%endblock%}

-
-
- -
- Generate a new URL -
-
-
-
- - - - - - - - - - - {% for url in urls %} - - - - - - - {% endfor %} - -
Original URLShortened URLDate & Time CreatedClicks
{{url['OriginalURL']}} - https://trim.lol/{{url['ShortenedURL']}} - - - - - - {{url['Timestamp']}}{{url['Clicks']}}
-
-
-
- - Logout -

- Github. Developed By - AvgBlank - and - AalokeCode -

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

A URL Shortener

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

{% block title %}Statistics{% endblock %}

+
+
+ +
+ Generate a new URL +
+
+
+ + +
+
+ + + + + + + + + + + {% for url in urls %} + + + + + + + {% endfor %} + +
Original URLShortened URLDate & Time CreatedClicks
{{ url['OriginalURL'] }} + https://trim.lol/{{ url['ShortenedURL'] }} + + {{ url['Timestamp'] }}{{ url['Clicks'] }}
+ + +
+
+
+ +
+ + + + + Logout + +

+ Github. Developed By + AverageBlank and + AalokeCode +

+
+ + + + +{%endblock%} +{%block script %} + + +{%endblock%} +======= +{%extends 'base.html' %} {%block content %} +
+ +

Hello, {{ userID }}

+
+

{%block title%}Statistics{%endblock%}

+
+
+ +
+ Generate a new URL +
+
+
+
+ + + + + + + + + + + {% for url in urls %} + + + + + + + {% endfor %} + +
Original URLShortened URLDate & Time CreatedClicks
{{url['OriginalURL']}} + https://trim.lol/{{url['ShortenedURL']}} + + + + + + {{url['Timestamp']}}{{url['Clicks']}}
+
+
+
+ + Logout +

+ Github. Developed By + AvgBlank + and + AalokeCode +

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