-
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.
Create skeleton for the request show page redesign
Co-authored-by: Daniel Donisa <daniel.donisa@suse.com> Co-authored-by: Dany Marcoux <dmarcoux@suse.com> Co-authored-by: Eduardo Navarro <enavarro@suse.com> Co-authored-by: Rubhan Azeem <rubhan.azeem@suse.com>
- Loading branch information
1 parent
349e41e
commit 9ada20b
Showing
7 changed files
with
52 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
:ruby | ||
@pagetitle = "Request #{@bs_request.number}" | ||
@pagetitle += ": #{@actions.first[:name]}" if @actions.count == 1 | ||
|
||
.card | ||
.card-body | ||
%h3 | ||
= @pagetitle | ||
%span.badge.ml-1{ class: "badge-#{request_badge_color(@bs_request.state)}" } | ||
= @bs_request.state | ||
|
||
%ul.nav.nav-tabs.scrollable-tabs.pl-0#request-tabs{ role: 'tablist' } | ||
%li.nav-item | ||
= link_to('Overview', '#overview', class: 'nav-link scrollable-tab-link text-nowrap active', 'aria-controls': 'overview', | ||
'aria-selected': 'true', 'data-toggle': 'tab', role: 'tab') | ||
%li.nav-item | ||
= link_to('Build Results', '#build-results', class: 'nav-link scrollable-tab-link text-nowrap', 'aria-controls': 'build-results', | ||
'aria-selected': 'false', 'data-toggle': 'tab', role: 'tab') | ||
%li.nav-item | ||
= link_to('Changes', '#changes', class: 'nav-link scrollable-tab-link text-nowrap', 'aria-controls': 'changes', 'aria-selected': 'false', | ||
'data-toggle': 'tab', role: 'tab') | ||
%li.nav-item | ||
= link_to('Mentioned Issues', '#mentioned-issues', class: 'nav-link scrollable-tab-link text-nowrap', 'aria-controls': 'mentioned-issues', | ||
'aria-selected': 'false', 'data-toggle': 'tab', role: 'tab') | ||
.tab-content#request-tabs-content | ||
.tab-pane.fade.show.p-2.active#overview{ 'aria-labelledby': 'overview-tab', role: 'tabpanel' } | ||
= render partial: 'webui/request/beta_show_tabs/overview' | ||
.tab-pane.fade.p-2#build-results{ 'aria-labelledby': 'build-results-tab', role: 'tabpanel' } | ||
= render partial: 'webui/request/beta_show_tabs/build_results' | ||
.tab-pane.fade.p-2#changes{ 'aria-labelledby': 'changes-tab', role: 'tabpanel' } | ||
= render partial: 'webui/request/beta_show_tabs/changes' | ||
.tab-pane.fade.p-2#mentioned-issues{ 'aria-labelledby': 'mentioned-issues-tab', role: 'tabpanel' } | ||
= render partial: 'webui/request/beta_show_tabs/mentioned_issues' |
1 change: 1 addition & 0 deletions
1
src/api/app/views/webui/request/beta_show_tabs/_build_results.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Build results |
1 change: 1 addition & 0 deletions
1
src/api/app/views/webui/request/beta_show_tabs/_changes.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Changes |
1 change: 1 addition & 0 deletions
1
src/api/app/views/webui/request/beta_show_tabs/_mentioned_issues.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Mentioned issues |
1 change: 1 addition & 0 deletions
1
src/api/app/views/webui/request/beta_show_tabs/_overview.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Overview |
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