Loading template/app/Application.js +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ Ext.define('Docs.Application', { // setInterval(function(){ // Ext.DomQuery.select('link')[4].href = "resources/css/viewport.css?" + Math.ceil(Math.random() * 100000000) // }, 1000) // }, 1000); } }); template/app/view/cls/Header.js +2 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ Ext.define('Docs.view.cls.Header', { // will not be correct if not set explicitly height: 55, alias: 'widget.classheader', cls: 'classheader', initComponent: function() { this.tpl = Ext.create('Ext.XTemplate', Loading @@ -20,6 +21,7 @@ Ext.define('Docs.view.cls.Header', { '<span>xtype: {[values.xtypes.join(", ")]}</span>', '</tpl>', '</h1>', '<a class="print" href="?_escaped_fragment_=/api/{name}" target="_blank">Print</a>', { getClass: function(cls) { if (cls.component) { Loading template/resources/images/print.png 0 → 100644 +829 B Loading image diff... template/resources/sass/viewport.scss +10 −0 Original line number Diff line number Diff line Loading @@ -284,6 +284,16 @@ a { color: #e7ba27; letter-spacing: 0px; } } .classheader .print { background: url(../images/print.png) no-repeat; position: absolute; right: 0; top: 5px; display: block; text-indent: -9999px; width: 32px; height: 32px; } h1.class { a { background: url(../images/class-m.png) no-repeat 0 -5px; Loading Loading
template/app/Application.js +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ Ext.define('Docs.Application', { // setInterval(function(){ // Ext.DomQuery.select('link')[4].href = "resources/css/viewport.css?" + Math.ceil(Math.random() * 100000000) // }, 1000) // }, 1000); } });
template/app/view/cls/Header.js +2 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ Ext.define('Docs.view.cls.Header', { // will not be correct if not set explicitly height: 55, alias: 'widget.classheader', cls: 'classheader', initComponent: function() { this.tpl = Ext.create('Ext.XTemplate', Loading @@ -20,6 +21,7 @@ Ext.define('Docs.view.cls.Header', { '<span>xtype: {[values.xtypes.join(", ")]}</span>', '</tpl>', '</h1>', '<a class="print" href="?_escaped_fragment_=/api/{name}" target="_blank">Print</a>', { getClass: function(cls) { if (cls.component) { Loading
template/resources/sass/viewport.scss +10 −0 Original line number Diff line number Diff line Loading @@ -284,6 +284,16 @@ a { color: #e7ba27; letter-spacing: 0px; } } .classheader .print { background: url(../images/print.png) no-repeat; position: absolute; right: 0; top: 5px; display: block; text-indent: -9999px; width: 32px; height: 32px; } h1.class { a { background: url(../images/class-m.png) no-repeat 0 -5px; Loading