mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-08-08 10:12:50 +00:00
Receivers: Reworked network interface UI
This commit is contained in:
parent
ed89b61cab
commit
28a617daa7
15 changed files with 491 additions and 246 deletions
|
@ -1,5 +1,6 @@
|
|||
export enum ToastIcon {
|
||||
INFO,
|
||||
WARNING,
|
||||
ERROR,
|
||||
}
|
||||
|
||||
|
@ -40,6 +41,10 @@ function renderToast(message: string, icon: ToastIcon = ToastIcon.INFO, duration
|
|||
toastIcon.style.backgroundImage = 'url(../assets/icons/app/info.svg)';
|
||||
break;
|
||||
|
||||
case ToastIcon.WARNING:
|
||||
toastIcon.style.backgroundImage = 'url(../assets/icons/app/warning.svg)';
|
||||
break;
|
||||
|
||||
case ToastIcon.ERROR:
|
||||
toastIcon.style.backgroundImage = 'url(../assets/icons/app/error.svg)';
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue