Skip to content

Commit b355cf5

Browse files
committed
Updated style
1 parent af0c81d commit b355cf5

File tree

3 files changed

+41
-10
lines changed

3 files changed

+41
-10
lines changed

app.log

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1674,4 +1674,36 @@ SELECT * FROM transactions WHERE date BETWEEN DATE('2013-09-01') AND DATE('2013-
16741674
Getting by ID: 46
16751675
SELECT * FROM transactions WHERE id='46'
16761676
Getting transactions for this month: 10
1677+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1678+
Getting transactions for this month: 10
1679+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1680+
Getting transactions for this month: 10
1681+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1682+
Getting transactions for this month: 10
1683+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1684+
Getting by ID: 46
1685+
SELECT * FROM transactions WHERE id='46'
1686+
Getting transactions for this month: 10
1687+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1688+
Getting transactions for this month: 10
1689+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1690+
Getting transactions for this month: 10
1691+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1692+
Getting transactions for this month: 10
1693+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1694+
Getting transactions for this month: 10
1695+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1696+
Getting transactions for this month: 10
1697+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1698+
Getting transactions for this month: 10
1699+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1700+
Getting transactions for this month: 10
1701+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1702+
Getting transactions for this month: 10
1703+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1704+
Getting transactions for this month: 10
1705+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1706+
Getting transactions for this month: 10
1707+
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date
1708+
Getting transactions for this month: 10
16771709
SELECT * FROM transactions WHERE date BETWEEN DATE('2013-10-01') AND DATE('2013-10-31') ORDER BY date

public/css/style.css

Whitespace-only changes.

public/index.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Checkbook Frontend</title>
4+
<title>Ledger</title>
55
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
77
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
8+
<link href="css/style.css" rel="stylesheet">
89
<!--<link href='bootstrap/css/bootstrap.min.css' rel='stylesheet'>-->
910
</head>
1011
<body>
@@ -18,7 +19,7 @@
1819
<span class="icon-bar"></span>
1920
<span class="icon-bar"></span>
2021
</button>
21-
<a class="navbar-brand" href="/">Checkbook</a>
22+
<a class="navbar-brand" href="/">Ledger</a>
2223
</div>
2324

2425
<!-- Collect the nav links, forms, and other content for toggling -->
@@ -72,9 +73,8 @@ <h1 id='page-header'></h1>
7273
<tr>
7374
<th class='hidden-xs'>Date</th>
7475
<th>Description</th>
75-
<th class='hidden-xs'>Debit</th>
76-
<th class='hidden-xs'>Credit</th>
77-
<th class='hidden-xs'>Category</th>
76+
<th>Debit</th>
77+
<th>Credit</th>
7878
<th>Actions</th>
7979
</tr>
8080
</thead>
@@ -99,13 +99,12 @@ <h1 id='page-header'></h1>
9999
<td><%= tDesc %></td>
100100

101101
<% if (tAmount < 0) { %>
102-
<td class='hidden-xs'>$ <%= Math.abs(tAmount).toFixed(2) %></td>
103-
<td class='hidden-xs'></td>
102+
<td>$ <%= Math.abs(tAmount).toFixed(2) %></td>
103+
<td></td>
104104
<% } else { %>
105-
<td class='hidden-xs'></td>
106-
<td class='hidden-xs'>$ <%= Math.abs(tAmount).toFixed(2) %></td>
105+
<td></td>
106+
<td>$ <%= Math.abs(tAmount).toFixed(2) %></td>
107107
<% } %>
108-
<td class='hidden-xs'><%= transaction.get('category') %></td>
109108
<td><a href='#/edit/<%= transaction.id %>' class='btn btn-info'>Edit</a></td>
110109
</tr>
111110
<% }); %>

0 commit comments

Comments
 (0)