25 lines
818 B
Text
25 lines
818 B
Text
.devops-card-wrapper
|
|
.devops-card{ class: "devops-card-#{score_level(card.percentage_score)}" }
|
|
.devops-card-title
|
|
%h3
|
|
= card.title
|
|
.light-text
|
|
= card.description
|
|
.board-card-scores
|
|
.board-card-score
|
|
.board-card-score-value
|
|
= format_score(card.instance_score)
|
|
.board-card-score-name= _('You')
|
|
.board-card-score
|
|
.board-card-score-value
|
|
= format_score(card.leader_score)
|
|
.board-card-score-name= _('Lead')
|
|
.board-card-score-big
|
|
= number_to_percentage(card.percentage_score, precision: 1)
|
|
.board-card-buttons
|
|
- if card.blog
|
|
%a.btn-svg{ href: card.blog }
|
|
= sprite_icon('information-o')
|
|
- if card.docs
|
|
%a.btn-svg{ href: card.docs }
|
|
= sprite_icon('question-o')
|