Add the Task dashboard button to access Oban dashboard.

dev
KKlochko 2 months ago
parent dff915e835
commit 90bacf8e37

@ -9,13 +9,21 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Index do
~H""" ~H"""
<.header> <.header>
Listing Servers Listing Servers
<:actions> <:actions>
<div class="flex flex-row gap-2">
<div class="flex flex-row gap-2"> <div class="flex flex-row gap-2">
<.primary_button phx-click="sync"> <.primary_button phx-click="sync">
Sync now Sync now
</.primary_button> </.primary_button>
</div> </div>
<div class="flex flex-row gap-2">
<.link patch={~p"/oban"}>
<.primary_button>
Task dashboard
</.primary_button>
</.link>
</div>
</div>
</:actions> </:actions>
</.header> </.header>

Loading…
Cancel
Save