patternfly-sass 3.17.0 → 3.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.svg +19025 -1827
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.svg +19033 -1827
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.svg +19027 -1827
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.svg +19033 -1827
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.svg +19040 -1827
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.svg +19023 -1828
- data/assets/fonts/patternfly/OpenSans-Light-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.svg +19036 -1832
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.svg +19027 -1828
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.svg +19027 -1827
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.svg +19040 -1827
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.svg +2 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
- data/assets/javascripts/patternfly-functions.js +118 -105
- data/assets/javascripts/patternfly-functions.min.js +1 -1
- data/assets/javascripts/patternfly-settings.js +24 -1
- data/assets/javascripts/patternfly-settings.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfEmpty.js +11 -2
- data/assets/javascripts/patternfly.dataTables.pfEmpty.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfFilter.js +13 -5
- data/assets/javascripts/patternfly.dataTables.pfFilter.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfPagination.js +401 -0
- data/assets/javascripts/patternfly.dataTables.pfPagination.min.js +1 -0
- data/assets/javascripts/patternfly.dataTables.pfSelect.js +2 -2
- data/assets/javascripts/patternfly.dataTables.pfSelect.min.js +1 -1
- data/assets/javascripts/patternfly.js +142 -106
- data/assets/javascripts/patternfly.min.js +2 -2
- data/assets/stylesheets/_patternfly.scss +1 -0
- data/assets/stylesheets/patternfly/_close.scss +2 -0
- data/assets/stylesheets/patternfly/_fonts.scss +95 -25
- data/assets/stylesheets/patternfly/_icons.scss +6 -0
- data/assets/stylesheets/patternfly/_list-view-dnd.scss +53 -0
- data/assets/stylesheets/patternfly/_list-view.scss +1 -0
- data/assets/stylesheets/patternfly/_pagination.scss +50 -0
- data/assets/stylesheets/patternfly/_variables.scss +2 -0
- data/assets/stylesheets/patternfly/lib/bootstrap-switch.scss +2 -5
- data/bower.json +1 -1
- data/lib/patternfly-sass/version.rb +2 -2
- data/package.json +1 -1
- data/spec/html/bar-charts.html +109 -0
- data/spec/html/basic.html +267 -0
- data/spec/html/bootstrap-treeview-2.html +3 -0
- data/spec/html/card-view-multi-select.html +20 -1
- data/spec/html/card-view-single-select.html +3 -0
- data/spec/html/cards.html +3 -0
- data/spec/html/dashboard.html +3 -0
- data/spec/html/dist/css/patternfly-additions.css +46 -0
- data/spec/html/dist/css/patternfly-additions.css.map +1 -1
- data/spec/html/dist/css/patternfly-additions.min.css +1 -1
- data/spec/html/dist/css/patternfly-additions.min.css.map +1 -1
- data/spec/html/dist/css/patternfly.css +124 -5
- data/spec/html/dist/css/patternfly.css.map +1 -1
- data/spec/html/dist/css/patternfly.min.css +3 -3
- data/spec/html/dist/css/patternfly.min.css.map +1 -1
- data/spec/html/form.html +3 -0
- data/spec/html/icons.html +10 -0
- data/spec/html/index.html +9 -0
- data/spec/html/list-view-compound-expansion.html +3 -0
- data/spec/html/list-view-rows.html +1 -1
- data/spec/html/list-view-simple-expansion.html +3 -0
- data/spec/html/list-view.html +19 -0
- data/spec/html/pagination-card-view.html +560 -0
- data/spec/html/pagination-list-view.html +1204 -0
- data/spec/html/pagination-table-view.html +800 -0
- data/spec/html/pagination.html +37 -0
- data/spec/html/tab.html +267 -0
- data/spec/html/table-view-navbar.html +268 -0
- data/spec/html/table-view.html +265 -0
- data/spec/html/toolbar.html +3 -0
- data/spec/html/typography-2.html +3 -0
- data/spec/html/typography.html +17 -0
- metadata +21 -2
@@ -1,2 +1,2 @@
|
|
1
|
-
!function(window){"use strict";var patternfly={version:"3.13.0"};patternfly.pfPaletteColors={black:"#030303",black100:"#fafafa",black200:"#ededed",black300:"#d1d1d1",black400:"#bbbbbb",black500:"#8b8d8f",black600:"#72767b",black700:"#4d5258",black800:"#393f44",black900:"#292e34",blue:"#0088ce",blue100:"#bee1f4",blue200:"#7dc3e8",blue300:"#39a5dc",blue400:"#0088ce",blue500:"#00659c",blue600:"#004368",blue700:"#002235",gold:"#f0ab00",gold100:"#fbeabc",gold200:"#f9d67a",gold300:"#f5c12e",gold400:"#f0ab00",gold500:"#b58100",gold600:"#795600",gold700:"#3d2c00",orange:"#ec7a08",orange100:"#fbdebf",orange200:"#f7bd7f",orange300:"#f39d3c",orange400:"#ec7a08",orange500:"#b35c00",orange600:"#773d00",orange700:"#3b1f00",lightBlue:"#00b9e4",lightBlue100:"#beedf9",lightBlue200:"#7cdbf3",lightBlue300:"#35caed",lightBlue400:"#00b9e4",lightBlue500:"#008bad",lightBlue600:"#005c73",lightBlue700:"#002d39",green:"#3f9c35",green100:"#cfe7cd",green200:"#9ecf99",green300:"#6ec664",green400:"#3f9c35",green500:"#2d7623",green600:"#1e4f18",green700:"#0f280d",lightGreen:"#92d400",lightGreen100:"#e4f5bc",lightGreen200:"#c8eb79",lightGreen300:"#ace12e",lightGreen400:"#92d400",lightGreen500:"#6ca100",lightGreen600:"#486b00",lightGreen700:"#253600",cyan:"#007a87",cyan100:"#bedee1",cyan200:"#7dbdc3",cyan300:"#3a9ca6",cyan400:"#007a87",cyan500:"#005c66",cyan600:"#003d44",cyan700:"#001f22",purple:"#703fec",purple100:"#c7bfff",purple200:"#a18fff",purple300:"#8461f7",purple400:"#703fec",purple500:"#582fc0",purple600:"#40199a",purple700:"#1f0066",red:"#cc0000",red100:"#cc0000",red200:"#a30000",red300:"#8b0000",red400:"#470000",red500:"#2c0000"},patternfly.pfSetDonutChartTitle=function(selector,primary,secondary){var donutChartRightTitle=window.d3.select(selector).select("text.c3-chart-arcs-title");donutChartRightTitle.text(""),donutChartRightTitle.insert("tspan").text(primary).classed("donut-title-big-pf",!0).attr("dy",0).attr("x",0),donutChartRightTitle.insert("tspan").text(secondary).classed("donut-title-small-pf",!0).attr("dy",20).attr("x",0)},patternfly.pfDonutTooltipContents=function(d,defaultTitleFormat,defaultValueFormat,color){return'<table class="c3-tooltip"> <tr> <td><span style="background-color:'+color(d[0].id)+'"></span><strong>'+d[0].value+"</strong> "+d[0].name+"</td> <td>"+Math.round(1e3*d[0].ratio)/10+"%</td> </tr></table>"},patternfly.pfGetUtilizationDonutTooltipContentsFn=function(units){return function(d){return'<span class="donut-tooltip-pf" style="white-space: nowrap;">'+Math.round(1e3*d[0].ratio)/10+"% "+units+" "+d[0].name+"</span>"}},patternfly.pfGetBarChartTooltipContentsFn=function(categories){return function(d){var name=categories?categories[d[0].index]:d[0].index;return'<table class="c3-tooltip"> <tr> <td><strong>'+name+":</td> <td>"+d[0].value+"</td> </tr></table>"}},patternfly.pfSingleLineChartTooltipContentsFn=function(categories){return function(d){var name=categories?categories[d[0].index]:d[0].index;return'<table class="c3-tooltip"> <tr> <td><strong>'+name+":</td> <td>"+d[0].value+"</td> </tr></table>"}},patternfly.pfPieTooltipContents=function(d,defaultTitleFormat,defaultValueFormat,color){return patternfly.pfDonutTooltipContents(d,defaultTitleFormat,defaultValueFormat,color)},patternfly.c3ChartDefaults=function(){var getDefaultColors=function(){return{pattern:[patternfly.pfPaletteColors.blue,patternfly.pfPaletteColors.blue300,patternfly.pfPaletteColors.green,patternfly.pfPaletteColors.orange,patternfly.pfPaletteColors.red]}},getDefaultBarGrid=function(){return{y:{show:!0}}},getDefaultBarTooltip=function(categories){return{contents:patternfly.pfGetBarChartTooltipContentsFn(categories)}},getDefaultBarLegend=function(){return{show:!1}},getDefaultBarConfig=function(categories){return{color:this.getDefaultColors(),grid:this.getDefaultBarGrid(),tooltip:this.getDefaultBarTooltip(categories),legend:this.getDefaultBarLegend()}},getDefaultGroupedBarGrid=function(){return{y:{show:!0}}},getDefaultGroupedBarLegend=function(){return{show:!0,position:"bottom"}},getDefaultGroupedBarConfig=function(){return{color:this.getDefaultColors(),grid:this.getDefaultGroupedBarGrid(),legend:this.getDefaultGroupedBarLegend()}},getDefaultDonut=function(title){return{title:title,label:{show:!1},width:11}},getDefaultDonutSize=function(){return{height:171}},getDefaultDonutColors=function(){return{pattern:[patternfly.pfPaletteColors.blue,patternfly.pfPaletteColors.black300]}},getDefaultDonutTooltip=function(){return{show:!1}},getDefaultDonutLegend=function(){return{show:!1}},getDefaultDonutConfig=function(title){return{donut:this.getDefaultDonut(title),size:this.getDefaultDonutSize(),legend:this.getDefaultDonutLegend(),color:this.getDefaultDonutColors(),tooltip:this.getDefaultDonutTooltip()}},getDefaultPie=function(){return{expand:!0,label:{show:!1}}},getDefaultPieSize=function(){return{height:171}},getDefaultPieColors=function(){return{pattern:[patternfly.pfPaletteColors.blue,patternfly.pfPaletteColors.black300]}},getDefaultPieTooltip=function(){return{contents:$().pfPieTooltipContents}},getDefaultPieLegend=function(){return{show:!1}},getDefaultPieConfig=function(){return{pie:this.getDefaultPie(),size:this.getDefaultPieSize(),legend:this.getDefaultPieLegend(),color:this.getDefaultPieColors(),tooltip:this.getDefaultPieTooltip()}},getDefaultSparklineArea=function(){return{zerobased:!0}},getDefaultSparklineSize=function(){return{height:60}},getDefaultSparklineAxis=function(){return{x:{show:!1},y:{show:!1}}},getDefaultSparklineLegend=function(){return{show:!1}},getDefaultSparklinePoint=function(){return{r:1,focus:{expand:{r:4}}}},getDefaultSparklineTooltip=function(){return{contents:function(d){return'<span class="c3-tooltip-sparkline">'+d[0].value+" "+d[0].name+"</span>"}}},getDefaultSparklineConfig=function(){return{area:getDefaultSparklineArea(),size:getDefaultSparklineSize(),axis:getDefaultSparklineAxis(),color:getDefaultColors(),legend:getDefaultSparklineLegend(),point:getDefaultSparklinePoint(),tooltip:getDefaultSparklineTooltip()}},getDefaultLineAxis=function(){return{x:{show:!0},y:{show:!0}}},getDefaultLineGrid=function(){return{x:{show:!1},y:{show:!0}}},getDefaultLineLegend=function(){return{show:!0}},getDefaultLinePoint=function(){return{r:3,focus:{expand:{r:5}}}},getDefaultLineConfig=function(){return{axis:getDefaultLineAxis(),grid:getDefaultLineGrid(),color:getDefaultColors(),legend:getDefaultLineLegend(),point:getDefaultLinePoint()}},getDefaultSingleLineTooltip=function(){return{contents:$().pfGetBarChartTooltipContentsFn()}},getDefaultSingleLineLegend=function(){return{show:!1}},getDefaultSingleLineConfig=function(){return{axis:getDefaultLineAxis(),grid:getDefaultLineGrid(),color:getDefaultColors(),legend:getDefaultSingleLineLegend(),point:getDefaultLinePoint(),tooltip:getDefaultSingleLineTooltip()}},getDefaultAreaAxis=function(){return getDefaultLineAxis()},getDefaultAreaGrid=function(){return getDefaultLineGrid()},getDefaultAreaLegend=function(){return getDefaultLineLegend()},getDefaultAreaPoint=function(){return getDefaultLinePoint()},getDefaultAreaConfig=function(){return{axis:getDefaultAreaAxis(),grid:getDefaultAreaGrid(),color:getDefaultColors(),legend:getDefaultAreaLegend(),point:getDefaultAreaPoint()}},getDefaultSingleAreaTooltip=function(){return{contents:$().pfGetBarChartTooltipContentsFn()}},getDefaultSingleAreaLegend=function(){return getDefaultSingleLineLegend()},getDefaultSingleAreaConfig=function(){return{axis:getDefaultAreaAxis(),grid:getDefaultAreaGrid(),color:getDefaultColors(),legend:getDefaultSingleAreaLegend(),point:getDefaultAreaPoint(),tooltip:getDefaultSingleAreaTooltip()}};return{getDefaultColors:getDefaultColors,getDefaultBarGrid:getDefaultBarGrid,getDefaultBarTooltip:getDefaultBarTooltip,getDefaultBarLegend:getDefaultBarLegend,getDefaultBarConfig:getDefaultBarConfig,getDefaultGroupedBarGrid:getDefaultGroupedBarGrid,getDefaultGroupedBarLegend:getDefaultGroupedBarLegend,getDefaultGroupedBarConfig:getDefaultGroupedBarConfig,getDefaultDonut:getDefaultDonut,getDefaultDonutSize:getDefaultDonutSize,getDefaultDonutColors:getDefaultDonutColors,getDefaultDonutTooltip:getDefaultDonutTooltip,getDefaultDonutLegend:getDefaultDonutLegend,getDefaultDonutConfig:getDefaultDonutConfig,getDefaultPie:getDefaultPie,getDefaultPieSize:getDefaultPieSize,getDefaultPieColors:getDefaultPieColors,getDefaultPieTooltip:getDefaultPieTooltip,getDefaultPieLegend:getDefaultPieLegend,getDefaultPieConfig:getDefaultPieConfig,getDefaultSparklineArea:getDefaultSparklineArea,getDefaultSparklineSize:getDefaultSparklineSize,getDefaultSparklineAxis:getDefaultSparklineAxis,getDefaultSparklineLegend:getDefaultSparklineLegend,getDefaultSparklinePoint:getDefaultSparklinePoint,getDefaultSparklineTooltip:getDefaultSparklineTooltip,getDefaultSparklineConfig:getDefaultSparklineConfig,getDefaultLineAxis:getDefaultLineAxis,getDefaultLineGrid:getDefaultLineGrid,getDefaultLineLegend:getDefaultLineLegend,getDefaultLinePoint:getDefaultLinePoint,getDefaultLineConfig:getDefaultLineConfig,getDefaultSingleLineTooltip:getDefaultSingleLineTooltip,getDefaultSingleLineConfig:getDefaultSingleLineConfig,getDefaultAreaAxis:getDefaultAreaAxis,getDefaultAreaGrid:getDefaultAreaGrid,getDefaultAreaLegend:getDefaultAreaLegend,getDefaultAreaPoint:getDefaultAreaPoint,getDefaultAreaConfig:getDefaultAreaConfig,getDefaultSingleAreaTooltip:getDefaultSingleAreaTooltip,getDefaultSingleAreaConfig:getDefaultSingleAreaConfig}},patternfly.pfBreakpoints={tablet:768,desktop:1200},window.patternfly=patternfly}(window),function($){"use strict";$.fn.sidebar=function(){var documentHeight=0,navbarpfHeight=0,colHeight=0;$(".navbar-pf .navbar-toggle").is(":hidden")&&(documentHeight=$(document).height(),navbarpfHeight=$(".navbar-pf").outerHeight(),colHeight=documentHeight-navbarpfHeight),$(".sidebar-pf").parent(".row").children('[class*="col-"]').css({"min-height":colHeight})},$(document).ready(function(){$(".sidebar-pf").length>0&&0===$(".datatable").length&&$.fn.sidebar()}),$(window).resize(function(){$(".sidebar-pf").length>0&&$.fn.sidebar()})}(jQuery),function($){"use strict";$.fn.popovers=function(){return this.popover(),this.filter("[data-close=true]").each(function(index,element){var $this=$(element),title=$this.attr("data-original-title")+'<button type="button" class="close" aria-hidden="true"><span class="pficon pficon-close"></span></button>';$this.attr("data-original-title",title)}),this.on("click",function(e){var $this=$(this),$title=$this.next(".popover").find(".popover-title");$title.find(".close").parent(".popover-title").addClass("closable"),$title.find(".close").on("click",function(){$this.popover("hide")}),e.preventDefault()}),this}}(jQuery),function($){"use strict";$.fn.dataTableExt&&($.extend(!0,$.fn.dataTable.defaults,{bDestroy:!0,bAutoWidth:!1,iDisplayLength:20,sDom:"<'dataTables_header' f i r ><'table-responsive' t ><'dataTables_footer' p >",oLanguage:{sInfo:"Showing <b>_START_</b> to <b>_END_</b> of <b>_TOTAL_</b> Items",sInfoFiltered:"(of <b>_MAX_</b>)",sInfoEmpty:"Showing <b>0</b> Results",sZeroRecords:"<p>Suggestions</p><ul><li>Check the javascript regular expression syntax of the search term.</li><li>Check that the correct menu option is chosen (token ID vs. user ID).</li><li>Use wildcards (* to match 0 or more characters, + to match 1 or more characters, ? to match 0 or 1 character).</li><li>Clear the search field, then click Search to return to the 20 most recent records.</li></ul>",sSearch:""},sPaginationType:"bootstrap_input",oSearch:{sSearch:"",bRegex:!0,bSmart:!1}}),$.extend($.fn.dataTableExt.oStdClasses,{sWrapper:"dataTables_wrapper"}),$.fn.dataTableExt.oApi.fnPagingInfo=function(oSettings){return{iStart:oSettings._iDisplayStart,iEnd:oSettings.fnDisplayEnd(),iLength:oSettings._iDisplayLength,iTotal:oSettings.fnRecordsTotal(),iFilteredTotal:oSettings.fnRecordsDisplay(),iPage:oSettings._iDisplayLength===-1?0:Math.ceil(oSettings._iDisplayStart/oSettings._iDisplayLength),iTotalPages:oSettings._iDisplayLength===-1?0:Math.ceil(oSettings.fnRecordsDisplay()/oSettings._iDisplayLength)}},$.extend($.fn.dataTableExt.oPagination,{bootstrap_input:{fnInit:function(oSettings,nPaging,fnDraw){var els,nInput,fnClickHandler=function(e){e.preventDefault(),oSettings.oApi._fnPageChange(oSettings,e.data.action)&&fnDraw(oSettings)};$(nPaging).append('<ul class="pagination"> <li class="first disabled"><span class="i fa fa-angle-double-left"></span></li> <li class="prev disabled"><span class="i fa fa-angle-left"></span></li></ul><div class="pagination-input"> <input type="text" class="paginate_input"> <span class="paginate_of">of <b>3</b></span></div><ul class="pagination"> <li class="next disabled"><span class="i fa fa-angle-right"></span></li> <li class="last disabled"><span class="i fa fa-angle-double-right"></span></li></ul>'),els=$("li",nPaging),$(els[0]).bind("click.DT",{action:"first"},fnClickHandler),$(els[1]).bind("click.DT",{action:"previous"},fnClickHandler),$(els[2]).bind("click.DT",{action:"next"},fnClickHandler),$(els[3]).bind("click.DT",{action:"last"},fnClickHandler),nInput=$("input",nPaging),$(nInput).keyup(function(e){var iNewStart;if(38===e.which||39===e.which?this.value+=1:(37===e.which||40===e.which)&&this.value>1&&(this.value-=1),""!==this.value&&this.value.match(/[0-9]/)){if(iNewStart=oSettings._iDisplayLength*(this.value-1),iNewStart>=oSettings.fnRecordsDisplay())return oSettings._iDisplayStart=(Math.ceil((oSettings.fnRecordsDisplay()-1)/oSettings._iDisplayLength)-1)*oSettings._iDisplayLength,void fnDraw(oSettings);oSettings._iDisplayStart=iNewStart,fnDraw(oSettings)}})},fnUpdate:function(oSettings,fnDraw){var i,oPaging=oSettings.oInstance.fnPagingInfo(),an=oSettings.aanFeatures.p,ien=an.length,iPages=Math.ceil(oSettings.fnRecordsDisplay()/oSettings._iDisplayLength),iCurrentPage=Math.ceil(oSettings._iDisplayStart/oSettings._iDisplayLength)+1;for(i=0;i<ien;i+=1)$(".paginate_input",an[i]).val(iCurrentPage).siblings(".paginate_of").find("b").html(iPages),0===oPaging.iPage?($("li.first",an[i]).addClass("disabled"),$("li.prev",an[i]).addClass("disabled")):($("li.first",an[i]).removeClass("disabled"),$("li.prev",an[i]).removeClass("disabled")),oPaging.iPage===oPaging.iTotalPages-1||0===oPaging.iTotalPages?($("li.next",an[i]).addClass("disabled"),$("li.last",an[i]).addClass("disabled")):($("li.next",an[i]).removeClass("disabled"),$("li.last",an[i]).removeClass("disabled"))}}}))}(jQuery),function($){"use strict";void 0!==patternfly&&($.pfBreakpoints=patternfly.pfBreakpoints)}(jQuery),function($){"use strict";$.fn.navigation=function(){var navElement=$(".layout-pf-alt-fixed .nav-pf-vertical-alt"),bodyContentElement=$(".container-pf-alt-nav-pf-vertical-alt"),toggleNavBarButton=$(".navbar-toggle"),explicitCollapse=!1,checkNavState=function(){var width=$(window).width();navElement.removeClass("hidden show-mobile-nav collapsed"),bodyContentElement.removeClass("collapsed-nav hidden-nav"),(width<$.pfBreakpoints.desktop||explicitCollapse)&&(navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav")),width<$.pfBreakpoints.tablet&&(navElement.addClass("hidden"),navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),bodyContentElement.addClass("hidden-nav"))},collapseMenu=function(){navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav"),explicitCollapse=!0},enableTransitions=function(){$("html").addClass("transitions")},expandMenu=function(){navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),explicitCollapse=!1},bindMenuBehavior=function(){toggleNavBarButton.on("click",function(e){var inMobileState=bodyContentElement.hasClass("hidden-nav");enableTransitions(),inMobileState&&navElement.hasClass("show-mobile-nav")?navElement.removeClass("show-mobile-nav"):inMobileState?navElement.addClass("show-mobile-nav"):navElement.hasClass("collapsed")?expandMenu():collapseMenu()})},setTooltips=function(){$('.nav-pf-vertical-alt [data-toggle="tooltip"]').tooltip({container:"body",delay:{show:"500",hide:"200"}}),$(".nav-pf-vertical-alt").on("show.bs.tooltip",function(e){return $(this).hasClass("collapsed")})},init=function(){checkNavState(),bindMenuBehavior(),setTooltips()};$(window).on("resize",function(){checkNavState(),enableTransitions()}),init()},$(document).ready(function(){$(".nav-pf-vertical-alt").length>0&&$.fn.navigation()})}(jQuery),function($){"use strict";$.fn.countRemainingChars=function(options){var settings=$.extend({charsMaxLimit:100,charsWarnRemaining:5,blockInputAtMaxLimit:!1},options),$taFld=this,$countFld=$("#"+settings.countFld).text(settings.charsMaxLimit),charsRemainingFn=function(charsLength){var charsRemaining=settings.charsMaxLimit-charsLength;$countFld.text(charsRemaining),$countFld.toggleClass("chars-warn-remaining-pf",charsRemaining<=settings.charsWarnRemaining),charsRemaining<0?$taFld.trigger("overCharsMaxLimitEvent",$taFld.attr("id")):$taFld.trigger("underCharsMaxLimitEvent",$taFld.attr("id"))};return this.on("paste",function(event){setTimeout(function(){var maxTxt,charsLength=$taFld.val().length;settings.blockInputAtMaxLimit&&charsLength>settings.charsMaxLimit&&(maxTxt=$taFld.val(),maxTxt=maxTxt.substring(0,settings.charsMaxLimit),$taFld.val(maxTxt),charsLength=$taFld.val().length),charsRemainingFn(charsLength)},100)}),this.keyup(function(event){charsRemainingFn($taFld.val().length)}),this.keydown(function(event){var charsLength=$taFld.val().length;settings.blockInputAtMaxLimit&&charsLength>=settings.charsMaxLimit&&8!==event.keyCode&&event.preventDefault()}),this}}(jQuery),function($){"use strict";void 0!==patternfly&&($.pfPaletteColors=patternfly.pfPaletteColors)}(jQuery),function($){"use strict";void 0!==patternfly&&($.fn.pfSetDonutChartTitle=patternfly.pfSetDonutChartTitle,$.fn.pfDonutTooltipContents=patternfly.pfDonutTooltipContents,$.fn.pfGetUtilizationDonutTooltipContentsFn=patternfly.pfGetUtilizationDonutTooltipContentsFn,$.fn.pfGetBarChartTooltipContentsFn=patternfly.pfGetBarChartTooltipContentsFn,$.fn.pfSingleLineChartTooltipContentsFn=patternfly.pfSingleLineChartTooltipContentsFn,$.fn.pfPieTooltipContents=patternfly.pfPieTooltipContents,$.fn.c3ChartDefaults=patternfly.c3ChartDefaults)}(jQuery),function($){"use strict";$.fn.initCollapseHeights=function(scrollSelector){var setCollapseHeights,parentElement=this,targetScrollSelector=scrollSelector;setCollapseHeights=function(){var height,openPanel,contentHeight,bodyHeight,overflowY="hidden";height=parentElement.height(),openPanel=parentElement.find(".collapse.in"),openPanel&&openPanel.length>0&&openPanel.removeClass("in"),contentHeight=0,parentElement.children().each($.proxy(function(i,element){var $element=$(element);contentHeight+=$element.outerHeight(!0)},parentElement)).end(),bodyHeight=height-contentHeight,bodyHeight<25&&(bodyHeight=25,overflowY="auto"),openPanel&&openPanel.length>0&&openPanel.addClass("in"),setTimeout(function(){parentElement.find('[data-toggle="collapse"]').each($.proxy(function(i,element){var $element,selector,$target,scrollElement,innerHeight=0;$element=$(element),selector=$element.attr("data-target"),selector||(selector=$element.attr("href")),$target=$(selector),scrollElement=$target,targetScrollSelector&&(scrollElement=$target.find(targetScrollSelector),1===scrollElement.length?(innerHeight=0,$target.children().each($.proxy(function(j,sibling){var $sibling=$(sibling);sibling!==scrollElement[0]&&(innerHeight+=$sibling.outerHeight(!0))},$target)).end(),bodyHeight-=innerHeight):scrollElement=$target),scrollElement.css({"max-height":bodyHeight-innerHeight+"px","overflow-y":"auto"})},parentElement)).end(),parentElement.css({"overflow-y":overflowY})},100)},setCollapseHeights(),$(window).resize(setCollapseHeights)}}(jQuery),function($){"use strict";function getParent(rows,node){var parent=node.attr("data-parent");if("string"==typeof parent)return parent=isNaN(parent)?rows.closest(parent):$(rows[parseInt(parent,10)])}function renderItem(item,parent){parent&&(parent.find(".treegrid-node > span.expand-icon").toggleClass("fa-angle-right",parent.hasClass("collapsed")).toggleClass("fa-angle-down",!parent.hasClass("collapsed")),item.toggleClass("hidden",parent.hasClass("collapsed")),parent.hasClass("collapsed")&&item.addClass("collapsed"))}function reStripe(tree){tree.find("tbody > tr").removeClass("odd"),tree.find("tbody > tr:not(.hidden):odd").addClass("odd")}$.fn.treegrid=function(options){var i,rows,_this;rows=this.find("tbody > tr"),_this=this,$.each(rows,function(){var node,parent;if(node=$(this),parent=getParent(rows,node),node.children(".treegrid-node").prepend('<span class="icon expand-icon fa"/>'),node.children(".treegrid-node").on("click",function(e){var icon=node.find("span.expand-icon");options&&"function"==typeof options.callback&&options.callback(e),icon.hasClass("fa-angle-right")&&node.removeClass("collapsed"),icon.hasClass("fa-angle-down")&&node.addClass("collapsed"),$.each(rows.slice(rows.index(node)+1),function(){renderItem($(this),getParent(rows,$(this)))}),reStripe(_this)}),parent){for(i=parent.find(".treegrid-node > span.indent").length+1;i>0;i-=1)node.children(".treegrid-node").prepend('<span class="indent"/>');renderItem(node,parent)}}),reStripe(_this)}}(jQuery),function($){"use strict";$.fn.setupVerticalNavigation=function(handleItemSelections){var navElement=$(".nav-pf-vertical"),bodyContentElement=$(".container-pf-nav-pf-vertical"),toggleNavBarButton=$(".navbar-toggle"),explicitCollapse=!1,subDesktop=!1,hoverDelay=500,hideDelay=hoverDelay+200,inMobileState=function(){return bodyContentElement.hasClass("hidden-nav")},forceResize=function(delay){setTimeout(function(){$(window).trigger("resize")},delay)},showSecondaryMenu=function(){!inMobileState()&&subDesktop||(navElement.addClass("secondary-visible-pf"),bodyContentElement.addClass("secondary-visible-pf")),subDesktop||forceResize(100)},hideSecondaryMenu=function(){navElement.removeClass("secondary-visible-pf"),bodyContentElement.removeClass("secondary-visible-pf"),navElement.find(".mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")})},setPrimaryActiveItem=function(item){$(document).find(".nav-pf-vertical > .list-group > .list-group-item.active").each(function(index,element){$(element).removeClass("active")}),item.addClass("active")},setSecondaryActiveItem=function(item,$primaryParent){$(document).find(".nav-pf-secondary-nav > .list-group > .list-group-item.active").each(function(index,element){$(element).removeClass("active")}),item.addClass("active"),setPrimaryActiveItem($primaryParent)},setTertiaryActiveItem=function(item,$secondaryParent,$primaryParent){$(document).find(".nav-pf-tertiary-nav > .list-group > .list-group-item.active").each(function(index,element){$(element).removeClass("active")}),item.addClass("active"),setSecondaryActiveItem($secondaryParent,$primaryParent)},updateSecondaryMenuDisplayAfterSelection=function(){inMobileState()?(navElement.removeClass("show-mobile-nav"),hideSecondaryMenu(),navElement.find(".mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")})):showSecondaryMenu()},updateSecondaryCollapsedState=function(setCollapsed,collapsedItem){setCollapsed?(collapsedItem.addClass("collapsed"),navElement.addClass("collapsed-secondary-nav-pf"),bodyContentElement.addClass("collapsed-secondary-nav-pf")):(collapsedItem?collapsedItem.removeClass("collapsed"):navElement.find('[data-toggle="collapse-secondary-nav"]').each(function(index,element){var $e=$(element);$e.removeClass("collapsed")}),navElement.removeClass("collapsed-secondary-nav-pf"),bodyContentElement.removeClass("collapsed-secondary-nav-pf"))},updateTertiaryCollapsedState=function(setCollapsed,collapsedItem){setCollapsed?(collapsedItem.addClass("collapsed"),navElement.addClass("collapsed-tertiary-nav-pf"),bodyContentElement.addClass("collapsed-tertiary-nav-pf"),updateSecondaryCollapsedState(!1)):(collapsedItem?collapsedItem.removeClass("collapsed"):navElement.find('[data-toggle="collapse-tertiary-nav"]').each(function(index,element){var $e=$(element);$e.removeClass("collapsed")}),navElement.removeClass("collapsed-tertiary-nav-pf"),bodyContentElement.removeClass("collapsed-tertiary-nav-pf"))},updateMobileMenu=function(selected,secondaryItem){$(document).find(".list-group-item.mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")}),$(document).find(".list-group-item.mobile-secondary-item-pf").each(function(index,item){$(item).removeClass("mobile-secondary-item-pf")}),selected?(selected.addClass("mobile-nav-item-pf"),secondaryItem?(secondaryItem.addClass("mobile-secondary-item-pf"),navElement.removeClass("show-mobile-secondary"),navElement.addClass("show-mobile-tertiary")):(navElement.addClass("show-mobile-secondary"),navElement.removeClass("show-mobile-tertiary"))):(navElement.removeClass("show-mobile-secondary"),navElement.removeClass("show-mobile-tertiary"))},checkNavState=function(){var makeSecondaryVisible,width=$(window).width();width<$.pfBreakpoints.tablet?navElement.hasClass("hidden")||(navElement.addClass("hidden"),navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),bodyContentElement.addClass("hidden-nav"),updateSecondaryCollapsedState(!1),updateTertiaryCollapsedState(!1),explicitCollapse=!1):navElement.hasClass("hidden")&&(navElement.removeClass("hidden show-mobile-nav"),bodyContentElement.removeClass("hidden-nav")),width<$.pfBreakpoints.desktop?(subDesktop||(navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav")),width>=$.pfBreakpoints.tablet&&hideSecondaryMenu(),subDesktop=!0):(makeSecondaryVisible=subDesktop&&navElement.find(".secondary-nav-item-pf.active").length>0,subDesktop=!1,makeSecondaryVisible&&showSecondaryMenu()),explicitCollapse?(navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav")):(navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"))},collapseMenu=function(){navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav"),subDesktop&&hideSecondaryMenu(),explicitCollapse=!0},enableTransitions=function(){$("html").addClass("transitions")},expandMenu=function(){navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),explicitCollapse=!1,subDesktop||forceResize(100)},bindMenuBehavior=function(){toggleNavBarButton.on("click",function(e){enableTransitions(),inMobileState()?navElement.hasClass("show-mobile-nav")?navElement.removeClass("show-mobile-nav"):(updateMobileMenu(),navElement.addClass("show-mobile-nav")):navElement.hasClass("collapsed")?(window.localStorage.setItem("patternfly-navigation-primary","expanded"),expandMenu()):(window.localStorage.setItem("patternfly-navigation-primary","collapsed"),collapseMenu())})},forceHideSecondaryMenu=function(){navElement.addClass("force-hide-secondary-nav-pf"),setTimeout(function(){navElement.removeClass("force-hide-secondary-nav-pf")},500)},bindMenuItemsBehavior=function(handleSelection){$(document).find(".nav-pf-vertical > .list-group > .list-group-item").each(function(index,primaryItem){var $primaryItem=$(primaryItem);$primaryItem.on("click.pf.secondarynav.data-api",function(event){var $secondaryItem,tertiaryItem,$this=$(this);$this.hasClass("secondary-nav-item-pf")?inMobileState()?updateMobileMenu($this):handleSelection&&($secondaryItem=$($primaryItem.find(".nav-pf-secondary-nav > .list-group > .list-group-item")[0]),$secondaryItem.hasClass("tertiary-nav-item-pf")?(tertiaryItem=$secondaryItem.find(".nav-pf-tertiary-nav > .list-group > .list-group-item")[0],setTertiaryActiveItem($(tertiaryItem),$secondaryItem,$primaryItem)):setSecondaryActiveItem($secondaryItem,$this),event.stopImmediatePropagation()):(hideSecondaryMenu(),inMobileState()&&(updateMobileMenu(),navElement.removeClass("show-mobile-nav")),handleSelection&&(setPrimaryActiveItem($this),event.stopImmediatePropagation()))}),$primaryItem.find(".nav-pf-secondary-nav > .list-group > .list-group-item").each(function(index,secondaryItem){var $secondaryItem=$(secondaryItem);$secondaryItem.on("click.pf.secondarynav.data-api",function(event){var tertiaryItem,$this=$(this);$this.hasClass("tertiary-nav-item-pf")?inMobileState()?(updateMobileMenu($this,$primaryItem),event.stopImmediatePropagation()):handleSelection&&(tertiaryItem=$secondaryItem.find(".nav-pf-tertiary-nav > .list-group > .list-group-item")[0],setTertiaryActiveItem($(tertiaryItem),$secondaryItem,$primaryItem),event.stopImmediatePropagation()):(inMobileState()&&(updateMobileMenu(),navElement.removeClass("show-mobile-nav")),updateSecondaryMenuDisplayAfterSelection(),handleSelection&&(setSecondaryActiveItem($secondaryItem,$primaryItem),event.stopImmediatePropagation()))}),$secondaryItem.find(".nav-pf-tertiary-nav > .list-group > .list-group-item").each(function(index,tertiaryItem){var $tertiaryItem=$(tertiaryItem);$tertiaryItem.on("click.pf.secondarynav.data-api",function(event){inMobileState()&&(updateMobileMenu(),navElement.removeClass("show-mobile-nav")),updateSecondaryMenuDisplayAfterSelection(),handleSelection&&(setTertiaryActiveItem($tertiaryItem,$secondaryItem,$primaryItem),event.stopImmediatePropagation())})})})}),$(document).find(".secondary-nav-item-pf").each(function(index,secondaryItem){var $secondaryItem=$(secondaryItem);$secondaryItem.on("click.pf.secondarynav.data-api",'[data-toggle="collapse-secondary-nav"]',function(e){var $this=$(this);inMobileState()?(updateMobileMenu(),e.stopImmediatePropagation()):$this.hasClass("collapsed")?(window.localStorage.setItem("patternfly-navigation-secondary","expanded"),window.localStorage.setItem("patternfly-navigation-tertiary","expanded"),updateSecondaryCollapsedState(!1,$this),forceHideSecondaryMenu()):(window.localStorage.setItem("patternfly-navigation-secondary","collapsed"),updateSecondaryCollapsedState(!0,$this)),navElement.removeClass("hover-secondary-nav-pf"),handleSelection&&e.stopImmediatePropagation()}),$secondaryItem.find(".tertiary-nav-item-pf").each(function(index,primaryItem){var $primaryItem=$(primaryItem);$primaryItem.on("click.pf.tertiarynav.data-api",'[data-toggle="collapse-tertiary-nav"]',function(e){var $this=$(this);inMobileState()?(updateMobileMenu($secondaryItem),e.stopImmediatePropagation()):$this.hasClass("collapsed")?(window.localStorage.setItem("patternfly-navigation-secondary","expanded"),window.localStorage.setItem("patternfly-navigation-tertiary","expanded"),updateTertiaryCollapsedState(!1,$this),forceHideSecondaryMenu()):(window.localStorage.setItem("patternfly-navigation-tertiary","collapsed"),updateTertiaryCollapsedState(!0,$this)),navElement.removeClass("hover-secondary-nav-pf"),navElement.removeClass("hover-tertiary-nav-pf"),handleSelection&&e.stopImmediatePropagation()})})}),$(document).on("mouseenter.pf.tertiarynav.data-api",".secondary-nav-item-pf",function(e){var $this=$(this);inMobileState()||(void 0!==$this[0].navUnHoverTimeout?(clearTimeout($this[0].navUnHoverTimeout),$this[0].navUnHoverTimeout=void 0):void 0===$this[0].navHoverTimeout&&($this[0].navHoverTimeout=setTimeout(function(){navElement.addClass("hover-secondary-nav-pf"),$this.addClass("is-hover"),$this[0].navHoverTimeout=void 0},hoverDelay)))}),$(document).on("mouseleave.pf.tertiarynav.data-api",".secondary-nav-item-pf",function(e){var $this=$(this);void 0!==$this[0].navHoverTimeout?(clearTimeout($this[0].navHoverTimeout),$this[0].navHoverTimeout=void 0):void 0===$this[0].navUnHoverTimeout&&($this[0].navUnHoverTimeout=setTimeout(function(){navElement.find(".secondary-nav-item-pf.is-hover").length<=1&&navElement.removeClass("hover-secondary-nav-pf"),$this.removeClass("is-hover"),$this[0].navUnHoverTimeout=void 0},hideDelay))}),$(document).on("mouseover.pf.tertiarynav.data-api",".tertiary-nav-item-pf",function(e){var $this=$(this);inMobileState()||(void 0!==$this[0].navUnHoverTimeout?(clearTimeout($this[0].navUnHoverTimeout),$this[0].navUnHoverTimeout=void 0):void 0===$this[0].navHoverTimeout&&($this[0].navHoverTimeout=setTimeout(function(){
|
2
|
-
navElement.
|
1
|
+
!function(window){"use strict";var patternfly={version:"3.20.0"};patternfly.pfPaletteColors={black:"#030303",black100:"#fafafa",black200:"#ededed",black300:"#d1d1d1",black400:"#bbbbbb",black500:"#8b8d8f",black600:"#72767b",black700:"#4d5258",black800:"#393f44",black900:"#292e34",blue:"#0088ce",blue100:"#bee1f4",blue200:"#7dc3e8",blue300:"#39a5dc",blue400:"#0088ce",blue500:"#00659c",blue600:"#004368",blue700:"#002235",gold:"#f0ab00",gold100:"#fbeabc",gold200:"#f9d67a",gold300:"#f5c12e",gold400:"#f0ab00",gold500:"#b58100",gold600:"#795600",gold700:"#3d2c00",orange:"#ec7a08",orange100:"#fbdebf",orange200:"#f7bd7f",orange300:"#f39d3c",orange400:"#ec7a08",orange500:"#b35c00",orange600:"#773d00",orange700:"#3b1f00",lightBlue:"#00b9e4",lightBlue100:"#beedf9",lightBlue200:"#7cdbf3",lightBlue300:"#35caed",lightBlue400:"#00b9e4",lightBlue500:"#008bad",lightBlue600:"#005c73",lightBlue700:"#002d39",green:"#3f9c35",green100:"#cfe7cd",green200:"#9ecf99",green300:"#6ec664",green400:"#3f9c35",green500:"#2d7623",green600:"#1e4f18",green700:"#0f280d",lightGreen:"#92d400",lightGreen100:"#e4f5bc",lightGreen200:"#c8eb79",lightGreen300:"#ace12e",lightGreen400:"#92d400",lightGreen500:"#6ca100",lightGreen600:"#486b00",lightGreen700:"#253600",cyan:"#007a87",cyan100:"#bedee1",cyan200:"#7dbdc3",cyan300:"#3a9ca6",cyan400:"#007a87",cyan500:"#005c66",cyan600:"#003d44",cyan700:"#001f22",purple:"#703fec",purple100:"#c7bfff",purple200:"#a18fff",purple300:"#8461f7",purple400:"#703fec",purple500:"#582fc0",purple600:"#40199a",purple700:"#1f0066",red:"#cc0000",red100:"#cc0000",red200:"#a30000",red300:"#8b0000",red400:"#470000",red500:"#2c0000"},patternfly.pfSetDonutChartTitle=function(selector,primary,secondary){var donutChartRightTitle=window.d3.select(selector).select("text.c3-chart-arcs-title");donutChartRightTitle.text(""),donutChartRightTitle.insert("tspan").text(primary).classed("donut-title-big-pf",!0).attr("dy",0).attr("x",0),donutChartRightTitle.insert("tspan").text(secondary).classed("donut-title-small-pf",!0).attr("dy",20).attr("x",0)},patternfly.pfDonutTooltipContents=function(d,defaultTitleFormat,defaultValueFormat,color){return'<table class="c3-tooltip"> <tr> <td><span style="background-color:'+color(d[0].id)+'"></span><strong>'+d[0].value+"</strong> "+d[0].name+"</td> <td>"+Math.round(1e3*d[0].ratio)/10+"%</td> </tr></table>"},patternfly.pfGetUtilizationDonutTooltipContentsFn=function(units){return function(d){return'<span class="donut-tooltip-pf" style="white-space: nowrap;">'+Math.round(1e3*d[0].ratio)/10+"% "+units+" "+d[0].name+"</span>"}},patternfly.pfGetBarChartTooltipContentsFn=function(categories){return function(d){var name=categories?categories[d[0].index]:d[0].index;return'<table class="c3-tooltip"> <tr> <td><strong>'+name+":</td> <td>"+d[0].value+"</td> </tr></table>"}},patternfly.pfSingleLineChartTooltipContentsFn=function(categories){return function(d){var name=categories?categories[d[0].index]:d[0].index;return'<table class="c3-tooltip"> <tr> <td><strong>'+name+":</td> <td>"+d[0].value+"</td> </tr></table>"}},patternfly.pfPieTooltipContents=function(d,defaultTitleFormat,defaultValueFormat,color){return patternfly.pfDonutTooltipContents(d,defaultTitleFormat,defaultValueFormat,color)},patternfly.c3ChartDefaults=function(){var getDefaultColors=function(){return{pattern:[patternfly.pfPaletteColors.blue,patternfly.pfPaletteColors.blue300,patternfly.pfPaletteColors.green,patternfly.pfPaletteColors.orange,patternfly.pfPaletteColors.red]}},getDefaultBarGrid=function(){return{y:{show:!0}}},getDefaultBarTooltip=function(categories){return{contents:patternfly.pfGetBarChartTooltipContentsFn(categories)}},getDefaultBarLegend=function(){return{show:!1}},getDefaultBarConfig=function(categories){return{color:this.getDefaultColors(),grid:this.getDefaultBarGrid(),tooltip:this.getDefaultBarTooltip(categories),legend:this.getDefaultBarLegend()}},getDefaultGroupedBarGrid=function(){return{y:{show:!0}}},getDefaultGroupedBarLegend=function(){return{show:!0,position:"bottom"}},getDefaultGroupedBarConfig=function(){return{color:this.getDefaultColors(),grid:this.getDefaultGroupedBarGrid(),legend:this.getDefaultGroupedBarLegend()}},getDefaultStackedBarGrid=function(){return{y:{show:!0}}},getDefaultStackedBarLegend=function(){return{show:!0,position:"bottom"}},getDefaultStackedBarConfig=function(){return{color:this.getDefaultColors(),grid:this.getDefaultStackedBarGrid(),legend:this.getDefaultStackedBarLegend()}},getDefaultDonut=function(title){return{title:title,label:{show:!1},width:11}},getDefaultDonutSize=function(){return{height:171}},getDefaultDonutColors=function(){return{pattern:[patternfly.pfPaletteColors.blue,patternfly.pfPaletteColors.black300]}},getDefaultDonutTooltip=function(){return{show:!1}},getDefaultDonutLegend=function(){return{show:!1}},getDefaultDonutConfig=function(title){return{donut:this.getDefaultDonut(title),size:this.getDefaultDonutSize(),legend:this.getDefaultDonutLegend(),color:this.getDefaultDonutColors(),tooltip:this.getDefaultDonutTooltip()}},getDefaultPie=function(){return{expand:!0,label:{show:!1}}},getDefaultPieSize=function(){return{height:171}},getDefaultPieColors=function(){return{pattern:[patternfly.pfPaletteColors.blue,patternfly.pfPaletteColors.black300]}},getDefaultPieTooltip=function(){return{contents:$().pfPieTooltipContents}},getDefaultPieLegend=function(){return{show:!1}},getDefaultPieConfig=function(){return{pie:this.getDefaultPie(),size:this.getDefaultPieSize(),legend:this.getDefaultPieLegend(),color:this.getDefaultPieColors(),tooltip:this.getDefaultPieTooltip()}},getDefaultSparklineArea=function(){return{zerobased:!0}},getDefaultSparklineSize=function(){return{height:60}},getDefaultSparklineAxis=function(){return{x:{show:!1},y:{show:!1}}},getDefaultSparklineLegend=function(){return{show:!1}},getDefaultSparklinePoint=function(){return{r:1,focus:{expand:{r:4}}}},getDefaultSparklineTooltip=function(){return{contents:function(d){return'<span class="c3-tooltip-sparkline">'+d[0].value+" "+d[0].name+"</span>"}}},getDefaultSparklineConfig=function(){return{area:getDefaultSparklineArea(),size:getDefaultSparklineSize(),axis:getDefaultSparklineAxis(),color:getDefaultColors(),legend:getDefaultSparklineLegend(),point:getDefaultSparklinePoint(),tooltip:getDefaultSparklineTooltip()}},getDefaultLineAxis=function(){return{x:{show:!0},y:{show:!0}}},getDefaultLineGrid=function(){return{x:{show:!1},y:{show:!0}}},getDefaultLineLegend=function(){return{show:!0}},getDefaultLinePoint=function(){return{r:3,focus:{expand:{r:5}}}},getDefaultLineConfig=function(){return{axis:getDefaultLineAxis(),grid:getDefaultLineGrid(),color:getDefaultColors(),legend:getDefaultLineLegend(),point:getDefaultLinePoint()}},getDefaultSingleLineTooltip=function(){return{contents:$().pfGetBarChartTooltipContentsFn()}},getDefaultSingleLineLegend=function(){return{show:!1}},getDefaultSingleLineConfig=function(){return{axis:getDefaultLineAxis(),grid:getDefaultLineGrid(),color:getDefaultColors(),legend:getDefaultSingleLineLegend(),point:getDefaultLinePoint(),tooltip:getDefaultSingleLineTooltip()}},getDefaultAreaAxis=function(){return getDefaultLineAxis()},getDefaultAreaGrid=function(){return getDefaultLineGrid()},getDefaultAreaLegend=function(){return getDefaultLineLegend()},getDefaultAreaPoint=function(){return getDefaultLinePoint()},getDefaultAreaConfig=function(){return{axis:getDefaultAreaAxis(),grid:getDefaultAreaGrid(),color:getDefaultColors(),legend:getDefaultAreaLegend(),point:getDefaultAreaPoint()}},getDefaultSingleAreaTooltip=function(){return{contents:$().pfGetBarChartTooltipContentsFn()}},getDefaultSingleAreaLegend=function(){return getDefaultSingleLineLegend()},getDefaultSingleAreaConfig=function(){return{axis:getDefaultAreaAxis(),grid:getDefaultAreaGrid(),color:getDefaultColors(),legend:getDefaultSingleAreaLegend(),point:getDefaultAreaPoint(),tooltip:getDefaultSingleAreaTooltip()}};return{getDefaultColors:getDefaultColors,getDefaultBarGrid:getDefaultBarGrid,getDefaultBarTooltip:getDefaultBarTooltip,getDefaultBarLegend:getDefaultBarLegend,getDefaultBarConfig:getDefaultBarConfig,getDefaultGroupedBarGrid:getDefaultGroupedBarGrid,getDefaultGroupedBarLegend:getDefaultGroupedBarLegend,getDefaultGroupedBarConfig:getDefaultGroupedBarConfig,getDefaultStackedBarGrid:getDefaultStackedBarGrid,getDefaultStackedBarLegend:getDefaultStackedBarLegend,getDefaultStackedBarConfig:getDefaultStackedBarConfig,getDefaultDonut:getDefaultDonut,getDefaultDonutSize:getDefaultDonutSize,getDefaultDonutColors:getDefaultDonutColors,getDefaultDonutTooltip:getDefaultDonutTooltip,getDefaultDonutLegend:getDefaultDonutLegend,getDefaultDonutConfig:getDefaultDonutConfig,getDefaultPie:getDefaultPie,getDefaultPieSize:getDefaultPieSize,getDefaultPieColors:getDefaultPieColors,getDefaultPieTooltip:getDefaultPieTooltip,getDefaultPieLegend:getDefaultPieLegend,getDefaultPieConfig:getDefaultPieConfig,getDefaultSparklineArea:getDefaultSparklineArea,getDefaultSparklineSize:getDefaultSparklineSize,getDefaultSparklineAxis:getDefaultSparklineAxis,getDefaultSparklineLegend:getDefaultSparklineLegend,getDefaultSparklinePoint:getDefaultSparklinePoint,getDefaultSparklineTooltip:getDefaultSparklineTooltip,getDefaultSparklineConfig:getDefaultSparklineConfig,getDefaultLineAxis:getDefaultLineAxis,getDefaultLineGrid:getDefaultLineGrid,getDefaultLineLegend:getDefaultLineLegend,getDefaultLinePoint:getDefaultLinePoint,getDefaultLineConfig:getDefaultLineConfig,getDefaultSingleLineTooltip:getDefaultSingleLineTooltip,getDefaultSingleLineConfig:getDefaultSingleLineConfig,getDefaultAreaAxis:getDefaultAreaAxis,getDefaultAreaGrid:getDefaultAreaGrid,getDefaultAreaLegend:getDefaultAreaLegend,getDefaultAreaPoint:getDefaultAreaPoint,getDefaultAreaConfig:getDefaultAreaConfig,getDefaultSingleAreaTooltip:getDefaultSingleAreaTooltip,getDefaultSingleAreaConfig:getDefaultSingleAreaConfig}},patternfly.pfBreakpoints={tablet:768,desktop:1200},window.patternfly=patternfly}(window),function($){"use strict";$.fn.sidebar=function(){var documentHeight=0,navbarpfHeight=0,colHeight=0;$(".navbar-pf .navbar-toggle").is(":hidden")&&(documentHeight=$(document).height(),navbarpfHeight=$(".navbar-pf").outerHeight(),colHeight=documentHeight-navbarpfHeight),$(".sidebar-pf").parent(".row").children('[class*="col-"]').css({"min-height":colHeight})},$(document).ready(function(){$(".sidebar-pf").length>0&&0===$(".datatable").length&&$.fn.sidebar()}),$(window).resize(function(){$(".sidebar-pf").length>0&&$.fn.sidebar()})}(jQuery),function($){"use strict";$.fn.popovers=function(){return this.popover(),this.filter("[data-close=true]").each(function(index,element){var $this=$(element),title=$this.attr("data-original-title")+'<button type="button" class="close" aria-hidden="true"><span class="pficon pficon-close"></span></button>';$this.attr("data-original-title",title)}),this.on("click",function(e){var $this=$(this),$title=$this.next(".popover").find(".popover-title");$title.find(".close").parent(".popover-title").addClass("closable"),$title.find(".close").on("click",function(){$this.popover("hide")}),e.preventDefault()}),this}}(jQuery),function($){"use strict";$.fn.dataTableExt&&($.extend(!0,$.fn.dataTable.defaults,{bDestroy:!0,bAutoWidth:!1,iDisplayLength:20,sDom:"<'dataTables_header' f i r ><'table-responsive' t ><'dataTables_footer' p >",oLanguage:{sInfo:"Showing <b>_START_</b> to <b>_END_</b> of <b>_TOTAL_</b> Items",sInfoFiltered:"(of <b>_MAX_</b>)",sInfoEmpty:"Showing <b>0</b> Results",sZeroRecords:"<p>Suggestions</p><ul><li>Check the javascript regular expression syntax of the search term.</li><li>Check that the correct menu option is chosen (token ID vs. user ID).</li><li>Use wildcards (* to match 0 or more characters, + to match 1 or more characters, ? to match 0 or 1 character).</li><li>Clear the search field, then click Search to return to the 20 most recent records.</li></ul>",sSearch:""},sPaginationType:"bootstrap_input",oSearch:{sSearch:"",bRegex:!0,bSmart:!1}}),$.extend($.fn.dataTableExt.oStdClasses,{sWrapper:"dataTables_wrapper"}),$.fn.dataTableExt.oApi.fnPagingInfo=function(oSettings){return{iStart:oSettings._iDisplayStart,iEnd:oSettings.fnDisplayEnd(),iLength:oSettings._iDisplayLength,iTotal:oSettings.fnRecordsTotal(),iFilteredTotal:oSettings.fnRecordsDisplay(),iPage:oSettings._iDisplayLength===-1?0:Math.ceil(oSettings._iDisplayStart/oSettings._iDisplayLength),iTotalPages:oSettings._iDisplayLength===-1?0:Math.ceil(oSettings.fnRecordsDisplay()/oSettings._iDisplayLength)}},$.extend($.fn.dataTableExt.oPagination,{bootstrap_input:{fnInit:function(oSettings,nPaging,fnDraw){var els,nInput,fnClickHandler=function(e){e.preventDefault(),oSettings.oApi._fnPageChange(oSettings,e.data.action)&&fnDraw(oSettings)};$(nPaging).append('<ul class="pagination"> <li class="first disabled"><span class="i fa fa-angle-double-left"></span></li> <li class="prev disabled"><span class="i fa fa-angle-left"></span></li></ul><div class="pagination-input"> <input type="text" class="paginate_input"> <span class="paginate_of">of <b>3</b></span></div><ul class="pagination"> <li class="next disabled"><span class="i fa fa-angle-right"></span></li> <li class="last disabled"><span class="i fa fa-angle-double-right"></span></li></ul>'),els=$("li",nPaging),$(els[0]).bind("click.DT",{action:"first"},fnClickHandler),$(els[1]).bind("click.DT",{action:"previous"},fnClickHandler),$(els[2]).bind("click.DT",{action:"next"},fnClickHandler),$(els[3]).bind("click.DT",{action:"last"},fnClickHandler),nInput=$("input",nPaging),$(nInput).keyup(function(e){var iNewStart;if(38===e.which||39===e.which?this.value+=1:(37===e.which||40===e.which)&&this.value>1&&(this.value-=1),""!==this.value&&this.value.match(/[0-9]/)){if(iNewStart=oSettings._iDisplayLength*(this.value-1),iNewStart>=oSettings.fnRecordsDisplay()||iNewStart<0)return oSettings._iDisplayStart=(Math.ceil(oSettings.fnRecordsDisplay()/oSettings._iDisplayLength)-1)*oSettings._iDisplayLength,void fnDraw(oSettings);oSettings._iDisplayStart=iNewStart,fnDraw(oSettings)}})},fnUpdate:function(oSettings,fnDraw){var i,oPaging=oSettings.oInstance.fnPagingInfo(),an=oSettings.aanFeatures.p,ien=an.length,iPages=Math.ceil(oSettings.fnRecordsDisplay()/oSettings._iDisplayLength),iCurrentPage=Math.ceil(oSettings._iDisplayStart/oSettings._iDisplayLength)+1;for(i=0;i<ien;i+=1)$(".paginate_input",an[i]).val(iCurrentPage).siblings(".paginate_of").find("b").html(iPages),0===oPaging.iPage?($("li.first",an[i]).addClass("disabled"),$("li.prev",an[i]).addClass("disabled")):($("li.first",an[i]).removeClass("disabled"),$("li.prev",an[i]).removeClass("disabled")),oPaging.iPage===oPaging.iTotalPages-1||0===oPaging.iTotalPages?($("li.next",an[i]).addClass("disabled"),$("li.last",an[i]).addClass("disabled")):($("li.next",an[i]).removeClass("disabled"),$("li.last",an[i]).removeClass("disabled"))}}}))}(jQuery),function($){"use strict";void 0!==patternfly&&($.pfBreakpoints=patternfly.pfBreakpoints)}(jQuery),function($){"use strict";$.fn.navigation=function(){var navElement=$(".layout-pf-alt-fixed .nav-pf-vertical-alt"),bodyContentElement=$(".container-pf-alt-nav-pf-vertical-alt"),toggleNavBarButton=$(".navbar-toggle"),explicitCollapse=!1,checkNavState=function(){var width=$(window).width();navElement.removeClass("hidden show-mobile-nav collapsed"),bodyContentElement.removeClass("collapsed-nav hidden-nav"),(width<$.pfBreakpoints.desktop||explicitCollapse)&&(navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav")),width<$.pfBreakpoints.tablet&&(navElement.addClass("hidden"),navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),bodyContentElement.addClass("hidden-nav"))},collapseMenu=function(){navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav"),explicitCollapse=!0},enableTransitions=function(){$("html").addClass("transitions")},expandMenu=function(){navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),explicitCollapse=!1},bindMenuBehavior=function(){toggleNavBarButton.on("click",function(e){var inMobileState=bodyContentElement.hasClass("hidden-nav");enableTransitions(),inMobileState&&navElement.hasClass("show-mobile-nav")?navElement.removeClass("show-mobile-nav"):inMobileState?navElement.addClass("show-mobile-nav"):navElement.hasClass("collapsed")?expandMenu():collapseMenu()})},setTooltips=function(){$('.nav-pf-vertical-alt [data-toggle="tooltip"]').tooltip({container:"body",delay:{show:"500",hide:"200"}}),$(".nav-pf-vertical-alt").on("show.bs.tooltip",function(e){return $(this).hasClass("collapsed")})},init=function(){checkNavState(),bindMenuBehavior(),setTooltips()};$(window).on("resize",function(){checkNavState(),enableTransitions()}),init()},$(document).ready(function(){$(".nav-pf-vertical-alt").length>0&&$.fn.navigation()})}(jQuery),function($){"use strict";$.fn.countRemainingChars=function(options){var settings=$.extend({charsMaxLimit:100,charsWarnRemaining:5,blockInputAtMaxLimit:!1},options),$taFld=this,$countFld=$("#"+settings.countFld).text(settings.charsMaxLimit),charsRemainingFn=function(charsLength){var charsRemaining=settings.charsMaxLimit-charsLength;$countFld.text(charsRemaining),$countFld.toggleClass("chars-warn-remaining-pf",charsRemaining<=settings.charsWarnRemaining),charsRemaining<0?$taFld.trigger("overCharsMaxLimitEvent",$taFld.attr("id")):$taFld.trigger("underCharsMaxLimitEvent",$taFld.attr("id"))};return this.on("paste",function(event){setTimeout(function(){var maxTxt,charsLength=$taFld.val().length;settings.blockInputAtMaxLimit&&charsLength>settings.charsMaxLimit&&(maxTxt=$taFld.val(),maxTxt=maxTxt.substring(0,settings.charsMaxLimit),$taFld.val(maxTxt),charsLength=$taFld.val().length),charsRemainingFn(charsLength)},100)}),this.keyup(function(event){charsRemainingFn($taFld.val().length)}),this.keydown(function(event){var charsLength=$taFld.val().length;settings.blockInputAtMaxLimit&&charsLength>=settings.charsMaxLimit&&8!==event.keyCode&&event.preventDefault()}),this}}(jQuery),function($){"use strict";void 0!==patternfly&&($.pfPaletteColors=patternfly.pfPaletteColors)}(jQuery),function($){"use strict";void 0!==patternfly&&($.fn.pfSetDonutChartTitle=patternfly.pfSetDonutChartTitle,$.fn.pfDonutTooltipContents=patternfly.pfDonutTooltipContents,$.fn.pfGetUtilizationDonutTooltipContentsFn=patternfly.pfGetUtilizationDonutTooltipContentsFn,$.fn.pfGetBarChartTooltipContentsFn=patternfly.pfGetBarChartTooltipContentsFn,$.fn.pfSingleLineChartTooltipContentsFn=patternfly.pfSingleLineChartTooltipContentsFn,$.fn.pfPieTooltipContents=patternfly.pfPieTooltipContents,$.fn.c3ChartDefaults=patternfly.c3ChartDefaults)}(jQuery),function($){"use strict";$.fn.initCollapseHeights=function(scrollSelector){var setCollapseHeights,parentElement=this,targetScrollSelector=scrollSelector;setCollapseHeights=function(){var height,openPanel,contentHeight,bodyHeight,overflowY="hidden";height=parentElement.height(),openPanel=parentElement.find(".collapse.in"),openPanel&&openPanel.length>0&&openPanel.removeClass("in"),contentHeight=0,parentElement.children().each($.proxy(function(i,element){var $element=$(element);contentHeight+=$element.outerHeight(!0)},parentElement)).end(),bodyHeight=height-contentHeight,bodyHeight<25&&(bodyHeight=25,overflowY="auto"),openPanel&&openPanel.length>0&&openPanel.addClass("in"),setTimeout(function(){parentElement.find('[data-toggle="collapse"]').each($.proxy(function(i,element){var $element,selector,$target,scrollElement,innerHeight=0;$element=$(element),selector=$element.attr("data-target"),selector||(selector=$element.attr("href")),$target=$(selector),scrollElement=$target,targetScrollSelector&&(scrollElement=$target.find(targetScrollSelector),1===scrollElement.length?(innerHeight=0,$target.children().each($.proxy(function(j,sibling){var $sibling=$(sibling);sibling!==scrollElement[0]&&(innerHeight+=$sibling.outerHeight(!0))},$target)).end(),bodyHeight-=innerHeight):scrollElement=$target),scrollElement.css({"max-height":bodyHeight-innerHeight+"px","overflow-y":"auto"})},parentElement)).end(),parentElement.css({"overflow-y":overflowY})},100)},setCollapseHeights(),$(window).resize(setCollapseHeights)}}(jQuery),function($){"use strict";function getParent(rows,node){var parent=node.attr("data-parent");if("string"==typeof parent)return parent=isNaN(parent)?rows.closest(parent):$(rows[parseInt(parent,10)])}function renderItem(item,parent){parent&&(parent.find(".treegrid-node > span.expand-icon").toggleClass("fa-angle-right",parent.hasClass("collapsed")).toggleClass("fa-angle-down",!parent.hasClass("collapsed")),item.toggleClass("hidden",parent.hasClass("collapsed")),parent.hasClass("collapsed")&&item.addClass("collapsed"))}function reStripe(tree){tree.find("tbody > tr").removeClass("odd"),tree.find("tbody > tr:not(.hidden):odd").addClass("odd")}$.fn.treegrid=function(options){var i,rows,_this;rows=this.find("tbody > tr"),_this=this,$.each(rows,function(){var node,parent;if(node=$(this),parent=getParent(rows,node),node.children(".treegrid-node").prepend('<span class="icon expand-icon fa"/>'),node.children(".treegrid-node").on("click",function(e){var icon=node.find("span.expand-icon");options&&"function"==typeof options.callback&&options.callback(e),icon.hasClass("fa-angle-right")&&node.removeClass("collapsed"),icon.hasClass("fa-angle-down")&&node.addClass("collapsed"),$.each(rows.slice(rows.index(node)+1),function(){renderItem($(this),getParent(rows,$(this)))}),reStripe(_this)}),parent){for(i=parent.find(".treegrid-node > span.indent").length+1;i>0;i-=1)node.children(".treegrid-node").prepend('<span class="indent"/>');renderItem(node,parent)}}),reStripe(_this)}}(jQuery),function($){"use strict";$.fn.setupVerticalNavigation=function(handleItemSelections){var navElement=$(".nav-pf-vertical"),bodyContentElement=$(".container-pf-nav-pf-vertical"),toggleNavBarButton=$(".navbar-toggle"),handleResize=!0,explicitCollapse=!1,subDesktop=!1,hoverDelay=500,hideDelay=hoverDelay+200,inMobileState=function(){return bodyContentElement.hasClass("hidden-nav")},forceResize=function(delay){setTimeout(function(){$(window).trigger("resize")},delay)},showSecondaryMenu=function(){!inMobileState()&&subDesktop||(navElement.addClass("secondary-visible-pf"),bodyContentElement.addClass("secondary-visible-pf")),subDesktop||forceResize(100)},hideSecondaryMenu=function(){navElement.removeClass("secondary-visible-pf"),bodyContentElement.removeClass("secondary-visible-pf"),navElement.find(".mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")})},setActiveItem=function(item){$(".nav-pf-vertical .list-group-item.active").removeClass("active"),item.addClass("active").parents(".list-group-item").addClass("active")},updateSecondaryMenuDisplayAfterSelection=function(){inMobileState()?(navElement.removeClass("show-mobile-nav"),hideSecondaryMenu(),navElement.find(".mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")})):showSecondaryMenu()},updateSecondaryCollapsedState=function(setCollapsed,collapsedItem){setCollapsed?(collapsedItem.addClass("collapsed"),navElement.addClass("collapsed-secondary-nav-pf"),bodyContentElement.addClass("collapsed-secondary-nav-pf")):(collapsedItem?collapsedItem.removeClass("collapsed"):navElement.find('[data-toggle="collapse-secondary-nav"]').each(function(index,element){var $e=$(element);$e.removeClass("collapsed")}),navElement.removeClass("collapsed-secondary-nav-pf"),bodyContentElement.removeClass("collapsed-secondary-nav-pf"))},updateTertiaryCollapsedState=function(setCollapsed,collapsedItem){setCollapsed?(collapsedItem.addClass("collapsed"),navElement.addClass("collapsed-tertiary-nav-pf"),bodyContentElement.addClass("collapsed-tertiary-nav-pf"),updateSecondaryCollapsedState(!1)):(collapsedItem?collapsedItem.removeClass("collapsed"):navElement.find('[data-toggle="collapse-tertiary-nav"]').each(function(index,element){var $e=$(element);$e.removeClass("collapsed")}),navElement.removeClass("collapsed-tertiary-nav-pf"),bodyContentElement.removeClass("collapsed-tertiary-nav-pf"))},updateMobileMenu=function(selected,secondaryItem){$(document).find(".list-group-item.mobile-nav-item-pf").each(function(index,item){$(item).removeClass("mobile-nav-item-pf")}),$(document).find(".list-group-item.mobile-secondary-item-pf").each(function(index,item){$(item).removeClass("mobile-secondary-item-pf")}),selected?(selected.addClass("mobile-nav-item-pf"),secondaryItem?(secondaryItem.addClass("mobile-secondary-item-pf"),navElement.removeClass("show-mobile-secondary"),navElement.addClass("show-mobile-tertiary")):(navElement.addClass("show-mobile-secondary"),navElement.removeClass("show-mobile-tertiary"))):(navElement.removeClass("show-mobile-secondary"),navElement.removeClass("show-mobile-tertiary"))},enterMobileState=function(){navElement.hasClass("hidden")||(navElement.addClass("hidden"),navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),bodyContentElement.addClass("hidden-nav"),updateSecondaryCollapsedState(!1),updateTertiaryCollapsedState(!1),explicitCollapse=!1)},exitMobileState=function(){navElement.removeClass("hidden show-mobile-nav"),bodyContentElement.removeClass("hidden-nav")},checkNavState=function(){var makeSecondaryVisible,width=$(window).width();handleResize&&(width<$.pfBreakpoints.tablet&&!explicitCollapse?enterMobileState():navElement.hasClass("hidden")&&exitMobileState(),width<$.pfBreakpoints.desktop?(subDesktop||(navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav")),width>=$.pfBreakpoints.tablet&&hideSecondaryMenu(),subDesktop=!0):(makeSecondaryVisible=subDesktop&&navElement.find(".secondary-nav-item-pf.active").length>0,subDesktop=!1,makeSecondaryVisible&&showSecondaryMenu()),explicitCollapse?(navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav")):(navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav")))},collapseMenu=function(){navElement.addClass("collapsed"),bodyContentElement.addClass("collapsed-nav"),subDesktop&&hideSecondaryMenu(),explicitCollapse=!0},enableTransitions=function(){$("html").addClass("transitions")},expandMenu=function(){navElement.removeClass("collapsed"),bodyContentElement.removeClass("collapsed-nav"),explicitCollapse=!1,subDesktop||forceResize(100)},bindMenuBehavior=function(){toggleNavBarButton.on("click",function(e){enableTransitions(),inMobileState()?navElement.hasClass("show-mobile-nav")?navElement.removeClass("show-mobile-nav"):(updateMobileMenu(),navElement.addClass("show-mobile-nav")):navElement.hasClass("collapsed")?(window.localStorage.setItem("patternfly-navigation-primary","expanded"),expandMenu()):(window.localStorage.setItem("patternfly-navigation-primary","collapsed"),collapseMenu())})},forceHideSecondaryMenu=function(){navElement.addClass("force-hide-secondary-nav-pf"),setTimeout(function(){navElement.removeClass("force-hide-secondary-nav-pf")},500)},bindMenuItemsBehavior=function(handleSelection){$(document).find(".nav-pf-vertical .list-group-item").each(function(index,item){var onClickFn,$item=$(item),$nav=$item.closest('[class*="nav-pf-"]');$nav.hasClass("nav-pf-vertical")?onClickFn=function(event){var $secondaryItem,$activeItem,$this=$(this);$this.hasClass("secondary-nav-item-pf")?inMobileState()?updateMobileMenu($this):handleSelection&&($activeItem=$secondaryItem=$item.find(".nav-pf-secondary-nav > .list-group > .list-group-item").eq(0),$secondaryItem.hasClass("tertiary-nav-item-pf")&&($activeItem=$secondaryItem.find(".nav-pf-tertiary-nav > .list-group > .list-group-item").eq(0)),setActiveItem($activeItem),event.stopImmediatePropagation()):(hideSecondaryMenu(),inMobileState()&&(updateMobileMenu(),navElement.removeClass("show-mobile-nav")),handleSelection&&(setActiveItem($this),event.stopImmediatePropagation()))}:$nav.hasClass("nav-pf-secondary-nav")?onClickFn=function(event){var $tertiaryItem,$primaryItem,$this=$(this);$this.hasClass("tertiary-nav-item-pf")?inMobileState()?($primaryItem=$item.parents(".list-group-item"),updateMobileMenu($this,$primaryItem),event.stopImmediatePropagation()):handleSelection&&($tertiaryItem=$item.find(".nav-pf-tertiary-nav > .list-group > .list-group-item").eq(0),setActiveItem($tertiaryItem),event.stopImmediatePropagation()):(inMobileState()&&(updateMobileMenu(),navElement.removeClass("show-mobile-nav")),updateSecondaryMenuDisplayAfterSelection(),handleSelection&&(setActiveItem($item),event.stopImmediatePropagation()))}:$nav.hasClass("nav-pf-tertiary-nav")&&(onClickFn=function(event){inMobileState()&&(updateMobileMenu(),navElement.removeClass("show-mobile-nav")),updateSecondaryMenuDisplayAfterSelection(),handleSelection&&(setActiveItem($item),event.stopImmediatePropagation())}),$item.on("click.pf.secondarynav.data-api",onClickFn)}),$(document).find(".secondary-nav-item-pf").each(function(index,secondaryItem){var $secondaryItem=$(secondaryItem);$secondaryItem.on("click.pf.secondarynav.data-api",'[data-toggle="collapse-secondary-nav"]',function(e){var $this=$(this);inMobileState()?(updateMobileMenu(),e.stopImmediatePropagation()):$this.hasClass("collapsed")?(window.localStorage.setItem("patternfly-navigation-secondary","expanded"),window.localStorage.setItem("patternfly-navigation-tertiary","expanded"),updateSecondaryCollapsedState(!1,$this),forceHideSecondaryMenu()):(window.localStorage.setItem("patternfly-navigation-secondary","collapsed"),updateSecondaryCollapsedState(!0,$this)),navElement.removeClass("hover-secondary-nav-pf"),handleSelection&&e.stopImmediatePropagation()}),$secondaryItem.find(".tertiary-nav-item-pf").each(function(index,primaryItem){var $primaryItem=$(primaryItem);$primaryItem.on("click.pf.tertiarynav.data-api",'[data-toggle="collapse-tertiary-nav"]',function(e){var $this=$(this);inMobileState()?(updateMobileMenu($secondaryItem),e.stopImmediatePropagation()):$this.hasClass("collapsed")?(window.localStorage.setItem("patternfly-navigation-secondary","expanded"),window.localStorage.setItem("patternfly-navigation-tertiary","expanded"),updateTertiaryCollapsedState(!1,$this),forceHideSecondaryMenu()):(window.localStorage.setItem("patternfly-navigation-tertiary","collapsed"),updateTertiaryCollapsedState(!0,$this)),navElement.removeClass("hover-secondary-nav-pf"),navElement.removeClass("hover-tertiary-nav-pf"),handleSelection&&e.stopImmediatePropagation()})})}),$(document).on("mouseenter.pf.tertiarynav.data-api",".secondary-nav-item-pf",function(e){var $this=$(this);inMobileState()||(void 0!==$this[0].navUnHoverTimeout?(clearTimeout($this[0].navUnHoverTimeout),$this[0].navUnHoverTimeout=void 0):void 0===$this[0].navHoverTimeout&&($this[0].navHoverTimeout=setTimeout(function(){navElement.addClass("hover-secondary-nav-pf"),$this.addClass("is-hover"),$this[0].navHoverTimeout=void 0},hoverDelay)))}),$(document).on("mouseleave.pf.tertiarynav.data-api",".secondary-nav-item-pf",function(e){var $this=$(this);void 0!==$this[0].navHoverTimeout?(clearTimeout($this[0].navHoverTimeout),$this[0].navHoverTimeout=void 0):void 0===$this[0].navUnHoverTimeout&&($this[0].navUnHoverTimeout=setTimeout(function(){navElement.find(".secondary-nav-item-pf.is-hover").length<=1&&navElement.removeClass("hover-secondary-nav-pf"),$this.removeClass("is-hover"),$this[0].navUnHoverTimeout=void 0},hideDelay))}),$(document).on("mouseover.pf.tertiarynav.data-api",".tertiary-nav-item-pf",function(e){var $this=$(this);inMobileState()||(void 0!==$this[0].navUnHoverTimeout?(clearTimeout($this[0].navUnHoverTimeout),$this[0].navUnHoverTimeout=void 0):void 0===$this[0].navHoverTimeout&&($this[0].navHoverTimeout=setTimeout(function(){navElement.addClass("hover-tertiary-nav-pf"),$this.addClass("is-hover"),$this[0].navHoverTimeout=void 0},hoverDelay)))}),$(document).on("mouseout.pf.tertiarynav.data-api",".tertiary-nav-item-pf",function(e){var $this=$(this);void 0!==$this[0].navHoverTimeout?(clearTimeout($this[0].navHoverTimeout),$this[0].navHoverTimeout=void 0):void 0===$this[0].navUnHoverTimeout&&($this[0].navUnHoverTimeout=setTimeout(function(){
|
2
|
+
navElement.find(".tertiary-nav-item-pf.is-hover").length<=1&&navElement.removeClass("hover-tertiary-nav-pf"),$this.removeClass("is-hover"),$this[0].navUnHoverTimeout=void 0},hideDelay))})},loadFromLocalStorage=function(){inMobileState()||("collapsed"===window.localStorage.getItem("patternfly-navigation-primary")&&collapseMenu(),$(".nav-pf-vertical.nav-pf-vertical-collapsible-menus").length>0&&("collapsed"===window.localStorage.getItem("patternfly-navigation-secondary")&&updateSecondaryCollapsedState(!0,$(".secondary-nav-item-pf.active [data-toggle=collapse-secondary-nav]")),"collapsed"===window.localStorage.getItem("patternfly-navigation-tertiary")&&updateTertiaryCollapsedState(!0,$(".tertiary-nav-item-pf.active [data-toggle=collapse-tertiary-nav]"))))},setTooltips=function(){var tooltipOptions={container:"body",placement:"bottom",delay:{show:"500",hide:"200"},template:'<div class="nav-pf-vertical-tooltip tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'};$('.nav-pf-vertical [data-toggle="tooltip"]').tooltip(tooltipOptions),$(".nav-pf-vertical").on("show.bs.tooltip",function(e){return $(this).hasClass("collapsed")})},init=function(handleItemSelections){navElement.addClass("hide-nav-pf"),bodyContentElement.addClass("hide-nav-pf"),checkNavState(),bindMenuBehavior(),bindMenuItemsBehavior(handleItemSelections),setTooltips(),loadFromLocalStorage(),navElement.removeClass("hide-nav-pf"),bodyContentElement.removeClass("hide-nav-pf"),forceResize(250)},self={hideMenu:function(){handleResize=!1,enterMobileState()},showMenu:function(){handleResize=!0,exitMobileState()},isVisible:function(){return handleResize}};return $.fn.setupVerticalNavigation.self||($.fn.setupVerticalNavigation.self=self,$(window).on("resize",function(){checkNavState(),enableTransitions()}),init(handleItemSelections)),$.fn.setupVerticalNavigation.self}}(jQuery);
|
@@ -6,49 +6,119 @@
|
|
6
6
|
font-family: "Open Sans";
|
7
7
|
font-style: normal;
|
8
8
|
font-weight: 300;
|
9
|
-
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.eot"), "#{$font-path}/OpenSans-Light-webfont.eot"));
|
10
|
-
src:
|
11
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.
|
12
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.
|
13
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.
|
9
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.eot"), "#{$font-path}/OpenSans-Light-webfont.eot")); /* IE9 Compat Modes */
|
10
|
+
src: local("Open Sans Light"), local("OpenSans-Light"),
|
11
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.eot?#iefix"), "#{$font-path}/OpenSans-Light-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
12
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.woff2"), "#{$font-path}/OpenSans-Light-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
13
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.woff"), "#{$font-path}/OpenSans-Light-webfont.woff")) format("woff"), /* Modern Browsers */
|
14
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.ttf"), "#{$font-path}/OpenSans-Light-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
15
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Light-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-Light-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
14
16
|
}
|
15
17
|
@font-face {
|
16
18
|
font-family: "Open Sans";
|
17
19
|
font-style: normal;
|
18
20
|
font-weight: 400;
|
19
|
-
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.eot"), "#{$font-path}/OpenSans-Regular-webfont.eot"));
|
20
|
-
src:
|
21
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.
|
22
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.
|
23
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.
|
21
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.eot"), "#{$font-path}/OpenSans-Regular-webfont.eot")); /* IE9 Compat Modes */
|
22
|
+
src: local("Open Sans"), local("OpenSans"),
|
23
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.eot?#iefix"), "#{$font-path}/OpenSans-Regular-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
24
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.woff2"), "#{$font-path}/OpenSans-Regular-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
25
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.woff"), "#{$font-path}/OpenSans-Regular-webfont.woff")) format("woff"), /* Modern Browsers */
|
26
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.ttf"), "#{$font-path}/OpenSans-Regular-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
27
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Regular-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-Regular-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
28
|
+
}
|
29
|
+
@font-face {
|
30
|
+
font-family: "Open Sans";
|
31
|
+
font-style: italic;
|
32
|
+
font-weight: 300;
|
33
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-LightItalic-webfont.eot"), "#{$font-path}/OpenSans-LightItalic-webfont.eot")); /* IE9 Compat Modes */
|
34
|
+
src: local("Open Sans Light Italic"), local("OpenSansLight-Italic"),
|
35
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-LightItalic-webfont.eot?#iefix"), "#{$font-path}/OpenSans-LightItalic-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
36
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-LightItalic-webfont.woff2"), "#{$font-path}/OpenSans-LightItalic-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
37
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-LightItalic-webfont.woff"), "#{$font-path}/OpenSans-LightItalic-webfont.woff")) format("woff"), /* Modern Browsers */
|
38
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-LightItalic-webfont.ttf"), "#{$font-path}/OpenSans-LightItalic-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
39
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-LightItalic-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-LightItalic-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
40
|
+
}
|
41
|
+
@font-face {
|
42
|
+
font-family: "Open Sans";
|
43
|
+
font-style: italic;
|
44
|
+
font-weight: 400;
|
45
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Italic-webfont.eot"), "#{$font-path}/OpenSans-Italic-webfont.eot")); /* IE9 Compat Modes */
|
46
|
+
src: local("Open Sans Italic"), local("OpenSans-Italic"),
|
47
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Italic-webfont.eot?#iefix"), "#{$font-path}/OpenSans-Italic-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
48
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Italic-webfont.woff2"), "#{$font-path}/OpenSans-Italic-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
49
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Italic-webfont.woff"), "#{$font-path}/OpenSans-Italic-webfont.woff")) format("woff"), /* Modern Browsers */
|
50
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Italic-webfont.ttf"), "#{$font-path}/OpenSans-Italic-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
51
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Italic-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-Italic-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
24
52
|
}
|
25
53
|
@font-face {
|
26
54
|
font-family: "Open Sans";
|
27
55
|
font-style: normal;
|
28
56
|
font-weight: 600;
|
29
|
-
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.eot"), "#{$font-path}/OpenSans-Semibold-webfont.eot"));
|
30
|
-
src:
|
31
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.
|
32
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.
|
33
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.
|
57
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.eot"), "#{$font-path}/OpenSans-Semibold-webfont.eot")); /* IE9 Compat Modes */
|
58
|
+
src: local("Open Sans Semibold"), local("OpenSans-Semibold-webfont"),
|
59
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.eot?#iefix"), "#{$font-path}/OpenSans-Semibold-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
60
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.woff2"), "#{$font-path}/OpenSans-Semibold-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
61
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.woff"), "#{$font-path}/OpenSans-Semibold-webfont.woff")) format("woff"), /* Modern Browsers */
|
62
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.ttf"), "#{$font-path}/OpenSans-Semibold-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
63
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Semibold-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-Semibold-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
64
|
+
}
|
65
|
+
@font-face {
|
66
|
+
font-family: "Open Sans";
|
67
|
+
font-style: italic;
|
68
|
+
font-weight: 600;
|
69
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-SemiboldItalic-webfont.eot"), "#{$font-path}/OpenSans-SemiboldItalic-webfont.eot")); /* IE9 Compat Modes */
|
70
|
+
src: local("Open Sans Semibold Italic"), local("OpenSans-SemiboldItalic-webfont"),
|
71
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-SemiboldItalic-webfont.eot?#iefix"), "#{$font-path}/OpenSans-SemiboldItalic-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
72
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-SemiboldItalic-webfont.woff2"), "#{$font-path}/OpenSans-SemiboldItalic-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
73
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-SemiboldItalic-webfont.woff"), "#{$font-path}/OpenSans-SemiboldItalic-webfont.woff")) format("woff"), /* Modern Browsers */
|
74
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-SemiboldItalic-webfont.ttf"), "#{$font-path}/OpenSans-SemiboldItalic-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
75
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-SemiboldItalic-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-SemiboldItalic-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
34
76
|
}
|
35
77
|
@font-face {
|
36
78
|
font-family: "Open Sans";
|
37
79
|
font-style: normal;
|
38
80
|
font-weight: 700;
|
39
|
-
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.eot"), "#{$font-path}/OpenSans-Bold-webfont.eot"));
|
40
|
-
src:
|
41
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.
|
42
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.
|
43
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.
|
81
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.eot"), "#{$font-path}/OpenSans-Bold-webfont.eot")); /* IE9 Compat Modes */
|
82
|
+
src: local("Open Sans Bold"), local("OpenSans-Bold"),
|
83
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.eot?#iefix"), "#{$font-path}/OpenSans-Bold-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
84
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.woff2"), "#{$font-path}/OpenSans-Bold-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
85
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.woff"), "#{$font-path}/OpenSans-Bold-webfont.woff")) format("woff"), /* Modern Browsers */
|
86
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.ttf"), "#{$font-path}/OpenSans-Bold-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
87
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-Bold-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-Bold-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
88
|
+
}
|
89
|
+
@font-face {
|
90
|
+
font-family: "Open Sans";
|
91
|
+
font-style: italic;
|
92
|
+
font-weight: 700;
|
93
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-BoldItalic-webfont.eot"), "#{$font-path}/OpenSans-BoldItalic-webfont.eot")); /* IE9 Compat Modes */
|
94
|
+
src: local("Open Sans Bold Italic"), local("OpenSans-BoldItalic"),
|
95
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-BoldItalic-webfont.eot?#iefix"), "#{$font-path}/OpenSans-BoldItalic-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
96
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-BoldItalic-webfont.woff2"), "#{$font-path}/OpenSans-BoldItalic-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
97
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-BoldItalic-webfont.woff"), "#{$font-path}/OpenSans-BoldItalic-webfont.woff")) format("woff"), /* Modern Browsers */
|
98
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-BoldItalic-webfont.ttf"), "#{$font-path}/OpenSans-BoldItalic-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
99
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-BoldItalic-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-BoldItalic-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
100
|
+
}
|
101
|
+
@font-face {
|
102
|
+
font-family: "Open Sans";
|
103
|
+
font-style: italic;
|
104
|
+
font-weight: 800;
|
105
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBoldItalic-webfont.eot"), "#{$font-path}/OpenSans-ExtraBoldItalic-webfont.eot")); /* IE9 Compat Modes */
|
106
|
+
src: local("Open Sans Extrabold Italic"), local("OpenSans-ExtraboldItalic"),
|
107
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBoldItalic-webfont.eot?#iefix"), "#{$font-path}/OpenSans-ExtraBoldItalic-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
108
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBoldItalic-webfont.woff2"), "#{$font-path}/OpenSans-ExtraBoldItalic-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
109
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBoldItalic-webfont.woff"), "#{$font-path}/OpenSans-ExtraBoldItalic-webfont.woff")) format("woff"), /* Modern Browsers */
|
110
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBoldItalic-webfont.ttf"), "#{$font-path}/OpenSans-ExtraBoldItalic-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
111
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBoldItalic-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-ExtraBoldItalic-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
44
112
|
}
|
45
113
|
@font-face {
|
46
114
|
font-family: "Open Sans";
|
47
115
|
font-style: normal;
|
48
116
|
font-weight: 800;
|
49
|
-
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.eot"), "#{$font-path}/OpenSans-ExtraBold-webfont.eot"));
|
50
|
-
src:
|
51
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.
|
52
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.
|
53
|
-
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.
|
117
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.eot"), "#{$font-path}/OpenSans-ExtraBold-webfont.eot")); /* IE9 Compat Modes */
|
118
|
+
src: local("Open Sans Extrabold"), local("OpenSans-Extrabold"),
|
119
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.eot?#iefix"), "#{$font-path}/OpenSans-ExtraBold-webfont.eot?#iefix")) format("embedded-opentype"), /* IE6-IE8 */
|
120
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.woff2"), "#{$font-path}/OpenSans-ExtraBold-webfont.woff2")) format("woff2"), /* Super Modern Browsers */
|
121
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.woff"), "#{$font-path}/OpenSans-ExtraBold-webfont.woff")) format("woff"), /* Modern Browsers */
|
122
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.ttf"), "#{$font-path}/OpenSans-ExtraBold-webfont.ttf")) format("truetype"), /* Safari, Android, iOS */
|
123
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$font-path}/OpenSans-ExtraBold-webfont.svg#OpenSans"), "#{$font-path}/OpenSans-ExtraBold-webfont.svg#OpenSans")) format("svg"); /* Legacy iOS */
|
54
124
|
}
|
@@ -64,6 +64,9 @@
|
|
64
64
|
.#{$icon-prefix}-cpu:before {
|
65
65
|
content: $pficon-var-cpu;
|
66
66
|
}
|
67
|
+
.#{$icon-prefix}-degraded:before {
|
68
|
+
content: $pficon-var-degraded;
|
69
|
+
}
|
67
70
|
.#{$icon-prefix}-delete:before {
|
68
71
|
content: $pficon-var-delete;
|
69
72
|
}
|
@@ -133,6 +136,9 @@
|
|
133
136
|
.#{$icon-prefix}-project:before {
|
134
137
|
content: $pficon-var-project;
|
135
138
|
}
|
139
|
+
.#{$icon-prefix}-rebalance:before {
|
140
|
+
content: $pficon-var-rebalance;
|
141
|
+
}
|
136
142
|
.#{$icon-prefix}-refresh:before, // class name deprecated
|
137
143
|
.#{$icon-prefix}-restart:before {
|
138
144
|
content: $pficon-var-restart;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
//
|
2
|
+
// List View Drag and Drop
|
3
|
+
// See: https://github.com/marceljuenemann/angular-drag-and-drop-lists
|
4
|
+
// --------------------------------------------------
|
5
|
+
|
6
|
+
.list-view-pf-dnd {
|
7
|
+
// Override dnd styles
|
8
|
+
.dndDragging {
|
9
|
+
&.drag-original {
|
10
|
+
display: none;
|
11
|
+
// Show when dragging original list items
|
12
|
+
.list-view-pf-dnd-original-items {
|
13
|
+
display: block;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
// Show dragable list items during move operation
|
17
|
+
.list-view-pf-dnd-drag-items {
|
18
|
+
display: inline-block;
|
19
|
+
}
|
20
|
+
// Hide original list items during dnd move operation
|
21
|
+
.list-view-pf-dnd-original-items {
|
22
|
+
display: none;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
// Override dnd placeholder element for dragging list items to
|
26
|
+
.dndPlaceholder {
|
27
|
+
background-color: $color-pf-black-200;
|
28
|
+
padding: 20px 0;
|
29
|
+
}
|
30
|
+
// A handle decoration shown to left of each list items row
|
31
|
+
.list-group-item-header {
|
32
|
+
margin-left: -10px;
|
33
|
+
&:before {
|
34
|
+
background-image: linear-gradient(to bottom, $color-pf-blue-400 60%, $color-pf-white 0%);
|
35
|
+
background-position: left;
|
36
|
+
background-repeat: repeat-y;
|
37
|
+
background-size: 2px 5px;
|
38
|
+
border: 4px solid $color-pf-blue-400;
|
39
|
+
border-color: $color-pf-blue-500;
|
40
|
+
content: "";
|
41
|
+
height: 55px;
|
42
|
+
left: 4px;
|
43
|
+
position: absolute;
|
44
|
+
top: 5px;
|
45
|
+
width: 10px;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
// Always hide dragable list items until shown during dnd move operation
|
51
|
+
.list-view-pf-dnd-drag-items {
|
52
|
+
display: none;
|
53
|
+
}
|
@@ -62,3 +62,53 @@
|
|
62
62
|
}
|
63
63
|
}
|
64
64
|
}
|
65
|
+
|
66
|
+
.content-view-pf-pagination {
|
67
|
+
background-color: $table-bg-accent;
|
68
|
+
border: 1px solid $table-border-color;
|
69
|
+
display: flex;
|
70
|
+
flex-wrap: wrap;
|
71
|
+
justify-content: space-between;
|
72
|
+
&.table-view-pf-pagination {
|
73
|
+
border-top: none;
|
74
|
+
}
|
75
|
+
.form-group {
|
76
|
+
align-items: baseline;
|
77
|
+
display: flex;
|
78
|
+
flex-grow: 1;
|
79
|
+
float: left; //IE9 fallback
|
80
|
+
@supports (display: flex) {
|
81
|
+
float: none;
|
82
|
+
}
|
83
|
+
margin: 5px;
|
84
|
+
&:last-child {
|
85
|
+
justify-content: flex-end; // if pagination controls wrap, pagination buttons stay on the right
|
86
|
+
float: right; //IE9 fallback
|
87
|
+
@supports (display: flex) {
|
88
|
+
float: none;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
.pagination-pf-pagesize.bootstrap-select.btn-group {
|
92
|
+
display: flex;
|
93
|
+
margin-right: 5px;
|
94
|
+
width: auto;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
.pagination-pf-page {
|
98
|
+
margin-left: 10px;
|
99
|
+
margin-right: 5px;
|
100
|
+
padding: 0 2px 2px;
|
101
|
+
text-align: right;
|
102
|
+
width: 2.5em;
|
103
|
+
}
|
104
|
+
.pagination {
|
105
|
+
display: flex;
|
106
|
+
margin: 0 0 0 10px;
|
107
|
+
a {
|
108
|
+
float: none;
|
109
|
+
@supports (display: flex) {
|
110
|
+
display: block;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
@@ -156,6 +156,7 @@ $pficon-var-cloud-tenant: "\e904" !def
|
|
156
156
|
$pficon-var-cluster: "\e620" !default;
|
157
157
|
$pficon-var-container-node: "\e621" !default;
|
158
158
|
$pficon-var-cpu: "\e905" !default;
|
159
|
+
$pficon-var-degraded: "\e91b" !default;
|
159
160
|
$pficon-var-delete: "\e611" !default;
|
160
161
|
$pficon-var-domain: "\e919" !default;
|
161
162
|
$pficon-var-edit: "\e60a" !default;
|
@@ -180,6 +181,7 @@ $pficon-var-openshift: "\e626" !def
|
|
180
181
|
$pficon-var-private: "\e914" !default;
|
181
182
|
$pficon-var-print: "\e612" !default;
|
182
183
|
$pficon-var-project: "\e622" !default;
|
184
|
+
$pficon-var-rebalance: "\e91c" !default;
|
183
185
|
$pficon-var-regions: "\e90a" !default;
|
184
186
|
$pficon-var-registry: "\e623" !default;
|
185
187
|
$pficon-var-replicator: "\e624" !default;
|
@@ -93,12 +93,9 @@ $bootstrap-switch-base: bootstrap-switch;
|
|
93
93
|
position: absolute !important;
|
94
94
|
top: 0;
|
95
95
|
left: 0;
|
96
|
-
|
96
|
+
margin: 0;
|
97
97
|
z-index: -1;
|
98
|
-
|
99
|
-
&.form-control {
|
100
|
-
height: auto;
|
101
|
-
}
|
98
|
+
@include opacity(0);
|
102
99
|
}
|
103
100
|
|
104
101
|
&.#{$bootstrap-switch-base}-mini {
|
data/bower.json
CHANGED
data/package.json
CHANGED
data/spec/html/bar-charts.html
CHANGED
@@ -138,6 +138,60 @@
|
|
138
138
|
|
139
139
|
</div>
|
140
140
|
</div>
|
141
|
+
<h2>Stacked Vertical Bar Chart</h2>
|
142
|
+
<div class="row">
|
143
|
+
<div class="col-lg-4 col-sm-6 col-xs-12">
|
144
|
+
<div id="stackedVerticalBarChart"></div>
|
145
|
+
<script>
|
146
|
+
var c3ChartDefaults = $().c3ChartDefaults();
|
147
|
+
|
148
|
+
var chartUrls = [
|
149
|
+
'https://www.google.com',
|
150
|
+
'https://www.yahoo.com',
|
151
|
+
'https://www.bing.com/',
|
152
|
+
'https://duckduckgo.com/'
|
153
|
+
];
|
154
|
+
var stackedColumnsData = [
|
155
|
+
['Q1', 400, 250, 375],
|
156
|
+
['Q2', 355, 305, 300],
|
157
|
+
['Q3', 315, 340, 276],
|
158
|
+
['Q4', 180, 390, 190]
|
159
|
+
];
|
160
|
+
var stackedGroups = [['Q1', 'Q2', 'Q3', 'Q4']];
|
161
|
+
var stackedCategories = ['2013', '2014', '2015'];
|
162
|
+
var stackedColors = {
|
163
|
+
pattern: [
|
164
|
+
$.pfPaletteColors.red,
|
165
|
+
$.pfPaletteColors.blue,
|
166
|
+
$.pfPaletteColors.orange,
|
167
|
+
$.pfPaletteColors.green
|
168
|
+
]
|
169
|
+
};
|
170
|
+
|
171
|
+
var stackedVerticalBarChartConfig = c3ChartDefaults.getDefaultStackedBarConfig();
|
172
|
+
stackedVerticalBarChartConfig.axis = {
|
173
|
+
x: {
|
174
|
+
categories: stackedCategories,
|
175
|
+
type: 'category'
|
176
|
+
}
|
177
|
+
};
|
178
|
+
stackedVerticalBarChartConfig.bindto = '#stackedVerticalBarChart';
|
179
|
+
stackedVerticalBarChartConfig.color = stackedColors;
|
180
|
+
stackedVerticalBarChartConfig.data = {
|
181
|
+
columns: stackedColumnsData,
|
182
|
+
groups: stackedGroups,
|
183
|
+
type: 'bar',
|
184
|
+
// optional drilldown behavior
|
185
|
+
onclick: function (d, element) {
|
186
|
+
window.location = chartUrls[d.index];
|
187
|
+
},
|
188
|
+
order: null
|
189
|
+
};
|
190
|
+
var stackedVerticalBarChart = c3.generate(stackedVerticalBarChartConfig);
|
191
|
+
</script>
|
192
|
+
|
193
|
+
</div>
|
194
|
+
</div>
|
141
195
|
<h2>Horizontal Bar Chart</h2>
|
142
196
|
<div class="row">
|
143
197
|
<div class="col-lg-4 col-sm-6 col-xs-12">
|
@@ -233,6 +287,61 @@
|
|
233
287
|
var groupedHorizontalBarChart = c3.generate(groupedHorizontalBarChartConfig);
|
234
288
|
</script>
|
235
289
|
|
290
|
+
</div>
|
291
|
+
</div>
|
292
|
+
<h2>Stacked Horizontal Bar Chart</h2>
|
293
|
+
<div class="row">
|
294
|
+
<div class="col-lg-4 col-sm-6 col-xs-12">
|
295
|
+
<div id="stackedHorizontalBarChart"></div>
|
296
|
+
<script>
|
297
|
+
var c3ChartDefaults = $().c3ChartDefaults();
|
298
|
+
|
299
|
+
var chartUrls = [
|
300
|
+
'https://www.google.com',
|
301
|
+
'https://www.yahoo.com',
|
302
|
+
'https://www.bing.com/',
|
303
|
+
'https://duckduckgo.com/'
|
304
|
+
];
|
305
|
+
var stackedColumnsData = [
|
306
|
+
['Q1', 400, 250, 375],
|
307
|
+
['Q2', 355, 305, 300],
|
308
|
+
['Q3', 315, 340, 276],
|
309
|
+
['Q4', 180, 390, 190]
|
310
|
+
];
|
311
|
+
var stackedGroups = [['Q1', 'Q2', 'Q3', 'Q4']];
|
312
|
+
var stackedCategories = ['2013', '2014', '2015'];
|
313
|
+
var stackedColors = {
|
314
|
+
pattern: [
|
315
|
+
$.pfPaletteColors.red,
|
316
|
+
$.pfPaletteColors.blue,
|
317
|
+
$.pfPaletteColors.orange,
|
318
|
+
$.pfPaletteColors.green
|
319
|
+
]
|
320
|
+
};
|
321
|
+
|
322
|
+
var stackedHorizontalBarChartConfig = c3ChartDefaults.getDefaultStackedBarConfig();
|
323
|
+
stackedHorizontalBarChartConfig.axis = {
|
324
|
+
rotated: true,
|
325
|
+
x: {
|
326
|
+
categories: stackedCategories,
|
327
|
+
type: 'category'
|
328
|
+
}
|
329
|
+
};
|
330
|
+
stackedHorizontalBarChartConfig.bindto = '#stackedHorizontalBarChart';
|
331
|
+
stackedHorizontalBarChartConfig.color = stackedColors;
|
332
|
+
stackedHorizontalBarChartConfig.data = {
|
333
|
+
columns: stackedColumnsData,
|
334
|
+
groups: stackedGroups,
|
335
|
+
type: 'bar',
|
336
|
+
// optional drilldown behavior
|
337
|
+
onclick: function (d, element) {
|
338
|
+
window.location = chartUrls[d.index];
|
339
|
+
},
|
340
|
+
order: null
|
341
|
+
};
|
342
|
+
var stackedVerticalBarChart = c3.generate(stackedHorizontalBarChartConfig);
|
343
|
+
</script>
|
344
|
+
|
236
345
|
</div>
|
237
346
|
</div>
|
238
347
|
|