|
| 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>History Tab Preview</title> |
| 7 | + <script src="https://cdn.tailwindcss.com"></script> |
| 8 | + </head> |
| 9 | + <body class="bg-gray-100 min-h-screen flex items-start justify-center p-10"> |
| 10 | + <div class="bg-white shadow-xl rounded-lg max-w-3xl w-full"> |
| 11 | + <div class="p-4 border-b flex items-center gap-3"> |
| 12 | + <div class="bg-blue-100 text-blue-600 rounded-full h-10 w-10 flex items-center justify-center font-bold">H</div> |
| 13 | + <div> |
| 14 | + <h1 class="text-xl font-bold">Commit History</h1> |
| 15 | + <p class="text-sm text-gray-500">for 'git-automation'</p> |
| 16 | + </div> |
| 17 | + </div> |
| 18 | + <div class="p-4"> |
| 19 | + <ul class="space-y-3 list-none p-0"> |
| 20 | + <li class="p-3 bg-gray-50 rounded-lg border border-gray-200"> |
| 21 | + <div class="font-sans whitespace-pre-line text-gray-900 commit-message"> |
| 22 | + |
| 23 | + Merge pull request #10 from beNative/codex/add-sqljs-support-and-configuration |
| 24 | + </div> |
| 25 | + <div class="flex flex-col gap-2 text-xs text-gray-500 mt-2 pt-2 border-t border-gray-200 sm:flex-row sm:items-center sm:justify-between"> |
| 26 | + <span>Tim Sinaeve</span> |
| 27 | + <span class="font-mono">7986e7f • 6 weeks ago</span> |
| 28 | + </div> |
| 29 | + </li> |
| 30 | + <li class="p-3 bg-gray-50 rounded-lg border border-gray-200"> |
| 31 | + <div class="font-sans whitespace-pre-line text-gray-900 commit-message"> |
| 32 | + |
| 33 | + Use bundled sql.js assets for offline operation |
| 34 | + </div> |
| 35 | + <div class="flex flex-col gap-2 text-xs text-gray-500 mt-2 pt-2 border-t border-gray-200 sm:flex-row sm:items-center sm:justify-between"> |
| 36 | + <span>Tim Sinaeve</span> |
| 37 | + <span class="font-mono">44e8c63 • 6 weeks ago</span> |
| 38 | + </div> |
| 39 | + </li> |
| 40 | + </ul> |
| 41 | + </div> |
| 42 | + </div> |
| 43 | + <script> |
| 44 | + document.querySelectorAll('.commit-message').forEach((el) => { |
| 45 | + el.textContent = el.textContent.trimStart(); |
| 46 | + }); |
| 47 | + </script> |
| 48 | + </body> |
| 49 | +</html> |
0 commit comments