fix: Escape @ symbols in Razor _AdminLayout.cshtml for proper compilation
Deploy to Production / Build Release (push) Successful in 32s
Deploy to Production / Pre-Deployment Verification (push) Failing after 1s
Deploy to Production / Deploy to Production (push) Has been skipped
Deploy to Production / Post-Deployment Reporting (push) Successful in 1s
Deploy to Production / Build Release (push) Successful in 32s
Deploy to Production / Pre-Deployment Verification (push) Failing after 1s
Deploy to Production / Deploy to Production (push) Has been skipped
Deploy to Production / Post-Deployment Reporting (push) Successful in 1s
- Change @tabler to @@tabler in CDN URLs (3 instances) • Line 13: Tabler CSS link • Line 14: Tabler vendors CSS link • Line 230: Tabler JS script - Change @media to @@media in CSS media query • Line 150: Mobile responsive styles Razor engine was interpreting @ symbols as variable start, causing CS0103 compile errors. Escaping with @@ fixes the issue while preserving intended CDN URLs and CSS syntax. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,9 +10,9 @@
|
|||||||
<title>@ViewData["Title"] - QuantEngine</title>
|
<title>@ViewData["Title"] - QuantEngine</title>
|
||||||
|
|
||||||
<!-- Tabler CSS -->
|
<!-- Tabler CSS -->
|
||||||
<link href="https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0/dist/css/tabler.min.css" rel="stylesheet" />
|
<link href="https://cdn.jsdelivr.net/npm/@@tabler/core@1.0.0/dist/css/tabler.min.css" rel="stylesheet" />
|
||||||
<link href="https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0/dist/css/tabler-vendors.min.css" rel="stylesheet" />
|
<link href="https://cdn.jsdelivr.net/npm/@@tabler/core@1.0.0/dist/css/tabler-vendors.min.css" rel="stylesheet" />
|
||||||
<link href="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/tabler-icons.css" rel="stylesheet" />
|
<link href="https://cdn.jsdelivr.net/npm/@@tabler/icons@latest/tabler-icons.css" rel="stylesheet" />
|
||||||
|
|
||||||
<!-- Custom Admin CSS -->
|
<!-- Custom Admin CSS -->
|
||||||
<link rel="stylesheet" href="~/css/admin.css" asp-append-version="true" />
|
<link rel="stylesheet" href="~/css/admin.css" asp-append-version="true" />
|
||||||
@@ -147,7 +147,7 @@
|
|||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@@media (max-width: 768px) {
|
||||||
.sidebar {
|
.sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: -260px;
|
left: -260px;
|
||||||
@@ -227,7 +227,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Tabler JS -->
|
<!-- Tabler JS -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0/dist/js/tabler.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/@@tabler/core@1.0.0/dist/js/tabler.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user