aboutsummaryrefslogtreecommitdiffstats
path: root/views/transactions/index.html
blob: d48d28f1be4fbf4186fce64a0ab0e166c55475d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{{#yield-scripts}}
  {{#js}}js/report{{/js}}
{{/yield-scripts}}

<h1>Payments Received</h1>

<div style="margin-bottom: 15px">
  <input id="user" type="hidden" value="{{user}}" />
  <input id="from_date" type="text" style="position: relative; top: 25px; height: 0px; width:0px; border: 0px;" />
  <button id="from" class="btn btn-primary"></button>
  to
  <input id="to_date" type="text" style="position: relative; top: 25px; height: 0px; width:0px; border: 0px;" />
  <button id="to" name="to" class="btn btn-primary"></button>
</div>

<p class="alert alert-warning" style="display: none">No transactions were found for the specified time period</p>

<table class="table table-striped table-hover report" style="cursor: pointer; display: none">
  <thead>
    <tr>
      <th>Time</th>
      <th>Rate</th>
      <th>BTC</th>
      <th>CAD</th>
    </tr>
  </thead>
  <tbody>
  </tbody>
  <tfoot>
    <tr>
      <td id="total" colspan="2">Total:</td>
      <td id="btc"></td>
      <td id="cad"></td>
    </tr>
  </tfoot>
</table>

<!-- Modal -->
<div class="modal fade" id="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title">Transaction</h4>
      </div>
      <div class="modal-body">
        <textarea style="width: 100%; height: 100px;" placeholder="Notes"></textarea>
        <p id="yousure">You sure?</p>
      </div>
      <div class="modal-footer">
        <div id="buttons">
          <button type="button" class="btn btn-danger" tabindex="-1">Delete Transaction</button>
          <button type="button" class="btn btn-primary">View Blockchain</button>
          <button type="button" class="btn btn-default" data-dismiss="modal">Done</button>
        </div>

        <div id="confirm">
          <button type="button" class="btn btn-default" data-dismiss="modal">No</button>
          <button type="button" class="btn btn-danger">Yes</button>
        </div>
      </div>
    </div>
  </div>
</div>