This commit is contained in:
count-null 2025-03-04 21:56:40 -05:00
parent a2d5494f15
commit 35971fd696
30 changed files with 385 additions and 269 deletions

View file

@ -2,7 +2,7 @@
<h3 class="text-2xl font-semibold">
Recently Sent Emails
</h3>
<table class="min-w-full bg-white">
<table class="min-w-full">
<thead>
<tr>
<th class="py-2">

View file

@ -12,13 +12,13 @@
type="hidden" name="amount" id="amount" value="{{ session.last_post.amount }}" />
{% else %}
{% include 'lib/inputs/number.twig' with {
id: 'amount',
name: 'amount',
label: 'Amount',
placeholder: 'Enter the amount',
value: session.last_post.amount,
required: true
} %}
id: 'amount',
name: 'amount',
label: 'Amount',
placeholder: 'Enter the amount',
value: session.last_post.amount,
required: true
} %}
{% endif %}
{% if session.last_post.currency %}
<input
@ -52,16 +52,16 @@
value: session.last_post.user_identifier
} %}
{% endif %}
{% include 'lib/button.twig' with {
label: 'Submit',
onclick: 'this.parentNode.submit()'
} %}
{% include 'lib/buttons/submit.twig' with {
label: 'Submit',
} %}
</form>
{% if session.last_post %}
{% include 'lib/button.twig' with {
label: 'Cancel',
href: '/admin/transactions/reset'
} %}
<a href="/admin/transactions/reset">
{% include 'lib/buttons/default.twig' with {
label: 'Cancel'
} %}
</a>
{% endif %}
</section>

View file

@ -17,16 +17,15 @@
],
required: true
} %}
{% include 'lib/button.twig' with {
{% include 'lib/buttons/submit.twig' with {
label: 'Submit',
onclick: 'this.parentNode.submit()'
} %}
</form>
<h3 class="text-2xl font-semibold">
Liabilities
</h3>
<table class="min-w-full bg-white">
<table class="min-w-full">
<thead>
<tr>
<th class="py-2">
@ -59,7 +58,7 @@
<h3 class="text-2xl font-semibold">
Sats Transactions
</h3>
<table class="min-w-full bg-white">
<table class="min-w-full">
<thead>
<tr>
<th class="py-2">
@ -101,7 +100,7 @@
<h3 class="text-2xl font-semibold">
Cents Transactions
</h3>
<table class="min-w-full bg-white">
<table class="min-w-full">
<thead>
<tr>
<th class="py-2">
@ -143,7 +142,7 @@
<h3 class="text-2xl font-semibold">
Whales Sats
</h3>
<table class="min-w-full bg-white">
<table class="min-w-full">
<thead>
<tr>
<th class="py-2">
@ -179,7 +178,7 @@
<h3 class="text-2xl font-semibold">
Whales Cents
</h3>
<table class="min-w-full bg-white">
<table class="min-w-full">
<thead>
<tr>
<th class="py-2">