Added watch, star, and fork buttons

This commit is contained in:
Sasha Koshka 2022-10-08 22:17:03 -04:00
parent cbfd69583f
commit 9cc4d96b1e
2 changed files with 21 additions and 4 deletions

View File

@ -60,11 +60,18 @@ for the JavaScript code in this page.
</div>
<header>
viewing
<span class=linkedPath>
<a href="/">owner</a>/<a href="/">repo</a>/<a href="/">branch</a>
<span>
viewing
<span class=linkedPath>
<a href="/">owner</a>/<a href="/">repo</a>/<a href="/">branch</a> |
gitea@git.tebibyte.media:/owner/repo
</span>
</span>
as user
<ul class=buttonList>
<li><a href="/">watch</a></li>
<li><a href="/">star</a></li>
<li><a href="/">fork</a></li>
</ul>
</header>

View File

@ -109,6 +109,16 @@ nav {
header {
padding: 0 1rem;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 1rem;
}
header .buttonList {
display: inline;
text-align: right;
white-space: nowrap;
}
#contentWrap {