- Update styles

- Reverse CSV array for transactions log
This commit is contained in:
Keith Solomon
2022-12-23 19:21:30 +00:00
parent 521644d997
commit d86b718c65
2 changed files with 7 additions and 1 deletions
+2
View File
@@ -126,6 +126,8 @@ function vaultTxns($csv) {
$output .= ' <tbody>'; $output .= ' <tbody>';
$csv = array_reverse($csv);
foreach ($csv as $entry) { foreach ($csv as $entry) {
if ($entry[2] == 'Vault withdraw') { if ($entry[2] == 'Vault withdraw') {
$class = 'debit'; $class = 'debit';
+5 -1
View File
@@ -4,6 +4,8 @@
} }
body { body {
background: #000;
color: #fff;
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
padding: 0 1em; padding: 0 1em;
} }
@@ -16,7 +18,7 @@ body {
grid-row-gap: 0px; grid-row-gap: 0px;
} }
table {width: 100%; } table { color: #000; width: 100%; }
table, tr, td { table, tr, td {
border: 1px solid #333; border: 1px solid #333;
@@ -24,6 +26,8 @@ table, tr, td {
} }
thead td { thead td {
background: #ccc;
color: #000;
font-weight: bold; font-weight: bold;
padding: .15em 1em; padding: .15em 1em;
text-align: center; text-align: center;