Loading template/app/controller/Classes.js +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ Ext.define('Docs.controller.Classes', { }, 'classgrid': { classselect: function(cls) { this.loadClass(cls); this.showPage(cls); } }, Loading template/app/view/ClassGrid.js +13 −2 Original line number Diff line number Diff line Loading @@ -41,13 +41,24 @@ Ext.define('Docs.view.ClassGrid', { width: 18, dataIndex: 'cls', renderer: function(cls, data) { if (cls.match(/^[a-z_]+$/)) { data.tdCls = 'icon-guide'; } else { data.tdCls = this.icons[cls]; } }, scope: this }, { dataIndex: 'cls', flex: true flex: true, renderer: function(cls, data) { if (cls.match(/^[a-z_]+$/)) { return Ext.Array.map(cls.split('_'), function(s) { return Ext.String.capitalize(s) }).join(" "); } else { return cls; } } } ]; Loading template/resources/sass/viewport.scss +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ background: url(../images/icons.png) no-repeat -3px -111px !important; } .icon-component { background: url(../images/icons.png) no-repeat -3px -137px !important; } .icon-book { .icon-guide { background: url(../images/icons.png) no-repeat -3px -5px !important; } .icon-event { background: url(../images/icons.png) no-repeat -3px -245px !important; } Loading Loading
template/app/controller/Classes.js +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ Ext.define('Docs.controller.Classes', { }, 'classgrid': { classselect: function(cls) { this.loadClass(cls); this.showPage(cls); } }, Loading
template/app/view/ClassGrid.js +13 −2 Original line number Diff line number Diff line Loading @@ -41,13 +41,24 @@ Ext.define('Docs.view.ClassGrid', { width: 18, dataIndex: 'cls', renderer: function(cls, data) { if (cls.match(/^[a-z_]+$/)) { data.tdCls = 'icon-guide'; } else { data.tdCls = this.icons[cls]; } }, scope: this }, { dataIndex: 'cls', flex: true flex: true, renderer: function(cls, data) { if (cls.match(/^[a-z_]+$/)) { return Ext.Array.map(cls.split('_'), function(s) { return Ext.String.capitalize(s) }).join(" "); } else { return cls; } } } ]; Loading
template/resources/sass/viewport.scss +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ background: url(../images/icons.png) no-repeat -3px -111px !important; } .icon-component { background: url(../images/icons.png) no-repeat -3px -137px !important; } .icon-book { .icon-guide { background: url(../images/icons.png) no-repeat -3px -5px !important; } .icon-event { background: url(../images/icons.png) no-repeat -3px -245px !important; } Loading