-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
295 lines (279 loc) · 10.6 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
<!doctype html>
<!--
overflow 1.1 by html5 up
html5up.net | @n33co
free for personal and commercial use under the cca 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Cloud Mania</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="http://fonts.googleapis.com/css?family=source+sans+pro:300,400,600,300italic" rel="stylesheet" type="text/css" />
<!--[if lte ie 8]><script src="css/ie/html5shiv.js"></script><![endif]-->
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/jquery.poptrox.min.js" type="text/javascript"></script>
<script src="js/skel.min.js" type="text/javascript"></script>
<script src="js/init.js" type="text/javascript"></script>
<link href="http://evolzstats.appspot.com/xf4f2f8e3-ce86-11e3-866d-0000535dcdde.ico" rel="shortcut icon">
<noscript>
<link rel="stylesheet" href="css/skel-noscript.css" type="text/css" />
<link rel="stylesheet" href="css/style.css" type="text/css" />
</noscript>
<!--[if lte ie 8]><link rel="stylesheet" href="css/ie/v8.css" type="text/css" /><![endif]-->
</head>
<body>
<!-- header -->
<section id="header">
<header>
<h1>Cloud Mania</h1>
<p>Easiest way to host website ever.</p>
</header>
<footer>
<a href="#banner" class="button style2 scrolly scrolly-centered">Try it now</a>
</footer>
</section>
<!-- banner -->
<section id="banner">
{% if success %}
{{ success }}
{% endif %}
{% if errors %}
{{ errors|safe }}
{% endif %}
{% if not forgot %}
{% if not user %}
<header>
<h2 id="register-header">Don't have an account? Sign up below</h2>
</header>
{% endif %}
{% if not user %}
<form action="/register#banner" method="post">
<div><input type="text" class="text" name="email" placeholder="Email"></div>
<div><input type="password" class="text" name="password" placeholder="Password"></div>
<div><input type="password" class="text" name="confirmpassword" placeholder="Confirm password"></div>
<input type="submit" class="button style2" value="Register" name="register" />
<input type="button" class="button style2" value="Already Registered?" name="login" />
<div><a href="/forgot#banner">Forgot password?</a></div>
</form>
{% else %}
{% if not changepassword and not addsite %}
<h2>Welcome, {{user.email}}</h2>
<br>
{% if sites and is_connected %}
<div>
<h2>List of sites:</h2><ol>
{% for sitename, siteid in sites %}
<li>{{sitename}} - <a target="_blank" href="/u/{{siteid}}/index.html">{{siteid}}</a></li>
{% endfor %}
</ol>
</div>
{% endif %}
{% if is_connected %}
<a class="button style2" href="/addsite#banner">Add site</a>
{% endif %}
<a class="button style2" href="/changepassword#banner">Change Password</a>
{% if not is_connected %}
<a class="button style2" href="/connect">Connect Dropbox</a>
{% else %}
<a class="button style2" href="/disconnect">Disconnect Dropbox</a>
{% endif %}
{% endif %}
{% if changepassword %}
<header>
<h2 id="changepassword-header">Change Password</h2>
</header>
<form action="/changepassword#banner" method="post">
<div><input type="password" class="text" name="password" placeholder="Password"></div>
<div><input type="password" class="text" name="newpassword" placeholder="New Password"></div>
<div><input type="password" class="text" name="confirmpassword" placeholder="Confirm Password"></div>
<input type="submit" class="button style2" value="Change Password" name="change_password" />
</form>
{% endif %}
{% if addsite %}
<header>
<h2 id="addsite-header">Add Site</h2>
</header>
<form action="/addsite#banner" method="post">
<div><input type="text" class="text" name="Sitename" placeholder="Site name"></div>
http://cloud-mania.appspot.com/u/
<div><input type="text" class="text" name="SiteID" placeholder="Site id"></div>
<input type="submit" class="button style2" value="Add site" name="addsite" />
</form>
{% endif %}
<br>
<a href="/logout">Logout</a>
{% endif %}
{% if login %}
<script>
alreadyRegistered();
</script>
{% endif %}
{% else %}
{% if not reset %}
{% if not message %}
<header>
<h2 id="forgot-header">Forgot Password</h2>
</header>
<form action="/forgot#banner" method="post">
<div><input type="text" class="text" name="email" placeholder="Email"></div>
<input type="submit" class="button style2" value="Reset password" name="reset" />
</form>
{% else %}
Mail sent on your email address to reset password!!<br>
<a class="button style2" href="/login#banner">Login</a>
{% endif %}
{% else %}
<header>
<h2 id="forgot-header">Forgot Password</h2>
</header>
<form action="/reset#banner" method="post">
<div><input type="password" class="text" name="password" placeholder="Password"></div>
<div><input type="password" class="text" name="confirmpassword" placeholder="Confirm password"></div>
<div><input type="hidden" value="{{uuid}}" name="uuid" /></div>
<input type="submit" class="button style2" value="Change Password" name="changepassword1" />
</form>
{% endif %}
{% endif %}
</section>
{% if not user %}
<!-- feature 1 -->
<article id="first" class="container box style1 right">
<a href="#" class="image full">
<img src="images/pic01.png" alt="" />
</a>
<div class="inner">
<header>
<h2>takes just your<br />
few seconds to set up</h2>
</header>
<p>register to cloudmania, login your dropbox account than simply take your existing html website, specify the editable areas then copy it to dropbox. you now have a live website with a cms your client use.</p>
</div>
</article>
<!-- feature 2 -->
<article class="container box style1 left">
<a href="#" class="image full" style="background-color:white">
<img src="/images/pic02.gif" alt="" />
</a>
<div class="inner">
<header>
<h2>features</h2>
</header>
<p>no programming required<br>
complete design freedom<br>
unlimited scalability<br>
nothing to install or maintain<br>
and many more...</p>
</div>
</article>
{% endif %}
<!-- contact -->
<section id="contactus">
<article class="container box style3">
<header>
<h2>contact us !! </h2>
<p>give your precious feedback below.</p>
</header>
<form action='contact#banner' method='POST'>
<div class="row half">
<div class="6u"><input type="text" class="text" name="name" placeholder="name" /></div>
<div class="6u"><input type="text" class="text" name="email" placeholder="email" /></div>
</div>
<div class="row half">
<div class="12u">
<textarea name="message" placeholder="message"></textarea>
</div>
</div>
<div class="row">
<div class="12u">
<ul class="actions">
<li>
<input type="submit" style="background:teal" class="button style2" value="Send Message" name="sendmessage" />
</li>
</ul>
</div>
</div>
</form>
</article>
</section>
{% if not user %}
<!-- feature 1 -->
<article id="first" class="container box style1 right">
<a href="#" class="image full">
<img src="images/pic01.png" alt="" />
</a>
<div class="inner">
<header>
<h2>- Takes just your<br />
- Few seconds to set up</h2>
</header>
<p>Register to cloudmania, Login your dropbox account
than simply take your existing html website,
specify the editable areas then copy it to dropbox.
You now have a live website with a cms your client use.</p>
</div>
</article>
<!-- feature 2 -->
<article class="container box style1 left">
<a href="#" class="image full" style="background-color:white">
<img src="/images/pic02.gif" alt="" />
</a>
<div class="inner">
<header>
<h2>features</h2>
</header>
<p> - No programming required<br>
- Complete design freedom<br>
- Unlimited scalability<br>
- Nothing to install or maintain<br>
and many more...</p>
</div>
</article>
{% endif %}
<!-- contact -->
<section id="contactus">
<article class="container box style3">
<header>
<h2>Contact us !! </h2>
<p>Give your precious feedback below.</p>
</header>
<form action='contact#banner' method='POST'>
<div class="row half">
<div class="6u"><input type="text" class="text" name="name" placeholder="Name" /></div>
<div class="6u"><input type="text" class="text" name="email" placeholder="Email" /></div>
</div>
<div class="row half">
<div class="12u">
<textarea name="message" placeholder="Message"></textarea>
</div>
</div>
<div class="row">
<div class="12u">
<ul class="actions">
<li>
<input type="submit" style="background:teal" class="button style2" value="Send Message" name="sendmessage" />
</li>
</ul>
</div>
</div>
</form>
</article>
</section>
<section id="footer">
<ul class="icons">
<li><a href="#" class="fa fa-twitter solo"><span>twitter</span></a></li>
<li><a href="#" class="fa fa-facebook solo"><span>facebook</span></a></li>
<li><a href="#" class="fa fa-google-plus solo"><span>google+</span></a></li>
<li><a href="#" class="fa fa-pinterest solo"><span>pinterest</span></a></li>
<li><a href="#" class="fa fa-dribbble solo"><span>dribbble</span></a></li>
<li><a href="#" class="fa fa-linkedin solo"><span>linkedin</span></a></li>
</ul>
<div class="copyright">
<ul class="menu">
<li>© cloudmania. all rights reserved.</li>
</ul>
</div>
</section>
</body>
</html>