Skip to content

Commit

Permalink
Last Details
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosBlanco1 committed Dec 7, 2023
1 parent ef80f0a commit 9c2e29f
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 12 deletions.
9 changes: 1 addition & 8 deletions Website/Pages/BuildAToy.razor
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
@inject IUserRoleService userRoleService
@inject NavigationManager navigationManager

<PageTitle>BuildAToy</PageTitle>
<h3>Character Creator</h3>

@if (userRoleService.IsAuthenticated)
{
<body>

<div id="flex-container">
<div id="accessory-column" Class="flex-column">
Expand Down Expand Up @@ -68,7 +67,6 @@

<script src="js/drawingscript.js" type="module"></script>

</body>


@*
Expand Down Expand Up @@ -150,11 +148,6 @@ else
}







@code {
private ClaimsPrincipal User;
private int userId { get; set; }
Expand Down
12 changes: 11 additions & 1 deletion Website/Pages/Cart.razor
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,17 @@
}
else
{
<a>You are not logged in. Log in to see your cart.</a>
<div id="video-container">
<video id="video-background" autoplay muted loop>
<source src="/Videos/NotLoggedIn.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div id="video-overlay">
<p id="main-title">Sorry You're Not Logged In!</p>
<p id="sub-title"> Log In To Access This Content</p>
<a href="/identity/login" class="apple-button">Log In</a>
</div>
</div>
}


Expand Down
11 changes: 10 additions & 1 deletion Website/Pages/Manager.razor
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,16 @@
}
else
{
<div>You're not a manager</div>
<div id="video-container">
<video id="video-background" autoplay muted loop>
<source src="/Videos/Manager.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div id="video-overlay">
<p id="main-title">You're not Authorized to see This Content!</p>
<a href="/" class="apple-button">Return To Home</a>
</div>
</div>
}

@code {
Expand Down
12 changes: 11 additions & 1 deletion Website/Pages/MyCreations.razor
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,17 @@

else
{
<a>You need to log in to view your creations</a>
<div id="video-container">
<video id="video-background" autoplay muted loop>
<source src="/Videos/NotLoggedIn.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div id="video-overlay">
<p id="main-title">Sorry You're Not Logged In!</p>
<p id="sub-title"> Log In To Access This Content</p>
<a href="/identity/login" class="apple-button">Log In</a>
</div>
</div>
}

@code {
Expand Down
11 changes: 10 additions & 1 deletion Website/Pages/UpdateKitImage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,16 @@
}
else
{
<h3>Please sign up as an admin to view this page</h3>
<div id="video-container">
<video id="video-background" autoplay muted loop>
<source src="/Videos/Manager.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div id="video-overlay">
<p id="main-title">You're not Authorized to see This Content!</p>
<a href="/" class="apple-button">Return To Home</a>
</div>
</div>
}

@code {
Expand Down
Binary file added Website/wwwroot/Videos/Manager.mp4
Binary file not shown.
Binary file added Website/wwwroot/Videos/NotLoggedIn.mp4
Binary file not shown.

0 comments on commit 9c2e29f

Please sign in to comment.