Permalink
Browse files

Changed accounts index view to clean up display

  • Loading branch information...
1 parent 49e4776 commit 603ad1429be0d87084ae0070f624a30f60d0eac7 @arafatm arafatm committed Jan 6, 2009
Showing with 7 additions and 2 deletions.
  1. +2 −2 app/views/accounts/index.html.haml
  2. +5 −0 public/stylesheets/sass/main.sass
@@ -3,9 +3,9 @@
%table.account
- for i in 0...@accounts.length
- - if i % 2 == 0
+ - if i % 2 == 0 # This is a header
%tr.element
- %td.element{:span => "2"}
+ %td.element{:colspan => "2"}
%h1.element= @accounts[i]
- else
- accounts = @accounts[i]
@@ -64,11 +64,16 @@ a:hover
table.account
:margin 1ex 3ex
:border-collapse collapse
+ td
+ :padding 0ex .5ex
+ :border 1px solid black
td.element
:text-align left
:padding 1em 0em
h1.element
:font-size 1.6em
+ td.balance
+ :text-align right
table.journal
:margin 1ex 3ex

0 comments on commit 603ad14

Please sign in to comment.