diff --git a/static/admin.css b/static/admin.css index 6cc04ad..aaa1280 100644 --- a/static/admin.css +++ b/static/admin.css @@ -75,4 +75,94 @@ body { text-align: center; text-decoration: none; display: block; -} \ No newline at end of file +} + +/*view caretaker*/ + +.caretaker { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 20px; + padding: 15px; + background-color: white; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + width: 80%; + max-width: 400px; + gap: 20px; + margin-left: auto; + margin-right: auto; +} + +.caretaker button { + padding: 12px 24px; + font-size: 16px; + border: none; + border-radius: 5px; +} + +/*view elderly users*/ + +.elderly { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 20px; + padding: 15px; + background-color: white; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + width: 80%; + max-width: 400px; + gap: 20px; + margin-left: auto; + margin-right: auto; +} + +.elderly button { + padding: 12px 24px; + font-size: 16px; + border: none; + border-radius: 5px; +} + +/*caretaker availability*/ + +.availability { + display: flex; + justify-content: center; + margin: 30px 0; +} + +table { + width: 80%; + border-collapse: collapse; + text-align: center; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + border-radius: 8px; + overflow: hidden; +} + +th, td { + padding: 15px; + border-bottom: 1px solid #ddd; +} + +th { + background-color: #f4f4f4; + font-size: 18px; +} + +.update { + text-align: center; + margin: 30px 0; +} + +.update button { + padding: 12px 30px; + font-size: 16px; + border: none; + border-radius: 5px; + cursor: pointer; +} diff --git a/static/main.css b/static/main.css new file mode 100644 index 0000000..f55c73c --- /dev/null +++ b/static/main.css @@ -0,0 +1,194 @@ +* { + font-family: "proxima-nova", "Gill Sans MT", sans-serif; + margin: 0; + padding: 0; +} + +.header { + text-align: center; + background-color: rgb(61, 55, 55); + padding: 20px; + width: 100%; + box-sizing: border-box; +} + +.header a { + color: #ffffff; + font-size: 36px; + font-weight: bold; + letter-spacing: 1.5cap; + text-align: center; + text-decoration: none; + display: block; +} + +.title h1 { + text-align: center; + padding-top: 10px; + text-decoration: underline; + padding-bottom: 10px; +} + +footer { + box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1); + padding-top: 20px; + text-align: center; + font-size: 14px; +} + +body { + background-color: white; + margin-bottom: 30px; +} + +/* home page */ + +.hero { + background-image: url('main.jpg'); + background-size: cover; + background-position: center; + height: 700px; + display: flex; + justify-content: center; + align-items: center; + color: white; + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); +} + +.slogan h1 { + font-size: 48px; + text-align: center; + margin: 0; + padding: 0 20px; +} + +.about-us { + padding: 40px 20px; + text-align: center; + background-color: #f4f4f4; +} + +.about-us h2 { + font-size: 32px; + margin-bottom: 20px; +} + +.about-us p { + font-size: 18px; + line-height: 1.6; + max-width: 800px; + margin: 0 auto; +} + +.authentication { + text-align: center; + padding: 30px; +} + +.authentication a { + background-color: rgb(163, 14, 14); + color: white; + padding: 15px 30px; + font-size: 18px; + text-decoration: none; + border-radius: 5px; + margin: 10px; + display: inline-block; + transition: background-color 0.3s; +} + +.authentication a:hover { + background-color: rgb(86, 7, 7); +} + +.reviews { + background-color: #f9f9f9; + padding: 40px 20px; + text-align: center; +} + +.reviews h2 { + font-size: 32px; + margin-bottom: 20px; +} + +.review-container { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); + gap: 20px; + max-width: 1000px; + margin: 0 auto; +} + +.review { + font-size: 18px; + padding: 20px; + background-color: #ffffff; + border: 1px solid #ddd; + border-radius: 5px; + box-sizing: border-box; + text-align: center; +} + +/* register*/ + +.signup-container { + max-width: 400px; + margin: 0 auto; + padding: 20px; + border: 1px solid #ccc; + border-radius: 8px; + background-color: #f9f9f9; +} + +.signup-container h2 { + text-align: center; + margin-bottom: 20px; +} + +form { + display: flex; + flex-direction: column; +} + +form label { + margin-bottom: 8px; +} + +form input, +form select, +form button { + padding: 10px; + margin-bottom: 15px; + border-radius: 4px; + border: 1px solid #ddd; + font-size: 16px; +} + +form button { + background-color: rgb(163, 14, 14); + color: white; + cursor: pointer; + transition: background-color 0.3s; +} + +form button:hover { + background-color: rgb(86, 7, 7); +} + +/* log in */ + +.login-box { + max-width: 400px; + margin: 0 auto; + padding: 20px; + border: 1px solid #ccc; + border-radius: 8px; + background-color: #f9f9f9; + box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); +} + +.login-box h2 { + text-align: center; + margin-bottom: 20px; +} diff --git a/static/superadmin.css b/static/superadmin.css index a010466..a22bdb0 100644 --- a/static/superadmin.css +++ b/static/superadmin.css @@ -75,4 +75,29 @@ body { text-align: center; text-decoration: none; display: block; -} \ No newline at end of file +} + +/*view admins*/ + +.admins { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 20px; + padding: 15px; + background-color: white; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + width: 80%; + max-width: 400px; + gap: 20px; + margin-left: auto; + margin-right: auto; +} + +.admins button { + padding: 12px 24px; + font-size: 16px; + border: none; + border-radius: 5px; +} diff --git a/templates/Admin/availability.html b/templates/Admin/availability.html index ebb4fd8..de62370 100644 --- a/templates/Admin/availability.html +++ b/templates/Admin/availability.html @@ -16,8 +16,30 @@
| Caretaker Name | +Availability | +Elderly Assigned To | +
|---|---|---|
| Caretaker Name | +Available/Not Available | +Elderly Name | +