-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved MonoMod details to the Harmony interface
Original will be null when patches are not present BLSE data was added when not needed Added Prism for highlighting
- Loading branch information
Showing
12 changed files
with
150 additions
and
169 deletions.
There are no files selected for viewing
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -80,6 +80,9 @@ private static string GetBase(CrashReportModel crashReport, IEnumerable<LogSourc | |
padding: 5px; | ||
} | ||
</style> | ||
<![if !IE]> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism.min.css"> | ||
<![endif]> | ||
</head> | ||
<body style='background-color: #ececec;'> | ||
<table style='width: 100%;'> | ||
|
@@ -127,7 +130,9 @@ Most likely this error was caused by a custom installed module. | |
{{Container("enhanced-stacktrace", "Enhanced Stacktrace", GetEnhancedStacktraceHtml(crashReport))}} | ||
{{Container("involved", "Involved Modules and Plugins", GetInvolvedHtml(crashReport))}} | ||
{{Container("installed-modules", "Installed Modules", GetInstalledModulesHtml(crashReport))}} | ||
{{Container("installed-plugins", $"Loaded {crashReport.Metadata.LoaderPluginProviderName} Plugins", GetLoadedBLSEPluginsHtml(crashReport))}} | ||
{{(crashReport.Metadata.LoaderPluginProviderName is not null | ||
? Container("installed-plugins", $"Loaded {crashReport.Metadata.LoaderPluginProviderName} Plugins", GetLoadedBLSEPluginsHtml(crashReport)) | ||
: string.Empty)}} | ||
{{Container("assemblies", "Assemblies", $""" | ||
<label>Hide: </label> | ||
<label><input type='checkbox' onclick='showHideByClassName(this, "sys_assembly")' /> System</label> | ||
|
@@ -152,6 +157,8 @@ Most likely this error was caused by a custom installed module. | |
<![if !IE]> | ||
<script src="https://cdn.jsdelivr.net/pako/1.0.3/pako_inflate.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.min.js"></script> | ||
<![endif]> | ||
{{Scripts}} | ||
</body> | ||
|
@@ -306,13 +313,11 @@ private static string Container(string id, string name, string content, bool hid | |
</div> | ||
"""; | ||
|
||
private static string ContainerCode(string id, string name, string content, bool hide = false) => $""" | ||
private static string ContainerCode(string id, string name, string content, string language, bool hide = false) => $""" | ||
<div> | ||
<a href="javascript:;" class="headers" onclick="showHideById(this, '{id}')">+ {name}</a> | ||
<div id="{id}" class="headers-container" style="display: none;"> | ||
<pre> | ||
{content} | ||
</pre> | ||
<pre><code class="language-{language}">{content}</code></pre> | ||
</div> | ||
</div> | ||
"""; | ||
|
Oops, something went wrong.