-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f350d5b
Showing
440 changed files
with
34,851 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | ||
<title>BUTR.CrashReportViewer</title> | ||
<base href="/BUTR.Site.NexusMods/" /> | ||
<link rel="icon" type="image/svg+xml" href="favicon.svg"> | ||
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.css" integrity="sha256-LO7u2UQLQZYZwftu3mP+YM/VfUZES3Ob0daqb5yz2rE=" crossorigin="anonymous"> | ||
|
||
<link rel="stylesheet" href="_content/Blazorise/blazorise.css" /> | ||
<link rel="stylesheet" href="_content/Blazorise.Bootstrap5/blazorise.bootstrap5.css" /> | ||
<link rel="stylesheet" href="_content/Blazorise.Snackbar/blazorise.snackbar.css" /> | ||
<link rel="stylesheet" href="_content/Blazorise.TreeView/blazorise.treeview.css" /> | ||
<link rel="stylesheet" href="_content/Blazorise.LoadingIndicator/blazorise.loadingindicator.css" /> | ||
<link rel="stylesheet" href="_content/Blazorise.Icons.FontAwesome/v6/css/all.min.css" /> | ||
|
||
<link rel="stylesheet" href="css/app.css" /> | ||
<link rel="stylesheet" href="BUTR.Site.NexusMods.Client.styles.css" /> | ||
</head> | ||
<body> | ||
<div id="app"> | ||
<div class="loader-outer"> | ||
<div class="loader-middle"> | ||
<div class="loader-inner"> | ||
<h2>Loading...</h2> | ||
<div class="progress mt-2" style="height: 2em;"> | ||
<div id="progressbar" class="progress-bar progress-bar-striped progress-bar-animated" style="width: 10%; background-color: #204066;"></div> | ||
</div> | ||
<div> | ||
<span id="progressLabel" class="text-muted">Downloading file list</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="blazor-error-ui"> | ||
An unhandled error has occurred. | ||
<a href="" class="reload">Reload</a> | ||
<a class="dismiss">🗙</a> | ||
</div> | ||
|
||
<script src="js/before-blazor.js"></script> | ||
<script src="_framework/blazor.webassembly.js" autostart="false"></script> | ||
<script type="module"> | ||
import { BrotliDecode } from './js/decode.min.js'; | ||
let loadedCount = 0; | ||
let totalCount = 0; | ||
Blazor.start({ | ||
loadBootResource: function (type, name, defaultUri, integrity) { | ||
if (type === 'dotnetjs') { | ||
return defaultUri; | ||
} | ||
|
||
const withoutCompression = location.hostname === 'localhost'; | ||
|
||
totalCount++; | ||
|
||
return (async function () { | ||
const filename = name.substring(name.lastIndexOf('/') + 1); | ||
if (filename === 'blazor.boot.json' || (filename.startsWith('appsettings') && filename.endsWith('.json'))){ | ||
return await fetch(defaultUri, {cache: 'no-cache'}); | ||
} | ||
|
||
let response = await fetch(withoutCompression ? defaultUri : `${defaultUri}.br`, { cache: 'no-cache' }); | ||
if (!response.ok) { | ||
throw new Error(response.statusText); | ||
} | ||
|
||
if (!withoutCompression) { | ||
const originalResponseBuffer = await response.arrayBuffer(); | ||
const originalResponseArray = new Int8Array(originalResponseBuffer); | ||
const decompressedResponseArray = BrotliDecode(originalResponseArray); | ||
const contentType = type === 'dotnetwasm' ? 'application/wasm' : 'application/octet-stream'; | ||
response = new Response(decompressedResponseArray, {headers: {'content-type': contentType } }); | ||
} | ||
|
||
loadedCount++; | ||
const percentLoaded = 10 + (loadedCount * 90.0) / totalCount; | ||
const progressbar = document.getElementById('progressbar'); | ||
progressbar.style.width = `${percentLoaded}%`; | ||
const progressLabel = document.getElementById('progressLabel'); | ||
progressLabel.innerText = `Downloading ${loadedCount}/${totalCount}: ${name}`; | ||
|
||
return response; | ||
})(); | ||
} | ||
}); | ||
</script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.1/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.7.1/chart.min.js" integrity="sha512-QSkVNOCYLtj73J4hbmVoOV6KVZuMluZlioC+trLpewV8qMjsWqlIQvkn1KGX2StWvPMdWGBqim1xlC8krl1EKQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<!-- Since GitHub doesn't provide any way to get simple metrics from Pages, we use Yandex. --> | ||
<!-- Metrics are public. You can see if via the link below. Authorization needed. --> | ||
<!-- https://metrica.yandex.com/dashboard?id=87711623 --> | ||
<!-- Please create an issue on our repo if you have a better alternative! --> | ||
<!-- https://github.com/BUTR/BUTR.Site.NexusMods --> | ||
<script defer src="https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.min.js" integrity="sha384-Q979APNquWnMfwcI77qZm43RXhRv43xW3iUhlhInJ9mR1f8bsm7wUTvvBZfg85ef" crossorigin="anonymous"></script> | ||
<script defer src="js/cookieconsent-init.js"></script> | ||
<script type="text/plain" data-cookiecategory="metrics"> | ||
(function () { | ||
window.ym = window.ym || function () { (window.ym.a = window.ym.a || []).push(arguments) }; | ||
window.ym.l = 1 * new Date(); | ||
const k = document.createElement("script"); | ||
const a = document.getElementsByTagName("script")[0]; | ||
k.async = 1; | ||
k.src = "https://mc.yandex.ru/metrika/tag.js"; | ||
a.parentNode.insertBefore(k, a); | ||
})(); | ||
ym(87711623, "init", { clickmap: false, trackLinks: true, accurateTrackBounce: false }); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* /Components/Diff.razor.rz.scp.css */ | ||
ins[b-jivarn9zam] { | ||
text-decoration: none; | ||
background-color: #d4fcbc; | ||
} | ||
|
||
del[b-jivarn9zam] { | ||
text-decoration: none; | ||
background-color: #fbb6c2; | ||
color: #555; | ||
} | ||
/* /Components/Spinner.razor.rz.scp.css */ | ||
.loading[b-5x07ub1hz8] { | ||
position: fixed; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
background: #fff; | ||
} | ||
|
||
.loader[b-5x07ub1hz8] { | ||
left: 50%; | ||
margin-left: -4em; | ||
font-size: 10px; | ||
border: .8em solid rgba(218, 219, 223, 1); | ||
border-left: .8em solid rgba(58, 166, 165, 1); | ||
animation: spin-b-5x07ub1hz8 1.1s infinite linear; | ||
} | ||
|
||
.loader[b-5x07ub1hz8], .loader[b-5x07ub1hz8]:after { | ||
border-radius: 50%; | ||
width: 8em; | ||
height: 8em; | ||
display: block; | ||
position: absolute; | ||
top: 50%; | ||
margin-top: -4.05em; | ||
} | ||
|
||
@keyframes spin-b-5x07ub1hz8 { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
|
||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} |
Oops, something went wrong.