Commit bbfca815b0
Verified · cmc ci/build: success ci/test: success
Layout: unified · split
internal/web/static/style.css +5 −3
| @@ -859,10 +859,10 @@ ul.loglist li { | |||
| 859 | ul.loglist li:last-child { border-bottom: 0; } | 859 | ul.loglist li:last-child { border-bottom: 0; } |
| 860 | ul.loglist li:hover { background: var(--hover); } | 860 | ul.loglist li:hover { background: var(--hover); } |
| 861 | ul.loglist p { margin: 0; } | 861 | ul.loglist p { margin: 0; } |
| 862 | ul.loglist .commitmain { flex: 1; min-width: 0; } | 862 | ul.loglist .commitmain { flex: 1 1 auto; min-width: 0; } |
| 863 | ul.loglist .subject a { color: var(--fg); font-weight: 500; } | 863 | ul.loglist .subject a { color: var(--fg); font-weight: 500; } |
| 864 | ul.loglist .subject a:hover { color: var(--link); } | 864 | ul.loglist .subject a:hover { color: var(--link); } |
| 865 | ul.loglist .commitside { display: flex; align-items: baseline; gap: var(--sp-2); white-space: nowrap; } | 865 | ul.loglist .commitside { flex: none; display: flex; gap: var(--sp-2); align-items: center; white-space: nowrap; } |
| 866 | 866 | ||
| 867 | ul.repolist { list-style: none; margin: var(--sp-3) 0 var(--sp-5); padding: 0; } | 867 | ul.repolist { list-style: none; margin: var(--sp-3) 0 var(--sp-5); padding: 0; } |
| 868 | ul.repolist li { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--faint); } | 868 | ul.repolist li { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--faint); } |
| @@ -901,7 +901,7 @@ ul.issuelist li:last-child { border-bottom: 0; } | |||
| 901 | ul.issuelist li:hover { background: var(--hover); } | 901 | ul.issuelist li:hover { background: var(--hover); } |
| 902 | ul.issuelist li.empty { display: block; } | 902 | ul.issuelist li.empty { display: block; } |
| 903 | ul.issuelist p { margin: 0; } | 903 | ul.issuelist p { margin: 0; } |
| 904 | ul.issuelist .issuemain { flex: 1; min-width: 0; } | 904 | ul.issuelist .issuemain { flex: 1 1 auto; min-width: 0; } |
| 905 | ul.issuelist .title a { color: var(--fg); font-weight: 500; } | 905 | ul.issuelist .title a { color: var(--fg); font-weight: 500; } |
| 906 | ul.issuelist .title a:hover { color: var(--link); } | 906 | ul.issuelist .title a:hover { color: var(--link); } |
| 907 | 907 | ||
| @@ -1494,4 +1494,6 @@ svg.icon { vertical-align: -0.125em; } | |||
| 1494 | .blameinfo { width: auto; } | 1494 | .blameinfo { width: auto; } |
| 1495 | .blamecode { border-left: 0; padding-left: var(--sp-3); width: 100%; } | 1495 | .blamecode { border-left: 0; padding-left: var(--sp-3); width: 100%; } |
| 1496 | .factgrid { grid-template-columns: repeat(2, auto); } | 1496 | .factgrid { grid-template-columns: repeat(2, auto); } |
| 1497 | ul.loglist li { flex-wrap: wrap; } | ||
| 1498 | ul.loglist .commitside { width: 100%; justify-content: flex-start; } | ||
| 1497 | } | 1499 | } |
internal/web/templates/issue.html +2 −2
| @@ -15,7 +15,7 @@ | |||
| 15 | <p><input type="text" name="title" aria-label="Title" value="{{.Issue.Title}}" required></p> | 15 | <p><input type="text" name="title" aria-label="Title" value="{{.Issue.Title}}" required></p> |
| 16 | <p><textarea name="body" aria-label="Description" rows="8">{{.Issue.Body}}</textarea></p> | 16 | <p><textarea name="body" aria-label="Description" rows="8">{{.Issue.Body}}</textarea></p> |
| 17 | <p><input type="text" name="labels" aria-label="Labels" value="{{range $i, $l := .Issue.Labels}}{{if $i}} {{end}}{{$l}}{{end}}" placeholder="labels, space-separated (write access)"></p> | 17 | <p><input type="text" name="labels" aria-label="Labels" value="{{range $i, $l := .Issue.Labels}}{{if $i}} {{end}}{{$l}}{{end}}" placeholder="labels, space-separated (write access)"></p> |
| 18 | <p><button type="submit" class="btn">save</button></p> | 18 | <p><button type="submit" class="btn">Save</button></p> |
| 19 | </form></details>{{end}} | 19 | </form></details>{{end}} |
| 20 | {{if .BodyHTML}}<article class="comment"> | 20 | {{if .BodyHTML}}<article class="comment"> |
| 21 | <header class="commenthead"><strong><a href="/{{.Issue.Author}}">{{.Issue.Author}}</a></strong> <span class="when">{{when .Issue.CreatedAt}}</span></header> | 21 | <header class="commenthead"><strong><a href="/{{.Issue.Author}}">{{.Issue.Author}}</a></strong> <span class="when">{{when .Issue.CreatedAt}}</span></header> |
| @@ -31,7 +31,7 @@ | |||
| 31 | {{if .Viewer}} | 31 | {{if .Viewer}} |
| 32 | <form method="post" action="/{{.Repo.OwnerName}}/{{.Repo.Name}}/issues/{{.Issue.Number}}/comment" class="commentform"> | 32 | <form method="post" action="/{{.Repo.OwnerName}}/{{.Repo.Name}}/issues/{{.Issue.Number}}/comment" class="commentform"> |
| 33 | <p><textarea name="body" aria-label="Comment" rows="4" placeholder="Comment as {{.Viewer}}"></textarea></p> | 33 | <p><textarea name="body" aria-label="Comment" rows="4" placeholder="Comment as {{.Viewer}}"></textarea></p> |
| 34 | <p><button type="submit" class="btn">comment</button></p> | 34 | <p><button type="submit" class="btn">Comment</button></p> |
| 35 | </form> | 35 | </form> |
| 36 | {{end}} | 36 | {{end}} |
| 37 | </div> | 37 | </div> |
internal/web/templates/log.html +1 −1
| @@ -4,7 +4,7 @@ | |||
| 4 | <form method="get" class="logfilter" action="/{{.Repo.OwnerName}}/{{.Repo.Name}}/log/{{.Ref}}"> | 4 | <form method="get" class="logfilter" action="/{{.Repo.OwnerName}}/{{.Repo.Name}}/log/{{.Ref}}"> |
| 5 | <label for="path">Path</label> | 5 | <label for="path">Path</label> |
| 6 | <input type="text" id="path" name="path" value="{{.FilePath}}" placeholder="filter to a file or directory"> | 6 | <input type="text" id="path" name="path" value="{{.FilePath}}" placeholder="filter to a file or directory"> |
| 7 | <button type="submit" class="btn">Search</button> | 7 | <button type="submit" class="btn">Filter</button> |
| 8 | {{if .FilePath}}<a class="act" href="/{{.Repo.OwnerName}}/{{.Repo.Name}}/log/{{.Ref}}">Clear</a>{{end}} | 8 | {{if .FilePath}}<a class="act" href="/{{.Repo.OwnerName}}/{{.Repo.Name}}/log/{{.Ref}}">Clear</a>{{end}} |
| 9 | </form> | 9 | </form> |
| 10 | {{if .FilePath}}<p class="meta">history of <a href="/{{.Repo.OwnerName}}/{{.Repo.Name}}/blob/{{.Ref}}/{{.FilePath}}"><code>{{.FilePath}}</code></a></p>{{end}} | 10 | {{if .FilePath}}<p class="meta">history of <a href="/{{.Repo.OwnerName}}/{{.Repo.Name}}/blob/{{.Ref}}/{{.FilePath}}"><code>{{.FilePath}}</code></a></p>{{end}} |