-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Kang
committed
Jun 21, 2018
1 parent
5c27618
commit 96337b5
Showing
6 changed files
with
70 additions
and
70 deletions.
There are no files selected for viewing
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
34 changes: 17 additions & 17 deletions
34
src/api/app/views/webui/obs_factory/staging_projects/_legend.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
22 changes: 11 additions & 11 deletions
22
src/api/app/views/webui/obs_factory/staging_projects/_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,22 +1,22 @@ | ||
%div{class: "overall-state staging-project state-#{project.overall_state}"} | ||
%div{class: 'letter'} | ||
.letter | ||
= link_to project.letter, staging_project_path(project: @distribution.name, project_name: project.id) | ||
%div{class: 'state'} | ||
.state | ||
= link_to project.overall_state, main_app.project_show_path(project.name) | ||
%div{class: 'progress'} | ||
.progress | ||
- if project.overall_state == :building | ||
- progress = project.build_progress | ||
= link_to main_app.project_monitor_url(progress[:subproject]) do | ||
= "#{progress[:percentage]}%" | ||
#{progress[:percentage]}% | ||
- elsif project.overall_state == :review | ||
= "#{project.review_percentage}%" | ||
#{project.review_percentage}% | ||
- elsif project.overall_state == :testing | ||
= link_to "#{openqa_links_helper}/tests?hoursfresh=24&#{@distribution.openqa_filter(project)}" do | ||
= "#{project.testing_percentage}%" | ||
#{project.testing_percentage}% | ||
- if project.meta['splitter_info'] | ||
%div{class: 'splitter-info', title: 'strategy information (name, group)'} | ||
.splitter-info{ title: 'strategy information (name, group)'} | ||
- splitter_info = project.meta['splitter_info'] | ||
%div{class: 'splitter-info-strategy'} | ||
= "#{splitter_info['strategy']['name']}" | ||
%div{class: 'splitter-info-group'} | ||
= "#{splitter_info['group']}" | ||
.splitter-info-strategy | ||
#{splitter_info['strategy']['name']} | ||
.splitter-info-group | ||
#{splitter_info['group']} |
4 changes: 2 additions & 2 deletions
4
src/api/app/views/webui/obs_factory/staging_projects/_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
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