[Frontend] Messages major work

open #159
open #170
CSS, markup and JS test files initially complete;
Templates renamed for consistency;
message-type icons styled;
Added severity constant "alert";
TO-DO: check refactored CSS against mobile,
see what's broken;
This commit is contained in:
Charles Hacskaylo
2015-10-08 13:09:41 -07:00
parent 0ca9e5c952
commit 0e840ae003
15 changed files with 846 additions and 477 deletions

View File

@ -176,7 +176,7 @@ define(
/**
* dialogModel: {
* severity: string "error" | "info",
* severity: string "error" | "info" | "alert",
* title: string,
* hint: string,
* actionText: string,
@ -258,9 +258,9 @@ define(
// Add the overlay using the OverlayService, which
// will handle actual insertion into the DOM
this.overlay = this.overlayService.createOverlay(
"message-list",
"overlay-message-list",
{dialog: dialogModel},
"t-dialog t-message-list"
"t-dialog"
);
this.dialogVisible = true;
return true;