80 lines
3.0 KiB
HTML
80 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html style="background-color: #2C2E33; color: white;">
|
|
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
|
|
<title>IGP Fan Reference</title>
|
|
<base href="/"/>
|
|
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css"
|
|
integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" rel="stylesheet">
|
|
<link href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" rel="stylesheet">
|
|
<link href="css/app.css" rel="stylesheet"/>
|
|
<link href="Device.styles.css" rel="stylesheet"/>
|
|
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet"/>
|
|
</head>
|
|
|
|
<body style="background-color: #161618; color: white;">
|
|
<div id="app">
|
|
<div style="width: 100vw; height: 100vh; background-color: black;"></div>
|
|
</div>
|
|
|
|
<div id="blazor-error-ui">
|
|
An unhandled error has occurred.
|
|
<a class="reload" href="">Reload</a>
|
|
<a class="dismiss">🗙</a>
|
|
</div>
|
|
|
|
<script src="_framework/blazor.webview.js"></script>
|
|
<script src="javascript/download.js"></script>
|
|
<script>
|
|
window.DotNetReference = null;
|
|
window.SetDotnetReference = function (dotnetReference) {
|
|
window.DotNetReference = dotnetReference;
|
|
};
|
|
|
|
window.getUserAgent = () => {
|
|
return navigator.userAgent;
|
|
};
|
|
window.SetFocusToElement = (elementId) => {
|
|
document.getElementById(elementId).focus();
|
|
};
|
|
|
|
document.addEventListener("keydown", function (e) {
|
|
DotNetReference?.invokeMethodAsync('OnKeyPress', e.key, e.ctrlKey, e.shiftKey, e.altKey, e.metaKey)
|
|
});
|
|
|
|
</script>
|
|
<script>
|
|
window.glossaryInterop = {
|
|
dotNetRef: null,
|
|
init: function(dotNetRef) {
|
|
this.dotNetRef = dotNetRef;
|
|
document.addEventListener('click', function(e) {
|
|
var target = e.target;
|
|
while (target) {
|
|
if (target.classList && target.classList.contains('glossary-link')) {
|
|
var id = target.getAttribute('data-glossary-id');
|
|
if (id && window.glossaryInterop.dotNetRef) {
|
|
window.glossaryInterop.dotNetRef.invokeMethodAsync('OpenGlossaryTerm', id);
|
|
e.preventDefault();
|
|
return;
|
|
}
|
|
}
|
|
target = target.parentElement;
|
|
}
|
|
});
|
|
}
|
|
};
|
|
</script>
|
|
<script crossorigin="anonymous"
|
|
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
|
|
src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"></script>
|
|
<script crossorigin="anonymous"
|
|
integrity="sha384-VHvPCCyXqtD5DqJeNxl2dtTyhF78xXNXdkwX1CZeRusQfRKp+tA7hAShOK/B/fQ2"
|
|
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.min.js"></script>
|
|
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
|
|
</body>
|
|
|
|
</html>
|