mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 05:08:15 +00:00
[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:
@ -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;
|
||||
|
Reference in New Issue
Block a user