-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
143 lines (138 loc) · 4.93 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<html>
<head>
<title>Satoshi Dice</title>
<link href="css/normalize.css" rel="stylesheet" type="text/css"/>
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="css/style.css" rel="stylesheet" type="text/css"/>
<script src="js/angular.min.js" type="text/javascript"></script>
<script src="js/controllers.js" type="text/javascript"></script>
</head>
<body ng-app="SatoshiDice" ng-controller="ScreenCtrl" ng-init="pushView('bet-list')">
<div class="screen" ng-class="getScreenClass('bet-list')" ng-controller="BetListCtrl">
<div class="bet-list">
<div class="item" ng-repeat="bet in bets">
<div class="left">
<64,0000
<br />
97,6553%
<br />
x1,0044
</div>
<div class="center">
Bet Amount
<input type="text" ng-model="bet.betAmount" ng-blur="updateBet(bet)"/>
<span class="small">+0.0005 tx fee/bet</span>
</div>
<div class="right">
+ 0.0000 (0)
<br />
- 0.0005 (1)
<br />
- 0.0005 (1)
<br />
</div>
</div>
</div>
<div class="bet-summary">
<div class="left">
SatoshiDICE!
</div>
<div class="center" ng-click="placeBet()">
<img src="img/dices.png"/>
Roll Dice
</div>
<div class="right">
to bet: {{totalBets}}
<span class="small">chance for 0.657898221</span>
<i class="icon-eye-open" ng-click="pushView('dice-stats')"></i>
</div>
</div>
</div>
<div class="screen" ng-class="getScreenClass('dice-stats')" ng-controller="StatsCtrl">
<div class="dice-stats">
<div class="left">
<div class="box">
<h3>Career Stats</h3>
<dl>
<dt>Win</dt>
<dd class="green-cl">+ 0.0045</dd>
<dt>Loss</dt>
<dd class="red-cl">- 0.0012</dd>
<dt>Performance</dt>
<dd class="green-cl">+ 0.0033</dd>
</dl>
<h3>Session Stats</h3>
<dl>
<dt>Win</dt>
<dd class="green-cl">+ 0.0045</dd>
<dt>Loss</dt>
<dd class="red-cl">- 0.0012</dd>
<dt>Performance</dt>
<dd class="green-cl">+ 0.0033</dd>
</dl>
</div>
<span class="btn" ng-click="popView()">Back</span>
<span class="btn">Clear Stats</span>
</div>
<div class="right">
<div class="box">
<h3>Event Log</h3>
<ul>
<li>Placed bet!</li>
<li>Sent 0.0105btc</li>
<li>Win! +0.004441594 Lucky#24728</li>
<li>Received 0.01147198btc</li>
<li>Placed Bet!</li>
<li>Sent 0.0305btc</li>
<li>Win.Lose -0.01651515 Lucky#17368</li>
<li>Received 0.01337565btc</li>
<li>Received 0.0000546btc</li>
<li>Placed bet!</li>
<li>Sent 0.0105btc</li>
<li>Received 0.01147198btc</li>
<li>Placed Bet!</li>
<li>Sent 0.0305btc</li>
<li>Win.Lose -0.01651515 Lucky#17368</li>
<li>Received 0.01337565btc</li>
<li>Received 0.0000546btc</li>
<li>Placed bet!</li>
<li>Sent 0.0105btc</li>
<li>Win! +0.004441594 Lucky#24728</li>
<li>Received 0.01147198btc</li>
<li>Placed Bet!</li>
<li>Sent 0.0305btc</li>
<li>Win.Lose -0.01651515 Lucky#17368</li>
<li>Received 0.01337565btc</li>
<li>Received 0.0000546btc</li>
<li>Placed bet!</li>
<li>Sent 0.0105btc</li>
<li>Received 0.01147198btc</li>
<li>Placed Bet!</li>
<li>Sent 0.0305btc</li>
<li>Win.Lose -0.01651515 Lucky#17368</li>
<li>Received 0.01337565btc</li>
<li>Received 0.0000546btc</li>
<li>Placed bet!</li>
<li>Sent 0.0105btc</li>
<li>Win! +0.004441594 Lucky#24728</li>
<li>Received 0.01147198btc</li>
<li>Placed Bet!</li>
<li>Sent 0.0305btc</li>
<li>Win.Lose -0.01651515 Lucky#17368</li>
<li>Received 0.01337565btc</li>
<li>Received 0.0000546btc</li>
<li>Placed bet!</li>
<li>Sent 0.0105btc</li>
<li>Received 0.01147198btc</li>
<li>Placed Bet!</li>
<li>Sent 0.0305btc</li>
<li>Win.Lose -0.01651515 Lucky#17368</li>
<li>Received 0.01337565btc</li>
<li>Received 0.0000546btc</li>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>