Remove the Repositories and Clone New links from the sidebar. Add a 'Clone New...' option to the repo dropdown that shows the clone form in the content frame when selected. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
15 lines
495 B
HTML
15 lines
495 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="${showCloneForm} ? '/clone-form' : (${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>
|