Skip to content
92 changes: 91 additions & 1 deletion static/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,94 @@ body {
text-align: center;
text-decoration: none;
display: block;
}
}

/*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;
}
194 changes: 194 additions & 0 deletions static/main.css
Original file line number Diff line number Diff line change
@@ -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;
}
27 changes: 26 additions & 1 deletion static/superadmin.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,29 @@ body {
text-align: center;
text-decoration: none;
display: block;
}
}

/*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;
}
24 changes: 23 additions & 1 deletion templates/Admin/availability.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,30 @@ <h1>
<div class="title">
<h1>Caretaker Availability</h1>
</div>

<div class="availability">
<table>
<thead>
<tr>
<th>Caretaker Name</th>
<th>Availability</th>
<th>Elderly Assigned To</th>
</tr>
</thead>
<tbody>
<tr>
<td>Caretaker Name</td>
<td>Available/Not Available</td>
<td>Elderly Name</td>
</tbody>
</table>
</div>

<div class="update">
<button>Update</button>
</div>
</body>
<footer>
&copy; 2024 Smart Companion Application | Group 2 T18L
</footer>
</html>
</html>
7 changes: 6 additions & 1 deletion templates/Admin/caretakerdata.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ <h1>
<div class="title">
<h1>Caretakers</h1>
</div>
<div class="caretaker">
<h3>Caretaker Name</h3>
<button>Update</button>
<button>Delete</button>
</div>
</body>
<footer>
&copy; 2024 Smart Companion Application | Group 2 T18L
</footer>
</html>
</html>
7 changes: 6 additions & 1 deletion templates/Admin/userdata.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ <h1>
<div class="title">
<h1>Users</h1>
</div>
<div class="elderly">
<h3>Elderly Name</h3>
<button>Update</button>
<button>Delete</button>
</div>
</body>
<footer>
&copy; 2024 Smart Companion Application | Group 2 T18L
</footer>
</html>
</html>
Loading