-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed remaining redirects and providing universal working path
- Loading branch information
1 parent
fbfb818
commit d75bc8e
Showing
9 changed files
with
177 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
font-family: Georgia, sans-serif; | ||
} | ||
|
||
body { | ||
height: 100%; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
a { | ||
color: #199a8e; | ||
text-decoration: none; | ||
font-size: 13px; | ||
} | ||
|
||
/* Aggiunta di stili per il pop-up */ | ||
#InvitePopupOverlay { | ||
display: none; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background: rgba(0, 0, 0, 0.5); | ||
z-index: 1000; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
#InvitePage { | ||
width: 154px; | ||
background-color: #fff; | ||
padding: 80px; | ||
border-radius: 10px; | ||
text-align: center; | ||
position: fixed; | ||
top: 43%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
z-index: 1001; | ||
border: 2px solid #000; | ||
} | ||
|
||
|
||
.homeTherapistOverlay { | ||
transition: opacity 0.3s ease; | ||
} | ||
|
||
#InvitePopupOverlay.visible .homeTherapistOverlay { | ||
opacity: 0.5; | ||
} | ||
|
||
#InviteTitle{ | ||
margin-top: -16%; | ||
font-size: 20px;; | ||
} | ||
|
||
|
||
#InviteForm{ | ||
margin-top: 5%; | ||
width: 70%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
} | ||
|
||
.inputDiv{ | ||
width: 217%; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
background-color: #f9fafb; | ||
border: 2px solid #e8eaed; | ||
border-radius: 500px; | ||
margin-bottom: -1%; | ||
} | ||
|
||
.icon{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
width: 10%; | ||
} | ||
|
||
.iconLeft{ | ||
margin-left: 3%; | ||
} | ||
|
||
|
||
|
||
.icon > img{ | ||
width: 50%; | ||
} | ||
|
||
.formInput{ | ||
padding: 5% 7%; | ||
height: 90%; | ||
width: 80%; | ||
border: none; | ||
border-radius: 27px; | ||
background-color: #f9fafb; | ||
font-size: 15px; | ||
} | ||
|
||
.formInput:focus{ | ||
border: none; | ||
outline: none; | ||
} | ||
|
||
|
||
#InviteButton{ | ||
color: white; | ||
width: 100%; | ||
background-color: #199a8e; | ||
border: none; | ||
padding: 5% 10%; | ||
border-radius: 500px; | ||
margin-bottom: 20px; | ||
display: inline-block; | ||
font-size: 21px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
//search bar for name and surname | ||
$(document).ready(function () { | ||
var tableContainer = document.getElementById('tableContainer'); | ||
|
||
// Aggiungi un gestore di eventi all'input di ricerca | ||
$('#searchInput').on('input', function () { | ||
var searchText = $(this).val().toLowerCase(); | ||
|
||
// Nascondi tutte le righe | ||
tableContainer.getElementsByTagName('tbody')[0].style.marginTop = '0'; | ||
|
||
// Filtra e mostra solo le righe che corrispondono alla ricerca | ||
$('tbody tr').each(function () { | ||
var name = $(this).find('td:eq(1)').text().toLowerCase(); | ||
var lastName = $(this).find('td:eq(2)').text().toLowerCase(); | ||
|
||
if (name.includes(searchText) || lastName.includes(searchText)) { | ||
$(this).show(); | ||
} else { | ||
$(this).hide(); | ||
} | ||
}); | ||
}); | ||
}); | ||
/*POPUP INVITE PATIENT*/ | ||
function openInvitePopup() { | ||
document.getElementById("invitePopup").style.display = "block"; | ||
} | ||
function InvitePatient(){ | ||
window.location.href = "invitePatient.jsp"; | ||
} | ||
/*VIEW PATIENT*/ | ||
function viewPatient(i){ | ||
window.location.href = "viewPatient.jsp?patientID="+i; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,8 +54,6 @@ | |
<!-- </form> --> | ||
<% | ||
} | ||
} else { | ||
response.sendRedirect("../errorPage/403.html"); | ||
} | ||
%> | ||
</tbody> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters