p≡p JSON adapter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.3 KiB

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Crashdump viewer &amp; formatter</title>
<style id="stl">
table,tr,th,td { border:1px solid gray; border-collapse:collapse; vertical-align:top;}
td { padding:2px; }
.log { font-family:monospace; white-space:pre; }
button { padding:5px;}
.enabled { font-weight:900; }
.disabled { text-decoration:line-through; text-decoration-color:red; font-style:italic; }
<noscript>This HTML page requires JavaScript. Sorry.</noscript>
<h1>Crashdump viewer &amp; formatter</h1>
<p id="introtext">
Please paste a crashdump into the textarea below or select one from file.
<textarea id="dropzone" name=dropzone" cols="80" rows="15" wrap="off" style="white-space:pre;overflow:auto" placeholder="Paste crashdump here…">
<input type="file" id="crashfile" name="logfile" />
<output id="list"></output>
<table id="tbl" style="border:1px solid gray; border-collapse:collapse;"></table>
<script src="crashview.js"></script>
document.getElementById('crashfile').addEventListener('change', handleFileSelect, false);
document.getElementById('dropzone').addEventListener('change', handleDropzone, false);