File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
lib/ash_admin/components/top_nav Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,23 @@ defmodule AshAdmin.Components.TopNav.ActorSelect do
1818
1919 def actor_select ( assigns ) do
2020 ~H"""
21- < div id = "actor-hook " class = "flex items-center mr-5 text-white " phx-hook = "Actor " >
21+ < div id = "actor-hook " class = "flex items-center gap-4 mr-5 text-white " phx-hook = "Actor " >
2222 < div >
2323 < span >
24- < button phx-click = { @ toggle_authorizing } type = "button " >
24+ < button
25+ class = "inline-flex items-center rounded-md bg-gray-50 px-2 py-1 mx-1 my-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10 "
26+ phx-click = { @ toggle_authorizing }
27+ type = "button "
28+ >
2529 < span :if = { @ authorizing } > Authorizing</ span >
2630 < span :if = { ! @ authorizing } > Not Authorizing</ span >
2731 </ button >
28- < button :if = { @ actor } phx-click = { @ toggle_actor_paused } type = "button " >
32+ < button
33+ :if = { @ actor }
34+ class = "inline-flex items-center rounded-md bg-gray-50 px-2 py-1 mx-1 my-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10 "
35+ phx-click = { @ toggle_actor_paused }
36+ type = "button "
37+ >
2938 < span :if = { @ actor_paused } > Actor Paused</ span >
3039 < span :if = { ! @ actor_paused } > Actor Active</ span >
3140 </ button >
You can’t perform that action at this time.
0 commit comments