diff options
| -rw-r--r-- | main.py | 3 | ||||
| -rw-r--r-- | www/about.html | 2 | ||||
| -rw-r--r-- | www/index.html | 2 | ||||
| -rw-r--r-- | www/test.html | 21 |
4 files changed, 26 insertions, 2 deletions
diff --git a/main.py b/main.py index a4a6d58..25ae922 100644 --- a/main.py +++ b/main.py @@ -35,6 +35,9 @@ PATH_MAP = { "/about": {"path": "www/about.html", "compress": True}, + "/test": + {"path": "www/test.html", + "compress": True}, } # internal path map diff --git a/www/about.html b/www/about.html index 30698e6..3306fdb 100644 --- a/www/about.html +++ b/www/about.html @@ -7,7 +7,7 @@ <body> <header> <div style="float: left; font-size: 20px"> <button onclick="window.location.href='/';"> sh%t go back </button> </div> - <div style="margin: 0 auto; width: fit-content;"> <b> About The Mighty HTML Page </b> </div> + <div style="margin: auto; width: fit-content;"> <b> About The Mighty HTML Page </b> </div> </header> <div id="section-div"> <section> diff --git a/www/index.html b/www/index.html index c2ef300..4b5907f 100644 --- a/www/index.html +++ b/www/index.html @@ -6,7 +6,7 @@ </head> <body> <header> - <div style="margin: 0 auto; width: fit-content;"> <b> Welcome To The Mighty HTML Page </b> </div> + <div style="margin: auto; width: fit-content;"> <b> Welcome To The Mighty HTML Page </b> </div> </header> <div id="section-div"> <section style="padding-top: 10px"> diff --git a/www/test.html b/www/test.html new file mode 100644 index 0000000..9e37f1e --- /dev/null +++ b/www/test.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <title> The YES's Page </title> + <link rel="stylesheet" href="css/styles.css"> +</head> +<body> + <header> + <div style="float: left; font-size: 20px"> <button onclick="window.location.href='/';"> sh%t go back </button> </div> + <div style="margin: auto; width: fit-content;"> <b> The Mighty HTML Testing Page </b> </div> + </header> + <div id="section-div"> + <section> + + </section> + </div> + <footer> + <p> This is a page for testing various things </p> + </footer> +</body> +</html> |