-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
335 lines (268 loc) · 11.5 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
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
<!DOCTYPE html>
<!--[if IE 8]>
<html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Web Chat application</title>
<link href="css/presentation.css" rel="stylesheet" />
<link rel="stylesheet" href="css/foundation.css">
<link href="css/iPhoneStyle.css" rel="stylesheet" />
<link href="css/style.css" rel="stylesheet" />
<script src="js/persisters.js"></script>
<script src="js/cryptojs-sha1.js"></script>
<script src="js/vendor/jquery.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="js/vendor/custom.modernizr.js"></script>
<script src="js/script.js"></script>
<script src="http://cdn.pubnub.com/pubnub-3.5.3.min.js"></script>
<script>
$(document).ready(function () {
$("footer").click(function () {
$("section").slideDown(1000);
$("footer").slideUp(2000)
});
});
</script>
<style>
html, body {
height: 100%;
}
section {
display: none;
}
footer form {
display: inline-block;
background: #212121;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
height: 100%;
width: 100%;
background: -moz-radial-gradient(50% 46% 90deg,circle closest-corner, #242424, #090909);
background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 150, from(#242424), to(#090909));
-webkit-box-shadow: 0px 0px 1px 1px #444;
-moz-box-shadow: 0px 0px 1px 1px #444;
box-shadow: 0px 0px 1px 1px #444;
}
footer form label {
display: block;
padding: 10px 10px 5px 15px;
font-size: 11px;
color: #777;
}
footer form input {
display: block;
margin: 5px 10px 10px 15px;
width: 85%;
background: #111;
-moz-box-shadow: 0px 0px 4px #000 inset;
-webkit-box-shadow: 0px 0px 4px #000 inset;
box-shadow: 0px 0px 4px #000 inset;
border: 1px solid #000;
padding: 5px;
color: #444;
font-size: 16px;
}
footer form input:focus {
outline: 1px solid #555;
transition: 200ms linear;
color: #FFF;
}
footer form input[type=submit] {
margin-right: 20px;
}
</style>
</head>
<body>
<header>
<div class="row">
<div class="twelve columns">
<a href="#sidebar" id="sidebarButton" class="sidebar-button show-for-small">
<img src="images/offcanvas/menu-wht.png" alt=""><h4>Foundation</h4>
</a>
<h1 class="hide-for-small">Web Chat application</h1>
<h4 class="hide-for-small">Build for the future.</h4>
</div>
</div>
</header>
<section class="example" id="mainContent">
<aside>
<div class="hide-for-small">
<p class="right">
<a href="#">Login</a> <a class="small blue nice radius button" href="#">Sign Up</a>
</p>
</div>
<div class="four columns show-for-small">
<p>
<a href="#">Login</a> <a class="" href="#">Sign Up</a>
</p>
</div>
</aside>
<div class="row">
<div class="six columns">
<div class="four phone-one columns">
<img src="http://placehold.it/300x300" alt="">
</div>
<div class="eight phone-three columns">
<p>
<a href="#" id="sender_username">dichov</a><br>
Some text here
</p>
</div>
</div>
<div class="six columns">
<div class="eight phone-three columns" style="text-align: right;">
<p>
<a href="#" id="receiver_username">pesho</a><br>
Some text here
</p>
</div>
<div class="four phone-one columns">
<img src="http://placehold.it/300x300" alt="">
</div>
</div>
</div>
<div class="row">
<hr>
</div>
<div class="row">
<div class="six columns" id="contacts">
<h4>My Contacts
<a class="right" href="#">add +</a>
</h4>
<div class="row" id="gosho">
<div class="two phone-one columns">
<a href="#">
<img src="http://placehold.it/80x100" alt=""></a>
</div>
<div class="ten phone-three columns">
<h5 class="right">85</h5>
<h4><a href="#">Gosho</a></h4>
<h6 class="right"><a class="chatMate" id="x-gosho" href="#"><span>Chat with</span> +</a></h6>
<p>I'm in good mood :)</p>
</div>
</div>
<div class="row">
<div class="two phone-one columns">
<a href="#">
<img src="http://placehold.it/80x100" alt=""></a>
</div>
<div class="ten phone-three columns">
<h5 class="right">52</h5>
<h4><a href="#">Pong Hong</a></h4>
<h6 class="right"><a class="chatMate" id="misho" href="#"><span>Chat with</span> +</a></h6>
<p>Call me...</p>
</div>
</div>
<div class="row">
<div class="two phone-one columns">
<a href="#">
<img src="http://placehold.it/80x100" alt=""></a>
</div>
<div class="ten phone-three columns">
<h5 class="right">35</h5>
<h4><a href="#">Theodore Roosevelt</a></h4>
<h6 class="right"><a href="#"><span>Add to chat</span> +</a></h6>
<p>Cry my a river!</p>
</div>
</div>
</div>
<div class="six columns">
<!--<div class="row">
<div class="phone-three columns">
<p>
<strong><a href="#">Jake Sully</a> said:</strong><br>
Has anyone seen my wheelchair? This isn't funny guys.
</p>
</div>
</div>-->
<label for="history" style="display:inline">History</label> <input id="showHistory" type="checkbox" name="history" value="sdas" />
<h4 class="right">Messages</h4>
<div id="iPhoneBro" class="iPhone gen">
<ul data-role="listview" id="conversation" class="conversation ">
<li class="time" style=""></li>
<li class="text sent" style="">
<div class="reflect"></div>
<p>
<strong><a href="#">Me</a> said:</strong>
Not sure if trolling, or just stupid #fry
</p>
</li>
<li class="text receive" style="">
<div class="reflect"></div>
<p>
<strong><a href="#" id="sender">Pe6o</a> said:</strong>
Stay cool man :P
<br />
</p>
</li>
</ul>
</div>
<div class="message">
<input id="messageContent" type="text" name="message" value="" placeholder="Text Message">
<!--<input id="sendMessageButton" data-role="button" type="submit" value="Send" onclick="sendSMS();" class="disabled">-->
<input id="sendMessageButton" data-role="button" type="submit" value="Send" class="disabled">
<!-- <input id="phone" type="hidden" name="number" value="">-->
</div>
</div>
</div>
</section>
<footer class="toggler">
<div class="row">
<form>
<label for="username">User name</label>
<input type="text" placeholder="Username" name="username">
<label for="pass">Password</label>
<input type="password" placeholder="Password" name="pass">
<a href="#" class=" button two small right">Signe in</a>
<input class="button two small right" type="submit" value="LOG IN">
</form>
<form>
<label for="username">User name</label>
<input type="text" placeholder="Username" name="username">
<label for="pass">Password</label>
<input type="password" placeholder="Password" name="pass">
<label for="repass">Repeate Password</label>
<input type="password" placeholder="Password" name="repass">
<label for="email">Email</label>
<input type="email" placeholder="Email" name="email">
<label for="img">Repeate Password</label>
<input type="file" name="img">
<input class="button two small right" type="submit" value="Register">
</form>
</div>
</footer>
<script>
document.write('<script src=' +
('__proto__' in {} ? 'js/vendor/zepto' : 'js/vendor/jquery') +
'.js><\/script>')
</script>
<script src="js/foundation.min.js"></script>
<!--
<script src="js/foundation/foundation.js"></script>
<script src="js/foundation/foundation.alerts.js"></script>
<script src="js/foundation/foundation.clearing.js"></script>
<script src="js/foundation/foundation.cookie.js"></script>
<script src="js/foundation/foundation.dropdown.js"></script>
<script src="js/foundation/foundation.forms.js"></script>
<script src="js/foundation/foundation.joyride.js"></script>
<script src="js/foundation/foundation.magellan.js"></script>
<script src="js/foundation/foundation.orbit.js"></script>
<script src="js/foundation/foundation.reveal.js"></script>
<script src="js/foundation/foundation.section.js"></script>
<script src="js/foundation/foundation.tooltips.js"></script>
<script src="js/foundation/foundation.topbar.js"></script>
<script src="js/foundation/foundation.interchange.js"></script>
<script src="js/foundation/foundation.placeholder.js"></script>
<script src="js/foundation/foundation.abide.js"></script>
-->
<script>
$(document).foundation();
</script>
<script src="js/chat-script.js"></script>
</body>
</html>