refactored edit/show layouts and alerts to new css framework