diff options
author | Unknwon <u@gogs.io> | 2015-08-26 21:45:51 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-26 21:45:51 +0800 |
commit | 28814564212b7c64136cc3eda3774af56983557e (patch) | |
tree | c0ea1c8ecb6504241a1d2b4111075ee2b0905470 /templates/repo/settings/githooks.tmpl | |
parent | 1cb03135b745675e614b0b89ab3fde412276fec1 (diff) | |
download | gitea-28814564212b7c64136cc3eda3774af56983557e.tar.gz gitea-28814564212b7c64136cc3eda3774af56983557e.zip |
new webhooks list UI
Diffstat (limited to 'templates/repo/settings/githooks.tmpl')
-rw-r--r-- | templates/repo/settings/githooks.tmpl | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/templates/repo/settings/githooks.tmpl b/templates/repo/settings/githooks.tmpl index 6c0af1f2ff..8120b80e17 100644 --- a/templates/repo/settings/githooks.tmpl +++ b/templates/repo/settings/githooks.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="repository settings hooks"> +<div class="repository settings githooks"> {{template "repo/header" .}} <div class="ui container"> <div class="ui grid"> @@ -16,13 +16,9 @@ </div> {{range .Hooks}} <div class="item"> - {{if .IsActive}} - <span class="text success"><i class="octicon octicon-check"></i></span> - {{else}} - <span class="text grey"><i class="octicon octicon-primitive-dot"></i></span> - {{end}} + <span class="text {{if .IsActive}}green{{else}}grey{{end}}"><i class="octicon octicon-primitive-dot"></i></span> <span>{{.Name}}</span> - <a href="{{$.RepoLink}}/settings/hooks/git/{{.Name}}" class="text blue ui right"><i class="fa fa-pencil"></i></a> + <a class="text blue ui right" href="{{$.RepoLink}}/settings/hooks/git/{{.Name}}"><i class="fa fa-pencil"></i></a> </div> {{end}} </div> |