@@ -48,7 +48,7 @@ function createSubGalleryItem(config) {
4848 var categoryContentDiv = $ ( "<div class='category-content'></div>" ) ;
4949 for ( var key in config ) {
5050 var configItem = config [ key ] ;
51- var content = $ ( "<div id='category-content-" + key + "'></div>" ) ;
51+ var content = $ ( "<div class='box box-default color-palette-box' id='category-content-" + key + "'></div>" ) ;
5252 createSubGalleryItemTitle ( key , configItem . name ) . appendTo ( content ) ;
5353 if ( configItem . content ) {
5454 createGalleryCharts ( configItem . content ) . appendTo ( content ) ;
@@ -59,15 +59,19 @@ function createSubGalleryItem(config) {
5959}
6060
6161function createGalleryItemTitle ( id , title ) {
62- return $ ( "<h3 class='category-title' id='" + id + "'>" + title + "</h3>" ) ;
62+ var menuItemIcon = exampleIconConfig [ id ] ;
63+ return $ ( "<h3 class='category-title' id='" + id + "'>" + "<i class='fa " + menuItemIcon + "'></i>" + " " + title + "</h3>" ) ;
6364}
6465
6566function createSubGalleryItemTitle ( id , title ) {
66- return $ ( "<h4 class='category-type' id='category-type-" + id + "'>" + title + "</h4>" ) ;
67+ return $ ( "<div class='box-header with-border'>" + "<h3 class='box-title' id='category-type-" + id + "'>" + " " + title + "</h4>" + "</h3>" + "</div >") ;
6768}
6869
70+
71+
72+
6973function createGalleryCharts ( examples ) {
70- var chartsDiv = $ ( "<div class='row charts '></div>" ) ;
74+ var chartsDiv = $ ( "<div class='box-body '></div>" ) ;
7175 var len = ( examples && examples . length ) ? examples . length : 0 ;
7276 for ( var i = 0 ; i < len ; i ++ ) {
7377 createGalleryChart ( examples [ i ] ) . appendTo ( chartsDiv ) ;
0 commit comments