1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-27 04:38:36 +00:00
This commit is contained in:
Lunny Xiao
2014-03-19 14:40:49 +08:00
29 changed files with 239 additions and 175 deletions

View File

@@ -0,0 +1,9 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
<div id="gogs-body" class="container">
<div id="gogs-source">
</div>
</div>
{{template "base/footer" .}}

View File

@@ -0,0 +1,9 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
<div id="gogs-body" class="container">
<div id="gogs-source">
</div>
</div>
{{template "base/footer" .}}

View File

@@ -42,10 +42,10 @@
<div class="panel panel-default info-box">
<div class="panel-heading info-head">
<a href="/{{$username}}/{{$reponame}}/commit/{{.LatestCommit.SHA}}">{{.LatestCommit.Message}}</a>
<a href="/{{$username}}/{{$reponame}}/commit/{{.LastCommit.Oid.String}}">{{.LastCommit.Message}}</a>
</div>
<div class="panel-body info-content">
<a href="/user/{{.LatestCommit.Author}}">{{.LatestCommit.Author}}</a> <span class="text-muted">{{TimeSince .CurrentCommit.Committer.When}}</span>
<a href="/user/{{.LastCommit.Author.Name}}">{{.LastCommit.Author.Name}}</a> <span class="text-muted">{{TimeSince .LastCommit.Author.When}}</span>
</div>
<table class="panel-footer table file-list">
<thead class="hidden">
@@ -57,7 +57,6 @@
</tr>
</thead>
<tbody>
{{$currentCommit := .CurrentCommit}}
{{range .Files}}
<tr
{{if .IsDir}}class="is-dir"{{end}}>