From 2b11c3339a223024f6c5d5a4bdb97a8162b5717e Mon Sep 17 00:00:00 2001 From: William Miceli Date: Tue, 3 Dec 2019 23:53:43 -0500 Subject: [PATCH] Visual improvements --- var/www/friends.php | 1 + var/www/header.html | 2 +- var/www/login.php | 11 +++++------ var/www/loginRequired.php | 6 ++++++ var/www/messages.php | 1 + var/www/styling.css | 32 ++++++++++++++++++++------------ 6 files changed, 34 insertions(+), 19 deletions(-) create mode 100644 var/www/loginRequired.php diff --git a/var/www/friends.php b/var/www/friends.php index f333a3f..cc7abae 100644 --- a/var/www/friends.php +++ b/var/www/friends.php @@ -1,5 +1,6 @@ diff --git a/var/www/header.html b/var/www/header.html index 4f75248..e7df42a 100644 --- a/var/www/header.html +++ b/var/www/header.html @@ -1,5 +1,5 @@ - friendbook + friendbook \ No newline at end of file diff --git a/var/www/login.php b/var/www/login.php index 449bdc2..9db0301 100644 --- a/var/www/login.php +++ b/var/www/login.php @@ -14,7 +14,7 @@ $_SESSION['loggedInUser'] = $_POST['login_username']; unset($_SESSION['loginError']); // Move onto landing page -// header('Location: /landingPage.html'); + header('Location: /messages.php'); }else{ // No matching users found, send user an error message $_SESSION['loginError'] = 'Invalid Username or Password'; @@ -46,11 +46,10 @@

Please Login

- User: -
- Password: -
- + User:
+ Password:
+
+
diff --git a/var/www/loginRequired.php b/var/www/loginRequired.php new file mode 100644 index 0000000..3c814c9 --- /dev/null +++ b/var/www/loginRequired.php @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/var/www/messages.php b/var/www/messages.php index 53c8877..0994b80 100644 --- a/var/www/messages.php +++ b/var/www/messages.php @@ -1,5 +1,6 @@ diff --git a/var/www/styling.css b/var/www/styling.css index c1e3fbc..4f94049 100644 --- a/var/www/styling.css +++ b/var/www/styling.css @@ -1,31 +1,39 @@ body { background-color: #3B5998; color: white; + font-family: Arial, sans-serif; } -.button a { -/* font: bold 11px Arial;*/ +input { + padding: 3px; + margin: 2px; +} +.button { + font-weight: bold; + font-size: 16px; + text-align: center; text-decoration: none; - background-color: #EEEEEE; + background-color: #FAFAFA; color: #333333; - padding: 2px 6px 2px 6px; - border-top: 1px solid #CCCCCC; - border-right: 1px solid #333333; - border-bottom: 1px solid #333333; - border-left: 1px solid #CCCCCC; + padding: 4px 12px 4px 12px; + border-radius: 5px; + border-top: 2px solid #CCCCCC; + border-right: 3px solid #333333; + border-bottom: 2px solid #333333; + border-left: 3px solid #CCCCCC; } .topNavBar { - background-color: rgb(236, 236, 236); + background-color:#FAFAFA; overflow: hidden; } .topNavBar a { float: left; - color: #363636; + color: #333333; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } .topNavBar a:hover { - background-color: rgb(44, 48, 255); - color: rgb(255, 255, 255); + background-color: #88BBFF; + color: #FFF; } \ No newline at end of file