updated directive to display as an attribute and styled

div with panel css classes.