Formatted Transaction page

Added a new function row_to_transaction and added new design for transaction page.