-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path_Layout.cshtml
More file actions
48 lines (44 loc) · 1.79 KB
/
Copy path_Layout.cshtml
File metadata and controls
48 lines (44 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@using Microsoft.AspNetCore.Components.Web
@using DevExpress.Blazor
@namespace GridExportingWithReports.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="~/" />
@foreach(var file in Themes.Fluent.GetFilePaths()) {
<link href="@file" rel="stylesheet" />
}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="~/css/site.css" rel="stylesheet" />
<link href="GridExportingWithReports.styles.css" rel="stylesheet" />
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head>
<body>
@{
var isIEOrEdgeLegacy = Context.Request.Headers["User-Agent"]
.Any(userAgent => userAgent.Contains("MSIE") || userAgent.Contains("Trident") || userAgent.Contains("Edge/"));
}
@if(isIEOrEdgeLegacy)
{
<component type="typeof(GridExportingWithReports.Shared.BrowserNotSupported)" render-mode="Static" />
}
else
{
@RenderBody()
<div id="blazor-error-ui">
<environment include="Staging,Production">
An error has occurred. This application may no longer respond until reloaded.
</environment>
<environment include="Development">
An unhandled exception has occurred. See browser dev tools for details.
</environment>
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="_framework/blazor.server.js"></script>
}
</body>
</html>