gitshow

Log | Files | Refs

log.html (626B)


      1 {{template "header" .}}
      2 
      3 {{block "log_content" .}}
      4 <div id="tab-list" role="tablist" hx-push-url="true">
      5   <button hx-get="/repos/{{.Name}}">about</button>
      6   <button hx-get="/repos/{{.Name}}/log" class="selected">log</button>
      7   <button hx-get="/repos/{{.Name}}/tree">tree</button>
      8 </div>
      9 {{$repoName := .Name}}
     10 <table>
     11 {{range .Commits}}
     12   <tr>
     13     <td class="commit-hash" hx-push-url=true
     14 			hx-get="/repos/{{$repoName}}/commit/{{.Hash.String}}">{{.Hash.String}}</td>
     15     <td class="commit-message">{{.Message}}</td>
     16 		<td class="commit-author">{{.Author.Name}}</td>
     17   </tr>
     18 {{end}}
     19 </table>
     20 {{end}}
     21 
     22 {{template "footer" .}}