-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
executable file
·370 lines (321 loc) · 14.4 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
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Smart Contract system for animal rescue donations">
<meta name="author" content="Nathan Glover">
<link rel="shortcut icon" href="assets/img/favicon.ico">
<title>KittyCoin Club</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ"
crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="assets/css/main.css" rel="stylesheet">
<!-- Fonts from Google Fonts -->
<link href='https://fonts.googleapis.com/css?family=Lato:300,400,900' rel='stylesheet' type='text/css'>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
<nav class="navbar navbar-toggleable-md navbar-light bg-faded">
<a class="navbar-brand" href="">KittyCoin Club</a>
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#kitty-donate">Donate <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item active">
<a class="nav-link" href="#kitty-create">Create <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#trust-create">Trust <span class="sr-only">(current)</span></a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<div id="account-icon"></div>
</li>
<li class="nav-item active">
<a class="nav-link">ETH:</a>
</li>
<li class="nav-item">
<a class="nav-link" id="accountWalletAmount"></a>
</li>
</ul>
</nav>
<div id="headerwrap">
<div class="container">
<div class="row">
<div class="col-lg-6">
<h1>Hi There 😻
<br/> You're kinda Pawsome!</h1>
</div>
<!-- /col-sm-4-->
<div class="col-sm-4">
<img class="responsive-image" src="assets/img/cat-landing-page.png" alt="">
</div>
<!-- /col-sm-4 -->
</div>
<!-- /row -->
</div>
<!-- /container -->
</div>
<!-- /headerwrap -->
<div class="container" id="kitty-donate">
<div class="row mt centered">
<div class="col-sm-12">
<h1>Fluffy Friends</h1>
<h3>We're all currently looking for happy homes!</h3>
</div>
</div>
<!-- /row -->
<div id="kitty-row" class="row card-columns">
<!-- Kitten Load Here -->
</div>
</div>
<div id="kitty-template" style="display: none;">
<div class="col-lg-4 col-md-6 col-sm-12">
<div class="ribbon card-kitty">
<div class="card shadow-1">
<!-- Kitty Name -->
<h4 class="card-title">Name</h4>
<!-- Kitty Image -->
<img class="card-img-top" src="assets/img/kitties/1.jpg" style="width:100%">
<div class="card-block">
<!-- Kitty Description -->
<p class="card-text">Description</p>
<!-- Kitty Donation Form -->
<form class="donate-kitty">
<div class="form-group input-group">
<!-- Kitty Donation Amount -->
<input class="form-control kitty-donation" type="text" placeholder="0.001" aria-label="Amount (ETH)">
<span class="input-group-addon">ETH</span>
</div>
<!-- /form-group -->
<div class="form-group input-group">
<!-- Kitty Donation Button -->
<button class="btn btn-primary btn-donate" type="submit" data-id="0" id="buttonDonationTo">Donate</button>
<!-- Kitty Donation Percent -->
<input class="form-control kitty-ratio" type="number" placeholder="0" aria-label="Trust (%)">
<span class="input-group-addon">%</span>
</div>
<!-- /form-group -->
</form>
<!-- /form -->
</div>
<!-- /card-block -->
<div class="card-footer">
<!-- Kitty Donation Bar -->
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" style="width: 20%" aria-valuenow="20%"
aria-valuemin="0" aria-valuemax="100"></div>
</div>
<small class="text-muted">0.0005 / 0.002 ETH</small>
</div>
<!-- /card-footer -->
</div>
<!-- /card -->
</div>
<!-- /ribbon -->
</div>
<!-- /col-lg-4 /col-md-6 /col-sm-12 -->
</div>
</div>
<!-- /container -->
<div class="container">
<hr>
</div>
<!-- /container -->
<div class="container" id="trust-create">
<div class="row mt centered">
<div class="col-lg-12">
<h1>Create a Trust</h1>
<h3>Assign a new address trust status</h3>
</div>
</div>
<!-- /row -->
<div class="row mt centered">
<div class="col-lg-12">
<form class="create-trust">
<div class="form-group row">
<label for="inputNewTrustAddress" class="col-sm-4 col-form-label">Trust Address</label>
<div class="col-sm-8">
<div class="input-group">
<input type="text" class="form-control" id="inputNewTrustAddress" placeholder="0x">
<span class="input-group-addon">Address</span>
</div>
</div>
</div>
<!-- /form-group -->
<div class="form-group row">
<label for="buttonCreateNewTrust" class="col-sm-4 col-form-label"></label>
<div class="col-sm-8">
<div class="input-group">
<button class="btn btn-primary" type="submit" id="buttonCreateNewTrust">Create New Trust!</button>
</div>
</div>
</div>
<!-- /form-group -->
</form>
<!-- /form -->
</div>
<!-- /col-lg-8 -->
</div>
<!-- /row -->
</div>
<div class="container">
<hr>
</div>
<!-- /container -->
<div class="container" id="kitty-create">
<div class="row mt centered">
<div class="col-lg-12">
<h1>Are you a Trust?</h1>
<h3>Add a new Kitty to the system!</h3>
</div>
</div>
<!-- /row -->
<div class="row mt centered">
<div class="col-lg-4">
<canvas id="kitty-canvas"></canvas>
</div>
<!-- /col-lg-4 -->
<div class="col-lg-8">
<form class="create-kitty">
<div class="form-group row">
<label for="inputKittyName" class="col-sm-4 col-form-label">Kitty Name</label>
<div class="col-sm-8">
<div class="input-group">
<input type="text" class="form-control" id="inputKittyName" placeholder="" onKeyUp="randomKitty();">
<span class="input-group-addon">Seed</span>
<input type="text" class="form-control" id="randKittySeed" placeholder="" disabled>
</div>
</div>
</div>
<!-- /form-group -->
<div class="form-group row">
<label for="inputTrustAddress" class="col-sm-4 col-form-label">Trust Address</label>
<div class="col-sm-8">
<input type="text" class="form-control" id="inputTrustAddress" placeholder="Ensure you are connected to MetaMask" disabled>
</div>
</div>
<!-- /form-group -->
<div class="form-group row">
<label for="inputFosterAddress" class="col-sm-4 col-form-label">Foster Address</label>
<div class="col-sm-8">
<input type="text" class="form-control" id="inputFosterAddress" placeholder="0x">
</div>
</div>
<!-- /form-group -->
<div class="form-group row">
<label for="inputDonationCap" class="col-sm-4 col-form-label">Donation Cap</label>
<div class="col-sm-8">
<div class="input-group">
<input type="text" class="form-control" id="inputDonationCap" placeholder="0.002">
<span class="input-group-addon">ETH</span>
</div>
</div>
</div>
<!-- /form-group -->
<div class="form-group row">
<label for="inputDonationCap" class="col-sm-4 col-form-label"></label>
<div class="col-sm-8">
<div class="input-group">
<button class="btn btn-primary btn-donate" type="submit" id="buttonCreateKitty">Create New Kitty!</button>
</div>
</div>
</div>
<!-- /form-group -->
</form>
<!-- /form -->
</div>
<!-- /col-lg-8 -->
</div>
<!-- /row -->
</div>
<div class="container">
<hr>
</div>
<!-- /container -->
<div class="container">
<div class="row mt centered">
<div class="col-lg-12">
<h1>What to know more?</h1>
<h3>Here's some way you can!</h3>
</div>
</div>
<!-- /row -->
<div class="row mt centered">
<div class="col-lg-4">
<img class="img-circle" src="assets/img/option-01.png" width="140" alt="">
<h4>White paper</h4>
<p>Coming Soon</p>
</div>
<!-- /col-lg-4 -->
<div class="col-lg-4">
<img class="img-circle" src="assets/img/option-02.png" width="140" alt="">
<h4>About Us</h4>
<p>We're
<b>FluffyCat</b>! Check out our main site for more info on what we're trying to do at
<a href="http://fluffycat.tech/">http://fluffycat.tech/</a>
</p>
</div>
<!-- /col-lg-4 -->
<div class="col-lg-4">
<img class="img-circle" src="assets/img/option-03.png" width="140" alt="">
<h4>Roadmap</h4>
<p>Coming Soon</p>
<p>
<i class="glyphicon glyphicon-send"></i>
<i class="glyphicon glyphicon-phone"></i>
<i class="glyphicon glyphicon-globe"></i>
</p>
</div>
<!-- /col-lg-4 -->
</div>
<!-- /row -->
</div>
<!-- /container -->
<div class="container">
<div class="row mt centered">
<div class="col-lg-12">
<hr>
<h2 class="color-dark-grey">Featured On </h2>
<a href="https://www.stateofthedapps.com/">
<img src="/assets/img/friends/state-of-the-dapps.png" alt="State Of The DApps">
</a>
</div>
</div>
<hr>
<p class="centered">Created by Nathan Glover - Attribution License 3.0 - 2018</p>
</div>
<!-- /container -->
<!-- ========= Bootsrap 4 - JavaScript ========= -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn"
crossorigin="anonymous"></script>
<!-- ========= Local JavaScript ========= -->
<script src="js/lib/bignumber.js"></script>
<script src="js/lib/blockies.min.js"></script>
<script src="js/lib/kittycoinparser.js"></script>
<script src="js/lib/web3.min.js"></script>
<script src="js/lib/truffle-contract.min.js"></script>
<script src="js/app.js"></script>
<!-- ========= Global site tag (gtag.js) - Google Analytics ========= -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-71336829-6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-71336829-6');
</script>
</body>
</html>