diff --git a/booking/templates/booking/booking_create.html b/booking/templates/booking/booking_create.html
index 9368ea9..1ffced5 100644
--- a/booking/templates/booking/booking_create.html
+++ b/booking/templates/booking/booking_create.html
@@ -297,7 +297,6 @@
Processing Payment...
// Get the tutor ID
const tutorId = $('#tutor-id').val();
- console.log("Tutor ID:", tutorId);
// Create a Payment Intent on your server
$.ajax({
diff --git a/home/templates/home/index.html b/home/templates/home/index.html
index aa269d7..c111d11 100644
--- a/home/templates/home/index.html
+++ b/home/templates/home/index.html
@@ -88,9 +88,9 @@ Sign up to our newsletters for discount
diff --git a/static/css/base.css b/static/css/base.css
index 05a1b0e..74e6681 100644
--- a/static/css/base.css
+++ b/static/css/base.css
@@ -21,15 +21,20 @@ main {
color: #F9F6EE;
}
-.logo-custom:hover {
+.logo-custom:hover,
+.logo-custom:focus {
color: yellow;
}
.navbar-custom-color,
.footer-custom-color,
-.container-custom-color,
+.container-custom-color {
+ background-color: #3C0008;
+}
+
.btn-custom-color {
background-color: #3C0008;
+ border: 1px solid #3C0008;
}
.nav-link {
@@ -46,7 +51,8 @@ main {
position: relative;
}
-.navbar-nav .nav-link:hover {
+.navbar-nav .nav-link:hover,
+.navbar-nav .nav-link:focus {
color: yellow;
}
@@ -113,7 +119,8 @@ main {
color: #F9F6EE;
}
-.foot-logo:hover {
+.foot-logo:hover,
+.foot-logo:focus {
color: yellow;
}
@@ -123,7 +130,9 @@ main {
}
.social-media-custom:hover,
-.nav-footer-custom:hover {
+.social-media-custom:focus,
+.nav-footer-custom:hover,
+.nav-footer-custom:focus {
color: yellow;
}
@@ -151,6 +160,42 @@ main {
}
/* Override Django's default button */
+.signlog-button-sm {
+ background-color: #3C0008;
+ color: #F9F6EE;
+ border: 1px solid #F9F6EE;
+ font-size: 1rem;
+ text-align: center;
+ cursor: pointer;
+ border-radius: 0.25rem;
+ transition: background-color 0.3s ease;
+}
+
+.signlog-button-sm:hover,
+.signlog-button-sm:focus {
+ background-color: #F9F6EE;
+ color: #3C0008;
+ border: 1px solid #F9F6EE;
+}
+
+.signlog-button {
+ background-color: #F9F6EE;
+ color: #3C0008;
+ border: 1px solid #F9F6EE;
+ font-size: 1rem;
+ text-align: center;
+ cursor: pointer;
+ border-radius: 0.25rem;
+ transition: background-color 0.3s ease;
+}
+
+.signlog-button:hover,
+.signlog-button:focus {
+ background-color: #3C0008;
+ color: #F9F6EE;
+ border: 1px solid #F9F6EE;
+}
+
button.btn-custom-color,
.btn-acc-color {
background-color: #3C0008;
@@ -165,7 +210,9 @@ button.btn-custom-color,
}
button.btn-custom-color:hover,
-.btn-acc-color:hover {
+button.btn-custom-color:focus,
+.btn-acc-color:hover,
+.btn-acc-color:focus {
background-color: #F9F6EE;
color: #3C0008;
border: 1px solid #3C0008;
diff --git a/static/css/booking.css b/static/css/booking.css
index dd4e74e..6ab7d59 100644
--- a/static/css/booking.css
+++ b/static/css/booking.css
@@ -9,24 +9,28 @@
/* Book Sessions & Cancel buttons */
.btn-profile-color {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
-.btn-profile-color:hover {
+.btn-profile-color:hover,
+.btn-profile-color:focus {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
/* Cancel Button for Add or Update a Tutor */
.btn-canc-color {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
-.btn-canc-color:hover {
+.btn-canc-color:hover,
+.btn-canc-color:focus {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
diff --git a/static/css/contact.css b/static/css/contact.css
index df3facc..73dec58 100644
--- a/static/css/contact.css
+++ b/static/css/contact.css
@@ -1,11 +1,13 @@
/* Return to Home button */
.btn-contact-color {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
-.btn-contact-color:hover {
+.btn-contact-color:hover,
+.btn-contact-color:focus {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
\ No newline at end of file
diff --git a/static/css/error.css b/static/css/error.css
index 48a406b..ec81c19 100644
--- a/static/css/error.css
+++ b/static/css/error.css
@@ -1,10 +1,12 @@
.btn-web-color {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
-.btn-web-color:hover {
+.btn-web-color:hover,
+.btn-web-color:focus {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
\ No newline at end of file
diff --git a/static/css/home.css b/static/css/home.css
index 6889c4d..d216cb9 100644
--- a/static/css/home.css
+++ b/static/css/home.css
@@ -19,27 +19,35 @@ h4 {
/* Find a Tutor button */
.btn-land-color {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
-.btn-land-color:hover {
+.btn-land-color:hover,
+.btn-land-color:focus {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
/* Sign Up/Login buttons */
.btnout-land-color {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
-.btnout-land-color:hover {
+.btnout-land-color:hover,
+.btnout-land-color:focus {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
+.news-input {
+ border: 1px solid #3C0008;
+}
+
/* Horizontal rules style */
.hr-land-page {
border: none;
diff --git a/static/css/personaluser.css b/static/css/personaluser.css
index 1cb939b..e669e41 100644
--- a/static/css/personaluser.css
+++ b/static/css/personaluser.css
@@ -1,23 +1,27 @@
/* The website's button scheme */
.btn-profile-color {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
-.btn-profile-color:hover {
+.btn-profile-color:hover,
+.btn-profile-color:focus {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
/* Cancel Button for Edit User's First Name and Last Name */
.btn-canc-color {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
-.btn-canc-color:hover {
+.btn-canc-color:hover,
+.btn-canc-color:focus {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
\ No newline at end of file
diff --git a/static/css/tutor.css b/static/css/tutor.css
index fd3d687..1c6cea1 100644
--- a/static/css/tutor.css
+++ b/static/css/tutor.css
@@ -1,24 +1,28 @@
/* View profile button & Add and Update a Tutor button */
.btn-profile-color {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
-.btn-profile-color:hover {
+.btn-profile-color:hover,
+.btn-profile-color:focus {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
/* Cancel Button for Add or Update a Tutor */
.btn-canc-color {
background-color: #F9F6EE;
- border: 0.1rem solid #3C0008;
+ border: 1px solid #3C0008;
color: #3C0008;
}
-.btn-canc-color:hover {
+.btn-canc-color:hover,
+.btn-canc-color:focus {
background-color: #3C0008;
+ border: 1px solid #3C0008;
color: #F9F6EE;
}
diff --git a/templates/allauth/layouts/base.html b/templates/allauth/layouts/base.html
index d20a01c..a23d3ee 100644
--- a/templates/allauth/layouts/base.html
+++ b/templates/allauth/layouts/base.html
@@ -105,15 +105,15 @@
{% if user.is_authenticated %}
{% if user.is_superuser %}
- Add a New Tutor
{% endif %}
- Sign
+ Sign
Out
{% else %}
- Register
- Login
{% endif %}
@@ -161,7 +161,8 @@ Site Navigation:
@@ -211,9 +212,7 @@ Social Media:
if (!$('.error-page').length) { // Exclude error pages
setTimeout(function () {
const messageContainers = document.querySelectorAll('.alert');
- console.log("Message containers found:", messageContainers.length); // Debugging
messageContainers.forEach(function (container) {
- console.log("Fading out message:", container.innerText); // Debugging
container.style.transition = 'opacity 1s ease-out';
container.style.opacity = 0;
setTimeout(function () {
diff --git a/templates/base.html b/templates/base.html
index d20a01c..a23d3ee 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -105,15 +105,15 @@
{% if user.is_authenticated %}
{% if user.is_superuser %}
- Add a New Tutor
{% endif %}
- Sign
+ Sign
Out
{% else %}
- Register
- Login
{% endif %}
@@ -161,7 +161,8 @@ Site Navigation:
@@ -211,9 +212,7 @@ Social Media:
if (!$('.error-page').length) { // Exclude error pages
setTimeout(function () {
const messageContainers = document.querySelectorAll('.alert');
- console.log("Message containers found:", messageContainers.length); // Debugging
messageContainers.forEach(function (container) {
- console.log("Fading out message:", container.innerText); // Debugging
container.style.transition = 'opacity 1s ease-out';
container.style.opacity = 0;
setTimeout(function () {
diff --git a/tutor/templates/tutor/tutors_profile.html b/tutor/templates/tutor/tutors_profile.html
index 93adbff..aed8f48 100644
--- a/tutor/templates/tutor/tutors_profile.html
+++ b/tutor/templates/tutor/tutors_profile.html
@@ -13,13 +13,13 @@ Tutor Profile
- Delete a Tutor
+ Delete a Tutor