diff --git a/app/app/styles/section/github.scss b/app/app/styles/section/github.scss index 5158b846..3bca74b2 100644 --- a/app/app/styles/section/github.scss +++ b/app/app/styles/section/github.scss @@ -42,7 +42,7 @@ .section-github-render { h3 { - margin-bottom: 0px; + margin-bottom: 0px; } p { @@ -55,6 +55,7 @@ table { margin-left: 0px!important; + border: none!important; } thead.github th { @@ -67,8 +68,7 @@ tbody.github td { border: none !important; - border-bottom: 1px solid #e1e1e1 !important; - padding: 15px 30px !important; + padding: 15px 30px !important; } span.label-private { @@ -88,33 +88,45 @@ } table.milestone-table { - td a.link { + + } + + + + + +} + +/* + + + + + + table.milestone-table td a.link { font-size: 18px; } - td span.milestone { + td span.milestone { color: #3c3c3c; font-size: 18px; } - td span.date-meta { + td span.date-meta { margin-right: 10px; font-size: 14px; color: #767676; - - img { - height: 14px; - margin-right: 10px; - } - + } + td span.date-meta img { + height: 14px; + margin-right: 10px; } - progress[value] { + progress[value] { background-color: #eeeeee; border-radius: 3px; height: 10px; width: 50%; - } } table.contributor-table { @@ -141,8 +153,9 @@ line-height: 22px; } - table.issue-table { - td a.link { + + + table.issue-table td a.link { font-size: 18px; } @@ -204,6 +217,4 @@ } } } - } - } -} +*/ diff --git a/core/section/github/commits_template.go b/core/section/github/commits_template.go index 65886ba0..59f1021b 100644 --- a/core/section/github/commits_template.go +++ b/core/section/github/commits_template.go @@ -16,33 +16,23 @@ const commitsTemplate = ` {{if .HasAuthorStats}} -
There are 3 contributors across 6 repositories.
Contributor | -Assigned/Closed | -#Commits | -Branches | -||
---|---|---|---|---|---|
-
-
- {{$stats.Author}}
+ |
+ |
- {{$stats.OpenIssues}} / {{$stats.ClosedIssues}} | -{{$stats.CommitCount}} | -
- {{range $repo := $stats.Repos}}
- {{$repo}} - {{end}} + + |
+ {{$stats.Author}} has been assigned {{$stats.OpenIssues}} issues, {{$stats.ClosedIssues}} are now closed, has made {{$stats.CommitCount}} commit on 6 branches.
+ + {{range $repo := $stats.Repos}} {{$repo}}, {{end}} |
+
Repository / Milestone | -Issues | -||||
---|---|---|---|---|---|
- {{$data.Repo}}{{if $data.Private}}Private{{end}} - {{$data.Milestone}} + |
+
+ {{if $data.IsOpen}}
+ ` + openIsvg + `
+ {{else}}
+ ` + closedIsvg + `
+ {{end}}
+
|
-
-
- {{if $data.IsOpen}}
- ` + openIsvg + `
- {{else}}
- ` + closedIsvg + `
- {{end}}
+
+
+ {{$data.Message}}
+ {{$data.Milestone}} {{$data.Labels}}
+ |
+
+
+ {{$data.Repo}}
+ |
+
-
-
-
-
+ {{$data.Message}} {{$data.Labels}}
-
- |
Repository | -Milestone | -Progress | -- | ||
---|---|---|---|---|---|
- {{$data.Repo}} - {{if $data.Private}}Private{{end}} - | -
- {{$data.Name}} - {{if $data.IsMilestone}} - - - {{end}} - |
-
- {{if $data.IsMilestone}}
- - {{$data.CompleteMsg}} complete {{$data.OpenIssues}} open {{$data.ClosedIssues}} closed - {{else}} - {{$data.OpenIssues}} open {{$data.ClosedIssues}} closed - {{end}} - |
{{if $data.IsOpen}} ` + openMSsvg + ` @@ -73,6 +45,21 @@ const ( ` + closedMSsvg + ` {{end}} | +
+ {{$data.Name}}
+ {{if $data.IsMilestone}}
+
+ {{end}} + {{$data.Repo}} + |
+
+ {{if $data.IsMilestone}}
+ + {{$data.CompleteMsg}} complete {{$data.OpenIssues}} open {{$data.ClosedIssues}} closed + {{else}} + {{$data.OpenIssues}} open {{$data.ClosedIssues}} closed + {{end}} + |
Label | -Count | -Repositories | -
---|
{{$slabel.Name}} | -{{$slabel.Count}} | -{{$slabel.Repos}} | +{{$slabel.Name}} ({{$slabel.Count}}) in {{$slabel.Repos}} |