web frontend for git (tangled's grandpa)
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

log: cleaner view

+18 -4
+9
static/style.css
··· 172 172 content: '>'; 173 173 } 174 174 175 + .commit { 176 + margin-bottom: 1rem; 177 + } 178 + 175 179 .commit pre { 176 180 padding-bottom: 1rem; 177 181 white-space: pre-wrap; ··· 222 226 flex-direction: row; 223 227 grid-template-columns: 1rem minmax(0, 1fr); 224 228 gap: 1rem; 229 + } 230 + 231 + .commit-info { 232 + color: var(--gray); 233 + font-size: 14px; 225 234 } 226 235 227 236 @media (max-width: 600px) {
+4 -2
templates/log.html
··· 15 15 {{ range .commits }} 16 16 <div> 17 17 <div><a href="/{{ $repo }}/commit/{{ .Hash.String }}">{{ slice .Hash.String 0 8 }}</a></div> 18 - <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> 19 18 <pre>{{ .Message }}</pre> 20 19 </div> 21 - <div class="commit-info">{{ .Author.Name }} <span class="commit-email">{{ .Author.Email }}</span></div> 20 + <div class="commit-info"> 21 + {{ .Author.Name }} <span class="commit-email">{{ .Author.Email }}</span> 22 + <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> 23 + </div> 22 24 {{ end }} 23 25 </div> 24 26 </main>
+5 -2
templates/repo.html
··· 17 17 {{ range .commits }} 18 18 <div> 19 19 <div><a href="/{{ $repo }}/commit/{{ .Hash.String }}">{{ slice .Hash.String 0 8 }}</a></div> 20 + <pre>{{ .Message }}</pre> 21 + </div> 22 + <div class="commit-info"> 23 + {{ .Author.Name }} <span class="commit-email">{{ .Author.Email }}</span> 20 24 <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> 21 - <pre>{{ .Message }}</pre> 22 25 </div> 23 - <div class="commit-info">{{ .Author.Name }} <span class="commit-email">{{ .Author.Email }}</span></div> 24 26 {{ end }} 25 27 </div> 28 + 26 29 <article class="readme"> 27 30 <pre> 28 31 {{- if .readme }}{{ .readme }}{{- end -}}