diff --git a/app/app/styles/section/trello.scss b/app/app/styles/section/trello.scss index 20bba3e8..31c09bee 100644 --- a/app/app/styles/section/trello.scss +++ b/app/app/styles/section/trello.scss @@ -5,6 +5,7 @@ overflow: auto } + .section-trello-board-title { font-weight: bold; color: #fff; @@ -32,6 +33,34 @@ .section-trello-render { + + table.trello-table { + border:none!important; + margin-left: 0 !important; + margin-bottom: 20px !important; + } + + table.trello-table td { + border:none!important; + padding: 20px 20px 0 0 !important; + } + + span.trello-label { + padding: 4px 10px; + color: white; + border-radius: 3px; + text-shadow: 0 0 5px rgba(0,0,0,.2),0 0 2px #000; + } + + .trello-avatar { + border-radius: 3px; + } + + h6 { + font-size: 18px; + margin: 0; + } + > .trello-board { width: 100%; max-height: 600px; @@ -44,7 +73,7 @@ font-weight: bold; color: #fff; font-size: 16px; - } + } } > .trello-list { @@ -65,7 +94,7 @@ font-size: 14px; margin: 0 10px 10px 0; } - + > a { > .trello-card { color: #4c4c4c; @@ -82,8 +111,8 @@ white-space: normal; cursor: pointer; vertical-align: top; - } + } } } } -} \ No newline at end of file +} diff --git a/core/section/trello/labels_template.go b/core/section/trello/labels_template.go index a9afd9db..9a853192 100644 --- a/core/section/trello/labels_template.go +++ b/core/section/trello/labels_template.go @@ -12,13 +12,24 @@ package trello const labelsTemplate = ` -Labels
-{{range $l := .SharedLabels}} - {{ $l.Name }} - {{range $brd := $l.Boards}} - {{ $brd }}, - {{end}} -
-{{end}} -
+

Labels

+

There are {{len .SharedLabels}} common labels across the boards.

+
+ + + {{range $l := .SharedLabels}} + + + + + {{end}} + +
+ {{ $l.Name }} ({{len $l.Boards}}) + + {{range $brd := $l.Boards}} + {{ $brd }}, + {{end}} +
+
` diff --git a/core/section/trello/members_template.go b/core/section/trello/members_template.go index 08c924ef..7f9663fc 100644 --- a/core/section/trello/members_template.go +++ b/core/section/trello/members_template.go @@ -12,14 +12,28 @@ package trello const membersTemplate = ` -Member Stats
-{{range $m := .MemberBoardAssign}} - - {{$m.MemberName}} : - {{range $ac := $m.AssignCounts}} - {{$ac.BoardName}} ({{$ac.Count}}), - {{end}} -
-{{end}} -
+

Member Stats

+

There are {{len .MemberBoardAssign}} members assigned to ##9 cards across {{len .Boards}} boards.

+ +
+ + + + {{range $m := .MemberBoardAssign}} + + + + + {{end}} + +
+ Member Avatar + +
{{$m.MemberName}}
+ {{range $ac := $m.AssignCounts}} + {{$ac.BoardName}} ({{$ac.Count}}), + {{end}} +
+
+ `