From e2a0844a6cfc48ef15f8862940cc9d0c0e6a30be Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Sat, 4 Nov 2023 19:16:48 +0700 Subject: [PATCH] Major pattern update --- core/authentication.py | 5 --- {static => page}/error/403.html | 0 {static => page}/error/404.html | 0 {static => page}/error/500.html | 0 {slices => scripts}/__init__.py | 0 {slices => scripts}/bodyfetcher.py | 0 {slices => scripts}/loggorilla.py | 0 {slices => scripts}/sendwave.py | 0 {slices => scripts}/tokenguard.py | 0 static/email/verification.html | 50 ------------------------------ static/page/home.html | 9 ------ 11 files changed, 64 deletions(-) delete mode 100644 core/authentication.py rename {static => page}/error/403.html (100%) rename {static => page}/error/404.html (100%) rename {static => page}/error/500.html (100%) rename {slices => scripts}/__init__.py (100%) rename {slices => scripts}/bodyfetcher.py (100%) rename {slices => scripts}/loggorilla.py (100%) rename {slices => scripts}/sendwave.py (100%) rename {slices => scripts}/tokenguard.py (100%) delete mode 100644 static/email/verification.html delete mode 100755 static/page/home.html diff --git a/core/authentication.py b/core/authentication.py deleted file mode 100644 index 6299844..0000000 --- a/core/authentication.py +++ /dev/null @@ -1,5 +0,0 @@ -import cherrypy - -def token_check(redirect): - if cherrypy.session.get("token") == None: - raise cherrypy.HTTPRedirect(redirect) diff --git a/static/error/403.html b/page/error/403.html similarity index 100% rename from static/error/403.html rename to page/error/403.html diff --git a/static/error/404.html b/page/error/404.html similarity index 100% rename from static/error/404.html rename to page/error/404.html diff --git a/static/error/500.html b/page/error/500.html similarity index 100% rename from static/error/500.html rename to page/error/500.html diff --git a/slices/__init__.py b/scripts/__init__.py similarity index 100% rename from slices/__init__.py rename to scripts/__init__.py diff --git a/slices/bodyfetcher.py b/scripts/bodyfetcher.py similarity index 100% rename from slices/bodyfetcher.py rename to scripts/bodyfetcher.py diff --git a/slices/loggorilla.py b/scripts/loggorilla.py similarity index 100% rename from slices/loggorilla.py rename to scripts/loggorilla.py diff --git a/slices/sendwave.py b/scripts/sendwave.py similarity index 100% rename from slices/sendwave.py rename to scripts/sendwave.py diff --git a/slices/tokenguard.py b/scripts/tokenguard.py similarity index 100% rename from slices/tokenguard.py rename to scripts/tokenguard.py diff --git a/static/email/verification.html b/static/email/verification.html deleted file mode 100644 index 76bbdf9..0000000 --- a/static/email/verification.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -
- - - - - - -
-
-
-
- - - - - - -
- Verify Account -
Thanks for signing up! This is the start of an exciting journey and you’re just one step away from completing your account setup to start using - your profile. -
-
Click the button below to verify your account and get started. -
-
- - Verify email address - -


-
-
-
- Need help? - Contact our support team -

-

Your Company | Kota Damansara, 47810 Petaling Jaya, Selangor, Malaysia
-
-
-
-
-
-
-
-
diff --git a/static/page/home.html b/static/page/home.html deleted file mode 100755 index 2ef0f8b..0000000 --- a/static/page/home.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
-

Welcome

-

This is your first pages

-

${greeting}

-
-
-