|
|
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Crashdump viewer & 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; }
- </style>
- </head>
- <body>
- <noscript>This HTML page requires JavaScript. Sorry.</noscript>
- <h1>Crashdump viewer & formatter</h1>
- <p id="introtext">
- Please paste a crashdump into the textarea below or select one from file.
- </p>
- <textarea id="dropzone" name=dropzone" cols="80" rows="15" wrap="off" style="white-space:pre;overflow:auto" placeholder="Paste crashdump here…">
- </textarea>
- <br>
- <input type="file" id="crashfile" name="logfile" />
- <p>
- <output id="list"></output>
- <p>
- <table id="tbl" style="border:1px solid gray; border-collapse:collapse;"></table>
-
- <script src="crashview.js"></script>
- <script>
- document.getElementById('crashfile').addEventListener('change', handleFileSelect, false);
- document.getElementById('dropzone').addEventListener('change', handleDropzone, false);
- </script>
-
- </body>
- </html>
|