Vertical Navigation
It is recommended to use vertical navigation when your application requires global navigation that is displayed on the left. While vertical navigation menus generally consume more space than their horizontal counterparts, they have become more popular as desktop monitors move to wide-screen formats. Vertical navigations have several advantages:
- They are scalable. The number of menu items is not constrained by the viewport width.
- Vertical menus more readily adapt to small screen sizes. While horizontal menus can also be made responsive, it usually requires a transformation from horizontal to vertical. Since vertical menus are already in this format, the transition from desktop to mobile is less disorienting.
- Vertical navigation supports common left to right flow. Navigation categories are easily differentiated from other information that may exist in the header area of the application.
The vertical navigation pattern supports up to three levels of navigation (Primary, Secondary and Tertiary). Each navigation item does not have to have the same number of levels of navigation. To illustrate this, look at the example below:
- The “Dashboard” category has no secondary navigation items
- The “Ipsum” category has secondary level navigation items
- The “Amet” category may have some secondary items which have tertiary navigation items
Jump to Masthead Design, Primary Nav with Icons, or Primary Nav Without Icons
Masthead Design
Since vertical navigation does not compromise vertical real estate, the Masthead is taller than the masthead for products that use horizontal navigation. The taller design allows for a product icon and the option of utilizing a burger bar menu.
With Primary Menu Icons
Without Primary Menu Icons
Jump to Masthead Design, Primary Navigation, Primary with Secondary Navigation, Primary with Fly Out Secondary Navigation, Primary with Tertiary Navigation, or Responsive States
Masthead Design
There are two options for the Masthead design, one short option to save space and one tall option to accommodate for larger product logos. The tall masthead option is recommended when using vertical navigation.
- Branding: Product icon can also be used in addition to the burger bar OR as a standalone icon.
- Burger Bar: If necessary, the burger bar icon can be used within the masthead. The burger bar acts as a toggle to display or hide the vertical navigation text labels.
- By default, the vertical navigation displays both icons and text labels.
- When the burger bar is selected, the navigation text labels disappear, and only the icons are displayed. The vertical navigation is then horizontally condensed, and more screen real estate is given to the main screen content.
- Logo Area: The logo area contains the application product name image file, in the form of a sized SVG graphic.
- Utility Items:
- The utility items are vertically centered and right-aligned within the masthead when there is enough horizontal room to contain them.
-
If there is not enough space for them to appear within the masthead, please refer to [Primary Navigation Responsive State](#primary-navigation- -responsive-state) for new utility items location.
Primary Navigation
- Primary Navigation Icons(optional): When the primary areas of the UI are easily represented by icons, they may be used in the primary navigation.
- Selection: A selected primary navigation item is highlighted and includes a vertical blue line decorator.
- Hover: On hover, the primary navigation item is highlighted.
Primary with Secondary Navigation
Secondary navigation is non-persistent, appearing on hover. The secondary navigation is shown in a second column that appears to the right. (See Secondary Navigation | Responsive State for how the secondary navigation is displayed on small screens.)
- Label: The label at the top of the secondary menu mirrors the selected primary category to reinforce the user’s current location.
- Selection: A selected item in the secondary navigation is highlighted.
- Hover: On hover, the secondary navigation is highlighted and underlined.
Primary with Fly Out Secondary Navigation
Fly out secondary navigation acts the same as the Primary with Secondary Navigation, but provides an option for when a whole column is not needed for the navigation items. This is ideal for a smaller set of secondary navigation throughout the entire application. This should not be mixed with the base Primary with Secondary Navigation. The fly out secondary navigation is shown in a fly out that appears to the right. (See Secondary Navigation | Responsive State for how the secondary navigation is displayed on small screens. NOTE: This is the same for if you are using the Primary with Secondary Navigation.)
- Selection: A selected item in the secondary navigation is highlighted.
- Hover: On hover, the secondary navigation is highlighted and underlined.
Primary with Tertiary Navigation
Tertiary navigation is non-persistent and only appears on hover. The tertiary navigation is shown as a third column that opens to the right.
- Pin Menu(optional):
- If the secondary navigation is pinned, the navigation is collapsed to a single column and the secondary navigation is the only menu visible.
- If the tertiary navigation is pinned, the navigation is collapsed to a single column and the tertiary navigation is the only menu visible.
- Label:
- The label at the top of the secondary navigation mirrors the selected primary category to reinforce the user’s current location.
- The label at the top of the tertiary navigation mirrors the selected secondary category to reinforce the user’s current location.
- Selection: A selected item in the tertiary navigation is highlighted.
- Hover: On hover, the tertiary navigation is highlighted and underlined.
Responsive States
- Small Screen (From 768 to 1200px): In all cases, the secondary navigation, if one exists, will replace the primary menu in a one column layout (same interactions as full-width without icons).
- Mobile (less than 768 px): Navigation is hidden under “hamburger” icon.
Primary Navigation | Responsive State
- Menu Drawer: When open, the menu appears as a drawer sliding out from the left edge of the viewport. This will overlay content area.
- Utility Items:
- Once the utility items do not fit in the masthead (on small screens), they will responsively move to rest underneath the main navigation items in the vertical navigation.
- In any instance that there is an icon present in desktop state with no text label (for example, the help icon), a text label will appear next to that icon in this responsive state.
Secondary Navigation | Responsive State
- Back Link: Clicking the back link restores the primary-level menu.
- Back Link (for Utility Item): The back link for a utility item is formatted differently from the back links for main navigational items.
Jump to With Primary Menu Icons or Without Primary Menu Icons
With Primary Menu Icons
<html class="layout-pf layout-pf-fixed"> ... <script src="components/c3/c3.min.js"></script> <script src="components/d3/d3.min.js"></script> <script src="components/jquery-match-height/dist/jquery.matchHeight-min.js"></script> <nav class="navbar navbar-pf-vertical"> <div class="navbar-header"> <button type="button" class="navbar-toggle"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a href="/" class="navbar-brand"> <img class="navbar-brand-icon" src="/patternfly-org/assets/img/logo-alt.svg" alt=""/><img class="navbar-brand-name" src="/patternfly-org/assets/img/brand-alt.svg" alt="PatternFly Enterprise Application" /> </a> </div> <nav class="collapse navbar-collapse"> <ul class="nav navbar-nav navbar-right navbar-iconic navbar-utility"> <li class="dropdown"> <a href="#0" class="dropdown-toggle nav-item-iconic" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span title="Help" class="fa pficon-help"></span> <span class="caret"></span> </a> <ul class="dropdown-menu" aria-labelledby="dropdownMenu1"> <li><a href="#0">Help</a></li> <li><a href="#0">About</a></li> </ul> </li> <li class="dropdown"> <a href="#0" class="dropdown-toggle nav-item-iconic" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span title="Username" class="fa pficon-user"></span> Brian Johnson <span class="caret"></span> </a> <ul class="dropdown-menu" aria-labelledby="dropdownMenu2"> <li><a href="#0">Preferences</a></li> <li><a href="#0">Logout</a></li> </ul> </li> </ul> </nav> <div class="drawer-pf hide drawer-pf-notifications-non-clickable"> <div class="drawer-pf-title"> <a class="drawer-pf-toggle-expand fa fa-angle-double-left hidden-xs"></a> <a class="drawer-pf-close pficon pficon-close"></a> <h3 class="text-center">Notifications Drawer</h3> </div> <div class="panel-group" id="notification-drawer-accordion"> <div class="panel panel-default"> <div class="panel-heading" data-component="collapse-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#notification-drawer-accordion" href="#fixedCollapseOne"> Notification Tab 1 </a> </h4> <span class="panel-counter">5 New Events</span> </div> <div id="fixedCollapseOne" class="panel-collapse collapse in"> <div class="panel-body"> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight11" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight11"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight21" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight21"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight31" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight31"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight41" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight41"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> </div> <div class="blank-slate-pf hidden"> <div class="blank-slate-pf-icon"> <span class="pficon-info"></span> </div> <h1>There are no notifications to display.</h1> </div> <div class="drawer-pf-action"> <div class="drawer-pf-action-link" data-toggle="mark-all-read"> <button class="btn btn-link">Mark All Read</button> </div> <div class="drawer-pf-action-link" data-toggle="clear-all"> <button class="btn btn-link"> <span class="pficon pficon-close"></span> Clear All </button> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" data-component="collapse-heading"> <h4 class="panel-title"> <a class="collapsed" data-toggle="collapse" data-parent="#notification-drawer-accordion" href="#fixedCollapseTwo"> Notification Tab 2 </a> </h4> <span class="panel-counter">5 New Events</span> </div> <div id="fixedCollapseTwo" class="panel-collapse collapse"> <div class="panel-body"> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight12" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight12"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight22" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight22"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight32" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight32"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight42" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight42"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight13" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight13"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight23" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight23"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight33" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight33"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight43" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight43"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight14" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight14"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight24" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight24"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight34" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight34"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight44" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight44"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-loading text-center"> <span class="spinner spinner-xs spinner-inline"></span> Loading More </div> </div> <div class="blank-slate-pf hidden"> <div class="blank-slate-pf-icon"> <span class="pficon-info"></span> </div> <h1>There are no notifications to display.</h1> </div> <div class="drawer-pf-action"> <div class="drawer-pf-action-link" data-toggle="mark-all-read"> <button class="btn btn-link">Mark All Read</button> </div> <div class="drawer-pf-action-link" data-toggle="clear-all"> <button class="btn btn-link"> <span class="pficon pficon-close"></span> Clear All </button> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" data-component="collapse-heading"> <h4 class="panel-title"> <a class="collapsed" data-toggle="collapse" data-parent="#notification-drawer-accordion" href="#fixedCollapseThree"> Notification Tab 3 </a> </h4> <span class="panel-counter">5 New Events</span> </div> <div id="fixedCollapseThree" class="panel-collapse collapse"> <div class="panel-body"> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight15" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight15"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight25" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight25"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight35" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight35"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight45" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight45"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight16" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight16"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight26" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight26"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight36" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight36"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight46" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight46"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight17" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight17"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight27" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight27"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight37" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight37"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight47" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight47"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> </div> <div class="blank-slate-pf hidden"> <div class="blank-slate-pf-icon"> <span class="pficon-info"></span> </div> <h1>There are no notifications to display.</h1> </div> <div class="drawer-pf-action"> <div class="drawer-pf-action-link" data-toggle="mark-all-read"> <button class="btn btn-link">Mark All Read</button> </div> <div class="drawer-pf-action-link" data-toggle="clear-all"> <button class="btn btn-link"> <span class="pficon pficon-close"></span> Clear All </button> </div> </div> </div> </div> </div> </div> <script> $(document).ready(function() { // Initialize to unread notifications // TODO: add badge for unread notifications // Show/Hide Notifications Drawer $('.drawer-pf-trigger').click(function() { var $drawer = $('.drawer-pf'); $(this).toggleClass('open'); if ($drawer.hasClass('hide')) { $drawer.removeClass('hide'); setTimeout(function () { if (window.dispatchEvent) { window.dispatchEvent(new Event('resize')); } // Special case for IE if ($(document).fireEvent) { $(document).fireEvent('onresize'); } }, 100); } else { $drawer.addClass('hide'); } // Special case, close navigation menu in mobile mode if ($('.container-pf-nav-pf-vertical').hasClass('hidden-nav')) { $('.nav-pf-vertical').removeClass('show-mobile-nav'); } }); $('.drawer-pf-close').click(function() { var $drawer = $('.drawer-pf'); $('.drawer-pf-trigger').removeClass('open'); $drawer.addClass('hide'); }); $('.drawer-pf-toggle-expand').click(function() { var $drawer = $('.drawer-pf'); var $drawerNotifications = $drawer.find('.drawer-pf-notification'); if ($drawer.hasClass('drawer-pf-expanded')) { $drawer.removeClass('drawer-pf-expanded'); $drawerNotifications.removeClass('expanded-notification'); } else { $drawer.addClass('drawer-pf-expanded'); $drawerNotifications.addClass('expanded-notification'); } }); // Mark All Read / Clear All $('.panel-collapse').each(function (index, panel) { var $panel = $(panel); var unreadCount = $panel.find('.drawer-pf-notification.unread').length; $(panel.parentElement).find('.panel-counter').text(unreadCount + ' New Event' + (unreadCount !== 1 ? 's' : '')); if ($('.drawer-pf .panel-collapse .unread').length === 0) { // TODO: remove badge for unread indicator } $panel.on('click', '.drawer-pf-action [data-toggle="mark-all-read"] .btn', function() { $panel.find('.unread').removeClass('unread'); $panel.find('.drawer-pf-action [data-toggle="mark-all-read"]').remove(); $(panel.parentElement).find('.panel-counter').text('0 New Events'); if ($('.drawer-pf .panel-collapse .unread').length === 0) { $('.drawer-pf-trigger').removeClass('unread'); } }); $panel.on('click', '.drawer-pf-action [data-toggle="clear-all"] .btn', function() { $panel.find('.panel-body .drawer-pf-notification').remove(); $panel.find('.drawer-pf-action').remove(); $panel.find('.blank-slate-pf').removeClass('hidden'); $panel.find('.drawer-pf-loading').addClass('hidden'); $(panel.parentElement).find('.panel-counter').text('0 New Events'); if ($('.drawer-pf .panel-collapse .unread').length === 0) { // TODO: remove badge for unread indicator } }); $panel.find('.drawer-pf-notification').each(function (index, notification) { var $notification = $(notification); $notification.on('click', '.drawer-pf-notification-content', function() { $notification.removeClass('unread'); var unreadCount = $panel.find('.drawer-pf-notification.unread').length; $(panel.parentElement).find('.panel-counter').text(unreadCount + ' New Event' + (unreadCount !== 1 ? 's' : '')); if (unreadCount === 0) { $panel.find('.drawer-pf-action [data-toggle="mark-all-read"]').remove(); if ($('.drawer-pf .panel-collapse .unread').length === 0) { // TODO: remove badge for unread indicator } } }); }); }); $('#notification-drawer-accordion').initCollapseHeights('.panel-body'); }); </script> </nav> <!--/.navbar--> <div class="nav-pf-vertical nav-pf-vertical-with-sub-menus "> <ul class="list-group"> <li class="list-group-item"> <a href="#0"> <span class="fa fa-dashboard" data-toggle="tooltip" title="Dashboard"></span> <span class="list-group-item-value">Dashboard</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="fa fa-shield" data-toggle="tooltip" title="Dolor"></span> <span class="list-group-item-value">Dolor</span> </a> </li> <li class="list-group-item active " data-target="#ipsum-secondary"> <a href="#0"> <span class="fa fa-space-shuttle" data-toggle="tooltip" title="Ipsum"></span> <span class="list-group-item-value">Ipsum</span> </a> </li> <li class="list-group-item " data-target="#amet-secondary"> <a href="#0"> <span class="fa fa-paper-plane" data-toggle="tooltip" title="Amet"></span> <span class="list-group-item-value">Amet</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="fa fa-graduation-cap" data-toggle="tooltip" title="Adipscing"></span> <span class="list-group-item-value">Adipscing</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="fa fa-gamepad" data-toggle="tooltip" title="Lorem"></span> <span class="list-group-item-value">Lorem</span> </a> </li> <li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block"> <a href="#0"> <span class="pficon pficon-user" data-toggle="tooltip" title="" data-original-title="User"></span> <span class="list-group-item-value">User</span> </a> <div id="user-secondary" class="nav-pf-secondary-nav"> <div class="nav-item-pf-header"> <a href="#0" class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a> <span>User</span> </div> <ul class="list-group"> <li class="list-group-item"> <a href="#0"> <span class="list-group-item-value">Preferences</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="list-group-item-value">Logout</span> </a> </li> </ul> </div> </li> <li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block" data-target="#amet-secondary"> <a href="#0"> <span class="pficon pficon-help" data-toggle="tooltip" title="" data-original-title="Help"></span> <span class="list-group-item-value">Help</span> </a> <div id="help-secondary" class="nav-pf-secondary-nav"> <div class="nav-item-pf-header"> <a href="#0" class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a> <span>Help</span> </div> <ul class="list-group"> <li class="list-group-item"> <a href="#0"> <span class="list-group-item-value">Help</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="list-group-item-value">About</span> </a> </li> </ul> </div> </li> </ul> </div> <div class="container-fluid container-cards-pf container-pf-nav-pf-vertical "> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status"> <h2 class="card-pf-title"> <span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">0</span> Ipsum </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><a href="#" class="add" data-toggle="tooltip" data-placement="top" title="Add Ipsum"><span class="pficon pficon-add-circle-o"></span></a></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status"> <h2 class="card-pf-title"> <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">20</span> Amet</a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-error-circle-o"></span>4</a></span> <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-warning-triangle-o"></span>1</a></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status"> <h2 class="card-pf-title"> <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">9</span> Adipiscing</a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><span class="pficon pficon-ok"></span></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status"> <h2 class="card-pf-title"> <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">12</span> Lorem</a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <a href="#"><span class="card-pf-aggregate-status-notification"><span class="pficon pficon-error-circle-o"></span>1</span></a> </p> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini"> <h2 class="card-pf-title"> <span class="fa fa-rebel"></span> <span class="card-pf-aggregate-status-count">0</span> Ipsum </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><a href="#" class="add" data-toggle="tooltip" data-placement="top" title="Add Ipsum"><span class="pficon pficon-add-circle-o"></span></a></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini"> <h2 class="card-pf-title"> <a href="#"> <span class="fa fa-paper-plane"></span> <span class="card-pf-aggregate-status-count">20</span> Amet </a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-error-circle-o"></span>4</a></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini"> <h2 class="card-pf-title"> <a href="#"> <span class="pficon pficon-cluster"></span> <span class="card-pf-aggregate-status-count">9</span> Adipiscing </a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><span class="pficon pficon-ok"></span></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini"> <h2 class="card-pf-title"> <a href="#"> <span class="pficon pficon-image"></span> <span class="card-pf-aggregate-status-count">12</span> Lorem </a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <a href="#"><span class="card-pf-aggregate-status-notification"><span class="pficon pficon-error-circle-o"></span>1</span></a> </p> </div> </div> </div> </div> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-6"> <div class="card-pf"> <div class="card-pf-heading"> <h2 class="card-pf-title"> Top Utilized Clusters </h2> </div> <div class="card-pf-body"> <div class="progress-description"> RHOS6-Controller </div> <div class="progress progress-label-top-right"> <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100" style="width: 95%;" data-toggle="tooltip" title="95% Used"> <span><strong>190.0 of 200.0 GB</strong> Used</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="5" aria-valuemin="0" aria-valuemax="100" style="width: 5%;" data-toggle="tooltip" title="5% Available"> <span class="sr-only">5% Available</span> </div> </div> <div class="progress-description"> CFMEQE-Cluster </div> <div class="progress progress-label-top-right"> <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="50% Used"> <span><strong>100.0 of 200.0 GB</strong> Used</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="50% Available"> <span class="sr-only">50% Available</span> </div> </div> <div class="progress-description"> RHOS-Undercloud </div> <div class="progress progress-label-top-right"> <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%;" data-toggle="tooltip" title="70% Used"> <span><strong>140.0 of 200.0 GB</strong> Used</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%;" data-toggle="tooltip" title="30% Available"> <span class="sr-only">30% Available</span> </div> </div> <div class="progress-description"> RHEL6-Controller </div> <div class="progress progress-label-top-right"> <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="76.5" aria-valuemin="0" aria-valuemax="100" style="width: 76.5%;" data-toggle="tooltip" title="76.5% Used"> <span><strong>153.0 of 200.0 GB</strong> Used</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="23.5" aria-valuemin="0" aria-valuemax="100" style="width: 23.5%;" data-toggle="tooltip" title="23.5% Available"> <span class="sr-only">23.5% Available</span> </div> </div> </div> </div> </div> <div class="col-xs-12 col-sm-6"> <div class="card-pf"> <div class="card-pf-heading"> <h2 class="card-pf-title"> Quotas </h2> </div> <div class="card-pf-body"> <div class="progress-container progress-description-left progress-label-right"> <div class="progress-description"> CPU </div> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width: 25%;" data-toggle="tooltip" title="25% Used"> <span><strong>115 of 460</strong> MHz</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%;" data-toggle="tooltip" title="75% Available"> <span class="sr-only">75% Available</span> </div> </div> </div> <div class="progress-container progress-description-left progress-label-right"> <div class="progress-description"> Memory </div> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="8 GB Used"> <span><strong>8 of 16</strong> GB</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="8 GB Available"> <span class="sr-only">50% Available</span> </div> </div> </div> <div class="progress-container progress-description-left progress-label-right"> <div class="progress-description"> Pods </div> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="62.5" aria-valuemin="0" aria-valuemax="100" style="width: 62.5%;" data-toggle="tooltip" title="62.5% Used"> <span><strong>5 of 8</strong> Total</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="37.5" aria-valuemin="0" aria-valuemax="100" style="width: 37.5%;" data-toggle="tooltip" title="37.5% Available"> <span class="sr-only">37.5% Available</span> </div> </div> </div> <div class="progress-container progress-description-left progress-label-right"> <div class="progress-description"> Services </div> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;" data-toggle="tooltip" title="100% Used"> <span><strong>2 of 2</strong> Total</span> </div> </div> </div> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <div class="col-md-12"> <div class="card-pf card-pf-utilization"> <div class="card-pf-heading"> <p class="card-pf-heading-details">Last 30 days</p> <h2 class="card-pf-title"> Utilization </h2> </div> <div class="card-pf-body"> <div class="row"> <div class="col-xs-12 col-sm-4 col-md-4"> <h3 class="card-pf-subtitle">CPU</h3> <p class="card-pf-utilization-details"> <span class="card-pf-utilization-card-details-count">50</span> <span class="card-pf-utilization-card-details-description"> <span class="card-pf-utilization-card-details-line-1">Available</span> <span class="card-pf-utilization-card-details-line-2">of 1000 MHz</span> </span> </p> <div id="chart-pf-donut-1"></div> <div class="chart-pf-sparkline" id="chart-pf-sparkline-1"></div> <script> var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A'); donutConfig.bindto = '#chart-pf-donut-1'; donutConfig.color = { pattern: ["#cc0000","#D1D1D1"] }; donutConfig.data = { type: "donut", columns: [ ["Used", 95], ["Available", 5] ], groups: [ ["used", "available"] ], order: null }; donutConfig.tooltip = { contents: function (d) { return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' + Math.round(d[0].ratio * 100) + '%' + ' MHz ' + d[0].name + '</span>'; } }; var chart1 = c3.generate(donutConfig); var donutChartTitle = d3.select("#chart-pf-donut-1").select('text.c3-chart-arcs-title'); donutChartTitle.text(""); donutChartTitle.insert('tspan').text("950").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0); donutChartTitle.insert('tspan').text("MHz Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0); var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig(); sparklineConfig.bindto = '#chart-pf-sparkline-1'; sparklineConfig.data = { columns: [ ['%', 10, 50, 28, 20, 31, 27, 60, 36, 52, 55, 62, 68, 69, 88, 74, 88, 95], ], type: 'area' }; var chart2 = c3.generate(sparklineConfig); </script> </div> <div class="col-xs-12 col-sm-4 col-md-4"> <h3 class="card-pf-subtitle">Memory</h3> <p class="card-pf-utilization-details"> <span class="card-pf-utilization-card-details-count">256</span> <span class="card-pf-utilization-card-details-description"> <span class="card-pf-utilization-card-details-line-1">Available</span> <span class="card-pf-utilization-card-details-line-2">of 432 GB</span> </span> </p> <div id="chart-pf-donut-2"></div> <div class="chart-pf-sparkline" id="chart-pf-sparkline-2"></div> <script> var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A'); donutConfig.bindto = '#chart-pf-donut-2'; donutConfig.color = { pattern: ["#3f9c35","#D1D1D1"] }; donutConfig.data = { type: "donut", columns: [ ["Used", 41], ["Available", 59] ], groups: [ ["used", "available"] ], order: null }; donutConfig.tooltip = { contents: function (d) { return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' + Math.round(d[0].ratio * 100) + '%' + ' GB ' + d[0].name + '</span>'; } }; var chart3 = c3.generate(donutConfig); var donutChartTitle = d3.select("#chart-pf-donut-2").select('text.c3-chart-arcs-title'); donutChartTitle.text(""); donutChartTitle.insert('tspan').text("176").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0); donutChartTitle.insert('tspan').text("GB Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0); var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig(); sparklineConfig.bindto = '#chart-pf-sparkline-2'; sparklineConfig.data = { columns: [ ['%', 35, 36, 20, 30, 31, 22, 44, 36, 40, 41, 55, 52, 48, 48, 50, 40, 41], ], type: 'area' }; var chart4 = c3.generate(sparklineConfig); </script> </div> <div class="col-xs-12 col-sm-4 col-md-4"> <h3 class="card-pf-subtitle">Network</h3> <p class="card-pf-utilization-details"> <span class="card-pf-utilization-card-details-count">200</span> <span class="card-pf-utilization-card-details-description"> <span class="card-pf-utilization-card-details-line-1">Available</span> <span class="card-pf-utilization-card-details-line-2">of 1300 Gbps</span> </span> </p> <div id="chart-pf-donut-3"></div> <div class="chart-pf-sparkline" id="chart-pf-sparkline-3"></div> <script> var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A'); donutConfig.bindto = '#chart-pf-donut-3'; donutConfig.color = { pattern: ["#EC7A08","#D1D1D1"] }; donutConfig.data = { type: "donut", columns: [ ["Used", 85], ["Available", 15] ], groups: [ ["used", "available"] ], order: null }; donutConfig.tooltip = { contents: function (d) { return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' + Math.round(d[0].ratio * 100) + '%' + ' Gbps ' + d[0].name + '</span>'; } }; var chart5 = c3.generate(donutConfig); var donutChartTitle = d3.select("#chart-pf-donut-3").select('text.c3-chart-arcs-title'); donutChartTitle.text(""); donutChartTitle.insert('tspan').text("1100").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0); donutChartTitle.insert('tspan').text("Gbps Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0); var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig(); sparklineConfig.bindto = '#chart-pf-sparkline-3'; sparklineConfig.data = { columns: [ ['%', 60, 55, 70, 44, 31, 67, 54, 46, 58, 75, 62, 68, 69, 88, 74, 88, 85], ], type: 'area' }; var chart6 = c3.generate(sparklineConfig); </script> </div> </div> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <div class="col-xs-12 col-sm-4 col-md-4"> <div class="card-pf card-pf-utilization"> <h2 class="card-pf-title"> Network </h2> <div class="card-pf-body"> <p class="card-pf-utilization-details"> <span class="card-pf-utilization-card-details-count">200</span> <span class="card-pf-utilization-card-details-description"> <span class="card-pf-utilization-card-details-line-1">Available</span> <span class="card-pf-utilization-card-details-line-2">of 1300 Gbps</span> </span> </p> <div id="chart-pf-donut-4"></div> <div class="chart-pf-sparkline" id="chart-pf-sparkline-4"></div> <script> var c3ChartDefaults = $().c3ChartDefaults(); var donutConfig = c3ChartDefaults.getDefaultDonutConfig('A'); donutConfig.bindto = '#chart-pf-donut-4'; donutConfig.color = { pattern: ["#EC7A08","#D1D1D1"] }; donutConfig.data = { type: "donut", columns: [ ["Used", 85], ["Available", 15] ], groups: [ ["used", "available"] ], order: null }; donutConfig.tooltip = { contents: function (d) { return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' + Math.round(d[0].ratio * 100) + '%' + ' Gbps ' + d[0].name + '</span>'; } }; var chart1 = c3.generate(donutConfig); var donutChartTitle = d3.select("#chart-pf-donut-4").select('text.c3-chart-arcs-title'); donutChartTitle.text(""); donutChartTitle.insert('tspan').text("1100").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0); donutChartTitle.insert('tspan').text("Gbps Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0); var sparklineConfig = c3ChartDefaults.getDefaultSparklineConfig(); sparklineConfig.bindto = '#chart-pf-sparkline-4'; sparklineConfig.data = { columns: [ ['%', 60, 55, 70, 44, 31, 67, 54, 46, 58, 75, 62, 68, 69, 88, 74, 88, 85], ], type: 'area' }; var chart2 = c3.generate(sparklineConfig); </script> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-6 col-md-5"> <div class="card-pf"> <div class="card-pf-heading"> <div class="dropdown card-pf-time-frame-filter"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Last 30 Days <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li class="selected"><a href="#">Last 30 Days</a></li> <li><a href="#">Last 60 Days</a></li> <li><a href="#">Last 90 Days</a></li> </ul> </div> <h2 class="card-pf-title"> Card Title </h2> </div> <div class="card-pf-body"> <p>[card contents]</p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-7"> <div class="card-pf"> <h2 class="card-pf-title"> Card Title </h2> <div class="card-pf-body"> <p>[card contents]</p> </div> <div class="card-pf-footer"> <div class="dropdown card-pf-time-frame-filter"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Last 30 Days <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li class="selected"><a href="#">Last 30 Days</a></li> <li><a href="#">Last 60 Days</a></li> <li><a href="#">Last 90 Days</a></li> </ul> </div> <p> <a href="#" class="card-pf-link-with-icon"> <span class="pficon pficon-add-circle-o"></span>Add New Cluster </a> </p> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-5 col-md-5"> <div class="card-pf"> <h2 class="card-pf-title"> Card Title </h2> <div class="card-pf-body"> <p>[card contents]</p> </div> <div class="card-pf-footer"> <div class="dropdown card-pf-time-frame-filter"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Last 30 Days <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li class="selected"><a href="#">Last 30 Days</a></li> <li><a href="#">Last 60 Days</a></li> <li><a href="#">Last 90 Days</a></li> </ul> </div> <p> <a href="#" class="card-pf-link-with-icon"> <span class="pficon pficon-flag"></span>View CPU Events </a> </p> </div> </div> </div> <div class="col-xs-12 col-sm-7 col-md-7"> <div class="card-pf"> <h2 class="card-pf-title"> Card Title </h2> <div class="card-pf-body"> <p>[card contents]</p> </div> </div> </div> </div> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-6 col-sm-8 col-md-8"> <div class="card-pf"> <div class="card-pf-body"> <p>[card contents]</p> </div> <div class="card-pf-footer"> <p><a href="#">Footer link</a></p> </div> </div> </div> <div class="col-xs-6 col-sm-4 col-md-4"> <div class="card-pf"> <div class="card-pf-body"> <p>[card contents]</p> </div> <div class="card-pf-footer"> <p><a href="#">Footer link</a></p> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="card-pf"> <div class="card-pf-body"> <p>[card contents]</p> </div> </div> </div> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="card-pf"> <div class="card-pf-body"> <p>[card contents]</p> </div> </div> </div> </div><!-- /row --> </div> <script> $(document).ready(function() { // matchHeight the contents of each .card-pf and then the .card-pf itself $(".row-cards-pf > [class*='col'] > .card-pf .card-pf-title").matchHeight(); $(".row-cards-pf > [class*='col'] > .card-pf > .card-pf-body").matchHeight(); $(".row-cards-pf > [class*='col'] > .card-pf > .card-pf-footer").matchHeight(); $(".row-cards-pf > [class*='col'] > .card-pf").matchHeight(); // Initialize the vertical navigation $().setupVerticalNavigation(true); }); </script> </html>
Without Primary Menu Icons
<html class="layout-pf layout-pf-fixed"> ... <script src="components/c3/c3.min.js"></script> <script src="components/d3/d3.min.js"></script> <script src="components/jquery-match-height/dist/jquery.matchHeight-min.js"></script> <nav class="navbar navbar-pf-vertical"> <div class="navbar-header"> <button type="button" class="navbar-toggle"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a href="/" class="navbar-brand"> <img class="navbar-brand-icon" src="/patternfly-org/assets/img/logo-alt.svg" alt=""/><img class="navbar-brand-name" src="/patternfly-org/assets/img/brand-alt.svg" alt="PatternFly Enterprise Application" /> </a> </div> <nav class="collapse navbar-collapse"> <ul class="nav navbar-nav navbar-right navbar-iconic navbar-utility"> <li class="dropdown"> <a href="#0" class="dropdown-toggle nav-item-iconic" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span title="Help" class="fa pficon-help"></span> <span class="caret"></span> </a> <ul class="dropdown-menu" aria-labelledby="dropdownMenu1"> <li><a href="#0">Help</a></li> <li><a href="#0">About</a></li> </ul> </li> <li class="dropdown"> <a href="#0" class="dropdown-toggle nav-item-iconic" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span title="Username" class="fa pficon-user"></span> Brian Johnson <span class="caret"></span> </a> <ul class="dropdown-menu" aria-labelledby="dropdownMenu2"> <li><a href="#0">Preferences</a></li> <li><a href="#0">Logout</a></li> </ul> </li> </ul> </nav> <div class="drawer-pf hide drawer-pf-notifications-non-clickable"> <div class="drawer-pf-title"> <a class="drawer-pf-toggle-expand fa fa-angle-double-left hidden-xs"></a> <a class="drawer-pf-close pficon pficon-close"></a> <h3 class="text-center">Notifications Drawer</h3> </div> <div class="panel-group" id="notification-drawer-accordion"> <div class="panel panel-default"> <div class="panel-heading" data-component="collapse-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#notification-drawer-accordion" href="#fixedCollapseOne"> Notification Tab 1 </a> </h4> <span class="panel-counter">5 New Events</span> </div> <div id="fixedCollapseOne" class="panel-collapse collapse in"> <div class="panel-body"> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight11" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight11"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight21" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight21"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight31" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight31"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight41" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight41"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> </div> <div class="blank-slate-pf hidden"> <div class="blank-slate-pf-icon"> <span class="pficon-info"></span> </div> <h1>There are no notifications to display.</h1> </div> <div class="drawer-pf-action"> <div class="drawer-pf-action-link" data-toggle="mark-all-read"> <button class="btn btn-link">Mark All Read</button> </div> <div class="drawer-pf-action-link" data-toggle="clear-all"> <button class="btn btn-link"> <span class="pficon pficon-close"></span> Clear All </button> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" data-component="collapse-heading"> <h4 class="panel-title"> <a class="collapsed" data-toggle="collapse" data-parent="#notification-drawer-accordion" href="#fixedCollapseTwo"> Notification Tab 2 </a> </h4> <span class="panel-counter">5 New Events</span> </div> <div id="fixedCollapseTwo" class="panel-collapse collapse"> <div class="panel-body"> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight12" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight12"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight22" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight22"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight32" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight32"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight42" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight42"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight13" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight13"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight23" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight23"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight33" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight33"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight43" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight43"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight14" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight14"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight24" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight24"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight34" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight34"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight44" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight44"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-loading text-center"> <span class="spinner spinner-xs spinner-inline"></span> Loading More </div> </div> <div class="blank-slate-pf hidden"> <div class="blank-slate-pf-icon"> <span class="pficon-info"></span> </div> <h1>There are no notifications to display.</h1> </div> <div class="drawer-pf-action"> <div class="drawer-pf-action-link" data-toggle="mark-all-read"> <button class="btn btn-link">Mark All Read</button> </div> <div class="drawer-pf-action-link" data-toggle="clear-all"> <button class="btn btn-link"> <span class="pficon pficon-close"></span> Clear All </button> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" data-component="collapse-heading"> <h4 class="panel-title"> <a class="collapsed" data-toggle="collapse" data-parent="#notification-drawer-accordion" href="#fixedCollapseThree"> Notification Tab 3 </a> </h4> <span class="panel-counter">5 New Events</span> </div> <div id="fixedCollapseThree" class="panel-collapse collapse"> <div class="panel-body"> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight15" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight15"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight25" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight25"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight35" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight35"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight45" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight45"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight16" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight16"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight26" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight26"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight36" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight36"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight46" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight46"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight17" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight17"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-info pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">A New Event! Huzzah! Bold!</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification unread"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight27" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight27"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-ok pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight37" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight37"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-warning-triangle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification that is really long to see how it reacts on smaller screens sizes.</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> <div class="drawer-pf-notification"> <div class="dropdown pull-right dropdown-kebab-pf"> <button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight47" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="fa fa-ellipsis-v"></span> </button> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight47"> <li><a href="#">Action</a></li> <li><a href="#">Another Action</a></li> <li><a href="#">Something Else Here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated Link</a></li> </ul> </div> <span class="pficon pficon-error-circle-o pull-left"></span> <div class="drawer-pf-notification-content"> <span class="drawer-pf-notification-message">Another Event Notification</span> <div class="drawer-pf-notification-info"> <span class="date">3/31/16</span> <span class="time">12:12:44 PM</span> </div> </div> </div> </div> <div class="blank-slate-pf hidden"> <div class="blank-slate-pf-icon"> <span class="pficon-info"></span> </div> <h1>There are no notifications to display.</h1> </div> <div class="drawer-pf-action"> <div class="drawer-pf-action-link" data-toggle="mark-all-read"> <button class="btn btn-link">Mark All Read</button> </div> <div class="drawer-pf-action-link" data-toggle="clear-all"> <button class="btn btn-link"> <span class="pficon pficon-close"></span> Clear All </button> </div> </div> </div> </div> </div> </div> <script> $(document).ready(function() { // Initialize to unread notifications // TODO: add badge for unread notifications // Show/Hide Notifications Drawer $('.drawer-pf-trigger').click(function() { var $drawer = $('.drawer-pf'); $(this).toggleClass('open'); if ($drawer.hasClass('hide')) { $drawer.removeClass('hide'); setTimeout(function () { if (window.dispatchEvent) { window.dispatchEvent(new Event('resize')); } // Special case for IE if ($(document).fireEvent) { $(document).fireEvent('onresize'); } }, 100); } else { $drawer.addClass('hide'); } // Special case, close navigation menu in mobile mode if ($('.container-pf-nav-pf-vertical').hasClass('hidden-nav')) { $('.nav-pf-vertical').removeClass('show-mobile-nav'); } }); $('.drawer-pf-close').click(function() { var $drawer = $('.drawer-pf'); $('.drawer-pf-trigger').removeClass('open'); $drawer.addClass('hide'); }); $('.drawer-pf-toggle-expand').click(function() { var $drawer = $('.drawer-pf'); var $drawerNotifications = $drawer.find('.drawer-pf-notification'); if ($drawer.hasClass('drawer-pf-expanded')) { $drawer.removeClass('drawer-pf-expanded'); $drawerNotifications.removeClass('expanded-notification'); } else { $drawer.addClass('drawer-pf-expanded'); $drawerNotifications.addClass('expanded-notification'); } }); // Mark All Read / Clear All $('.panel-collapse').each(function (index, panel) { var $panel = $(panel); var unreadCount = $panel.find('.drawer-pf-notification.unread').length; $(panel.parentElement).find('.panel-counter').text(unreadCount + ' New Event' + (unreadCount !== 1 ? 's' : '')); if ($('.drawer-pf .panel-collapse .unread').length === 0) { // TODO: remove badge for unread indicator } $panel.on('click', '.drawer-pf-action [data-toggle="mark-all-read"] .btn', function() { $panel.find('.unread').removeClass('unread'); $panel.find('.drawer-pf-action [data-toggle="mark-all-read"]').remove(); $(panel.parentElement).find('.panel-counter').text('0 New Events'); if ($('.drawer-pf .panel-collapse .unread').length === 0) { $('.drawer-pf-trigger').removeClass('unread'); } }); $panel.on('click', '.drawer-pf-action [data-toggle="clear-all"] .btn', function() { $panel.find('.panel-body .drawer-pf-notification').remove(); $panel.find('.drawer-pf-action').remove(); $panel.find('.blank-slate-pf').removeClass('hidden'); $panel.find('.drawer-pf-loading').addClass('hidden'); $(panel.parentElement).find('.panel-counter').text('0 New Events'); if ($('.drawer-pf .panel-collapse .unread').length === 0) { // TODO: remove badge for unread indicator } }); $panel.find('.drawer-pf-notification').each(function (index, notification) { var $notification = $(notification); $notification.on('click', '.drawer-pf-notification-content', function() { $notification.removeClass('unread'); var unreadCount = $panel.find('.drawer-pf-notification.unread').length; $(panel.parentElement).find('.panel-counter').text(unreadCount + ' New Event' + (unreadCount !== 1 ? 's' : '')); if (unreadCount === 0) { $panel.find('.drawer-pf-action [data-toggle="mark-all-read"]').remove(); if ($('.drawer-pf .panel-collapse .unread').length === 0) { // TODO: remove badge for unread indicator } } }); }); }); $('#notification-drawer-accordion').initCollapseHeights('.panel-body'); }); </script> </nav> <!--/.navbar--> <div class="nav-pf-vertical nav-pf-vertical-with-sub-menus "> <ul class="list-group"> <li class="list-group-item"> <a href="#0"> <span class="fa fa-dashboard" data-toggle="tooltip" title="Dashboard"></span> <span class="list-group-item-value">Dashboard</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="fa fa-shield" data-toggle="tooltip" title="Dolor"></span> <span class="list-group-item-value">Dolor</span> </a> </li> <li class="list-group-item active " data-target="#ipsum-secondary"> <a href="#0"> <span class="fa fa-space-shuttle" data-toggle="tooltip" title="Ipsum"></span> <span class="list-group-item-value">Ipsum</span> </a> </li> <li class="list-group-item " data-target="#amet-secondary"> <a href="#0"> <span class="fa fa-paper-plane" data-toggle="tooltip" title="Amet"></span> <span class="list-group-item-value">Amet</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="fa fa-graduation-cap" data-toggle="tooltip" title="Adipscing"></span> <span class="list-group-item-value">Adipscing</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="fa fa-gamepad" data-toggle="tooltip" title="Lorem"></span> <span class="list-group-item-value">Lorem</span> </a> </li> <li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block"> <a href="#0"> <span class="pficon pficon-user" data-toggle="tooltip" title="" data-original-title="User"></span> <span class="list-group-item-value">User</span> </a> <div id="user-secondary" class="nav-pf-secondary-nav"> <div class="nav-item-pf-header"> <a href="#0" class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a> <span>User</span> </div> <ul class="list-group"> <li class="list-group-item"> <a href="#0"> <span class="list-group-item-value">Preferences</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="list-group-item-value">Logout</span> </a> </li> </ul> </div> </li> <li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block" data-target="#amet-secondary"> <a href="#0"> <span class="pficon pficon-help" data-toggle="tooltip" title="" data-original-title="Help"></span> <span class="list-group-item-value">Help</span> </a> <div id="help-secondary" class="nav-pf-secondary-nav"> <div class="nav-item-pf-header"> <a href="#0" class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a> <span>Help</span> </div> <ul class="list-group"> <li class="list-group-item"> <a href="#0"> <span class="list-group-item-value">Help</span> </a> </li> <li class="list-group-item"> <a href="#0"> <span class="list-group-item-value">About</span> </a> </li> </ul> </div> </li> </ul> </div> <div class="container-fluid container-cards-pf container-pf-nav-pf-vertical "> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status"> <h2 class="card-pf-title"> <span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">0</span> Ipsum </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><a href="#" class="add" data-toggle="tooltip" data-placement="top" title="Add Ipsum"><span class="pficon pficon-add-circle-o"></span></a></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status"> <h2 class="card-pf-title"> <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">20</span> Amet</a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-error-circle-o"></span>4</a></span> <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-warning-triangle-o"></span>1</a></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status"> <h2 class="card-pf-title"> <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">9</span> Adipiscing</a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><span class="pficon pficon-ok"></span></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status"> <h2 class="card-pf-title"> <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">12</span> Lorem</a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <a href="#"><span class="card-pf-aggregate-status-notification"><span class="pficon pficon-error-circle-o"></span>1</span></a> </p> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini"> <h2 class="card-pf-title"> <span class="fa fa-rebel"></span> <span class="card-pf-aggregate-status-count">0</span> Ipsum </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><a href="#" class="add" data-toggle="tooltip" data-placement="top" title="Add Ipsum"><span class="pficon pficon-add-circle-o"></span></a></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini"> <h2 class="card-pf-title"> <a href="#"> <span class="fa fa-paper-plane"></span> <span class="card-pf-aggregate-status-count">20</span> Amet </a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-error-circle-o"></span>4</a></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini"> <h2 class="card-pf-title"> <a href="#"> <span class="pficon pficon-cluster"></span> <span class="card-pf-aggregate-status-count">9</span> Adipiscing </a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <span class="card-pf-aggregate-status-notification"><span class="pficon pficon-ok"></span></span> </p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini"> <h2 class="card-pf-title"> <a href="#"> <span class="pficon pficon-image"></span> <span class="card-pf-aggregate-status-count">12</span> Lorem </a> </h2> <div class="card-pf-body"> <p class="card-pf-aggregate-status-notifications"> <a href="#"><span class="card-pf-aggregate-status-notification"><span class="pficon pficon-error-circle-o"></span>1</span></a> </p> </div> </div> </div> </div> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-6"> <div class="card-pf"> <div class="card-pf-heading"> <h2 class="card-pf-title"> Top Utilized Clusters </h2> </div> <div class="card-pf-body"> <div class="progress-description"> RHOS6-Controller </div> <div class="progress progress-label-top-right"> <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100" style="width: 95%;" data-toggle="tooltip" title="95% Used"> <span><strong>190.0 of 200.0 GB</strong> Used</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="5" aria-valuemin="0" aria-valuemax="100" style="width: 5%;" data-toggle="tooltip" title="5% Available"> <span class="sr-only">5% Available</span> </div> </div> <div class="progress-description"> CFMEQE-Cluster </div> <div class="progress progress-label-top-right"> <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="50% Used"> <span><strong>100.0 of 200.0 GB</strong> Used</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="50% Available"> <span class="sr-only">50% Available</span> </div> </div> <div class="progress-description"> RHOS-Undercloud </div> <div class="progress progress-label-top-right"> <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%;" data-toggle="tooltip" title="70% Used"> <span><strong>140.0 of 200.0 GB</strong> Used</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%;" data-toggle="tooltip" title="30% Available"> <span class="sr-only">30% Available</span> </div> </div> <div class="progress-description"> RHEL6-Controller </div> <div class="progress progress-label-top-right"> <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="76.5" aria-valuemin="0" aria-valuemax="100" style="width: 76.5%;" data-toggle="tooltip" title="76.5% Used"> <span><strong>153.0 of 200.0 GB</strong> Used</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="23.5" aria-valuemin="0" aria-valuemax="100" style="width: 23.5%;" data-toggle="tooltip" title="23.5% Available"> <span class="sr-only">23.5% Available</span> </div> </div> </div> </div> </div> <div class="col-xs-12 col-sm-6"> <div class="card-pf"> <div class="card-pf-heading"> <h2 class="card-pf-title"> Quotas </h2> </div> <div class="card-pf-body"> <div class="progress-container progress-description-left progress-label-right"> <div class="progress-description"> CPU </div> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width: 25%;" data-toggle="tooltip" title="25% Used"> <span><strong>115 of 460</strong> MHz</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%;" data-toggle="tooltip" title="75% Available"> <span class="sr-only">75% Available</span> </div> </div> </div> <div class="progress-container progress-description-left progress-label-right"> <div class="progress-description"> Memory </div> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="8 GB Used"> <span><strong>8 of 16</strong> GB</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="8 GB Available"> <span class="sr-only">50% Available</span> </div> </div> </div> <div class="progress-container progress-description-left progress-label-right"> <div class="progress-description"> Pods </div> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="62.5" aria-valuemin="0" aria-valuemax="100" style="width: 62.5%;" data-toggle="tooltip" title="62.5% Used"> <span><strong>5 of 8</strong> Total</span> </div> <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="37.5" aria-valuemin="0" aria-valuemax="100" style="width: 37.5%;" data-toggle="tooltip" title="37.5% Available"> <span class="sr-only">37.5% Available</span> </div> </div> </div> <div class="progress-container progress-description-left progress-label-right"> <div class="progress-description"> Services </div> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;" data-toggle="tooltip" title="100% Used"> <span><strong>2 of 2</strong> Total</span> </div> </div> </div> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <div class="col-md-12"> <div class="card-pf card-pf-utilization"> <div class="card-pf-heading"> <p class="card-pf-heading-details">Last 30 days</p> <h2 class="card-pf-title"> Utilization </h2> </div> <div class="card-pf-body"> <div class="row"> <div class="col-xs-12 col-sm-4 col-md-4"> <h3 class="card-pf-subtitle">CPU</h3> <p class="card-pf-utilization-details"> <span class="card-pf-utilization-card-details-count">50</span> <span class="card-pf-utilization-card-details-description"> <span class="card-pf-utilization-card-details-line-1">Available</span> <span class="card-pf-utilization-card-details-line-2">of 1000 MHz</span> </span> </p> <div id="chart-pf-donut-1"></div> <div class="chart-pf-sparkline" id="chart-pf-sparkline-1"></div> <script> var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A'); donutConfig.bindto = '#chart-pf-donut-1'; donutConfig.color = { pattern: ["#cc0000","#D1D1D1"] }; donutConfig.data = { type: "donut", columns: [ ["Used", 95], ["Available", 5] ], groups: [ ["used", "available"] ], order: null }; donutConfig.tooltip = { contents: function (d) { return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' + Math.round(d[0].ratio * 100) + '%' + ' MHz ' + d[0].name + '</span>'; } }; var chart1 = c3.generate(donutConfig); var donutChartTitle = d3.select("#chart-pf-donut-1").select('text.c3-chart-arcs-title'); donutChartTitle.text(""); donutChartTitle.insert('tspan').text("950").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0); donutChartTitle.insert('tspan').text("MHz Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0); var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig(); sparklineConfig.bindto = '#chart-pf-sparkline-1'; sparklineConfig.data = { columns: [ ['%', 10, 50, 28, 20, 31, 27, 60, 36, 52, 55, 62, 68, 69, 88, 74, 88, 95], ], type: 'area' }; var chart2 = c3.generate(sparklineConfig); </script> </div> <div class="col-xs-12 col-sm-4 col-md-4"> <h3 class="card-pf-subtitle">Memory</h3> <p class="card-pf-utilization-details"> <span class="card-pf-utilization-card-details-count">256</span> <span class="card-pf-utilization-card-details-description"> <span class="card-pf-utilization-card-details-line-1">Available</span> <span class="card-pf-utilization-card-details-line-2">of 432 GB</span> </span> </p> <div id="chart-pf-donut-2"></div> <div class="chart-pf-sparkline" id="chart-pf-sparkline-2"></div> <script> var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A'); donutConfig.bindto = '#chart-pf-donut-2'; donutConfig.color = { pattern: ["#3f9c35","#D1D1D1"] }; donutConfig.data = { type: "donut", columns: [ ["Used", 41], ["Available", 59] ], groups: [ ["used", "available"] ], order: null }; donutConfig.tooltip = { contents: function (d) { return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' + Math.round(d[0].ratio * 100) + '%' + ' GB ' + d[0].name + '</span>'; } }; var chart3 = c3.generate(donutConfig); var donutChartTitle = d3.select("#chart-pf-donut-2").select('text.c3-chart-arcs-title'); donutChartTitle.text(""); donutChartTitle.insert('tspan').text("176").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0); donutChartTitle.insert('tspan').text("GB Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0); var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig(); sparklineConfig.bindto = '#chart-pf-sparkline-2'; sparklineConfig.data = { columns: [ ['%', 35, 36, 20, 30, 31, 22, 44, 36, 40, 41, 55, 52, 48, 48, 50, 40, 41], ], type: 'area' }; var chart4 = c3.generate(sparklineConfig); </script> </div> <div class="col-xs-12 col-sm-4 col-md-4"> <h3 class="card-pf-subtitle">Network</h3> <p class="card-pf-utilization-details"> <span class="card-pf-utilization-card-details-count">200</span> <span class="card-pf-utilization-card-details-description"> <span class="card-pf-utilization-card-details-line-1">Available</span> <span class="card-pf-utilization-card-details-line-2">of 1300 Gbps</span> </span> </p> <div id="chart-pf-donut-3"></div> <div class="chart-pf-sparkline" id="chart-pf-sparkline-3"></div> <script> var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A'); donutConfig.bindto = '#chart-pf-donut-3'; donutConfig.color = { pattern: ["#EC7A08","#D1D1D1"] }; donutConfig.data = { type: "donut", columns: [ ["Used", 85], ["Available", 15] ], groups: [ ["used", "available"] ], order: null }; donutConfig.tooltip = { contents: function (d) { return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' + Math.round(d[0].ratio * 100) + '%' + ' Gbps ' + d[0].name + '</span>'; } }; var chart5 = c3.generate(donutConfig); var donutChartTitle = d3.select("#chart-pf-donut-3").select('text.c3-chart-arcs-title'); donutChartTitle.text(""); donutChartTitle.insert('tspan').text("1100").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0); donutChartTitle.insert('tspan').text("Gbps Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0); var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig(); sparklineConfig.bindto = '#chart-pf-sparkline-3'; sparklineConfig.data = { columns: [ ['%', 60, 55, 70, 44, 31, 67, 54, 46, 58, 75, 62, 68, 69, 88, 74, 88, 85], ], type: 'area' }; var chart6 = c3.generate(sparklineConfig); </script> </div> </div> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <div class="col-xs-12 col-sm-4 col-md-4"> <div class="card-pf card-pf-utilization"> <h2 class="card-pf-title"> Network </h2> <div class="card-pf-body"> <p class="card-pf-utilization-details"> <span class="card-pf-utilization-card-details-count">200</span> <span class="card-pf-utilization-card-details-description"> <span class="card-pf-utilization-card-details-line-1">Available</span> <span class="card-pf-utilization-card-details-line-2">of 1300 Gbps</span> </span> </p> <div id="chart-pf-donut-4"></div> <div class="chart-pf-sparkline" id="chart-pf-sparkline-4"></div> <script> var c3ChartDefaults = $().c3ChartDefaults(); var donutConfig = c3ChartDefaults.getDefaultDonutConfig('A'); donutConfig.bindto = '#chart-pf-donut-4'; donutConfig.color = { pattern: ["#EC7A08","#D1D1D1"] }; donutConfig.data = { type: "donut", columns: [ ["Used", 85], ["Available", 15] ], groups: [ ["used", "available"] ], order: null }; donutConfig.tooltip = { contents: function (d) { return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' + Math.round(d[0].ratio * 100) + '%' + ' Gbps ' + d[0].name + '</span>'; } }; var chart1 = c3.generate(donutConfig); var donutChartTitle = d3.select("#chart-pf-donut-4").select('text.c3-chart-arcs-title'); donutChartTitle.text(""); donutChartTitle.insert('tspan').text("1100").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0); donutChartTitle.insert('tspan').text("Gbps Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0); var sparklineConfig = c3ChartDefaults.getDefaultSparklineConfig(); sparklineConfig.bindto = '#chart-pf-sparkline-4'; sparklineConfig.data = { columns: [ ['%', 60, 55, 70, 44, 31, 67, 54, 46, 58, 75, 62, 68, 69, 88, 74, 88, 85], ], type: 'area' }; var chart2 = c3.generate(sparklineConfig); </script> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-6 col-md-5"> <div class="card-pf"> <div class="card-pf-heading"> <div class="dropdown card-pf-time-frame-filter"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Last 30 Days <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li class="selected"><a href="#">Last 30 Days</a></li> <li><a href="#">Last 60 Days</a></li> <li><a href="#">Last 90 Days</a></li> </ul> </div> <h2 class="card-pf-title"> Card Title </h2> </div> <div class="card-pf-body"> <p>[card contents]</p> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-7"> <div class="card-pf"> <h2 class="card-pf-title"> Card Title </h2> <div class="card-pf-body"> <p>[card contents]</p> </div> <div class="card-pf-footer"> <div class="dropdown card-pf-time-frame-filter"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Last 30 Days <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li class="selected"><a href="#">Last 30 Days</a></li> <li><a href="#">Last 60 Days</a></li> <li><a href="#">Last 90 Days</a></li> </ul> </div> <p> <a href="#" class="card-pf-link-with-icon"> <span class="pficon pficon-add-circle-o"></span>Add New Cluster </a> </p> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-12 col-sm-5 col-md-5"> <div class="card-pf"> <h2 class="card-pf-title"> Card Title </h2> <div class="card-pf-body"> <p>[card contents]</p> </div> <div class="card-pf-footer"> <div class="dropdown card-pf-time-frame-filter"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Last 30 Days <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li class="selected"><a href="#">Last 30 Days</a></li> <li><a href="#">Last 60 Days</a></li> <li><a href="#">Last 90 Days</a></li> </ul> </div> <p> <a href="#" class="card-pf-link-with-icon"> <span class="pficon pficon-flag"></span>View CPU Events </a> </p> </div> </div> </div> <div class="col-xs-12 col-sm-7 col-md-7"> <div class="card-pf"> <h2 class="card-pf-title"> Card Title </h2> <div class="card-pf-body"> <p>[card contents]</p> </div> </div> </div> </div> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-6 col-sm-8 col-md-8"> <div class="card-pf"> <div class="card-pf-body"> <p>[card contents]</p> </div> <div class="card-pf-footer"> <p><a href="#">Footer link</a></p> </div> </div> </div> <div class="col-xs-6 col-sm-4 col-md-4"> <div class="card-pf"> <div class="card-pf-body"> <p>[card contents]</p> </div> <div class="card-pf-footer"> <p><a href="#">Footer link</a></p> </div> </div> </div> </div><!-- /row --> <div class="row row-cards-pf"> <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row --> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="card-pf"> <div class="card-pf-body"> <p>[card contents]</p> </div> </div> </div> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="card-pf"> <div class="card-pf-body"> <p>[card contents]</p> </div> </div> </div> </div><!-- /row --> </div> <script> $(document).ready(function() { // matchHeight the contents of each .card-pf and then the .card-pf itself $(".row-cards-pf > [class*='col'] > .card-pf .card-pf-title").matchHeight(); $(".row-cards-pf > [class*='col'] > .card-pf > .card-pf-body").matchHeight(); $(".row-cards-pf > [class*='col'] > .card-pf > .card-pf-footer").matchHeight(); $(".row-cards-pf > [class*='col'] > .card-pf").matchHeight(); // Initialize the vertical navigation $().setupVerticalNavigation(true); }); </script> </html>