|
|
@ -4,7 +4,7 @@ |
|
|
|
{{template "repo/toolbar" .}} |
|
|
|
{{template "repo/toolbar" .}} |
|
|
|
<div id="gogs-body" class="container"> |
|
|
|
<div id="gogs-body" class="container"> |
|
|
|
<div id="gogs-source"> |
|
|
|
<div id="gogs-source"> |
|
|
|
<div id="gogs-source-toolbar"> |
|
|
|
<div class="source-toolbar"> |
|
|
|
<button class="btn btn-default pull-right"><i class="fa fa-plus-square"></i>Add File</button> |
|
|
|
<button class="btn btn-default pull-right"><i class="fa fa-plus-square"></i>Add File</button> |
|
|
|
<div class="dropdown branch-switch"> |
|
|
|
<div class="dropdown branch-switch"> |
|
|
|
<a href="#" class="btn btn-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-chain"></i>master |
|
|
|
<a href="#" class="btn btn-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-chain"></i>master |
|
|
@ -32,29 +32,60 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</ol> |
|
|
|
</ol> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<table id="gogs-source-table" class="table table-hover"> |
|
|
|
<div class="panel panel-default info-box"> |
|
|
|
<thead class="hidden"> |
|
|
|
<div class="panel-heading info-head"> |
|
|
|
<tr> |
|
|
|
Merge branch 'release/1.1.1' |
|
|
|
<th class="name">Filename</th> |
|
|
|
</div> |
|
|
|
<th class="date">Date modified</th> |
|
|
|
<div class="panel-body info-content"> |
|
|
|
<th class="text">Message</th> |
|
|
|
slene authored 4 days ago |
|
|
|
</tr> |
|
|
|
</div> |
|
|
|
</thead> |
|
|
|
<table class="panel-footer table file-list"> |
|
|
|
<tbody> |
|
|
|
<thead class="hidden"> |
|
|
|
{{range .Files}} |
|
|
|
<tr> |
|
|
|
<tr {{if .IsDir}}class="is-dir"{{end}}> |
|
|
|
<th class="icon"></th> |
|
|
|
<td class="name"><i class="fa {{if .IsDir}}fa-folder{{else}}fa-file{{end}}"></i> |
|
|
|
<th class="name">Filename</th> |
|
|
|
{{if .IsDir}} |
|
|
|
<th class="text">Message</th> |
|
|
|
<a href="/{{$username}}/{{$reponame}}/tree/{{$branchname}}/{{.Path}}">{{.Name}}</a> |
|
|
|
<th class="date">Date modified</th> |
|
|
|
{{else}} |
|
|
|
</tr> |
|
|
|
<a href="/{{$username}}/{{$reponame}}/blob/{{$branchname}}/{{.Name}}">{{.Name}} - {{FileSize .Size}}</a> |
|
|
|
</thead> |
|
|
|
{{end}}</td> |
|
|
|
<tbody> |
|
|
|
<td class="date"><time datetime="{{.Created}}" data-title="true" title="{{.Created}}">{{TimeSince .Created}}</time></td> |
|
|
|
{{range .Files}} |
|
|
|
<td class="text">{{.Message}}</td> |
|
|
|
<tr {{if .IsDir}}class="is-dir"{{end}}> |
|
|
|
</tr> |
|
|
|
<td class="icon"> |
|
|
|
{{end}} |
|
|
|
<i class="fa {{if .IsDir}}fa-folder{{else}}fa-file-text-o{{end}}"></i> |
|
|
|
</tbody> |
|
|
|
</td> |
|
|
|
</table> |
|
|
|
<td class="name"> |
|
|
|
|
|
|
|
<span class="wrap"> |
|
|
|
|
|
|
|
{{if .IsDir}} |
|
|
|
|
|
|
|
<a href="/{{$username}}/{{$reponame}}/tree/{{$branchname}}/{{.Path}}">{{.Name}}</a> |
|
|
|
|
|
|
|
{{else}} |
|
|
|
|
|
|
|
<a href="/{{$username}}/{{$reponame}}/blob/{{$branchname}}/{{.Name}}">{{.Name}}</a> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
<td class="text"> |
|
|
|
|
|
|
|
<span class="wrap"> |
|
|
|
|
|
|
|
{{.Message}} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
<td class="date"> |
|
|
|
|
|
|
|
<span class="wrap"> |
|
|
|
|
|
|
|
{{TimeSince .Created}} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
</tbody> |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="panel panel-default file-content"> |
|
|
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
|
|
README.md |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="panel-body markdown"> |
|
|
|
|
|
|
|
httplib |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{template "base/footer" .}} |
|
|
|
{{template "base/footer" .}} |