-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrowse.html
More file actions
253 lines (222 loc) · 11.4 KB
/
browse.html
File metadata and controls
253 lines (222 loc) · 11.4 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Upscale Pay Browse work- Trust strangers in trustless manner.</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/socicon.css" rel="stylesheet" type="text/css" media="all">
<link href="css/iconsmind.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all"/>
<link href="css/interface-icons.css" rel="stylesheet" type="text/css" media="all"/>
<link href="css/owl.carousel.css" rel="stylesheet" type="text/css" media="all"/>
<link href="css/theme.css" rel="stylesheet" type="text/css" media="all"/>
<link href="css/custom.css" rel="stylesheet" type="text/css" media="all"/>
<link href='https://fonts.googleapis.com/css?family=Lora:400,400italic,700|Montserrat:400,700' rel='stylesheet' type='text/css'>
</head>
<body data-reveal-selectors="section:not(.masonry):not(:first-of-type):not(.parallax)">
<div class="nav-container">
<nav>
<div class="nav-bar" data-fixed-at="700">
<div class="nav-module logo-module left">
<a href="index.html"><img alt="logo" class="logo logo-dark" src="img/logo-pay.png"> <img alt="logo" class="logo logo-light" src="img/logo-light.png"></a>
</div>
<div class="nav-module menu-module left">
<ul class="menu">
<li>
<a href="#">About</a>
</li>
<li>
<a href="#">Create work </a>
</li>
<li>
<a href="/browse.html">browse work </a>
</li>
</ul>
</div>
</div>
<div class="nav-mobile-toggle visible-sm visible-xs">
<i class="icon-Align-JustifyAll icon icon--sm"></i>
</div>
</nav>
</div>
<div class="container" align='center'>
<div class="notification col-sm-3 pos-bottom pos-right" data-animation="from-bottom" data-autoshow="2000">
<div id="noProviderWarningDiv" hidden='true'>
<div class="alert alert-warning" style='display:inline-block; margin-top:5rem'>
<strong>Alert! You do not have a web3 provider.</strong><br>
Getting Metamask is the quickest way to fix this.<br>
<a href="https://metamask.io/"><img src="resources/download-metamask.png" style="width:30rem"></a><br>
You can also use Mist or Parity. Refresh this page when you have a web3 provider.
</div>
</div>
<a class="notification-close">Shut It Down</a>
</div>
<div class="notification col-sm-3 pos-bottom pos-right" data-animation="from-bottom" data-autoshow="2000">
<div id="ropstenWarning" hidden='true' align='center'>
<div class="alert alert-warning" style='display:inline-block;'>
<p><strong>You are currently viewing only "test" Burnable Payments on the Ropsten testnet.</strong></p>
<p>To see Burnable Payments that contain real ether, change your Metamask network to the "Main" Ethereum network, and refresh.</p>
</div>
</div>
<a class="notification-close">Shut It Down</a>
</div>
<div class="notification col-sm-3 pos-bottom pos-right" data-animation="from-bottom" data-autoshow="2000">
<div id="web3LockedWarning" hidden='true' align='center'>
<div class="alert alert-warning" style='display:inline-block;'>
<p><strong>No Ethereum account found.</strong></p>
<p>You are currently unable to initiate any commands. Make sure Metamask is unlocked and refresh.</p>
</div>
</div>
<a class="notification-close">Shut It Down</a>
</div>
<div class="modal-instance">
<a class="btn modal-trigger">Change compare code</a>
<div class="modal-container" data-modal-id="compare-code-modal">
<div class="modal-content" style="width: 50%;height: 80%;">
<h4 style="
color: white;
">Set new compare code </h4>
<div class="modal-body">
<textarea id="compare-code-input" class="form-control" style="font-family:monospace" rows=20 style="mid-width:100%"></textarea><br>
<button class="btn btn-success" data-dismiss="modal" onclick="applyNewCompareCode()">Apply code</button>
</div>
</div>
</div>
</div>
<div id="web3Div" hidden='true'>
<div id="browseVue" align="left">
<p>This code determines how the Payments below are compared and sorted. Javascript's <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort">.sort()</a> is used.</p>
<div class="row">
<div class="col-sm-10">
<pre class="pre-scrollable" style='max-height:100px'>{{compareCode}}</pre>
</div>
</div>
<table class="table table-condensed table-bordered table-hover">
<thead>
<tr>
<th>Address/State/Autorelease</th>
<th>Payer/Worker</th>
<th>Title</th>
<th>Payment Status</th>
</tr>
</thead>
<tbody>
<tr v-for="BOP in BOPs">
<td @click="goToInteractPage(BOP.address)" style="cursor:pointer">
<eth-address-output :address=BOP.address></eth-address-output><br>
<bop-state-output :state=BOP.state></bop-state-output><br>
<autorelease-output :state="BOP.state" :autorelease-interval="BOP.autoreleaseInterval" :autorelease-time="BOP.autoreleaseTime"></autorelease-output>
</td>
<td>
Payer: <eth-address-output :address=BOP.payer></eth-address-output><br>
Worker: <eth-address-output :address=BOP.worker></eth-address-output>
</td>
<td>
{{BOP.title}}
</td>
<td>
<div v-if="BOP.state == 0">
Balance: <ether-output :wei=BOP.balance></ether-output><br>
Service Deposit: <ether-output :wei=BOP.serviceDeposit></ether-output>
</div>
<div v-if="BOP.state == 1">
Deposited: <ether-output :wei=BOP.amountDeposited></ether-output><br>
Balance: <ether-output :wei=BOP.balance></ether-output><br>
Released: <ether-output :wei=BOP.amountReleased></ether-output><br>
Burned: <ether-output :wei=BOP.amountBurned></ether-output>
</div>
<div v-if="BOP.state == 2">
Released: <ether-output :wei=BOP.amountReleased></ether-output><br>
Burned: <ether-output :wei=BOP.amountBurned></ether-output>
</div>
</td>
</tr>
</tbody>
</table>
<!--<div id="compare-code-modal" class="modal fade" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4>Set new compare code</h4>
</div>
<div class="modal-body">
<textarea id="compare-code-input" class="form-control" style="font-family:monospace" rows=20 style="mid-width:100%"></textarea><br>
<button class="btn btn-success" data-dismiss="modal" onclick="applyNewCompareCode()">Apply code</button>
</div>
</div>
</div>
</div>-->
</div>
</div>
</div>
<footer class="footer-2 text-center-xs bg--white">
<div class="container">
<div class="row">
<div class="col-sm-8">
<ul class="footer__navigation">
<li>
<a href="#">About</a>
</li>
<li>
<a href="#">Terms</a>
</li>
<li>
<a href="#">Careers</a>
</li>
<li>
<a href="#">Contact</a>
</li>
</ul>
</div>
<div class="col-sm-4 text-right text-center-xs">
<ul class="social-list">
<li>
<a href="#"><i class="socicon-twitter"></i></a>
</li>
<li>
<a href="#"><i class="socicon-dribbble"></i></a>
</li>
<li>
<a href="#"><i class="socicon-vimeo"></i></a>
</li>
<li>
<a href="#"><i class="socicon-instagram"></i></a>
</li>
</ul>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<a class="type--underline" href="#">hello@upscalepayments.com</a>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="footer__lower">
<span class="type--fine-print">© Copyright
<span class="update-year">2017 Upscale</span> - All
Rights Reserved</span>
</div>
</div>
</div>
</div>
</footer>
</div>
<script src="js/jquery-2.1.4.min.js"></script>
<script src="js/scrollreveal.min.js"></script>
<script src="js/parallax.js"></script>
<script src="js/scripts.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.rawgit.com/yahoo/xss-filters/master/dist/xss-filters.min.js"></script>
<script src="https://wallet.metamask.io/metamascara.js"></script>
<script src="https://unpkg.com/vue"></script>
<script src="libs/humanize-duration.js"></script>
<script src="libs/moment.min.js"></script>
<script src="libs/web3.min.js"></script>
<script src="script/utils.js"></script>
<script src="script/components.js"></script>
<script src="script/contractInfo.js"></script>
<script src="script/browse.js"></script>
</body>
</html>