Skip to content

Commit

Permalink
removes partial closing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddvocado committed Nov 14, 2024
1 parent 1dfd044 commit 3ac03ed
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/UDS.Net.Web.MVC/Views/Shared/_LayoutBase.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - UDS.Net.Web.MVC</title>

<partial name="_LayoutHtmlHeadPartial"></partial>
<partial name="_LayoutHtmlHeadPartial" />
<link rel="stylesheet" href="~/UDS.Net.Web.MVC.styles.css" asp-append-version="true" />
</head>
<body class="h-full">
Expand All @@ -25,8 +25,8 @@
</main>
</div>

<partial name="_Footer"></partial>
<partial name="_LayoutScriptsPartial"></partial>
<partial name="_Footer" />
<partial name="_LayoutScriptsPartial" />
<script src="~/js/site.js" asp-append-version="true"></script>
@await RenderSectionAsync("Scripts", required: false)
</body>
Expand Down
6 changes: 3 additions & 3 deletions src/UDS.Net.Web.MVC/Views/Shared/_LayoutIdentity.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - UDS.Net.Forms</title>

<partial name="_LayoutHtmlHeadPartial"></partial>
<partial name="_LayoutHtmlHeadPartial" />
<link rel="stylesheet" href="~/UDS.Net.Web.MVC.styles.css" asp-append-version="true" />
</head>
<body class="h-full">
Expand Down Expand Up @@ -48,8 +48,8 @@
</main>
</div>

<partial name="_Footer"></partial>
<partial name="_LayoutScriptsPartial"></partial>
<partial name="_Footer" />
<partial name="_LayoutScriptsPartial" />
<script src="~/js/site.js" asp-append-version="true"></script>
@await RenderSectionAsync("Scripts", required: false)
</body>
Expand Down
4 changes: 2 additions & 2 deletions src/UDS.Net.Web.MVC/Views/Shared/_MobileLoginPartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
<div data-mobilemenu-target="menu" class="lg:hidden" id="mobile-menu" style="display: none;">
<div class="space-y-1 px-2 pt-2 pb-3">
<partial name="_MainMenuItems" model="@(new MenuItemViewModel() { IsMobile = true })"></partial>
<partial name="_MainMenuItems" model="@(new MenuItemViewModel() { IsMobile = true })" />
</div>
<div class="border-t border-indigo-700 pt-4 pb-3">
<div class="flex items-center px-5">
Expand All @@ -17,7 +17,7 @@
<div class="text-base font-medium text-white">@User.Identity?.Name</div>
<div class="text-sm font-medium text-indigo-300">@User.Identity?.Name</div>
</div>
<partial name="_NotificationsPartial"></partial>
<partial name="_NotificationsPartial" />
</div>
<div class="mt-3 space-y-1 px-2">
<a asp-area="Identity" asp-page="/Account/Manage/Index" title="Manage" class="block rounded-md py-2 px-3 text-base font-medium text-white hover:bg-indigo-500 hover:bg-opacity-75" role="menuitem" tabindex="-1" id="user-menu-item-1">Settings</a>
Expand Down
8 changes: 4 additions & 4 deletions src/UDS.Net.Web.MVC/Views/Shared/_NavigationMenu.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<div class="hidden lg:ml-10 lg:block">
<div class="flex space-x-4">
<partial name="_MainMenuItems" model="@(new MenuItemViewModel())"></partial>
<partial name="_MainMenuItems" model="@(new MenuItemViewModel())" />
</div>
</div>
</div>
Expand All @@ -20,10 +20,10 @@
<div class="hidden lg:ml-4 lg:block">
<div class="flex items-center">
<!--// Notifications dropdown //-->
<partial name="_NotificationsPartial"></partial>
<partial name="_NotificationsPartial" />

<!--// Profile dropdown //-->
<partial name="_LoginPartial"></partial>
<partial name="_LoginPartial" />
</div>
</div>

Expand All @@ -48,5 +48,5 @@
</div>

<!--// Mobile menu, show/hide based on menu state. //-->
<partial name="_MobileLoginPartial"></partial>
<partial name="_MobileLoginPartial" />
</nav>

0 comments on commit 3ac03ed

Please sign in to comment.