-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.html
206 lines (167 loc) · 9.18 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
<!DOCTYPE html>
<html>
<title>DAO</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
body, html {
height: 100%;
line-height: 1.8;
}
.w3-bar .w3-button {
padding: 16px;
}
</style>
<script type="text/javascript" src="./abi.js"></script>
<script type="text/javascript">
function becomeMember(){
var memberName=document.getElementById("memberName").value;
// var memberName = prompt("Enter Name");
var myTokenContract = web3.eth.contract(abi).at(address);
return myTokenContract.becomeMember(memberName, function (error, result) {})
}
</script>
<body>
<!-- Navbar (sit on top) -->
<div class="w3-top">
<div class="w3-bar w3-white w3-card" id="myNavbar">
<font size="4"><a href="#home" class="w3-bar-item w3-button w3-wide"><b>MEETUP DAO</b></a></font>
<!-- Right-sided navbar links -->
<div class="w3-right w3-hide-small">
<!-- <a href="#whatIsDao" class="w3-bar-item w3-button">WHAT IS DAO</a> -->
<!-- <a href="#ourDao" class="w3-bar-item w3-button">OUR DAO</a> -->
<a href="#joinDao" class="w3-bar-item w3-button">JOIN DAO</a>
<!-- <a href="#team" class="w3-bar-item w3-button"><i class="fa fa-user"></i> TEAM</a> -->
<a href="#roadmap" class="w3-bar-item w3-button"><i class="fa fa-road"></i>ROADMAP</a>
<a href="./proposals.html" onclick="w3_close()" class="w3-bar-item w3-button">PROPOSALS</a>
<a href="./members.html" onclick="w3_close()" class="w3-bar-item w3-button">MEMBERS</a>
</div>
<!-- Hide right-floated links on small screens and replace them with a menu icon -->
<a href="javascript:void(0)" class="w3-bar-item w3-button w3-right w3-hide-large w3-hide-medium" onclick="w3_open()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
<!-- Sidebar on small screens when clicking the menu icon -->
<nav class="w3-sidebar w3-bar-block w3-black w3-card w3-animate-left w3-hide-medium w3-hide-large" style="display:none" id="mySidebar">
<a href="javascript:void(0)" onclick="w3_close()" class="w3-bar-item w3-button w3-large w3-padding-16">Close ×</a>
<!-- <a href="#whatIsDao" onclick="w3_close()" class="w3-bar-item w3-button">What is DAO</a> -->
<!-- <a href="#ourDao" onclick="w3_close()" class="w3-bar-item w3-button">OUR DAO</a> -->
<a href="#joinDao" onclick="w3_close()" class="w3-bar-item w3-button">JOIN DAO</a>
<!-- <a href="#team" onclick="w3_close()" class="w3-bar-item w3-button">TEAM</a> -->
<a href="#roadmap" onclick="w3_close()" class="w3-bar-item w3-button">ROADMAP</a>
<a href="./proposals.html" onclick="w3_close()" class="w3-bar-item w3-button">PROPOSALS</a>
<a href="./members.html" onclick="w3_close()" class="w3-bar-item w3-button">MEMBERS</a>
</nav>
<!-- Header with full-height image -->
<header class="w3-display-container w3-grayscale-min" id="home">
<div style="padding:80px; border-style: solid; border-width: 5px;">
<div style="float: left;">
<img src="./images/1.jpg" align="left">
</div>
<div style="padding-left: 80px; float: left;"">
<br><br><br>
<span class="w3-jumbo w3-hide-small">How to Build a<br><b>COMMUNITY</b><br> on Blockchain</span><br>
<!-- <span class="w3-large"></span> -->
</div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<!--
##################JOIN DAO BUTTON#######################################
<br><br><center><button style="height: 80px; width: 180px; font-size : 25px" onclick="becomeMember()">Join DAO</button></center>
######################################################################## -->
</div>
</header>
<!-- What is DAO -->
<div class="w3-container w3-light-grey" style="padding:28px 16px" id="whatIsDao">
<h2 class="w3-center"><b>What is DAO!!!</b></h2>
<font size="5">
<p align="justify">In the Ethereum ecosystem, there is no discrimination against robots or humans and contracts can create arbitrary actions like any other account would. Contracts can own tokens, participate in crowdsales, and even be voting members of other contracts.
DAO is a business or organization whose decisions are made electronically by a written computer code or through the vote of its members. In essence it is a system of hard coded rules that define which actions an organization will take<br><br>
DAOs aim to hard-code certain rules that a company would from the get-go. This could be setting aside a certain percentage of earnings for a cause or determining a process by which such a rule could be changed.</p></font>
</div>
<!-- HOW THIS DAO WORKS -->
<div class="w3-container" style="padding:28px 16px" id="ourDao">
<h2 class="w3-center"><b><U>HOW THIS DAO WORKS!!!</U></b></h2>
<font size="5">
<p align="justify">The way this particular democracy works is that it has an <B>Owner</B> which works like an administrator, CEO or a President. The Owner can add (or remove) voting members to the organization. Any member can make a proposal, which is in the form of an ethereum transaction to either send ether or execute some contract, and other members can vote in support or against the proposal. Once a predetermined amount of time and a certain number of members has voted, the proposal can be executed: the contract counts the votes and if there are enough votes it will execute the given transaction.</p></font>
</div>
<!-- ###################################### -->
<div class="w3-container w3-light-grey" style="padding:28px 16px" id="joinDao">
<div>
<span class="w3-xlarge">Want to join the Community? Just enter your name below and join, its as simple as that</span><br>
<input type="text" name="memberName" id="memberName" placeholder="Jill Anderson">
<button style="height: 40px; width: 120px; font-size : 20px" onclick="becomeMember()">Join DAO</button>
</div>
<br>
<div class="w3-row-padding">
<div class="w3-col m6">
<font size="12">Short of Ether??</font>
<img class="w3-col m2 w3-image w3-round-large" src="https://crypto.press/wp-content/uploads/ethereum_logo512x512.png" alt="Buildings" width="350" height="100" align="right">
<br><br>
<p>No worries.<br> Visit the link given below and follow the steps mentioned there to get rinkeby test ethers.</p>
<a href="https://faucet.rinkeby.io/">Click here to get ether.</a>
<!-- <div class="w3-col m6"> -->
<!-- <input type="text" name="address" id="address" style="width: 400px; height: 40px; font-size: 13pt" placeholder="0x12345...">
<button style="height: 50px; width: 120px; font-size : 25px" onclick="submitAddress()">SUBMIT</button>
</div> -->
</div>
</div>
</div>
<!-- HOW TO CREATE A NEW PROPOSAL -->
<div class="w3-container" style="padding:28px 16px" id="ourDao">
<h2 class="w3-center"><b><U>HOW TO CREATE A PROPOSAL</U></b></h2>
<div style="padding: 50px;"">
<div style="float: left"><img src="./images/step1.jpg" height="400"></div>
<div style="float: right"><img src="./images/step2.jpg" height="400"></div>
</div>
<div>
<div style=" float: right; padding-right: 300px; padding-top: 20px"><img src="./images/arrow.jpg" height="200"></div>
<div style=" float: left; padding-top: 50px; padding-left: 30px" ><img src="./images/step3.jpg" height="550" width="800"></div>
</div>
</div>
<div class="w3-container w3-light-grey" style="padding:28px 16px" id="roadmap">
<center>
<h2><b><u>ROADMAP</u></b></h2></center>
<img src="./images/roadmap.jpg">
</div>
<!-- Footer -->
<!-- <footer class="w3-center w3-black w3-padding-64">
<a href="#home" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i>To the top</a>
<div class="w3-xlarge w3-section">
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
</div>
</footer>
-->
<script>
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
// Toggle between showing and hiding the sidebar when clicking the menu icon
var mySidebar = document.getElementById("mySidebar");
function w3_open() {
if (mySidebar.style.display === 'block') {
mySidebar.style.display = 'none';
} else {
mySidebar.style.display = 'block';
}
}
// Close the sidebar with the close button
function w3_close() {
mySidebar.style.display = "none";
}
</script>
</body>
</html>