fix: adds action button to manually run monitors
This commit is contained in:
7
templates/components/ActionButton.html.twig
Normal file
7
templates/components/ActionButton.html.twig
Normal file
@@ -0,0 +1,7 @@
|
||||
<button
|
||||
class="h-8 bg-{{ color|default('orange') }}-500/80 hover:bg-{{ color|default('orange') }}-600/80 px-2 text-{{ text_color|default('white') }} rounded text-sm font-semibold"
|
||||
{{ attributes.defaults(stimulus_controller('action_button')) }}
|
||||
{{ stimulus_action('action_button', action|default('default')) }}
|
||||
>
|
||||
{{ text|default('button') }}
|
||||
</button>
|
||||
Reference in New Issue
Block a user