From 1a17033c98e9ec2fc51c66d4fc4809641ae4e443 Mon Sep 17 00:00:00 2001 From: arksohail Date: Thu, 3 Oct 2024 16:01:11 +0530 Subject: [PATCH 1/2] Add Gitignore to ignore venv folder for git change detection --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a979ee7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/venv \ No newline at end of file From 42edae02093a4943b2970814a05d7ea5e55ec9c3 Mon Sep 17 00:00:00 2001 From: arksohail Date: Thu, 3 Oct 2024 20:54:29 +0530 Subject: [PATCH 2/2] Updated Linked CSS Path, Add Fake URL for Demonstratiuon/Trial Check, Added Validation and Spinner/Loader functionality. --- static/styles.css | 58 +++++++++++++ templates/index.html | 195 ++++++++++++++++++++++++++----------------- 2 files changed, 178 insertions(+), 75 deletions(-) diff --git a/static/styles.css b/static/styles.css index 4d1d14c..b5d74d9 100644 --- a/static/styles.css +++ b/static/styles.css @@ -77,6 +77,7 @@ body { box-shadow: -6px 8px 10px rgba(81,41,10,0.1),0px 2px 2px rgba(81,41,10,0.2); } +.button:hover, .button:active { background-color: #f3f4f6; box-shadow: -1px 2px 5px rgba(81,41,10,0.15),0px 1px 1px rgba(81,41,10,0.15); @@ -87,6 +88,16 @@ body { box-shadow: rgba(72, 35, 7, .46) 0 0 0 4px, -6px 8px 10px rgba(81,41,10,0.1), 0px 2px 2px rgba(81,41,10,0.2); } +.button.button-sec { + padding: .5rem; + margin-left: 8px; + border: 1px solid; +} + +.button.button-sec:hover { + background: #482307; + color: #f8eedb; +} .main-body{ display: flex; @@ -156,6 +167,53 @@ body { width: 300px; } +.d-flex { + margin: 18px 0; + display: flex; + align-items: center; +} + +.example-fake-url { + margin: 0; + font-size: 20px; + color: #f8eedb; + text-decoration: underline; +} + +#cover-spin { + position:fixed; + width:100%; + left:0;right:0;top:0;bottom:0; + background-color: rgba(255,255,255,0.7); + z-index:9999; + display:none; +} + +@-webkit-keyframes spin { +from {-webkit-transform:rotate(0deg);} +to {-webkit-transform:rotate(360deg);} +} + +@keyframes spin { +from {transform:rotate(0deg);} +to {transform:rotate(360deg);} +} + +#cover-spin::after { + content:''; + display:block; + position:absolute; + left:48%;top:40%; + width:40px;height:40px; + border-style:solid; + border-color:black; + border-top-color:transparent; + border-width: 4px; + border-radius:50%; + -webkit-animation: spin .8s linear infinite; + animation: spin .8s linear infinite; +} + @media (max-width: 576px) { .form { width: 100%; diff --git a/templates/index.html b/templates/index.html index 6f7d90b..cd57815 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,87 +1,132 @@ + - - - - - - - - - - - - URL detection - + + + + + + + + + + + + URL detection + - -
+ +
+
-
-

PHISHING URL DETECTION

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

PHISHING URL DETECTION

+
-
{{ url }}
- +
+
+

http://flipkart.hikhop.com/

+ +
+ + + +
+ +
+ +
+ +
+
{{ url }}
+

- - -
-
-
-

©2021 VAIBHAV BICHAVE

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

©2021 VAIBHAV BICHAVE

+ + + + + + + + + + + + \ No newline at end of file