diff options
author | Unknwon <u@gogs.io> | 2015-08-27 01:04:23 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-27 01:04:23 +0800 |
commit | c08600c59b8fb8d5f03fadacddb1140bc994ae94 (patch) | |
tree | 29be86d5e607203d9ba68e0af58ae04c4cea0ea1 /templates/repo/settings/githook_edit.tmpl | |
parent | 4217c2333cf9ac29af611df9826cc4b5198241fe (diff) |
new edit webhook UI
Diffstat (limited to 'templates/repo/settings/githook_edit.tmpl')
-rw-r--r-- | templates/repo/settings/githook_edit.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/settings/githook_edit.tmpl b/templates/repo/settings/githook_edit.tmpl index 40334d27..293340b1 100644 --- a/templates/repo/settings/githook_edit.tmpl +++ b/templates/repo/settings/githook_edit.tmpl @@ -10,15 +10,15 @@ {{.i18n.Tr "repo.settings.githooks"}} </h4> <div class="ui attached segment"> - <p class="center">{{.i18n.Tr "repo.settings.githook_edit_desc"}}</p> + <p>{{.i18n.Tr "repo.settings.githook_edit_desc"}}</p> <form class="ui form" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} {{with .Hook}} <div class="inline field"> <label>{{$.i18n.Tr "repo.settings.githook_name"}}</label> - <label class="text left">{{.Name}}</label> + <span>{{.Name}}</span> </div> - <div class="inline field"> + <div class="field"> <label for="content">{{$.i18n.Tr "repo.settings.githook_content"}}</label> <textarea id="content" name="content" rows="20" wrap="off">{{if .IsActive}}{{.Content}}{{else}}{{.Sample}}{{end}}</textarea> </div> |