|
|
@ -8,9 +8,15 @@ |
|
|
|
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide"> |
|
|
|
<%= link_to 'Notice', notification_show_notice_path, class: 'btn btn-primary'%> |
|
|
|
</li> |
|
|
|
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide"> |
|
|
|
<%= link_to 'Notice ++', notification_show_notice_path({multiple: true}), class: 'btn btn-primary'%> |
|
|
|
</li> |
|
|
|
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide"> |
|
|
|
<%= link_to 'Alert', notification_show_alert_path, class: 'btn btn-secondary'%> |
|
|
|
</li> |
|
|
|
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide"> |
|
|
|
<%= link_to 'Alert ++', notification_show_alert_path({multiple: true}), class: 'btn btn-secondary'%> |
|
|
|
</li> |
|
|
|
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide"> |
|
|
|
<%= link_to 'Nothing', notification_index_path, class: 'btn btn-accent btn-outline'%> |
|
|
|
</li> |
|
|
@ -44,7 +50,7 @@ |
|
|
|
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide"> |
|
|
|
<%= link_to 'Alert', "javascript: window.dispatchEvent(new CustomEvent('popup-toast', {detail: { |
|
|
|
type: 'alert', |
|
|
|
message: 'this is an alert' |
|
|
|
message: 'this is an alert from Stimulus' |
|
|
|
}}))", class: 'btn btn-secondary'%> |
|
|
|
</li> |
|
|
|
</ul> |