aboutsummaryrefslogtreecommitdiffstats
path: root/views/calculator/setup.html
blob: e125eea9bbb1312f826380701a9a16cc57ccd1eb (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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
		<meta name="viewport" content="width=480, height=752, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
    <title>Bitcoin Payment Calculator</title>
    <link href="img/favicon.ico" rel="shortcut icon" />
    {{#css}}calculator{{/css}}
    {{#js}}setup{{/js}}
  </head>
  <body>
    <div class="container-fluid">
      <form id="setup" action="/calculator" method="get">
        <h1>Settings</h1>

        <input type="hidden" id="username" name="username" value="{{user}}" />

        <div class="form-group">
          <label for="title">Store Name:</label>
          <input type="text" id="title" name="title" class="form-control" />
        </div>

        <div class="form-group">
          <label for="logo">Logo <small>(optional URL)</small>:</label>
          <input type="text" id="logo" name="logo" class="form-control" />
        </div>

        <div class="form-group">
          <label for="address">Bitcoin Address:</label>
          <input type="text" id="address" name="address" class="form-control" />
        </div>

        <div class="form-group">
          <label for="currency">Currency:</label>
          <select id="currency" name="currency" class="form-control">
          </select>
        </div>

        <div class="form-group">
          <label for="symbol">Exchange Rate:</label>
          <select id="symbol" name="symbol" class="form-control">
          </select>
        </div>
        
        <div class="form-group">
          <label for="commission">Commission/Discount <small>(optional %)</small>:</label>
          <input type="text" id="commission" name="commission" class="form-control" />
        </div>

        <div class="form-group">
          <label for="password">Password <small>(blank = no change)</small>:</label>
          <input type="text" id="password" name="password" class="form-control" />
        </div>

        <br />
        <input class="btn btn-primary" type="submit" value="Done" />
      </form>
    </div>
  </body>
</html>