-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #960 from RedHatInsights/enhancements/pug-grouping
update pug to be more modular
- Loading branch information
Showing
11 changed files
with
38 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,3 @@ | ||
header.pf-c-page__header(role='banner') | ||
.pf-c-page__header-brand.ins-c-page__header-brand--loading | ||
.pf-c-page__header-brand-toggle | ||
button.pf-c-button.pf-m-plain(aria-label='Toggle primary navigation' widget-type='InsightsNavToggle' type='button') | ||
img(src='apps/chrome/assets/images/primary-nav-hamburger-toggle.svg') | ||
a.pf-c-page__header-brand-link(href='#') | ||
img(src='apps/chrome/assets/images/logo.svg' alt='cloud.redhat.com logo') | ||
.pf-c-page__header-tools(widget-type='InsightsToolbar') | ||
.pf-c-page__header-tools-group.pf-m-icons | ||
button.pf-c-button.pf-m-plain(aria-label='Settings' widget-type='SettingsButton' type='button') | ||
img(src='apps/chrome/assets/images/settings-button.svg') | ||
button.pf-c-button.pf-m-plain(aria-label='Overflow FAQ' widget-type='InsightsFAQ' type='button') | ||
img(src='apps/chrome/assets/images/faq-button.svg') | ||
.pf-c-page__header-tools-group | ||
.pf-c-dropdown.pf-u-hidden-on-lg(aria-label='Overflow actions' widget-type='InsightsOverflowActions') | ||
button.pf-c-dropdown__toggle.pf-m-plain(aria-label='Actions' type='button' aria-expanded='false' aria-haspopup='true') | ||
img(src='apps/chrome/assets/images/overflow-actions-sm.svg') | ||
.pf-m-user.pf-m-user-skeleton | ||
.pf-c-dropdown(aria-label='Overflow actions' widget-type='InsightsOverflowActions') | ||
.pf-c-dropdown__toggle.pf-m-plain(aria-expanded='false') | ||
.ins-c-skeleton.ins-c-skeleton__lg.ins-m-dark | ||
img.pf-c-dropdown__toggle-icon(src='apps/chrome/assets/images/overflow-actions-lg.svg') | ||
img.pf-c-avatar(src='apps/chrome/assets/images/img_avatar.svg' alt='Avatar Image') | ||
include templates/brand-block.pug | ||
include templates/tools-block.pug |
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,21 +1,3 @@ | ||
header.pf-c-page__header(role='banner') | ||
.pf-c-page__header-brand.ins-c-page__header-brand--loading | ||
.pf-c-page__header-brand-toggle(hidden) | ||
a.pf-c-page__header-brand-link(href='#') | ||
img(src='apps/chrome/assets/images/logo.svg' alt='cloud.redhat.com logo') | ||
.pf-c-page__header-tools(widget-type='InsightsToolbar') | ||
.pf-c-page__header-tools-group.pf-m-icons | ||
button.pf-c-button.pf-m-plain(aria-label='Settings' widget-type='SettingsButton' type='button') | ||
img(src='apps/chrome/assets/images/settings-button.svg') | ||
button.pf-c-button.pf-m-plain(aria-label='Overflow FAQ' widget-type='InsightsFAQ' type='button') | ||
img(src='apps/chrome/assets/images/faq-button.svg') | ||
.pf-c-page__header-tools-group | ||
.pf-c-dropdown.pf-u-hidden-on-lg(aria-label='Overflow actions' widget-type='InsightsOverflowActions') | ||
button.pf-c-dropdown__toggle.pf-m-plain(aria-label='Actions' type='button' aria-expanded='false' aria-haspopup='true') | ||
img(src='apps/chrome/assets/images/overflow-actions-sm.svg') | ||
.pf-m-user.pf-m-user-skeleton | ||
.pf-c-dropdown(aria-label='Overflow actions' widget-type='InsightsOverflowActions') | ||
.pf-c-dropdown__toggle.pf-m-plain(aria-expanded='false') | ||
.ins-c-skeleton.ins-c-skeleton__lg.ins-m-dark | ||
img.pf-c-dropdown__toggle-icon(src='apps/chrome/assets/images/overflow-actions-lg.svg') | ||
img.pf-c-avatar(src='apps/chrome/assets/images/img_avatar.svg' alt='Avatar Image') | ||
include templates/brand-noHamburger-block.pug | ||
include templates/tools-block.pug |
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 @@ | ||
.pf-c-page__header-brand-toggle(hidden) |
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,3 @@ | ||
.pf-c-page__header-brand-toggle | ||
button.pf-c-button.pf-m-plain(aria-label='Toggle primary navigation' widget-type='InsightsNavToggle' type='button') | ||
img(src='apps/chrome/assets/images/primary-nav-hamburger-toggle.svg') |
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,2 @@ | ||
a.pf-c-page__header-brand-link(href='#') | ||
img(src='apps/chrome/assets/images/logo.svg' alt='cloud.redhat.com logo') |
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,3 @@ | ||
.pf-c-dropdown.pf-u-hidden-on-lg(aria-label='Overflow actions' widget-type='InsightsOverflowActions') | ||
button.pf-c-dropdown__toggle.pf-m-plain(aria-label='Actions' type='button' aria-expanded='false' aria-haspopup='true') | ||
img(src='apps/chrome/assets/images/overflow-actions-sm.svg') |
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,5 @@ | ||
.pf-c-page__header-tools-group.pf-m-icons | ||
button.pf-c-button.pf-m-plain(aria-label='Settings' widget-type='SettingsButton' type='button') | ||
img(src='apps/chrome/assets/images/settings-button.svg') | ||
button.pf-c-button.pf-m-plain(aria-label='Overflow FAQ' widget-type='InsightsFAQ' type='button') | ||
img(src='apps/chrome/assets/images/faq-button.svg') |
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,9 @@ | ||
.pf-m-user.pf-m-user-skeleton | ||
.pf-c-dropdown(aria-label='Overflow actions' widget-type='InsightsOverflowActions') | ||
button.pf-c-dropdown__toggle.pf-m-plain(aria-expanded='false') | ||
span.pf-c-dropdown__toggle-image | ||
img.pf-c-avatar(src='apps/chrome/assets/images/img_avatar.svg' alt='Avatar Image') | ||
span.pf-c-dropdown__toggle-text | ||
.ins-c-skeleton.ins-c-skeleton__lg.ins-m-dark | ||
span.pf-c-dropdown__toggle-icon | ||
img.pf-c-dropdown__toggle-icon(src='apps/chrome/assets/images/overflow-actions-lg.svg') |
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,3 @@ | ||
.pf-c-page__header-brand.ins-c-page__header-brand--loading | ||
include ../slices/hamburger.pug | ||
include ../slices/logo.pug |
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,3 @@ | ||
.pf-c-page__header-brand.ins-c-page__header-brand--loading | ||
include ../slices/hamburger-hidden.pug | ||
include ../slices/logo.pug |
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,5 @@ | ||
.pf-c-page__header-tools(widget-type='InsightsToolbar') | ||
include ../slices/tools.pug | ||
.pf-c-page__header-tools-group | ||
include ../slices/mobileKebab.pug | ||
include ../slices/userDropdown.pug |