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

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>Crashdump viewer &amp; formatter</title>
  7. <style id="stl">
  8. table,tr,th,td { border:1px solid gray; border-collapse:collapse; vertical-align:top;}
  9. td { padding:2px; }
  10. .log { font-family:monospace; white-space:pre; }
  11. button { padding:5px;}
  12. .enabled { font-weight:900; }
  13. .disabled { text-decoration:line-through; text-decoration-color:red; font-style:italic; }
  14. </style>
  15. </head>
  16. <body>
  17. <noscript>This HTML page requires JavaScript. Sorry.</noscript>
  18. <h1>Crashdump viewer &amp; formatter</h1>
  19. <p id="introtext">
  20. Please paste a crashdump into the textarea below or select one from file.
  21. </p>
  22. <textarea id="dropzone" name=dropzone" cols="80" rows="15" wrap="off" style="white-space:pre;overflow:auto" placeholder="Paste crashdump here…">
  23. </textarea>
  24. <br>
  25. <input type="file" id="crashfile" name="logfile" />
  26. <p>
  27. <output id="list"></output>
  28. <p>
  29. <table id="tbl" style="border:1px solid gray; border-collapse:collapse;"></table>
  30. <script src="crashview.js"></script>
  31. <script>
  32. document.getElementById('crashfile').addEventListener('change', handleFileSelect, false);
  33. document.getElementById('dropzone').addEventListener('change', handleDropzone, false);
  34. </script>
  35. </body>
  36. </html>