diff --git a/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 1.png b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 1.png new file mode 100644 index 0000000..7ec0802 Binary files /dev/null and b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 1.png differ diff --git a/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 2.png b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 2.png new file mode 100644 index 0000000..affaaed Binary files /dev/null and b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 2.png differ diff --git a/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 3.png b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 3.png new file mode 100644 index 0000000..b78f0bf Binary files /dev/null and b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 3.png differ diff --git a/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 4.png b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 4.png new file mode 100644 index 0000000..cf73668 Binary files /dev/null and b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 4.png differ diff --git a/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 5.png b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 5.png new file mode 100644 index 0000000..b0c1a2d Binary files /dev/null and b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 5.png differ diff --git a/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 6.png b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 6.png new file mode 100644 index 0000000..2e7de1d Binary files /dev/null and b/INFO-1208 (PHP)/Labs/Lab 8/Screenshot 6.png differ diff --git a/INFO-1208 (PHP)/Labs/Lab 8/app/css/styles.css b/INFO-1208 (PHP)/Labs/Lab 8/app/css/styles.css new file mode 100644 index 0000000..f20e13c --- /dev/null +++ b/INFO-1208 (PHP)/Labs/Lab 8/app/css/styles.css @@ -0,0 +1,95 @@ +body { + font-family: "Roboto", sans-serif; + font-style: normal; + font-size: 20px; + margin: 0; + padding: 0; + color: #555555; +} + +/* Header Styles */ +header .logo { + display: flex; + align-items: center; + padding: 0.5rem; +} + +header .logo i { + display: block; + color: teal; + font-size: 3rem; +} + +header .logo span { + color: #666677; + font-size: 2rem; + font-weight: 300; +} + +header .logo span strong { + font-weight: 600; +} + +header nav { + background-color: teal; + padding-top: 5px; +} + +header nav ul { + margin: 0; + padding: 0; + list-style: none; + display: flex; + justify-content: center; + align-items: center; +} + +header nav ul li { + margin: 0; + padding: 0; + display: block; +} + +header nav ul li a { + display: block; + padding: 0.75rem; + color: #ffffff; + text-decoration: none; + font-size: 1.1rem; +} + +header nav ul li a:hover { + text-decoration: underline; +} + +header nav ul li a.active { + color: teal; + background-color: #ffffff; +} + +/* Main Styles */ +main { + display: block; + padding: 2rem; +} + +main h1 { + color: #666677; + padding: 0; + margin: 0; +} + +/* Footer Styles */ +footer { + display: block; + padding: 1.5rem 1rem; + background-color: teal; + color: rgba(255, 255, 255, 0.75); + text-align: center; + font-size: 1rem; +} + +footer strong { + font-weight: 600; + color: rgba(255, 255, 255, 0.85); +} \ No newline at end of file diff --git a/INFO-1208 (PHP)/Labs/Lab 8/app/images/logo.png b/INFO-1208 (PHP)/Labs/Lab 8/app/images/logo.png new file mode 100644 index 0000000..c0ca436 Binary files /dev/null and b/INFO-1208 (PHP)/Labs/Lab 8/app/images/logo.png differ diff --git a/INFO-1208 (PHP)/Labs/Lab 8/app/index.php b/INFO-1208 (PHP)/Labs/Lab 8/app/index.php new file mode 100644 index 0000000..f06118c --- /dev/null +++ b/INFO-1208 (PHP)/Labs/Lab 8/app/index.php @@ -0,0 +1,4 @@ + + +

This is the content of the home page.

+ \ No newline at end of file diff --git a/INFO-1208 (PHP)/Labs/Lab 8/app/login.php b/INFO-1208 (PHP)/Labs/Lab 8/app/login.php new file mode 100644 index 0000000..c72a83f --- /dev/null +++ b/INFO-1208 (PHP)/Labs/Lab 8/app/login.php @@ -0,0 +1,43 @@ +Login Form

"); + +$formStart = "
"; +$emailLabel = ""; +$emailInput = ""; +$passLabel = ""; +$passInput = ""; +$submit = ""; +$formEnd = "Email or password is incorrect. Please try again.

" . $stickyForm); + } + } else { + print("

Email and password are required. Please try again.

" . $stickyForm); + } +} else { + print($stickyForm = $formStart . + $emailLabel . $emailInput . + $passLabel . $passInput . + $submit . + $formEnd); +} + +include("template/footer.php"); diff --git a/INFO-1208 (PHP)/Labs/Lab 8/app/specials.php b/INFO-1208 (PHP)/Labs/Lab 8/app/specials.php new file mode 100644 index 0000000..e6dcb4c --- /dev/null +++ b/INFO-1208 (PHP)/Labs/Lab 8/app/specials.php @@ -0,0 +1,16 @@ +These are our specails for $date:

+

Extra Large Meat Lovers Pizza - $17.99

+

Toppings:

+ "; +include("template/header.php"); +print($message); +include("template/footer.php"); diff --git a/INFO-1208 (PHP)/Labs/Lab 8/app/template/footer.php b/INFO-1208 (PHP)/Labs/Lab 8/app/template/footer.php new file mode 100644 index 0000000..8de691e --- /dev/null +++ b/INFO-1208 (PHP)/Labs/Lab 8/app/template/footer.php @@ -0,0 +1,14 @@ + + + + \ No newline at end of file diff --git a/INFO-1208 (PHP)/Labs/Lab 8/app/template/header.php b/INFO-1208 (PHP)/Labs/Lab 8/app/template/header.php new file mode 100644 index 0000000..46bb827 --- /dev/null +++ b/INFO-1208 (PHP)/Labs/Lab 8/app/template/header.php @@ -0,0 +1,44 @@ + + + + + + + + <?php if (defined("TITLE")) { + print(TITLE); + } else { + print("l_mclean215318's Pizza"); + } ?> + + + + + \ No newline at end of file diff --git a/INFO-1208 (PHP)/Labs/Lab 8/app/template/template.html b/INFO-1208 (PHP)/Labs/Lab 8/app/template/template.html new file mode 100644 index 0000000..356dae2 --- /dev/null +++ b/INFO-1208 (PHP)/Labs/Lab 8/app/template/template.html @@ -0,0 +1,54 @@ + + + + + + + + l_mclean215318's Webpage + + + + + + + +
+

Welcome

+

This is the content of the home page.

+
+ + + + + + \ No newline at end of file diff --git a/INFO-1208 (PHP)/Labs/Lab 8/info1208-lab8-l_mclean215318.zip b/INFO-1208 (PHP)/Labs/Lab 8/info1208-lab8-l_mclean215318.zip new file mode 100644 index 0000000..64abaa1 Binary files /dev/null and b/INFO-1208 (PHP)/Labs/Lab 8/info1208-lab8-l_mclean215318.zip differ diff --git a/INFO-3168 (JS 2)/Labs/Lab 3/Lab3_LeviMcLean.zip b/INFO-3168 (JS 2)/Labs/Lab 3/Lab3_LeviMcLean.zip new file mode 100644 index 0000000..742c4ac Binary files /dev/null and b/INFO-3168 (JS 2)/Labs/Lab 3/Lab3_LeviMcLean.zip differ