From 4e287019430bdd9aba8587a17dbcc0aa07f9559f Mon Sep 17 00:00:00 2001 From: Somendra kumar Date: Sat, 24 Jul 2021 01:16:20 +0530 Subject: [PATCH] Some UI changes... --- static/index.html | 8 ++++---- static/script.js | 2 +- static/style.css | 9 ++++++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/static/index.html b/static/index.html index 76846e80..212c0ad5 100644 --- a/static/index.html +++ b/static/index.html @@ -11,12 +11,12 @@
-

URL Shortener

+

Wanna make your URL short?
TRY THIS !

- -
+
+
- +
\ No newline at end of file diff --git a/static/script.js b/static/script.js index 2fbc51a3..806b6dc1 100644 --- a/static/script.js +++ b/static/script.js @@ -7,7 +7,7 @@ $(function () { $.post('/api/v1/shorten', { url:url },function (data) { - $('#shortcode').html("Chotta URL: " + ''+window.location.href+data + ''); + $('#shortcode').html("Finally short URL: " + ''+window.location.href+data + ''); }) }) }) \ No newline at end of file diff --git a/static/style.css b/static/style.css index f5b37cc7..22150747 100644 --- a/static/style.css +++ b/static/style.css @@ -1,8 +1,8 @@ *{ - align: center; + text-align: center; } #url{ - align: center; + text-align: center; size: 100px; height: 50px; width: 600px; @@ -37,7 +37,10 @@ background-image: linear-gradient(to bottom, #3cb0fd, #3498db); text-decoration: none; } - +#sk{ + background: #5aaae0; + align-items: center; +} .mydiv{ align-self: center; align-items: center;