diff options
author | Unknwon <u@gogs.io> | 2015-11-16 23:28:46 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-16 23:28:46 -0500 |
commit | 9ab96172fc41c5a10f88045d6a19e83641e3b859 (patch) | |
tree | 9bf80165cadf7d63dc942a4241740c8c0656462e /templates/repo/forks.tmpl | |
parent | e06558e2083e6281500cc1c91ac54425b91390fe (diff) | |
download | gitea-9ab96172fc41c5a10f88045d6a19e83641e3b859.tar.gz gitea-9ab96172fc41c5a10f88045d6a19e83641e3b859.zip |
new watchers, stars and forks UI
Diffstat (limited to 'templates/repo/forks.tmpl')
-rw-r--r-- | templates/repo/forks.tmpl | 44 |
1 files changed, 20 insertions, 24 deletions
diff --git a/templates/repo/forks.tmpl b/templates/repo/forks.tmpl index d1fd0320c0..e3fd90c671 100644 --- a/templates/repo/forks.tmpl +++ b/templates/repo/forks.tmpl @@ -1,27 +1,23 @@ -{{template "ng/base/head" .}} -{{template "ng/base/header" .}} -<div id="repo-wrapper"> - {{template "repo/header_old" .}} - <div id="repo-content" class="clear container"> - <div id="repo-main" class="left grid-5-6"> - <div id="forks"> - <h4> - <strong>{{.i18n.Tr "repos.forks"}}</strong> - </h4> - - <ol> - {{range .Forks}} - <p> - <img class="avatar-small" src="{{.Owner.AvatarLink}}"> - <a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a> - / - <a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a> - </p> - {{end}} - </div> +{{template "base/head" .}} +<div class="repository forks"> + {{template "repo/header" .}} + <div class="ui container"> + {{template "repo/sidebar" .}} + <h2 class="ui dividing header"> + {{.i18n.Tr "repo.forks"}} + </h2> + <div class="ui list"> + {{range .Forks}} + <div class="item"> + <img class="ui avatar image" src="{{.Owner.AvatarLink}}"> + <div class="link"> + <a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a> + / + <a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a> + </div> </div> - - {{template "repo/sidebar" .}} + {{end}} </div> + </div> </div> -{{template "ng/base/footer" .}} +{{template "base/footer" .}} |