This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Improve repository lable style
- add border-radius to filter list items - use color as background of label for issue/pull view page
tags/v1.21.12.1
Unknwon
9 years ago
parent
94d7b62922
commit
9a5a27ea8d
7 changed files
with
10 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
README.md
+1
-1
gogs.go
+1
-0
public/css/gogs.css
+1
-0
public/less/_repository.less
+1
-1
templates/.VERSION
+4
-1
templates/repo/issue/view_content.tmpl
+1
-1
templates/repo/settings/githook_edit.tmpl
+ 1
- 1
README.md
View File
@@ -3,7 +3,7 @@ Gogs - Go Git Service [
##### Current version: 0.9.1
0
##### Current version: 0.9.1
1
| Web | UI | Preview |
|:-------------:|:-------:|:-------:|
+ 1
- 1
gogs.go
View File
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.1
0.0315
"
const APP_VER = "0.9.1
1.0316
"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
+ 1
- 0
public/css/gogs.css
View File
@@ -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;
}
+ 1
- 0
public/less/_repository.less
View File
@@ -80,6 +80,7 @@
}
.filter.menu {
.label.color {
border-radius: 3px;
margin-left: 15px;
padding: 0 8px;
}
+ 1
- 1
templates/.VERSION
View File
@@ -1 +1 @@
0.9.1
0.0315
0.9.1
1.0316
+ 4
- 1
templates/repo/issue/view_content.tmpl
View File
@@ -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>
+ 1
- 1
templates/repo/settings/githook_edit.tmpl
View File
@@ -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">
Write
Preview
Loading…
Cancel
Save