Replace single-page layout with a frameset: left navigation frame with repo dropdown and page links, right content frame showing the selected page. Split the repo page into separate sub-pages: branches, changes, remote, and manage. Uses <frameset> for maximum compatibility with ancient browsers (Netscape 2+, IE 3+). Clone and delete forms target _top to reload the full frameset when the repo list changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
15 lines
458 B
HTML
15 lines
458 B
HTML
<html xmlns:th="http://www.thymeleaf.org">
|
|
<head>
|
|
<title>WebGit</title>
|
|
</head>
|
|
<frameset cols="180,*">
|
|
<frame th:src="${selectedRepo != null} ? '/nav?repo=' + ${selectedRepo} : '/nav'" name="nav">
|
|
<frame th:src="${selectedRepo != null} ? '/repo/' + ${selectedRepo} + '/branches' : '/welcome'" name="content">
|
|
<noframes>
|
|
<body>
|
|
<p>Your browser does not support frames. <a href="/repos">Click here</a> to continue.</p>
|
|
</body>
|
|
</noframes>
|
|
</frameset>
|
|
</html>
|