summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-15 19:52:40 -0400
committerUnknwon <u@gogs.io>2016-03-15 19:52:40 -0400
commit9a5a27ea8d855e8724ebb066a40e43a7dea119f5 (patch)
tree7853ef7f337f47e065171473df0e6fd3899dd7b8 /templates/repo/settings
parent94d7b62922055d74424fa20439b563b0457b3558 (diff)
downloadgitea-9a5a27ea8d855e8724ebb066a40e43a7dea119f5.tar.gz
gitea-9a5a27ea8d855e8724ebb066a40e43a7dea119f5.zip
Improve repository lable style
- add border-radius to filter list items - use color as background of label for issue/pull view page
Diffstat (limited to 'templates/repo/settings')
-rw-r--r--templates/repo/settings/githook_edit.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/githook_edit.tmpl b/templates/repo/settings/githook_edit.tmpl
index 22c278fe4f..d139fd3f3e 100644
--- a/templates/repo/settings/githook_edit.tmpl
+++ b/templates/repo/settings/githook_edit.tmpl
@@ -20,7 +20,7 @@
</div>
<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>
+ <textarea id="content" name="content" rows="20" wrap="off" autofocus>{{if .IsActive}}{{.Content}}{{else}}{{.Sample}}{{end}}</textarea>
</div>
<div class="inline field">