Skip to content

Commit

Permalink
Added legend for staging workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKang committed Nov 13, 2018
1 parent 4f1268f commit 2f7e0ac
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 2 deletions.
16 changes: 16 additions & 0 deletions src/api/app/assets/stylesheets/webui2/staging-workflow.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.legend {
ul {
@extend .ml-2;

li {
span {
display: inline-flex;
width: 1rem;
height: 1rem;
@extend .border;
@extend .border-dark;
}
}
}
}

1 change: 1 addition & 0 deletions src/api/app/assets/stylesheets/webui2/webui2.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
@import 'borders';
@import 'diff';
@import 'package-show';
@import 'staging-workflow';

html {
overflow-y: scroll !important;
Expand Down
44 changes: 42 additions & 2 deletions src/api/app/views/webui2/webui/staging/workflows/_legend.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,44 @@
.card.mb-3
%h5.card-header Legend
.card-body
Placeholder for the content
.card-body.legend
.row
.col-xs-12.col-sm-4.col-xl-12
%p.mb-1 Requests
%ul.list-unstyled.small
%li
%span.bg-success
Ready
%li
%span.bg-warning
In review
%li
%span.bg-info
Obsolete
%li
%span.bg-dark
Untracked
%li
%span
%del Delete

.col-xs-12.col-sm-4.col-xl-12
%p.mb-1 Projects
%ul.list-unstyled.small
%li
%span.bg-warning
Building
%li
%span.bg-info
Testing
%li
%span.bg-secondary
Review
%li
%span.bg-success
Acceptable
%li
%span.bg-dark
Unacceptable
%li
%span.bg-danger
Failed

0 comments on commit 2f7e0ac

Please sign in to comment.