mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 23:12:23 +00:00
e8e7067993
* Fix legacy message styling - Code cleanup; - Enable constants-mobile; - Add _legacy-messages.scss; - Add status color fg colors to theme constants; * CSS refactoring, significant migration for messages classes - Many messages classes migrated; - c-click-icon > c-icon-button; - c-click-icon rewritten; - __close-btn refined in dialogs; * About and splash screen styling - Fixed splash in About screen; * Update _mixins.scss * Convert c-overlay__close-button to button - <a> -> <button>; - Set color of button; - Normalized naming from close-btn to close-button; * Fixed brightness filter issue on elements in overlays in VISTA; * Fix dismiss button
32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
<div class="c-message"
|
|
ng-class="'message-severity-' + ngModel.severity">
|
|
<div class="w-message-contents">
|
|
<div class="c-message__top-bar">
|
|
<div class="c-message__title">{{ngModel.title}}</div>
|
|
</div>
|
|
<div class="c-message__hint" ng-hide="ngModel.hint === undefined">
|
|
{{ngModel.hint}}
|
|
<span ng-if="ngModel.timestamp !== undefined">[{{ngModel.timestamp}}]</span>
|
|
</div>
|
|
<div class="message-body">
|
|
<div class="message-action">
|
|
{{ngModel.actionText}}
|
|
</div>
|
|
<mct-include key="'progress-bar'"
|
|
ng-model="ngModel"
|
|
ng-show="ngModel.progress !== undefined || ngModel.unknownProgress"></mct-include>
|
|
</div>
|
|
<div class="c-overlay__button-bar">
|
|
<button ng-repeat="dialogOption in ngModel.options"
|
|
class="c-button"
|
|
ng-click="dialogOption.callback()">
|
|
{{dialogOption.label}}
|
|
</button>
|
|
<button class="c-button c-button--major"
|
|
ng-if="ngModel.primaryOption"
|
|
ng-click="ngModel.primaryOption.callback()">
|
|
{{ngModel.primaryOption.label}}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div> |