{% extends "templates/sink.nunjucks" %} {% block body %} {% set heading_shared="This is a heading." %} {% set description_global="This is a global notification about something that has occured in the system. This message applies to the entire system." %}

Notification - Information (Default)

{{ luci.notification(heading="Information! " + heading_shared, text=description_global) }}

Notification - Warning

{{ luci.notification(class="luci-notification--warning", heading="Warning! " + heading_shared, text=description_global) }}

Notification - Success

{{ luci.notification(class="luci-notification--success", heading="Success! " + heading_shared, text=description_global) }}

Notification - Error

{{ luci.notification(class="luci-notification--error", heading="Error! " + heading_shared, text=description_global) }}

Notification - Information (Default) - Heading only

{{ luci.notification(heading="Information! " + heading_shared) }}

Notification - Warning - Heading only

{{ luci.notification(class="luci-notification--warning", heading="Warning! " + heading_shared) }}

Notification - Success - Heading only

{{ luci.notification(class="luci-notification--success", heading="Success! " + heading_shared) }}

Notification - Error - Heading only

{{ luci.notification(class="luci-notification--error", heading="Error! " + heading_shared) }}

Notification - Information (Default) - Description only

{{ luci.notification(text=description_global) }}

Notification - Warning - Description only

{{ luci.notification(class="luci-notification--warning", text=description_global) }}

Notification - Success - Description only

{{ luci.notification(class="luci-notification--success", text=description_global) }}

Notification - Error - Description only

{{ luci.notification(class="luci-notification--error", text=description_global) }}

Notification - Information (Default) with Close

{{ luci.notification(heading="Information! " + heading_shared, close=true, describedby="notification1Desc", text=description_global) }}

Notification - Warning with Close

{{ luci.notification(heading="Warning! " + heading_shared, class="luci-notification--warning", close=true, describedby="notification1Desc", text=description_global) }}

Notification - Success with Close

{{ luci.notification(heading="Success! " + heading_shared, class="luci-notification--success", close=true, describedby="notification2Desc", text=description_global) }}

Notification - Error with Close

{{ luci.notification(heading="Error! " + heading_shared, class="luci-notification--error", close=true, describedby="notification3Desc", text=description_global) }}

Notification - Information (Default) with Close - Heading only

{{ luci.notification(heading="Information! " + heading_shared, close=true, describedby="notification1Desc") }}

Notification - Warning with Close

{{ luci.notification(heading="Warning! " + heading_shared, class="luci-notification--warning", close=true, describedby="notification1Desc") }}

Notification - Success with Close

{{ luci.notification(heading="Success! " + heading_shared, class="luci-notification--success", close=true, describedby="notification2Desc") }}

Notification - Error with Close

{{ luci.notification(heading="Error! " + heading_shared, class="luci-notification--error", close=true, describedby="notification3Desc") }}

Notification - Information (Default) with Close - Description only

{{ luci.notification(close=true, describedby="notification1Desc", text=description_global) }}

Notification - Warning with Close

{{ luci.notification(class="luci-notification--warning", close=true, describedby="notification1Desc", text=description_global) }}

Notification - Success with Close

{{ luci.notification(class="luci-notification--success", close=true, describedby="notification2Desc", text=description_global) }}

Notification - Error with Close

{{ luci.notification(class="luci-notification--error", close=true, describedby="notification3Desc", text=description_global) }}

Inline Notification - Information (Default)

{{ luci.notification(heading="Information! " + heading_shared, class="luci-notification--inline", text=description_global) }}

Inline Notification - Warning

{{ luci.notification(heading="Warning! " + heading_shared, class="luci-notification--warning luci-notification--inline", text=description_global) }}

Inline Notification - Success

{{ luci.notification(heading="Success! " + heading_shared, class="luci-notification--success luci-notification--inline", text=description_global) }}

Inline Notification - Error

{{ luci.notification(heading="Error! " + heading_shared, class="luci-notification--error luci-notification--inline", text=description_global) }}

Inline Notification - Information (Default) - Heading only

{{ luci.notification(heading="Information! " + heading_shared, class="luci-notification--inline") }}

Inline Notification - Warning

{{ luci.notification(heading="Warning! " + heading_shared, class="luci-notification--warning luci-notification--inline") }}

Inline Notification - Success

{{ luci.notification(heading="Success! " + heading_shared, class="luci-notification--success luci-notification--inline") }}

Inline Notification - Error

{{ luci.notification(heading="Error! " + heading_shared, class="luci-notification--error luci-notification--inline") }}

Inline Notification - Information (Default) Description only

{{ luci.notification(class="luci-notification--inline", text=description_global) }}

Inline Notification - Warning

{{ luci.notification(class="luci-notification--warning luci-notification--inline", text=description_global) }}

Inline Notification - Success

{{ luci.notification(class="luci-notification--success luci-notification--inline", text=description_global) }}

Inline Notification - Error

{{ luci.notification(class="luci-notification--error luci-notification--inline", text=description_global) }}

Toast Notification - Information (Default)

{{ luci.notification(heading="Information! " + heading_shared, class="luci-notification--toast", text="This is a toast notification about something that has occured in this context. I auto-expire and disappear.") }}

Toast Notification - Success

{{ luci.notification(heading="Success! " + heading_shared, class="luci-notification--success luci-notification--toast", text="This is a toast notification about something that has occured in this context. I auto-expire and disappear.") }}

Toast Notification - Information (Default) - Heading only

{{ luci.notification(heading="Information! " + heading_shared, class="luci-notification--toast") }}

Toast Notification - Success

{{ luci.notification(heading="Success! " + heading_shared, class="luci-notification--success luci-notification--toast") }}

Toast Notification - Information (Default) - Description only

{{ luci.notification(class="luci-notification--toast", text="This is a toast notification about something that has occured in this context. I auto-expire and disappear.") }}

Toast Notification - Success

{{ luci.notification(class="luci-notification--success luci-notification--toast", text="This is a toast notification about something that has occured in this context. I auto-expire and disappear.") }}

Toast Notification - Information (Default) with Close

{{ luci.notification(heading="Information! " + heading_shared, class="luci-notification--toast", text="This is a toast notification about something that has occured in this context. I auto-expire and disappear.", close=true, describedby="notification4Desc") }}

Toast Notification - Success with Close

{{ luci.notification(heading="Success! " + heading_shared, class="luci-notification--success luci-notification--toast", text="This is a toast notification about something that has occured in this context. I auto-expire and disappear.", close=true, describedby="notification5Desc") }}

Toast Notification - Information (Default) with Close - Heading only

{{ luci.notification(heading="Information! " + heading_shared, class="luci-notification--toast", close=true, describedby="notification4Desc") }}

Toast Notification - Success with Close

{{ luci.notification(heading="Success! " + heading_shared, class="luci-notification--success luci-notification--toast", close=true, describedby="notification5Desc") }}

Toast Notification - Information (Default) with Close - Description only

{{ luci.notification(class="luci-notification--toast", text="This is a toast notification about something that has occured in this context. I auto-expire and disappear.", close=true, describedby="notification4Desc") }}

Toast Notification - Success with Close

{{ luci.notification(class="luci-notification--success luci-notification--toast", text="This is a toast notification about something that has occured in this context. I auto-expire and disappear.", close=true, describedby="notification5Desc") }}


{% endblock %}