forked from ripplerm/ripple-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (57 loc) · 3.02 KB
/
index.html
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
65
66
<!DOCTYPE html>
<html ng-app="walletApp">
<head>
<meta charset="utf-8">
<script src="lib/ripple-1.2.5-min.js"></script>
<script src="lib/angular-1.4.4.min.js"></script>
<script src="lib/ngStorage.min.js"></script>
<script src="lib/bootstrap/js/ui-bootstrap-tpls-0.14.3.min.js"></script>
<script src="lib/highcharts/lib/adapters/standalone-framework.js"></script>
<script src="lib/highcharts/lib/highstock.js"></script>
<script src="lib/md5.js"></script>
<script src="lib/FileSaver.min.js"></script>
<script src="lib/json-formatter/json-formatter.min.js"></script>
<script src="lib/qrcode.js"></script>
<script src="lib/angular-qrcode.js"></script>
<script src="js/jsonrewriter.js"></script>
<script src="js/mywallet.js"></script>
<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="lib/json-formatter/json-formatter.min.css" rel="stylesheet">
</head>
<body>
<div ng-controller="walletCtrl" class="container">
<table class="table table-bordered table-condensed" style="text-align: center">
<tr>
<td style="text-align: center">
<div uib-dropdown uib-keyboard-nav>
<button type="button" uib-dropdown-toggle><span class="caret"></span></button>
<ul class="uib-dropdown-menu">
<li ng-repeat="network in networks"><a href="#" ng-click="switchNetwork(network)">{{network}}</a></li>
</ul>
Network: <font color="{{(state == 'online') ? 'green' : 'red'}}">{{state}}</font> [{{network}}]
</div>
</td>
<td style="text-align: center;">Server: {{server}} <span style="padding-left:1em;">Fee:{{fee}}</span></td>
<td style="text-align: center">Last-Closed-Ledger: <font color="blue"> {{ledgerIndex}} </font></td>
</tr>
</table>
<div ng-show="network == 'TEST'">
<font color="blue" size="5">[You are on TestNet]... to play around, get funded accounts from: <a href="https://ripple.com/build/ripple-test-net/" target="_blank">ripple-test-net</a>.</font>
<hr>
</div>
<font size="5">Wallet Account: <b>{{activeAccount ? activeAccount : "-"}} </b></font>
<button class="btn btn-primary" ng-click="prepareSetWalletAccount()"><span class="glyphicon glyphicon-pencil"> Change</button></span>
<br>
secret set: <font color="{{secrets[activeAccount] ? 'green' : 'red' }}">{{secrets[activeAccount] ? "✔" : "✘"}}</font>
<button ng-click="prepareSetWalletSecret()"><span class="glyphicon glyphicon-pencil"></span> {{secrets[activeAccount] ? 'Change' : 'Set' }}</button>
<button ng-show="secrets[activeAccount]" ng-click="showSecret = !showSecret">{{showSecret ? "Hide" : "Show"}}</button> {{secrets[activeAccount] && showSecret ? secrets[activeAccount] : '' }}
<hr>
<!-- Tabs -->
<uib-tabset>
<uib-tab ng-repeat="tab in tabs" heading="{{tab.title}}" active="tabActive[tab.title]" disable="tab.disabled" select="tab.select()">
<div ng-include="tab.templete"></div>
</uib-tab>
</uib-tabset>
</div>
</body>
</html>