forked from ranchimall/reale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparticipants.html
167 lines (164 loc) · 9.19 KB
/
participants.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
<!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.0">
<title>Participants and KYC status</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/main.min.css">
<script src="scripts/components.js"></script>
</head>
<body>
<header class="flex">
<h1 class="flex align-items-center" style="font-size: 1rem;">
<svg class="icon" style="margin-right:0.3rem" viewBox="0 0 96 108" xml:space="preserve">
<path d="M90.2,102.5c-2.4-8.2-9.9-14.5-27.4-23.1c-7.1-3.5-11.8-6.2-14-8.3c-1.7-1.6-3.5-4-4.2-5.5c-0.7-1.7-0.7-5.5,0-7.5
c1.3-3.6,2.6-5.2,12.9-15.1c6.2-5.9,9.3-10.3,11.1-15.5c0.7-2.1,0.8-7.6,0.2-9.4C66.5,12,61.7,6.7,53.7,1.6c-3-1.9-4.3-2.1-4.3-0.8
c0,0.3-0.5,1.4-1,2.4l-1,1.8l-2.8-1.9c-1.5-1.1-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
c1.1-2.6,1.3-2.7,3.4-1c1.9,1.5,4.5,3.8,4.5,4.1C45.8,7.8,45.3,8.9,44.6,10z"></path>
</svg>
RanchiMall
</h1>
<theme-toggle></theme-toggle>
</header>
<article>
<div class="grid gap-0-5">
<!-- <a href="index.html">
<svg class="icon" xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
fill="#000000">
<path d="M0 0h24v24H0V0z" fill="none" />
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
</svg>
</a> -->
<h1>
Project participants
</h1>
<p>
FLO/BTC addresses used for El Salvador Project B and participants' KYC status.
</p>
</div>
<ul></ul>
</article>
<template id="member_card_template">
<li class="member-card">
<div class="grid gap-0-5">
<h4 class="name"></h4>
<div class="kyc-wrapper">
KYC status: <span class="kyc-status"></span>
</div>
</div>
<div class="grid gap-0-3">
<h5>FLO</h5>
<sm-copy class="flo-address"></sm-copy>
</div>
<div class="grid gap-0-3">
<h5>BTC</h5>
<sm-copy class="btc-address"></sm-copy>
</div>
</li>
</template>
<script>
const members = {
FAKiBtcV3E2KkcAb5hjcVetonxvfYZuAkb: {
name: 'Atul Agarwal',
btc: 'bc1qx9yjxwwjgsynstyxpqf8xkfxwujfhdt86q65hd',
verified: true
},
F9UrruN9hPdbb4ky6nP4fDTfhPSezL1DXm: {
name: 'Carlos Castellanos',
btc: 'bc1q9q9lawssa8chn6ek4esg8zaulaztn3vmr439mz',
verified: true
},
F69G4hHjNzU7PM1MWxtY9nNXUGSSv6VjjP: {
name: 'Iris Avalos',
btc: 'bc1qqdh24ekjx6yx5cw9pquf880pd4pnws007wk3v4',
verified: true
},
FNLaEGqVM3Q81zbpkSaYNyRrJdojdZ9NZp: {
name: 'Rohit Tripathy',
btc: 'bc1qk52xk585498mnfg8rnag3tqf9khnr9rdudtrzf',
verified: true
},
F8RbpTXZKEy1iXQP4yabREVqmxSnEuLS1o: {
name: 'Saket',
btc: 'bc1qr3mpp93jz3tz9n4tjw6gfuxa7cusht9tuw8s4c',
verified: true
},
FRD9rwxUPSxYdp85du2rChapujWbc6xkHr: {
name: 'Sandra Mendez',
btc: 'bc1q6j2ckvrqc6gv34uj2xf8hp6gpmy7x5xmjxzmgh',
verified: false
},
FQy7ne8JT5t2ArtLAcJDaT71ZKWM9aiDLf: {
name: 'Sergio Hernandez ',
btc: 'bc1q68kl68vgkzwuj8a9n6vqadfp3jmd09m5ewjuty',
verified: true
},
F6LwiQWQJ6Jef8miE1CHLGsqo2gRdw3tAE: {
name: 'Silvia Aguilar',
btc: 'bc1qqkj9w64zut443gg0qgs2s6l4rq0du7ex8llyyj',
verified: true
},
F8nLT6JjqrRei9tCpYUK61pMiYKVfBAG8H: {
name: 'Sairaj Mote',
btc: 'bc1qypsl3xh0vs46rddgm573cpftn29t2tjukal9z7',
verified: true
},
F7tCsvBeb5KJCSANTbm75h1q6YRipqzMc3: {
name: 'Sumer',
btc: 'bc1qy933j8p84734ju7al7nrpv8sdc0n0j2wud9rpy',
verified: true
},
FAVG6cdVfrxkT1TSZxkia2vVi6avFwL9SE: {
name: 'Vivek',
btc: 'bc1qxvtcfqrrxd4usgz5cjdylnlrelpknpkreltyjl',
verified: true
}
}
const membersList = document.querySelector('ul')
const membersKeys = Object.keys(members)
membersKeys.forEach((key) => {
const { name, btc, verified } = members[key]
const li = document.getElementById('member_card_template').content.cloneNode(true)
li.querySelector('.name').textContent = name
li.querySelector('.flo-address').setAttribute('value', key)
li.querySelector('.btc-address').setAttribute('value', btc)
if (verified) {
li.querySelector('.kyc-status').classList.add('verified')
li.querySelector('.kyc-status').innerHTML = `
<svg class="icon" xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/></g><g><path d="M23,12l-2.44-2.79l0.34-3.69l-3.61-0.82L15.4,1.5L12,2.96L8.6,1.5L6.71,4.69L3.1,5.5L3.44,9.2L1,12l2.44,2.79l-0.34,3.7 l3.61,0.82L8.6,22.5l3.4-1.47l3.4,1.46l1.89-3.19l3.61-0.82l-0.34-3.69L23,12z M10.09,16.72l-3.8-3.81l1.48-1.48l2.32,2.33 l5.85-5.87l1.48,1.48L10.09,16.72z"/></g></svg>
Verified
`
} else {
li.querySelector('.kyc-status').classList.add('pending')
li.querySelector('.kyc-status').innerHTML = `
<svg class="icon" xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/></g><g><g><g><path d="M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M16.2,16.2L11,13V7h1.5v5.2l4.5,2.7L16.2,16.2z"/></g></g></g></svg>
Pending
`
}
membersList.appendChild(li)
})
</script>
</body>
</html>