diff options
author | Unknwon <u@gogs.io> | 2016-03-15 19:52:40 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-15 19:52:40 -0400 |
commit | 9a5a27ea8d855e8724ebb066a40e43a7dea119f5 (patch) | |
tree | 7853ef7f337f47e065171473df0e6fd3899dd7b8 /templates | |
parent | 94d7b62922055d74424fa20439b563b0457b3558 (diff) | |
download | gitea-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')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/issue/view_content.tmpl | 5 | ||||
-rw-r--r-- | templates/repo/settings/githook_edit.tmpl | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 466fc8e076..80cb769f90 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.10.0315
\ No newline at end of file +0.9.11.0316
\ No newline at end of file diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 30687a2bb8..e5c3d3d42d 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -246,7 +246,10 @@ <div class="ui labels list"> <span class="no-select item {{if .HasSelectedLabel}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_label"}}</span> {{range .Labels}} - <a class="{{if not .IsChecked}}hide{{end}} item" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}"><span class="label color" style="background-color: {{.Color}}"></span> <span class="text">{{.Name}}</span></a> + <div class="item"> + <a class="ui label {{if not .IsChecked}}hide{{end}}" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{.Name}}</a> + </div> + {{end}} </div> 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"> |