-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
153 lines (128 loc) · 5.43 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
<!doctype html>
<html lang="en">
<head>
<title>Org Dodantion</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/scrollbar.css">
<link rel="stylesheet" href="assets/css/loader.css">
<body>
<div id="scrollbar">
<nav class="navbar navbar-expand-sm navbar-dark bg-dark">
<a class="navbar-brand" href="#">Charity Donation </a>
<div class="collapse navbar-collapse" id="collapsibleNavId">
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
</ul>
</div>
</nav>
<div class="col-sm-12">
<div id="loader" style="text-align: center;">
<img src="assets/images/loading.svg" alt="">
<div><b>Please Wait!!...</b></div>
</div>
</div>
<div class="container-fluid mt-5 bg-dark" id="main" style="display:none">
<div class="row">
<!-- Left Column -->
<div class="col-sm-5">
<!-- List-Group Panel -->
<div class="card bg-dark">
<div class="card-header p-b-0 bg-dark">
<h5 class="card-title"><i class="fa fa-random" aria-hidden="true"></i> Register Organization</h5>
</div>
<div class="card-body p-b-0">
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="name">Name</label>
<input type="text" name="name" id="name" class="form-control" placeholder="Name"
aria-describedby="name">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="desc">Description</label>
<input type="text" name="desc" id="desc" class="form-control" placeholder="OrganizationDeascription"
aria-describedby="desc">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="location">Location</label>
<input type="text" name="location" id="location" class="form-control" placeholder="Location"
aria-describedby="location">
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<label for="url">Website Url</label>
<input type="text" name="url" id="url" class="form-control" placeholder="url"
aria-describedby="url">
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<button type="button" id="saveBtn" class="btn btn-lg btn-primary float-right">Submit</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!--/Left Column-->
<div class="col-sm-7">
<!-- Text Panel -->
<div class="card bg-dark">
<div class="card-header p-b-0 bg-dark">
<h5 class="card-title"><i class="fa fa-cog" aria-hidden="true"></i> Donate & Save life</h5>
</div>
<div class="card-body">
<p class="card-text">List of Organization.</p>
<div id="org-list">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script id="template" type="x-tmpl-mustache">
{{#orgsArray}}
<div class="card" style="width:300px">
<div class="card-body">
<h4 class="card-title">Site : {{site_url}}</h4>
<h4 class="card-title">Name : {{org_name}}</h4>
<p class="card-text">Location: {{location}}</p>
<p class="card-text">Description : {{description}}</p>
<p class="card-text">Total : {{amount}} AE</p>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label for="">Donate:</label>
<input type="text" name="amount" id={{index}} class="form-control" placeholder="Amount in AE" aria-describedby="amount">
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<button type="button" class="btn btn-primary float-right donateBtn m-2 p-2" id={{index}}>Donate</button>
</div>
</div>
</div>
</div>
</div>
{{/orgsArray}}
</script>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/mustache.min.js"></script>
<script src="https://unpkg.com/@aeternity/[email protected]/dist/aepp-sdk.browser-script.js"></script>
<!-- <script src="https://unpkg.com/@aeternity/[email protected]/dist/aepp-sdk.browser.js"></script> -->
<script src="main.js"></script>
</body>
</html>