fix: adds action button to manually run monitors

This commit is contained in:
2025-07-07 16:12:21 -05:00
parent 5e48fdb978
commit 32389cb27a
6 changed files with 76 additions and 2 deletions

View 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>