-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
List requests of a staging project on the index page
This provides a list of staged requests for each staging project. When there are more than 5 requests the additional requests are hidden and can be shown via a link. Co-authored-by: Dany Marcoux <dmarcoux@suse.com>
- Loading branch information
Showing
9 changed files
with
172 additions
and
13 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/api/app/assets/stylesheets/webui2/collapse-component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[data-toggle="collapse"] { | ||
&[aria-expanded="false"] { | ||
.collapser { | ||
display: none; | ||
} | ||
} | ||
|
||
&[aria-expanded="true"] { | ||
.expander { | ||
display: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 9 additions & 6 deletions
15
src/api/app/views/webui2/webui/staging/workflows/_overall_state.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
- # TODO: Make this a link | ||
= staging_project.staging_identifier | ||
%br | ||
= staging_project.overall_state | ||
%br | ||
= progress(staging_project) | ||
%span.badge{ class: "state-#{staging_project.overall_state}" } | ||
%span.badge.badge-light | ||
-# TODO: Link to the staging project show page | ||
= link_to(staging_project.staging_identifier, project_show_path(staging_project.staging_identifier)) | ||
%span | ||
%br | ||
= staging_project.overall_state | ||
%br | ||
= progress(staging_project) |
2 changes: 1 addition & 1 deletion
2
src/api/app/views/webui2/webui/staging/workflows/_packages_list.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Placeholder for the content | ||
= requests(staging_project) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters