-
Notifications
You must be signed in to change notification settings - Fork 0
/
claim-reward.php
336 lines (271 loc) · 16.9 KB
/
claim-reward.php
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, shrink-to-fit=no">
<!-- Meta Tags Generic-->
<title>SEEDS :: Claim Reward Widget</title>
<meta name="description" content="Allow your community to instantly claim rewards by using this widget">
<meta name="og:image" content="https://joinseeds.earth/img/og-image.jpg">
<link rel="icon" type="image/png" href="img/favicon.png" />
<!-- Non-Essential, But Recommended -->
<meta property="og:site_name" content="SEEDS :: Claim Reward Widget">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#E9EDD9">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#E9EDD9">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-status-bar-style" content="#E9EDD9">
<!-- Facebook -->
<!-- Twitter -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-L2XGY9YP0R"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-L2XGY9YP0R');
</script>
<!-- CSS -->
<link rel="stylesheet" href="css/loader-style.css">
<link rel="stylesheet" href="css/general.css">
<link rel="stylesheet" href="css/menu.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/resp.css">
<!-- join widget CSS -->
<link rel="stylesheet" href="css/buy-seeds.css">
<link rel="stylesheet" href="css/widgets/claim-reward.css">
<!-- Javascript / jQuery libraries -->
<script src="js/jquery-3-10-1-min.js" type="text/javascript"></script>
<script src="js/apparallax-generic.js" type="text/javascript"></script>
<script src="js/lax.min.js" type="text/javascript"></script>
<script src="js/owl.carousel.js" type="text/javascript"></script>
<script src="js/owl.navigation.js" type="text/javascript"></script>
<!--luigi's verification account -->
<script src="js/widgets/verification-account.js" type="text/javascript"></script>
<!--luigi's global custom animations-->
<script src="js/animations-buy.js" type="text/javascript"></script>
<!--luigi's custom top scrollbar-->
<script src="js/custom-scrollbar.js" type="text/javascript"></script>
<!-- Work Sans Open Source Font -->
<link href="https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap" rel="stylesheet">
</head>
<body class="claim-reward">
<div id="fake-alert-box" class="hide">
<div id="close-fake">
<img src="img/x-close.svg">
</div>
<p>Please entere a valid Campaign Name in order to generate the Widget</p>
</div>
<div class="pages-logo-resp">
<a href="index.php">
<img src="img/logo-full-color.svg" alt="seeds"/>
</a>
</div>
<?php
include 'incl/menu.php';
?>
<!--page loader very basic(not activtated, it's just a place holder here) Maybe you can use it for the transaction loading-->
<div class="obscurer">
<div class="vertical-centered-box">
<div class="contentt">
<div class="loader-circle"></div>
<div class="loader-line-mask">
<div class="loader-line"></div>
</div>
<img src="img/logo-graph.svg" height="60" width="60" />
</div>
</div>
</div>
<!--fake progress bar top screen-->
<div class="progress-container">
<div class="progress-bar" id="bar"></div>
</div>
<header class="h-home">
<div class="centered">
<div class="logo close">
<a href="index.php">
<img src="img/logo-full-color.svg" alt="seeds"/>
</a>
</div>
</div>
</header>
<main>
<section class="buy-header parallax" data-image-src="img/buy-header.jpg">
<div class="centered">
<div class="buy-intro close">
<h1>Claim <span class="spring">REWARD</span></h1>
<p class="buy-claim widget">WIDGET</p>
<p>The SEEDS ecosystem is designed to assign and distribute value in a whole new way. A key part of that is rewarding community members through campaigns. This incentivises and reinforces regenerative behaviours.</p>
<img class="arrow-down" src="img/arrow-green-down.svg"/>
</div>
</div>
</section>
<section class="multistep close">
<div class="centered">
<div id="join-widget">
<div class="columns mt-20" >
<div class="column is-8 is-offset-2">
<!-- Wrapper -->
<div class="steps-wrapper">
<!-- Steps Indicators -->
<div class="steps">
<!-- Steps content wrapper -->
<div class="steps-content">
<!-- STEP CONTENT 1 -->
<div data-step-id="1" id="step-1" class="step-content has-text-centered is-active animated preFadeInUp fadeInUp">
<div class="centered-title">
<h2>Your <span class="spring">Configuration</span></h2>
</div>
<div class="text-content">
<div class=" has-text-centered">
<p>Start verifying your organisation account name in the form below. <br> After the verification, simply add you Campaign name and choose the colour theme that works best with your website and generate the code! <br><br>Now, simply paste the widget code onto your website wherever you want the Claim Reward button to appear.</p>
</div>
</div>
<form id="claim-reward-form">
<!-- organization id -->
<div class="actual-field">
<div class="field field-container">
<div class="field-body">
<div class="field">
<div class="control required">
<label for="org_id" class="label">Organisation Account Name</label>
<input id="org-id" class="input is-large" name="org_id" type="text" placeholder="Insert here..." value="" data-validate="require">
<p class="helper">Enter the 12-character SEEDS account name you have created for your organisation.</p>
<div class="verification-icons">
<img src="img/nope.svg" class="nope"/>
<img src="img/yeah.svg" class="yeah"/>
</div>
<div id="alert-box"></div>
</div>
<p id="verify-org-id">Verify</p>
</div>
</div>
</div>
</div>
<div class="wrap-shower">
<!-- button key -->
<div id="scroll-after-valid" class="actual-field">
<div class="field field-container">
<div class="field-body">
<div class="field">
<div class="control required">
<label for="campaign_name" class="label">Invite Campaign Name</label>
<input id="campaign-name" class="input is-large" name="campaign_name" value="" type="text" placeholder="Insert here..." data-validate="require">
<p class="helper">Enter the name of the Invite Campaign you created with your organisation account in the Global Passport.</p>
</div>
</div>
</div>
</div>
</div>
<!-- button key -->
<div class="actual-field toggles">
<div class="field field-container">
<div class="field-body">
<div class="field">
<div class="control required">
<label for="button_theme" class="label">Button Style</label>
<div class="radios">
<div class="radios-button-style">
<button type="button" class="claim-reward-white"></button>
<input class="input is-large"
name="button_theme"
type="radio"
value="white"
checked
data-validate="require">
</div>
<div class="radios-button-style">
<button type="button" class="claim-reward-light"></button>
<input class="input is-large"
name="button_theme"
type="radio"
value="light"
data-validate="require">
</div>
<div class="radios-button-style">
<button type="button" class="claim-reward-dark"></button>
<input class="input is-large"
name="button_theme"
type="radio"
value="dark"
data-validate="require">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- button key -->
<div class="actual-field toggles">
<div class="field field-container">
<div class="field-body">
<div class="field">
<div class="control required">
<label class="label" for="multistep_theme">Multistep Style</label>
<div class="radios">
<div class="radios-button-style">
<div class="claimreward-theme-dark"></div>
<input class="input is-large"
name="multistep_theme"
value="dark"
checked
type="radio" data-validate="require">
</div>
<div class="radios-button-style">
<div class="claimreward-theme-light"></div>
<input class="input is-large"
name="multistep_theme"
value="light"
type="radio" data-validate="require">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="actual-field sand-back">
<p id="real-widget-button">Generate Widget</p>
</div>
<div class="wrap-real-widget">
<!-- button key -->
<div class="actual-field">
<div class="field field-container">
<div class="field-body">
<div class="field">
<div class="control required">
<label class="label">Your widget</label>
<textarea id="code-output" class="input is-large"
name="code"
rows="10"
placeholder="Lorem Ipsum" data-validate="require"></textarea>
</div>
</div>
</div>
</div>
<div class="flexier">
<p id="real-widget-clear">Edit Widget</p> <p id="real-widget-copy">Copy Code</p>
</div>
</div>
</div> <!-- wrap shower-->
</div><!-- wrap shower-->
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div> <!-- #multistep-->
</div> <!-- centered-->
</section>
</main>
<?php
include 'incl/footer.php';
?>
<script src="js/widgets/config-claim-reward.js" type="text/javascript"></script>
</body>
</html>