|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + |
| 4 | +<head> |
| 5 | + <meta charset="UTF-8"> |
| 6 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 8 | + <title>LSP Devtools</title> |
| 9 | + |
| 10 | + <link rel="stylesheet" href="./dist/styles.css"> |
| 11 | + <script defer src="./dist/index.js"></script> |
| 12 | +</head> |
| 13 | + |
| 14 | +<body> |
| 15 | + <div class="flex flex-column justify-between"> |
| 16 | + <div> |
| 17 | + <table class="border-collapse "> |
| 18 | + <thead> |
| 19 | + <tr class="py-2"> |
| 20 | + <th class="px-4">Timestamp</th> |
| 21 | + <th class="px-4">Source</th> |
| 22 | + <th class="px-4">ID</th> |
| 23 | + <th class="px-4">Method</th> |
| 24 | + <th class="px-4">Params</th> |
| 25 | + <th class="px-4">Result</th> |
| 26 | + <th class="px-4">Error</th> |
| 27 | + </tr> |
| 28 | + </thead> |
| 29 | + <tbody id="table-body"> |
| 30 | + </tbody> |
| 31 | + </table> |
| 32 | + </div> |
| 33 | + <div id="json-viewer" class="h-screen sticky top-0 flex-grow max-w-[40vw]"> |
| 34 | + |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + |
| 38 | + <template id="table-row"> |
| 39 | + <tr class="border-t py-1"> |
| 40 | + <td class="px-4"></td> |
| 41 | + <td class="px-4"></td> |
| 42 | + <td class="px-4 text-right"></td> |
| 43 | + <td class="px-4"></td> |
| 44 | + <td class="px-2"></td> |
| 45 | + <td class="px-2"></td> |
| 46 | + <td class="px-2"></td> |
| 47 | + </tr> |
| 48 | + </template> |
| 49 | + |
| 50 | + <template id="view-button"> |
| 51 | + <button |
| 52 | + class="flex px-2 py-1 text-sm items-center justify-between bg-blue-500 hover:bg-blue-400 rounded-md text-white"> |
| 53 | + <span class="mr-2">View</span> |
| 54 | + <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" |
| 55 | + stroke="currentColor" class="w-5 h-5"> |
| 56 | + <path stroke-linecap="round" stroke-linejoin="round" |
| 57 | + d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" /> |
| 58 | + </svg> |
| 59 | + </button> |
| 60 | + </template> |
| 61 | + |
| 62 | +</body> |
| 63 | + |
| 64 | +</html> |
0 commit comments