refactor actions menu and alerts styles, add actions menu to class_edit.html page, add alerts to base.html