aboutsummaryrefslogtreecommitdiff
path: root/extension/popup
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-12-29 10:46:50 +0100
committerFlorian Dold <florian.dold@gmail.com>2015-12-29 10:46:50 +0100
commit7348b0ca41a5eb7c70c736480f77d086907c63ea (patch)
tree94fe933a5828e5b81fe00d369970c42b84930b43 /extension/popup
parentedf5d2cc6203b7fd0b1dd9913613b8e18935a026 (diff)
Chrome Webstore Link
Diffstat (limited to 'extension/popup')
-rw-r--r--extension/popup/transactions.html98
1 files changed, 54 insertions, 44 deletions
diff --git a/extension/popup/transactions.html b/extension/popup/transactions.html
index 87e3ec445..e575f0227 100644
--- a/extension/popup/transactions.html
+++ b/extension/popup/transactions.html
@@ -1,52 +1,62 @@
<!DOCTYPE html>
<html>
- <head>
- <meta charset="utf-8">
- <link rel="stylesheet" href="popup.css" type="text/css">
- <script src="../lib/util.js" type="text/javascript"></script>
- <script src="transactions.js" type="text/javascript"></script>
- </head>
+<head>
+ <meta charset="utf-8">
+ <link rel="stylesheet" href="popup.css" type="text/css">
+ <script src="../lib/util.js" type="text/javascript"></script>
+ <script src="transactions.js" type="text/javascript"></script>
- <body>
- <div id="header" class="nav">
- <a href="balance-overview.html">Wallet</a>
- <a href="transactions.html" class="active">Transactions</a>
- <a href="reserves.html">Reserves</a>
- </div>
+ <script id="balance-template" type="text/x-handlebars-template">
+ {{#each transactions}}
+ bla
+ {{else}}
+ Looks like you didn't make any transactions. Get some
+ coins and <a>donate</a> something.
+ {{/each}}
+ </script>
- <div id="content">
- <table id="transactions-table" class="hidden">
- <thead>
- <tr>
- <th>Date</th>
- <th>Amount</th>
- <th>Status</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <!--
- <tr>
- <td class="date">2015-12-21 13:37</td>
- <td class="amount">42 EUR</td>
- <td class="status">Completed</td>
- <td class="contract"><button>Contract</button></td>
- </tr>
- <tr>
- <td class="date">2015-12-22 10:01</td>
- <td class="amount">23 USD</td>
- <td class="status">Pending</td>
- <td class="contract"><button>Contract</button></td>
- </tr>
- -->
- </tbody>
- </table>
+</head>
- <p id="no-transactions">
- There are no transactions to show.
- </p>
- </div>
+<body>
+<div id="header" class="nav">
+ <a href="balance-overview.html">Wallet</a>
+ <a href="transactions.html" class="active">Transactions</a>
+ <a href="reserves.html">Reserves</a>
+</div>
- </body>
+<div id="content">
+ <table id="transactions-table" class="hidden">
+ <thead>
+ <tr>
+ <th>Date</th>
+ <th>Amount</th>
+ <th>Status</th>
+ <th></th>
+ </tr>
+ </thead>
+ <tbody>
+ <!--
+ <tr>
+ <td class="date">2015-12-21 13:37</td>
+ <td class="amount">42 EUR</td>
+ <td class="status">Completed</td>
+ <td class="contract"><button>Contract</button></td>
+ </tr>
+ <tr>
+ <td class="date">2015-12-22 10:01</td>
+ <td class="amount">23 USD</td>
+ <td class="status">Pending</td>
+ <td class="contract"><button>Contract</button></td>
+ </tr>
+ -->
+ </tbody>
+ </table>
+
+ <p id="no-transactions">
+ There are no transactions to show.
+ </p>
+</div>
+
+</body>
</html>