Add transaction history view to wallet #66

Merged
raucao merged 10 commits from feature/wallet_history into master 2022-03-17 19:28:59 +00:00
2 changed files with 19 additions and 1 deletions
Showing only changes of commit bd2a161306 - Show all commits

View File

@@ -3,6 +3,15 @@
<%= render MainSimpleComponent.new do %>
<%= render WalletSummaryComponent.new(balance: @balance) %>
<section>
<div class="border-b border-gray-200">
<nav class="-mb-px flex" aria-label="Tabs">
<%= link_to "Info", wallet_path, class: "border-indigo-500 text-indigo-600 w-1/2 py-4 px-1 text-center border-b-2", "aria-current": "page" %>
<%= link_to "Transactions", wallet_transactions_path, class: "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 w-1/2 py-4 px-1 text-center border-b-2" %>
</nav>
</div>
</section>
<section>
<h3>Lightning Address</h3>
<p>

View File

@@ -3,6 +3,15 @@
<%= render MainSimpleComponent.new do %>
<%= render WalletSummaryComponent.new(balance: @balance) %>
<section>
<div class="border-b border-gray-200">
<nav class="-mb-px flex" aria-label="Tabs">
<%= link_to "Info", wallet_path, class: "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 w-1/2 py-4 px-1 text-center border-b-2" %>
<%= link_to "Transactions", wallet_transactions_path, class: "border-indigo-500 text-indigo-600 w-1/2 py-4 px-1 text-center border-b-2", "aria-current": "page" %>
</nav>
</div>
</section>
<section>
<h3 class="hidden">Transactions</h3>
@@ -41,7 +50,7 @@
</ul>
<% else %>
<p class="text-gray-500">
No transactions to show.
No transactions yet. As soon as you start receiving sats, you will find some entries here.
</p>
<% end %>
</section>