Skip to content

Commit

Permalink
Adding custom css & js to TheAdmin theme
Browse files Browse the repository at this point in the history
  • Loading branch information
urbanit committed Mar 18, 2024
1 parent e09def7 commit fb83b1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/OrchardCore.Themes/TheAdmin/Views/Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<script asp-name="admin" version="1" at="Foot"></script>

<resources type="Header" />

<link rel="stylesheet" href="/@ThemeTogglerService.CurrentTenant/css/admin.css">
@await RenderSectionAsync("HeadMeta", required: false)
</head>
<body class="preload">
Expand Down Expand Up @@ -91,5 +91,6 @@
</div>
<div id="confirmRemoveModalMetadata" data-title="@T["Delete"]" data-message="@T["Are you sure you want to remove this element?"]" data-ok-text="@T["Ok"]" data-cancel-text="@T["Cancel"]" data-ok-class="btn-danger" data-cancel-class="btn-secondary"></div>
<resources type="Footer" />
<script src="/@ThemeTogglerService.CurrentTenant/js/admin.js"></script>
</body>
</html>

0 comments on commit fb83b1e

Please sign in to comment.