- add border-radius to filter list items - use color as background of label for issue/pull view pagetags/v0.9.99
@@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra | |||
![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true) | |||
##### Current version: 0.9.10 | |||
##### Current version: 0.9.11 | |||
| Web | UI | Preview | | |||
|:-------------:|:-------:|:-------:| |
@@ -17,7 +17,7 @@ import ( | |||
"github.com/gogits/gogs/modules/setting" | |||
) | |||
const APP_VER = "0.9.10.0315" | |||
const APP_VER = "0.9.11.0316" | |||
func init() { | |||
runtime.GOMAXPROCS(runtime.NumCPU()) |
@@ -1140,6 +1140,7 @@ footer .container .links > *:first-child { | |||
border-bottom: none; | |||
} | |||
.repository .filter.menu .label.color { | |||
border-radius: 3px; | |||
margin-left: 15px; | |||
padding: 0 8px; | |||
} |
@@ -80,6 +80,7 @@ | |||
} | |||
.filter.menu { | |||
.label.color { | |||
border-radius: 3px; | |||
margin-left: 15px; | |||
padding: 0 8px; | |||
} |
@@ -1 +1 @@ | |||
0.9.10.0315 | |||
0.9.11.0316 |
@@ -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> | |||
@@ -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"> |