comparison hg-web/src/index.html @ 175:71ad34a8bc9a hg-web

[HgWeb] Can stream hg response now. Added react page for hg web since we use json anyway.
author MrJuneJune <me@mrjunejune.com>
date Tue, 20 Jan 2026 06:06:47 -0800
parents ffb764d2fcc5
children fed99fc04e12
comparison
equal deleted inserted replaced
174:1ba8c1df082c 175:71ad34a8bc9a
7 <link rel="stylesheet" href="/base.css"> 7 <link rel="stylesheet" href="/base.css">
8 <link rel="stylesheet" href="/index.css"> 8 <link rel="stylesheet" href="/index.css">
9 </head> 9 </head>
10 <body> 10 <body>
11 <main> 11 <main>
12 <div class="header"> 12 <div id="root"></div>
13
14 <!-- <div class="header">
13 <h1>Zenbu Repository</h1> 15 <h1>Zenbu Repository</h1>
14 <p class="description">Browse and clone this mercurial repository</p> 16 <p class="description">Browse and clone this mercurial repository</p>
15 </div> 17 </div>
16 18
17 <div class="clone-info"> 19 <div class="clone-info">
18 <strong>Clone this repository:</strong><br> 20 <strong>Clone this repository:</strong><br>
19 <code>hg clone http://zenbu.babocoder.com</code> 21 <code>hg clone http://zenbu.babocoder.com/repo</code>
20 </div> 22 </div>
21 23
22 <div class="breadcrumb" id="breadcrumb"></div> 24 <div class="breadcrumb" id="breadcrumb"></div>
23 25
24 <div class="file-list" id="fileList"></div> 26 <div class="file-list" id="fileList"></div>
28 <div class="readme-content" id="readmeContent"></div> 30 <div class="readme-content" id="readmeContent"></div>
29 </div> 31 </div>
30 32
31 <div class="empty-state" id="emptyState" style="display: none;"> 33 <div class="empty-state" id="emptyState" style="display: none;">
32 <p>No files found in this directory</p> 34 <p>No files found in this directory</p>
33 </div> 35 </div> -->
34 </main> 36 </main>
35 37
36 <script src="/markdown_to_html.js"></script> 38 <script src="/markdown_to_html.js"></script>
37 <script src="/index.js"></script> 39 <script src="/page.js"></script>
38 </body> 40 </body>
39 </html> 41 </html>