What to know a best practice to override the Ext.panel.Panel. Need to add 4 span around the panel. as the attachment.

Digged to find the js file to find dom structure rendering code but there was lot of extends and now in Ext.AbstractComponent but cant able to find the place where the dom for the panel is created. What is the best way to achieve this . The main reason for trying to override the panel is, required all the functionality of the panel plus this four span around it.

Is this can be achieved only by editing the default dom or it can be done some way by extending panel?