Skip to content

Commit

Permalink
Transactions table tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Girardi committed Sep 30, 2021
1 parent 22e1735 commit e1ae9f0
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions src/main/clojure/convex_web/site/explorer.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,15 @@
{:class th-style}
[:div.flex.space-x-1
{:class th-div-style}
[:span "Signer"]
[:span "Account"]
[gui/InfoTooltip "Address of the Account that digitally signed the transaction. This Signature has been verified by all Peers in Consensus."]]]

;; -- 3. Timestamp
[:th
{:class th-style}
[:div.flex.space-x-1
{:class th-div-style}
[:span "Timestamp"]
[:span "Time"]
[gui/InfoTooltip "UTC Timestamp of the block containing the transaction"]]]

;; -- 4. Type
Expand Down Expand Up @@ -321,24 +321,21 @@
^{:key [block-index transaction-index]}
[:tr.cursor-default
;; -- 0. Block Index
[:td {:class td-class}
[:div.flex.flex-1.justify-end
[:a.hover:text-blue-500
{:href (rfe/href :route-name/testnet.block {:index block-index})}
[:div.flex.space-x-3
[:span.font-mono block-index]

[:span "View"]]]]]
[:td {:class (cons "text-right" td-class)}
[:a.hover:text-blue-500
{:href (rfe/href :route-name/testnet.block {:index block-index})}
[:span.font-mono.mr-8
block-index]]]

;; -- 1. TR#
[:td {:class (cons "text-right" td-class)}
[:span.text-xs.mr-8
transaction-index]]

;; -- 2. Signer
;; -- 2. Account
[:td {:class td-class}
(let [address (get m :convex-web.signed-data/address)]
[:div.flex.items-center.w-40.space-x-1
[:div.flex.items-center.space-x-1
[gui/AIdenticon {:value address :size gui/identicon-size-small}]

[:a.flex-1.truncate
Expand Down

0 comments on commit e1ae9f0

Please sign in to comment.