Compare commits
	
		
			No commits in common. "00f42f16867eded79ebfb3cbad13f8c381ad507b" and "fd325afe4feda2515ae9416262a5f784e34da709" have entirely different histories.
		
	
	
		
			00f42f1686
			...
			fd325afe4f
		
	
		
| @ -13,7 +13,6 @@ | |||||||
|   </ItemGroup> |   </ItemGroup> | ||||||
| 
 | 
 | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <EmbeddedResource Include="Scripts\04_EventLog_StreamID.sql" /> |  | ||||||
|     <EmbeddedResource Include="Scripts\03_UserTracker.sql" /> |     <EmbeddedResource Include="Scripts\03_UserTracker.sql" /> | ||||||
|     <EmbeddedResource Include="Scripts\02_SeedLookupData.sql" /> |     <EmbeddedResource Include="Scripts\02_SeedLookupData.sql" /> | ||||||
|     <EmbeddedResource Include="Scripts\01_Schema.sql" /> |     <EmbeddedResource Include="Scripts\01_Schema.sql" /> | ||||||
|  | |||||||
| @ -1,32 +0,0 @@ | |||||||
| @page |  | ||||||
| @{ |  | ||||||
|     Layout = "_Blank"; |  | ||||||
| } |  | ||||||
| <body> |  | ||||||
|     <header></header> |  | ||||||
|     <div class="container" style="max-width: 1000px;font-weight: bold;"> |  | ||||||
|         <nav class="navbar navbar-expand-md bg-body py-3"> |  | ||||||
|             <div class="container"> |  | ||||||
|                 <a class="navbar-brand d-flex align-items-center" href="/"> |  | ||||||
|                     <span class="bs-icon-sm bs-icon-rounded d-flex justify-content-center align-items-center bs-icon" style="border-radius: 0px;"> |  | ||||||
|                         <svg class="bi bi-pen-fill" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16"> |  | ||||||
|                             <path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001"></path> |  | ||||||
|                         </svg> |  | ||||||
|                     </span><span>eNotaryo PH</span> |  | ||||||
|                 </a> |  | ||||||
|             </div> |  | ||||||
|         </nav> |  | ||||||
|         <div class="text-center"> |  | ||||||
|             <div class="row text-center pt-4"> |  | ||||||
|                 <div class="col col-12 col-lg-10 mx-auto"> |  | ||||||
|                     <div class="text-center position-relative"><img class="img-fluid" src="images/404.jpg" /></div> |  | ||||||
|                 </div> |  | ||||||
|             </div> |  | ||||||
|         </div> |  | ||||||
|     </div> |  | ||||||
|     <footer class="mt-5"> |  | ||||||
|         <div class="container" style="max-width: 1000px;"> |  | ||||||
|             <p class="text-center text-md-start">Copyright <span style="color: rgba(18, 22, 67, 0.75);">©</span> 2025 eNotaryoPH</p> |  | ||||||
|         </div> |  | ||||||
|     </footer> |  | ||||||
| </body> |  | ||||||
| @ -1,32 +0,0 @@ | |||||||
| @page |  | ||||||
| @{ |  | ||||||
|     Layout = "_Blank"; |  | ||||||
| } |  | ||||||
| <body> |  | ||||||
|     <header></header> |  | ||||||
|     <div class="container" style="max-width: 1000px;font-weight: bold;"> |  | ||||||
|         <nav class="navbar navbar-expand-md bg-body py-3"> |  | ||||||
|             <div class="container"> |  | ||||||
|                 <a class="navbar-brand d-flex align-items-center" href="/"> |  | ||||||
|                     <span class="bs-icon-sm bs-icon-rounded d-flex justify-content-center align-items-center bs-icon" style="border-radius: 0px;"> |  | ||||||
|                         <svg class="bi bi-pen-fill" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16"> |  | ||||||
|                             <path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001"></path> |  | ||||||
|                         </svg> |  | ||||||
|                     </span><span>eNotaryo PH</span> |  | ||||||
|                 </a><button class="navbar-toggler" data-bs-toggle="collapse"><span class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button> |  | ||||||
|             </div> |  | ||||||
|         </nav> |  | ||||||
|         <div class="text-center"> |  | ||||||
|             <div class="row text-center pt-4"> |  | ||||||
|                 <div class="col col-12 col-lg-10 mx-auto"> |  | ||||||
|                     <div class="text-center position-relative"><img class="img-fluid" src="images/500.jpg" /></div> |  | ||||||
|                 </div> |  | ||||||
|             </div> |  | ||||||
|         </div> |  | ||||||
|     </div> |  | ||||||
|     <footer class="mt-5"> |  | ||||||
|         <div class="container" style="max-width: 1000px;"> |  | ||||||
|             <p class="text-center text-md-start">Copyright <span style="color: rgba(18, 22, 67, 0.75);">©</span> 2025 eNotaryoPH</p> |  | ||||||
|         </div> |  | ||||||
|     </footer> |  | ||||||
| </body> |  | ||||||
| @ -1,8 +0,0 @@ | |||||||
| @page |  | ||||||
| @model EnotaryoPH.Web.Pages.AboutModel |  | ||||||
| @{ |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| <div class="container text-center p-5 my-auto" style="max-width: 1000px;font-weight: bold;"> |  | ||||||
|     <h2>This website is brought to you with ❤️ by <a href="https://jfaquinojr.com">Mang Jose</a>.</h2> |  | ||||||
| </div> |  | ||||||
| @ -1,12 +0,0 @@ | |||||||
| using Microsoft.AspNetCore.Mvc; |  | ||||||
| using Microsoft.AspNetCore.Mvc.RazorPages; |  | ||||||
| 
 |  | ||||||
| namespace EnotaryoPH.Web.Pages |  | ||||||
| { |  | ||||||
|     public class AboutModel : PageModel |  | ||||||
|     { |  | ||||||
|         public void OnGet() |  | ||||||
|         { |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @ -111,16 +111,9 @@ namespace EnotaryoPH.Web.Pages | |||||||
|                 Status = false, |                 Status = false, | ||||||
|                 FacePlugins = [] |                 FacePlugins = [] | ||||||
|             }; |             }; | ||||||
|             try |             var result = await client.VerifyAsync(faceVerificationRequest); | ||||||
|             { |             var faceMatches = result.Result.SelectMany(x => x.FaceMatches); | ||||||
|                 var result = await client.VerifyAsync(faceVerificationRequest); |             return faceMatches; | ||||||
|                 var faceMatches = result.Result.SelectMany(x => x.FaceMatches); |  | ||||||
|                 return faceMatches; |  | ||||||
|             } |  | ||||||
|             catch (Exception) |  | ||||||
|             { |  | ||||||
|                 return Enumerable.Empty<FaceMatches>(); |  | ||||||
|             } |  | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         [BindProperty] |         [BindProperty] | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| @page "{statusCode}" | @page | ||||||
| @model ErrorModel | @model ErrorModel | ||||||
| @{ | @{ | ||||||
|     ViewData["Title"] = "Error"; |     ViewData["Title"] = "Error"; | ||||||
|  | |||||||
| @ -8,31 +8,21 @@ namespace EnotaryoPH.Web.Pages | |||||||
|     [IgnoreAntiforgeryToken] |     [IgnoreAntiforgeryToken] | ||||||
|     public class ErrorModel : PageModel |     public class ErrorModel : PageModel | ||||||
|     { |     { | ||||||
|         private readonly ILogger<ErrorModel> _logger; |  | ||||||
| 
 |  | ||||||
|         public ErrorModel(ILogger<ErrorModel> logger) => _logger = logger; |  | ||||||
| 
 |  | ||||||
|         public IActionResult OnGet() |  | ||||||
|         { |  | ||||||
|             RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; |  | ||||||
| 
 |  | ||||||
|             if (StatusCode == "404") |  | ||||||
|             { |  | ||||||
|                 return Redirect("/404"); |  | ||||||
|             } |  | ||||||
|             else if (StatusCode == "500") |  | ||||||
|             { |  | ||||||
|                 return Redirect("/500"); |  | ||||||
|             } |  | ||||||
| 
 |  | ||||||
|             return Page(); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         public string? RequestId { get; set; } |         public string? RequestId { get; set; } | ||||||
| 
 | 
 | ||||||
|         public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); |         public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); | ||||||
| 
 | 
 | ||||||
|         [FromRoute] |         private readonly ILogger<ErrorModel> _logger; | ||||||
|         public string StatusCode { get; set; } | 
 | ||||||
|  |         public ErrorModel(ILogger<ErrorModel> logger) | ||||||
|  |         { | ||||||
|  |             _logger = logger; | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         public void OnGet() | ||||||
|  |         { | ||||||
|  |             RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | 
 | ||||||
|  | } | ||||||
|  | |||||||
| @ -1,133 +1,26 @@ | |||||||
| @page | @page | ||||||
| @model IndexModel | @model IndexModel | ||||||
| @{ | @{ | ||||||
|     ViewData["Title"] = "Notarize Documents Online"; |     ViewData["Title"] = "Home page"; | ||||||
|     Layout = "_Blank"; |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | <div class="text-center"> | ||||||
|  |     <h1 class="display-4">Welcome</h1> | ||||||
|  |     <p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p> | ||||||
|  | </div> | ||||||
| 
 | 
 | ||||||
|     <header></header> | <form method="post"> | ||||||
|     <div class="container" style="max-width: 1000px;font-weight: bold;"> |     <button onclick="onClickMe"> | ||||||
|         <nav class="navbar navbar-expand-md bg-body py-3"> |         click me | ||||||
|             <div class="container"> |     </button> | ||||||
|                 <a class="navbar-brand d-flex align-items-center" href="#"> | </form> | ||||||
|                     <span class="bs-icon-sm bs-icon-rounded d-flex justify-content-center align-items-center bs-icon" style="border-radius: 0px;"> | 
 | ||||||
|                         <svg class="bi bi-pen-fill" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16"> | 
 | ||||||
|                             <path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001"></path> | 
 | ||||||
|                         </svg> | @section Scripts { | ||||||
|                     </span><span>eNotaryo PH</span> |     <script> | ||||||
|                 </a><button class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navcol-3"><span class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button> |         function onClickMe() { | ||||||
|                 <div id="navcol-3" class="collapse navbar-collapse"> |             alert('yoloooo'); | ||||||
|                     <ul class="navbar-nav mx-auto"> |         } | ||||||
|                         <li class="nav-item"><a class="nav-link active" href="/">Home</a></li> |     </script> | ||||||
|                         <li class="nav-item"></li> | } | ||||||
|                         <li class="nav-item"><a class="nav-link" href="#HowItWorks">How it works</a></li> |  | ||||||
|                         <li class="nav-item"><a class="nav-link" href="#Contact">Contact</a></li> |  | ||||||
|                     </ul> |  | ||||||
|                     <a href="/login" class="btn btn-primary">Login</a> |  | ||||||
|                 </div> |  | ||||||
|             </div> |  | ||||||
|         </nav> |  | ||||||
|         <div class="text-center"> |  | ||||||
|             <div class="row text-center pt-4"> |  | ||||||
|                 <div class="col mx-auto col-md-8"> |  | ||||||
|                     <h1 class="display-4 fw-bold mb-5"><strong><span style="color: rgb(18, 22, 67);">Notarize your documents from the </span></strong><span class="underline">comfort</span><strong><span style="color: rgb(18, 22, 67);"> of your home or office </span></strong></h1> |  | ||||||
|                     <div></div> |  | ||||||
|                     <p class="fs-5 text-muted mb-5">Subscribe to our newsletter to get the latest updates.</p> |  | ||||||
|                     <form class="d-flex justify-content-center flex-wrap"> |  | ||||||
|                         <div class="shadow-lg mb-3"><input class="form-control" type="email" placeholder="Your Email" /></div> |  | ||||||
|                         <div class="shadow-lg mb-3"><button class="btn btn-primary disabled" type="button">Subscribe</button></div> |  | ||||||
|                     </form> |  | ||||||
|                 </div> |  | ||||||
|                 <div class="col col-12 col-lg-10 mx-auto"> |  | ||||||
|                     <div class="text-center position-relative"><img class="img-fluid" src="images/landing_02.png" /></div> |  | ||||||
|                 </div> |  | ||||||
|             </div> |  | ||||||
|         </div> |  | ||||||
|     </div> |  | ||||||
|     <section class="mt-5"> |  | ||||||
|         <div class="container" style="max-width: 1000px;"> |  | ||||||
|             <h3 id="HowItWorks" class="display-6 fw-bold text-center">How Does It Work?</h3> |  | ||||||
|             <div class="row"> |  | ||||||
|                 <div class="col d-flex"> |  | ||||||
|                     <div class="card"> |  | ||||||
|                         <div class="card-body m-4"> |  | ||||||
|                             <div class="text-start py-3"> |  | ||||||
|                                 <svg class="bi bi-camera fs-1 text-start" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16"> |  | ||||||
|                                     <path d="M15 12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.172a3 3 0 0 0 2.12-.879l.83-.828A1 1 0 0 1 6.827 3h2.344a1 1 0 0 1 .707.293l.828.828A3 3 0 0 0 12.828 5H14a1 1 0 0 1 1 1zM2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4z"></path> |  | ||||||
|                                     <path d="M8 11a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5m0 1a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7M3 6.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0"></path> |  | ||||||
|                                 </svg> |  | ||||||
|                             </div> |  | ||||||
|                             <h4 class="card-title">Take a Selfie</h4> |  | ||||||
|                             <h6 class="text-muted card-subtitle mb-2">Use your phone or web camera</h6> |  | ||||||
|                             <p class="card-text">Sit back and relax while our facial recognition system analyze your identification.</p><a class="card-link btn-sm" href="#"> |  | ||||||
|                                 Learn More |  | ||||||
|                                 <svg class="bi bi-arrow-right" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16"> |  | ||||||
|                                     <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"></path> |  | ||||||
|                                 </svg> |  | ||||||
|                             </a> |  | ||||||
|                         </div> |  | ||||||
|                     </div> |  | ||||||
|                 </div> |  | ||||||
|                 <div class="col d-flex"> |  | ||||||
|                     <div class="card"> |  | ||||||
|                         <div class="card-body m-4"> |  | ||||||
|                             <div class="text-start py-3"> |  | ||||||
|                                 <svg class="bi bi-cloud-upload fs-1 text-start" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16"> |  | ||||||
|                                     <path fill-rule="evenodd" d="M4.406 1.342A5.53 5.53 0 0 1 8 0c2.69 0 4.923 2 5.166 4.579C14.758 4.804 16 6.137 16 7.773 16 9.569 14.502 11 12.687 11H10a.5.5 0 0 1 0-1h2.688C13.979 10 15 8.988 15 7.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 2.825 10.328 1 8 1a4.53 4.53 0 0 0-2.941 1.1c-.757.652-1.153 1.438-1.153 2.055v.448l-.445.049C2.064 4.805 1 5.952 1 7.318 1 8.785 2.23 10 3.781 10H6a.5.5 0 0 1 0 1H3.781C1.708 11 0 9.366 0 7.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383z"></path> |  | ||||||
|                                     <path fill-rule="evenodd" d="M7.646 4.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V14.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708z"></path> |  | ||||||
|                                 </svg> |  | ||||||
|                             </div> |  | ||||||
|                             <h4 class="card-title">Upload the document</h4> |  | ||||||
|                             <h6 class="text-muted card-subtitle mb-2">PDF and MS Word Documents</h6> |  | ||||||
|                             <p class="card-text">Simply upload your document and enter the necessary information and we will book an available notary public for you.</p><a class="card-link btn-sm" href="#"> |  | ||||||
|                                 Learn More |  | ||||||
|                                 <svg class="bi bi-arrow-right" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16"> |  | ||||||
|                                     <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"></path> |  | ||||||
|                                 </svg> |  | ||||||
|                             </a> |  | ||||||
|                         </div> |  | ||||||
|                     </div> |  | ||||||
|                 </div> |  | ||||||
|                 <div class="col d-flex"> |  | ||||||
|                     <div class="card"> |  | ||||||
|                         <div class="card-body m-4"> |  | ||||||
|                             <div class="text-start py-3"> |  | ||||||
|                                 <svg class="bi bi-camera-video fs-1 text-start" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16"> |  | ||||||
|                                     <path fill-rule="evenodd" d="M0 5a2 2 0 0 1 2-2h7.5a2 2 0 0 1 1.983 1.738l3.11-1.382A1 1 0 0 1 16 4.269v7.462a1 1 0 0 1-1.406.913l-3.111-1.382A2 2 0 0 1 9.5 13H2a2 2 0 0 1-2-2zm11.5 5.175 3.5 1.556V4.269l-3.5 1.556zM2 4a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.5a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1z"></path> |  | ||||||
|                                 </svg> |  | ||||||
|                             </div> |  | ||||||
|                             <h4 class="card-title">Video Conference</h4> |  | ||||||
|                             <h6 class="text-muted card-subtitle mb-2">Meet with Notary Public</h6> |  | ||||||
|                             <p class="card-text">The final step is to talk to our notary public team. Once payment has been settled, you can now download the notarized document.</p><a class="card-link btn-sm" href="#"> |  | ||||||
|                                 Learn More |  | ||||||
|                                 <svg class="bi bi-arrow-right" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16"> |  | ||||||
|                                     <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"></path> |  | ||||||
|                                 </svg> |  | ||||||
|                             </a> |  | ||||||
|                         </div> |  | ||||||
|                     </div> |  | ||||||
|                 </div> |  | ||||||
|             </div> |  | ||||||
|         </div> |  | ||||||
|     </section> |  | ||||||
|     <section class="mt-5"> |  | ||||||
|         <div class="container" style="max-width: 1000px;"> |  | ||||||
|             <h3 id="Contact" class="display-6 fw-bold text-center">Got Any Questions?</h3> |  | ||||||
|             <div class="row"> |  | ||||||
|                 <div class="col col-md-8 col-xl-6 mx-auto text-center"> |  | ||||||
|                     <form class="p-3 p-xl-4"> |  | ||||||
|                         <div class="mb-3"><input class="form-control shadow" type="text" placeholder="Name" /></div> |  | ||||||
|                         <div class="mb-3"><input class="form-control shadow" type="email" placeholder="Email" /></div> |  | ||||||
|                         <div class="mb-3"><textarea class="form-control shadow" placeholder="Message" rows="4"></textarea></div> |  | ||||||
|                         <div><button class="btn btn-primary d-block w-100 shadow-lg" type="button">Submit</button></div> |  | ||||||
|                     </form> |  | ||||||
|                 </div> |  | ||||||
|             </div> |  | ||||||
|         </div> |  | ||||||
|     </section> |  | ||||||
|     <footer class="mt-5"> |  | ||||||
|         <div class="container" style="max-width: 1000px;"> |  | ||||||
|             <p class="text-center text-md-start">Copyright <span style="color: rgba(18, 22, 67, 0.75);">©</span> 2025 eNotaryoPH</p> |  | ||||||
|         </div> |  | ||||||
|     </footer> |  | ||||||
| @ -1,6 +1,5 @@ | |||||||
| @page "{Transaction_UID}" | @page "{Transaction_UID}" | ||||||
| @using System.Text.Json | @using System.Text.Json | ||||||
| @using Syncfusion.EJ2 |  | ||||||
| @model EnotaryoPH.Web.Pages.Participant.VideoCall.RoomModel | @model EnotaryoPH.Web.Pages.Participant.VideoCall.RoomModel | ||||||
| @{ | @{ | ||||||
|     Layout = "_Blank"; |     Layout = "_Blank"; | ||||||
| @ -41,6 +40,8 @@ | |||||||
| 			margin-bottom: 10px; | 			margin-bottom: 10px; | ||||||
| 			padding: 10px; | 			padding: 10px; | ||||||
| 			border-radius: 5px; | 			border-radius: 5px; | ||||||
|  | /* 			background-color: #f9f9f9; */ | ||||||
|  | /* 			box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */ | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		.avatar { | 		.avatar { | ||||||
| @ -60,30 +61,6 @@ | |||||||
| 			cursor: move; | 			cursor: move; | ||||||
| 		} | 		} | ||||||
| </style> | </style> | ||||||
| 
 |  | ||||||
| 	<link href="~/lib/ej2/css/bootstrap5.3.css" rel="stylesheet" /> |  | ||||||
| 	<script src="~/lib/ej2/js/ej2.min.js"></script> |  | ||||||
| 	<script type="text/javascript"> |  | ||||||
| 		var pdfViewer; |  | ||||||
| 		window.onload = function () { |  | ||||||
| 			pdfViewer = document.getElementById('pdfviewer').ej2_instances[0]; |  | ||||||
| 
 |  | ||||||
| 			document.getElementById('btnUpdateFormFields').onclick = function () { |  | ||||||
| 				debugger; |  | ||||||
| 				let formFieldCollections = pdfViewer.formFieldCollections; |  | ||||||
| 				let otherFormFieldDetails = formFieldCollections.filter(formField => formField.customData.author === 'mangjose'); |  | ||||||
| 				let currentFormFieldDetails = formFieldCollections.filter(formField => formField.customData.author === 'andrew'); |  | ||||||
| 			} |  | ||||||
| 		} |  | ||||||
| 
 |  | ||||||
| 		function formFieldClick(arg) { |  | ||||||
| 		} |  | ||||||
| 
 |  | ||||||
| 		function documentLoaded(arg) { |  | ||||||
| 		} |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 	</script> |  | ||||||
| } | } | ||||||
| <div class="vh-100" id="videoGrid-container"></div> | <div class="vh-100" id="videoGrid-container"></div> | ||||||
| 
 | 
 | ||||||
| @ -160,41 +137,21 @@ | |||||||
| 				<!-- Nav tabs --> | 				<!-- Nav tabs --> | ||||||
| 				<ul class="nav nav-tabs"> | 				<ul class="nav nav-tabs"> | ||||||
| 					<li class="nav-item"> | 					<li class="nav-item"> | ||||||
| 						<a class="nav-link active" data-bs-toggle="tab" href="#tabIdentification">Identification</a> | 						<a class="nav-link active" data-bs-toggle="tab" href="#image1">Identification</a> | ||||||
| 					</li> | 					</li> | ||||||
| 					<li class="nav-item"> | 					<li class="nav-item"> | ||||||
| 						<a class="nav-link" data-bs-toggle="tab" href="#tabSelfie">Selfie</a> | 						<a class="nav-link" data-bs-toggle="tab" href="#image2">Selfie</a> | ||||||
| 					</li> |  | ||||||
| 					<li class="nav-item"> |  | ||||||
| 						<a class="nav-link" data-bs-toggle="tab" href="#tabOTP">OTP</a> |  | ||||||
| 					</li> |  | ||||||
| 					<li class="nav-item"> |  | ||||||
| 						<a class="nav-link" data-bs-toggle="tab" href="#tabDetails">Details</a> |  | ||||||
| 					</li> | 					</li> | ||||||
| 				</ul> | 				</ul> | ||||||
| 
 | 
 | ||||||
| 				<!-- Tab panes --> | 				<!-- Tab panes --> | ||||||
| 				<div class="tab-content mt-2"> | 				<div class="tab-content"> | ||||||
| 					<div id="tabIdentification" class="container tab-pane active"> | 					<div id="image1" class="container tab-pane active"> | ||||||
| 						<img id="IdentificationImage" src="https://placehold.co/600x400?text=World" alt="Image 2" class="img-fluid" | 						<img id="IdentificationImage" src="https://placehold.co/600x400?text=World" alt="Image 2" class="img-fluid"> | ||||||
| 							 style="height:350px;"> |  | ||||||
| 					</div> | 					</div> | ||||||
| 					<div id="tabSelfie" class="container tab-pane fade"> | 					<div id="image2" class="container tab-pane fade"> | ||||||
| 						<img id="SelfieImage" src="https://placehold.co/600x400?text=Hello" alt="Image 1" class="img-fluid"> | 						<img id="SelfieImage" src="https://placehold.co/600x400?text=Hello" alt="Image 1" class="img-fluid"> | ||||||
| 					</div> | 					</div> | ||||||
| 					<div id="tabOTP" class="container tab-pane fade"> |  | ||||||
| 						<span id="Otp" class="h1">user has not yet entered OTP</span> |  | ||||||
| 					</div> |  | ||||||
| 					<div id="tabDetails" class="container tab-pane fade"> |  | ||||||
| 						<div class="mb-3"> |  | ||||||
| 							<label for="device" class="form-label">Device</label> |  | ||||||
| 							<input type="text" class="form-control" id="device" placeholder="Android" readonly="readonly"> |  | ||||||
| 						</div> |  | ||||||
| 						<div class="mb-3"> |  | ||||||
| 							<label for="location" class="form-label">Location</label> |  | ||||||
| 							<input type="text" class="form-control" id="location" placeholder="Metro Manila" readonly="readonly"> |  | ||||||
| 						</div> |  | ||||||
| 					</div> |  | ||||||
| 				</div> | 				</div> | ||||||
| 
 | 
 | ||||||
| 			</div> | 			</div> | ||||||
| @ -212,61 +169,139 @@ | |||||||
| 	</div> | 	</div> | ||||||
| </div> | </div> | ||||||
| 
 | 
 | ||||||
| <div class="modal fade" id="PdfViewer" data-bs-backdrop="false" data-bs-keyboard="false"> | @* <template id="TemplateSidePane"> | ||||||
| 	<div class="modal-dialog modal-lg"> | 	<div data-is-focusable="false" aria-modal="true" data-ui-id="SidePaneSignatories" class="ms-Stack css-366"> | ||||||
| 		<div class="modal-content"> | 		<div class="ms-Stack css-367"> | ||||||
| 
 | 			<div role="heading" aria-label="People" aria-level="2" class="ms-StackItem css-368">Signatories</div> | ||||||
| 			<div class="modal-header draggable"> | 			<div class="ms-StackItem css-157"> | ||||||
| 				<h4 class="modal-title">@Model.DocumentType</h4> | 				<button type="button" class="ms-Button ms-Button--commandBar root-369" aria-label="Close" data-is-focusable="true"> | ||||||
| 				<button type="button" class="btn-close" data-bs-dismiss="modal"></button> | 					<span class="ms-Button-flexContainer flexContainer-193" data-automationid="splitbuttonprimary"> | ||||||
|  | 						<i data-icon-name="cancel" aria-hidden="true" class="ms-Icon root-89 css-196 ms-Button-icon icon-370" style="font-family: FabricMDL2Icons;"></i> | ||||||
|  | 					</span> | ||||||
|  | 				</button> | ||||||
| 			</div> | 			</div> | ||||||
| 
 |  | ||||||
| 			<div class="modal-body"> |  | ||||||
| 				<ejs-pdfviewer id="pdfviewer" enableFormDesigner="true" enableFormDesignerToolbar="true" designerMode="true" |  | ||||||
| 					documentPath="https://localhost:7121/Participant/VideoCall/Room/@Model.Transaction_UID?handler=Document" |  | ||||||
| 					style="height:641px;" |  | ||||||
| 					documentLoad="documentLoaded" |  | ||||||
| 					formFieldClick="formFieldClick"> |  | ||||||
| 				</ejs-pdfviewer> |  | ||||||
| 			</div> |  | ||||||
| 
 |  | ||||||
| 			<div class="modal-footer justify-content-start"> |  | ||||||
| 				<div class="flex-fill"> |  | ||||||
| 					<button id="btnUpdateFormFields" class="btn btn-primary">Ready for Signature</button> |  | ||||||
| 				</div> |  | ||||||
| 				<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> |  | ||||||
| 			</div> |  | ||||||
| 
 |  | ||||||
| 		</div> | 		</div> | ||||||
|     </div> | 		<div class="ms-StackItem css-373"> | ||||||
| </div> | 			<div class="ms-Stack css-374"> | ||||||
| 
 | 				<div class="ms-StackItem css-375"> | ||||||
| <div class="modal fade" id="OtpForm"> | 					<div class="ms-Stack css-252"> | ||||||
| 	<div class="modal-dialog modal-sm"> | 						<div data-ui-id="people-pane-content" class="ms-Stack css-376"> | ||||||
| 		<div class="modal-content"> | 							<div class="ms-Stack css-162"> | ||||||
| 
 | 								<div aria-live="assertive" role="status" aria-atomic="true" class="ms-Stack css-241" /> | ||||||
| 			<div class="modal-header draggable"> | 							</div> | ||||||
| 				<h4 class="modal-title">Enter your One Time Password</h4> | 							<div class="ms-StackItem css-377"> | ||||||
| 				<button type="button" class="btn-close" data-bs-dismiss="modal"></button> | 								<div class="ms-Stack css-378"> | ||||||
| 			</div> | 									<div class="ms-Stack css-379"> | ||||||
| 
 | 										<div aria-label="In this call {numberOfPeople}" id="id__427" class="ms-StackItem css-380"> | ||||||
| 			<div class="modal-body"> | 											<h2 id="SignatoryCount">In this call (2)</h2> | ||||||
| 				<input type="text" id="Otp" class="form-control" placeholder="Enter your One-Time-Password" asp-action="Otp" /> | 										</div> | ||||||
| 			</div> | 										<div class="ms-StackItem css-157"> | ||||||
| 
 | 											<button type="button" data-ui-id="people-pane-header-more-button" class="ms-Button ms-Button--default ms-Button--hasMenu root-381" aria-label="More" data-is-focusable="true" aria-expanded="false" aria-haspopup="true"> | ||||||
| 			<div class="modal-footer justify-content-start"> | 												<span class="ms-Button-flexContainer flexContainer-193" data-automationid="splitbuttonprimary"> | ||||||
| 				<div class="flex-fill"> | 													<i data-icon-name="PeoplePaneMoreButton" aria-hidden="true" class="ms-Icon root-89 ms-Button-icon icon-382"> | ||||||
| 					<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Submit</button> | 														<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> | ||||||
|  | 															<path d="M6.75 10a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0Zm5 0a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM15 11.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5Z" fill="currentColor" /> | ||||||
|  | 														</svg> | ||||||
|  | 													</i> | ||||||
|  | 												</span> | ||||||
|  | 											</button> | ||||||
|  | 										</div> | ||||||
|  | 									</div> | ||||||
|  | 									<div class="ms-Stack css-384"> | ||||||
|  | 										<div id="SignatoryList" data-ui-id="participant-list" class="ms-Stack css-386" role="menu"> | ||||||
|  | 											<div role="menuitem" id="id__436" aria-label="principal3@jfaquinojr.com, , Muted, , , , " aria-labelledby="id__427 id__436" aria-expanded="true" aria-disabled="true" aria-controls="id__437" data-is-focusable="false" data-ui-id="participant-item" class="css-392"> | ||||||
|  | 												<div class="ms-Stack css-394"> | ||||||
|  | 													<div data-ui-id="chat-composite-participant-custom-avatar" class="ms-Persona ms-Persona--size32 root-396"> | ||||||
|  | 														<div role="presentation" class="ms-Persona-coin ms-Persona--size32 coin-261"> | ||||||
|  | 															<div role="presentation" class="ms-Persona-imageArea imageArea-399"> | ||||||
|  | 																<div class="ms-Persona-initials initials-402" aria-hidden="true"> | ||||||
|  | 																	<span>P</span> | ||||||
|  | 																</div> | ||||||
|  | 															</div> | ||||||
|  | 														</div> | ||||||
|  | 													</div> | ||||||
|  | 													<div style="padding: 0.5rem; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"> | ||||||
|  | 														<div class="ms-TooltipHost root-404" role="none"> | ||||||
|  | 															<span aria-labelledby="text-tooltip428" class="css-405">principal3@jfaquinojr.com</span> | ||||||
|  | 															<div hidden="" id="text-tooltip428" style="position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0px; border: 0px; overflow: hidden; white-space: nowrap;">principal3@jfaquinojr.com</div> | ||||||
|  | 														</div> | ||||||
|  | 													</div> | ||||||
|  | 													<div class="ms-Stack css-406"> | ||||||
|  | 														<div class="ms-Stack css-407"> | ||||||
|  | 															<i data-icon-name="ParticipantItemMicOff" role="img" aria-label="Muted" class="root-408"> | ||||||
|  | 																<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> | ||||||
|  | 																	<path d="M12 5v4.88l.9.9A3 3 0 0 0 13 10V5a3 3 0 0 0-6-.12l1 1V5a2 2 0 1 1 4 0ZM7 7.7 2.15 2.86a.5.5 0 1 1 .7-.7l15 15a.5.5 0 0 1-.7.7l-3.63-3.62a5.48 5.48 0 0 1-3.02 1.25v2.02a.5.5 0 0 1-1 0v-2.02a5.5 5.5 0 0 1-5-5.48.5.5 0 0 1 1 0 4.5 4.5 0 0 0 7.3 3.52l-1.06-1.07A3 3 0 0 1 7 10V7.7Zm4.02 4.02L8 8.71V10a2 2 0 0 0 3.02 1.72Zm3.78.96-.74-.74c.28-.59.44-1.25.44-1.94a.5.5 0 0 1 1 0c0 .97-.25 1.89-.7 2.68Z" fill="currentColor" /> | ||||||
|  | 																</svg> | ||||||
|  | 															</i> | ||||||
|  | 														</div> | ||||||
|  | 													</div> | ||||||
|  | 												</div> | ||||||
|  | 											</div> | ||||||
|  | 											<div role="menuitem" id="id__442" aria-label="Notary One, , , , , , " aria-labelledby="id__427 id__442" aria-expanded="false" aria-disabled="true" aria-controls="id__443" data-is-focusable="false" data-ui-id="participant-item" class="css-392"> | ||||||
|  | 												<div class="ms-Stack css-394"> | ||||||
|  | 													<div data-ui-id="chat-composite-participant-custom-avatar" class="ms-Persona ms-Persona--size32 root-396"> | ||||||
|  | 														<div role="presentation" class="ms-Persona-coin ms-Persona--size32 coin-261"> | ||||||
|  | 															<div role="presentation" class="ms-Persona-imageArea imageArea-399"> | ||||||
|  | 																<div class="ms-Persona-initials initials-409" aria-hidden="true"> | ||||||
|  | 																	<span>NO</span> | ||||||
|  | 																</div> | ||||||
|  | 															</div> | ||||||
|  | 														</div> | ||||||
|  | 													</div> | ||||||
|  | 													<div style="padding: 0.5rem; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"> | ||||||
|  | 														<div class="ms-TooltipHost root-404" role="none"> | ||||||
|  | 															<span aria-labelledby="text-tooltip428" class="css-405">Notary One</span> | ||||||
|  | 															<div hidden="" id="text-tooltip428" style="position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0px; border: 0px; overflow: hidden; white-space: nowrap;">Notary One</div> | ||||||
|  | 														</div> | ||||||
|  | 													</div> | ||||||
|  | 													<span class="css-410">(you)</span> | ||||||
|  | 													<div class="ms-Stack css-406" /> | ||||||
|  | 												</div> | ||||||
|  | 											</div> | ||||||
|  | 										</div> | ||||||
|  | 									</div> | ||||||
|  | 								</div> | ||||||
|  | 							</div> | ||||||
|  | 						</div> | ||||||
|  | 					</div> | ||||||
| 				</div> | 				</div> | ||||||
| 				<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> |  | ||||||
| 			</div> | 			</div> | ||||||
| 
 |  | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
| </div> | </template> | ||||||
| 
 | 
 | ||||||
|  | <template id="TemplateSignatoryItem"> | ||||||
|  | 	<div role="menuitem" class="css-392"> | ||||||
|  | 		<div class="ms-Stack css-394"> | ||||||
|  | 			<div class="ms-Persona ms-Persona--size32 root-396"> | ||||||
|  | 				<div role="presentation" class="ms-Persona-coin ms-Persona--size32 coin-261"> | ||||||
|  | 					<div role="presentation" class="ms-Persona-imageArea imageArea-399"> | ||||||
|  | 						<div class="ms-Persona-initials initials-402" aria-hidden="true"> | ||||||
|  | 							<span class="signatory-initials">X</span> | ||||||
|  | 						</div> | ||||||
|  | 					</div> | ||||||
|  | 				</div> | ||||||
|  | 			</div> | ||||||
|  | 			<div style="padding: 0.5rem; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;"> | ||||||
|  | 				<div class="ms-TooltipHost root-404" role="none"> | ||||||
|  | 					<span aria-labelledby="text-tooltip428" class="css-405 signatory-name">principal3@jfaquinojr.com</span> | ||||||
|  | 					<div hidden="" class="signatory-tooltip" style="position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0px; border: 0px; overflow: hidden; white-space: nowrap;">principal3@jfaquinojr.com</div> | ||||||
|  | 				</div> | ||||||
|  | 			</div> | ||||||
|  | 			<div class="ms-Stack css-406"> | ||||||
|  | 				<div class="ms-Stack css-407"> | ||||||
|  | 					<i data-icon-name="ParticipantItemMicOff" role="img" aria-label="Muted" class="root-408"> | ||||||
|  | 						<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> | ||||||
|  | 							<path d="M12 5v4.88l.9.9A3 3 0 0 0 13 10V5a3 3 0 0 0-6-.12l1 1V5a2 2 0 1 1 4 0ZM7 7.7 2.15 2.86a.5.5 0 1 1 .7-.7l15 15a.5.5 0 0 1-.7.7l-3.63-3.62a5.48 5.48 0 0 1-3.02 1.25v2.02a.5.5 0 0 1-1 0v-2.02a5.5 5.5 0 0 1-5-5.48.5.5 0 0 1 1 0 4.5 4.5 0 0 0 7.3 3.52l-1.06-1.07A3 3 0 0 1 7 10V7.7Zm4.02 4.02L8 8.71V10a2 2 0 0 0 3.02 1.72Zm3.78.96-.74-.74c.28-.59.44-1.25.44-1.94a.5.5 0 0 1 1 0c0 .97-.25 1.89-.7 2.68Z" fill="currentColor" /> | ||||||
|  | 						</svg> | ||||||
|  | 					</i> | ||||||
|  | 				</div> | ||||||
|  | 			</div> | ||||||
|  | 		</div> | ||||||
|  | 	</div> | ||||||
|  | </template> | ||||||
|  |  *@ | ||||||
| @section Scripts { | @section Scripts { | ||||||
| 	<ejs-scripts></ejs-scripts> |  | ||||||
|     <script type="text/javascript" src="/dist/_jfa.js"></script> |     <script type="text/javascript" src="/dist/_jfa.js"></script> | ||||||
|     <script type="text/javascript" src="/lib/azure-communication-service/callComposite.js"></script> |     <script type="text/javascript" src="/lib/azure-communication-service/callComposite.js"></script> | ||||||
|     <script src="~/Pages/Participant/VideoCall/Room.cshtml.js" asp-append-version="true"></script> |     <script src="~/Pages/Participant/VideoCall/Room.cshtml.js" asp-append-version="true"></script> | ||||||
|  | |||||||
| @ -257,19 +257,17 @@ | |||||||
|     let offsetX, offsetY; |     let offsetX, offsetY; | ||||||
| 
 | 
 | ||||||
|     const header = modal.querySelector('.modal-header'); |     const header = modal.querySelector('.modal-header'); | ||||||
|     const dialog = modal.querySelector('.modal-content'); |  | ||||||
| 
 | 
 | ||||||
|     header.addEventListener('mousedown', (e) => { |     header.addEventListener('mousedown', (e) => { | ||||||
|       isDragging = true; |       isDragging = true; | ||||||
|       offsetX = e.clientX - (modal.offsetLeft + dialog.offsetLeft); |       offsetX = e.clientX - modal.offsetLeft; | ||||||
|       offsetY = e.clientY - (modal.offsetTop + dialog.offsetTop); |       offsetY = e.clientY - modal.offsetTop; | ||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|     document.addEventListener('mousemove', (e) => { |     document.addEventListener('mousemove', (e) => { | ||||||
| 
 |  | ||||||
|       if (!isDragging) return; |       if (!isDragging) return; | ||||||
|       dialog.style.left = `${e.clientX - offsetX}px`; |       modal.style.left = `${e.clientX - offsetX}px`; | ||||||
|       dialog.style.top = `${e.clientY - offsetY}px`; |       modal.style.top = `${e.clientY - offsetY}px`; | ||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|     document.addEventListener('mouseup', () => { |     document.addEventListener('mouseup', () => { | ||||||
|  | |||||||
| @ -39,8 +39,8 @@ | |||||||
|                     <div class="col"> |                     <div class="col"> | ||||||
|                         <label class="form-label">Register As</label> |                         <label class="form-label">Register As</label> | ||||||
|                         <div> |                         <div> | ||||||
|                             <div class="form-check form-check-inline"><input id="IsPrincipal" class="form-check-input" type="radio" name="RoleType" checked value="Principal" asp-for="RoleType" /><label class="form-check-label" for="IsPrincipal">Principal</label></div> |                             <div class="form-check form-check-inline"><input id="IsPrincipal" class="form-check-input" type="radio" name="RoleType" checked value="@(nameof(UserType.Principal))" asp-for="RoleType" /><label class="form-check-label" for="IsPrincipal">Principal</label></div> | ||||||
|                             <div class="form-check form-check-inline"><input id="IsNotaryPublic" class="form-check-input" type="radio" name="RoleType" value="Notary" asp-for="RoleType" /><label class="form-check-label" for="IsNotaryPublic">Notary Public </label></div> |                             <div class="form-check form-check-inline"><input id="IsNotaryPublic" class="form-check-input" type="radio" name="RoleType" value="@(nameof(UserType.Notary))" asp-for="RoleType" /><label class="form-check-label" for="IsNotaryPublic">Notary Public </label></div> | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |                     </div> | ||||||
|                 </div> |                 </div> | ||||||
|  | |||||||
| @ -17,11 +17,7 @@ namespace EnotaryoPH.Web.Pages | |||||||
|             _passwordService = passwordService; |             _passwordService = passwordService; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         public void OnGet() |         public void OnGet() => RoleType = nameof(UserType.Principal); | ||||||
|         { |  | ||||||
|             RoleType = nameof(UserType.Principal); |  | ||||||
|             BirthDate = DateTime.Now.AddYears(-18); |  | ||||||
|         } |  | ||||||
| 
 | 
 | ||||||
|         public IActionResult OnPost() |         public IActionResult OnPost() | ||||||
|         { |         { | ||||||
|  | |||||||
| @ -4,7 +4,7 @@ | |||||||
| <head> | <head> | ||||||
|     <meta charset="utf-8"> |     <meta charset="utf-8"> | ||||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> |     <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> | ||||||
|     <title>eNotaryoPH | @(ViewData["Title"] ?? "Notarize Documents Online")</title> |     <title>@ViewData["Title"] | E-Notaryo PH</title> | ||||||
|     <link rel="stylesheet" href="/css/bootstrap.min.css"> |     <link rel="stylesheet" href="/css/bootstrap.min.css"> | ||||||
|     <link rel="stylesheet" href="/css/Source%20Sans%20Pro.css"> |     <link rel="stylesheet" href="/css/Source%20Sans%20Pro.css"> | ||||||
|     <link rel="stylesheet" href="/css/Articles-Cards-images.css"> |     <link rel="stylesheet" href="/css/Articles-Cards-images.css"> | ||||||
|  | |||||||
| @ -42,9 +42,12 @@ | |||||||
| <footer class="text-center"> | <footer class="text-center"> | ||||||
|     <div class="container-fluid text-muted py-4 py-lg-5"> |     <div class="container-fluid text-muted py-4 py-lg-5"> | ||||||
|         <ul class="list-inline"> |         <ul class="list-inline"> | ||||||
|             <li class="list-inline-item me-4"><a target="_blank" class="link-secondary" href="https://support.enotaryo.ph">Found a bug?</a></li> |             <li class="list-inline-item me-4"><a class="link-secondary" href="blank.html">Privacy</a></li> | ||||||
|  |             <li class="list-inline-item me-4"><a class="link-secondary" href="blank.html">FAQ</a></li> | ||||||
|  |             <li class="list-inline-item me-4"><a class="link-secondary" href="contactus.html">Contact Us</a></li> | ||||||
|  |             <li class="list-inline-item me-4"><a class="link-secondary" href="contactus.html">Found a bug?</a></li> | ||||||
|         </ul> |         </ul> | ||||||
|         <p class="mb-0">Copyright © @(DateTime.Now.Year) eNotaryoPH</p> |         <p class="mb-0">Copyright © 2024 Enotaryo</p> | ||||||
|     </div> |     </div> | ||||||
| </footer> | </footer> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -105,18 +105,12 @@ namespace EnotaryoPH.Web | |||||||
|                 .Schedule<CheckRecordingAvailabilityInvocable>() |                 .Schedule<CheckRecordingAvailabilityInvocable>() | ||||||
|                 .EveryTenSeconds()); |                 .EveryTenSeconds()); | ||||||
| 
 | 
 | ||||||
|             if (app.Environment.IsDevelopment()) |             // Configure the HTTP request pipeline. | ||||||
|  |             if (!app.Environment.IsDevelopment()) | ||||||
|             { |             { | ||||||
|                 app.UseDeveloperExceptionPage(); |  | ||||||
|             } |  | ||||||
|             else |  | ||||||
|             { |  | ||||||
|                 // UseExceptionHandler for general error handling |  | ||||||
|                 app.UseExceptionHandler("/Error"); |                 app.UseExceptionHandler("/Error"); | ||||||
| 
 |                 // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. | ||||||
|                 app.UseStatusCodePagesWithReExecute("/Error/{0}"); // Redirect to the Error page with status code |                 app.UseHsts(); | ||||||
| 
 |  | ||||||
|                 app.UseHsts(); // Only in production |  | ||||||
|             } |             } | ||||||
|             app.UseSession(); |             app.UseSession(); | ||||||
|             app.Use(async (context, next) => |             app.Use(async (context, next) => | ||||||
|  | |||||||
| @ -150,21 +150,4 @@ a span.sidemenu__menuitem__text { | |||||||
| 
 | 
 | ||||||
| .validation-summary-errors li { | .validation-summary-errors li { | ||||||
|   list-style-type: none; |   list-style-type: none; | ||||||
| } | } | ||||||
| 
 |  | ||||||
| .underline:after { |  | ||||||
|   content: ""; |  | ||||||
|   position: absolute; |  | ||||||
|   bottom: -2px; |  | ||||||
|   left: 0; |  | ||||||
|   width: 100%; |  | ||||||
|   height: 8px; |  | ||||||
|   border-radius: 5px; |  | ||||||
|   background: var(--bs-success); |  | ||||||
|   z-index: -1; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .underline { |  | ||||||
|   position: relative; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 208 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 448 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 2.0 MiB | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user