forked from gravityblast/web-app-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
475 lines (464 loc) · 22.9 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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Web App Theme</title>
<link rel="stylesheet" href="stylesheets/base.css" type="text/css" media="screen" />
<link rel="stylesheet" id="current-theme" href="stylesheets/themes/default/style.css" type="text/css" media="screen" />
<script type="text/javascript" charset="utf-8" src="javascripts/jquery-1.3.min.js"></script>
<script type="text/javascript" charset="utf-8" src="javascripts/jquery.scrollTo.js"></script>
<script type="text/javascript" charset="utf-8" src="javascripts/jquery.localscroll.js"></script>
<script type="text/javascript" charset="utf-8">
// <![CDATA[
var Theme = {
activate: function(name) {
window.location.hash = 'themes/' + name
Theme.loadCurrent();
},
loadCurrent: function() {
var hash = window.location.hash;
if (hash.length > 0) {
matches = hash.match(/^#themes\/([a-z0-9\-_]+)$/);
if (matches && matches.length > 1) {
$('#current-theme').attr('href', 'stylesheets/themes/' + matches[1] + '/style.css');
} else {
alert('theme not valid');
}
}
}
}
$(document).ready(function() {
Theme.loadCurrent();
$.localScroll();
$('.table :checkbox.toggle').each(function(i, toggle) {
$(toggle).change(function(e) {
$(toggle).parents('table:first').find(':checkbox:not(.toggle)').each(function(j, checkbox) {
checkbox.checked = !checkbox.checked;
})
});
});
});
// ]]>
</script>
</head>
<body>
<div id="container">
<div id="header">
<h1><a href="index.html">Web App Theme</a></h1>
<div id="user-navigation">
<ul class="wat-cf">
<li><a href="#">Profile</a></li>
<li><a href="#">Settings</a></li>
<li><a class="logout" href="#">Logout</a></li>
</ul>
</div>
<div id="main-navigation">
<ul class="wat-cf">
<li class="first"><a href="#block-text">Main Page</a></li>
<li class="active"><a href="#block-text">Active</a></li>
<li><a href="#block-login">Login</a></li>
<li><a href="#block-signup">Signup</a></li>
</ul>
</div>
</div>
<div id="wrapper" class="wat-cf">
<div id="main">
<div class="block" id="block-text">
<div class="secondary-navigation">
<ul class="wat-cf">
<li class="active first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
</div>
<div class="content">
<h2 class="title">Text</h2>
<div class="inner">
<p class="first">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <span class="hightlight">Excepteur sint occaecat cupidatat non proident</span>, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<p> <span class="small">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore</span></p>
<p> <span class="gray">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore</span></p>
<hr />
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <span class="hightlight">Excepteur sint occaecat cupidatat non proident</span>, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</div>
</div>
</div>
<div class="block" id="block-tables">
<div class="secondary-navigation">
<ul class="wat-cf">
<li class="first"><a href="#block-text">Text</a></li>
<li class="active"><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
</div>
<div class="content">
<h2 class="title">Tables</h2>
<div class="inner">
<form action="#" class="form">
<table class="table">
<tr>
<th class="first"><input type="checkbox" class="checkbox toggle" /></th>
<th>ID</th>
<th>Login</th>
<th>Name</th>
<th>Surname</th>
<th class="last"> </th>
</tr>
<tr class="odd">
<td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>1</td><td>hulk</td><td>Hulk</td><td>Hogan</td><td class="last"><a href="#">show</a> | <a href="#">edit</a> | <a href="#">destroy</a></td>
</tr>
<tr class="even">
<td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>2</td><td>ultimate</td><td>Ultimate</td><td>Warrior</td><td class="last"><a href="#">show</a> | <a href="#">edit</a> | <a href="#">destroy</a></td>
</tr>
<tr class="odd">
<td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>3</td><td>andre</td><td>Andre</td><td>The Giant</td><td class="last"><a href="#">show</a> | <a href="#">edit</a> | <a href="#">destroy</a></td>
</tr>
<tr class="even">
<td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>4</td><td>machoman</td><td>Macho Man</td><td>Randy Savage</td><td class="last"><a href="#">show</a> | <a href="#">edit</a> | <a href="#">destroy</a></td>
</tr>
</table>
<div class="actions-bar wat-cf">
<div class="actions">
<button class="button" type="submit">
<img src="images/icons/cross.png" alt="Delete" /> Delete
</button>
</div>
<div class="pagination">
<span class="disabled prev_page">« Previous</span><span class="current">1</span><a rel="next" href="#">2</a><a href="#">3</a><a href="#">4</a><a href="#">5</a><a href="#">6</a><a href="#">7</a><a href="#">8</a><a href="#">9</a><a href="#">10</a><a href="#">11</a><a rel="next" class="next_page" href="#">Next »</a>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="block" id="block-forms">
<div class="secondary-navigation">
<ul class="wat-cf">
<li class="first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li class="active"><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
</div>
<div class="content">
<h2 class="title">Forms</h2>
<div class="inner">
<form action="#" method="get" class="form">
<div class="group">
<label class="label">Text field</label>
<input type="text" class="text_field" />
<span class="description">Ex: a simple text</span>
</div>
<div class="group">
<div class="fieldWithErrors">
<label class="label" for="post_title">Title</label>
<span class="error">can't be blank</span>
</div>
<input type="text" class="text_field" />
<span class="description">Ex: a simple text</span>
</div>
<div class="group">
<label class="label">Text area</label>
<textarea class="text_area" rows="10" cols="80"></textarea>
<span class="description">Write here a long text</span>
</div>
<div class="group navform wat-cf">
<button class="button" type="submit">
<img src="images/icons/tick.png" alt="Save" /> Save
</button>
<a href="#header" class="button">
<img src="images/icons/cross.png" alt="Cancel"/> Cancel
</a>
</div>
</form>
</div>
</div>
</div>
<div class="block" id="block-messages">
<div class="secondary-navigation">
<ul class="wat-cf">
<li class="first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li class="active"><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
</div>
<div class="content">
<h2 class="title">Messages</h2>
<div class="inner">
<div class="flash">
<div class="message error">
<p>Error message</p>
</div>
<div class="message warning">
<p>Warning message</p>
</div>
<div class="message notice">
<p>Notice message</p>
</div>
</div>
</div>
</div>
</div>
<div class="block" id="block-forms-2">
<div class="secondary-navigation">
<ul class="wat-cf">
<li class="first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li class="active"><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
</div>
<div class="content">
<h2 class="title">2 columns forms</h2>
<div class="inner">
<form action="#" method="get" class="form">
<div class="columns wat-cf">
<div class="column left">
<div class="group">
<label class="label">Text field</label>
<input type="text" class="text_field" />
</div>
<div class="group">
<label class="label">Text area</label>
<textarea class="text_area" rows="10" cols="80"></textarea>
</div>
</div>
<div class="column right">
<div class="group">
<label class="label">Select</label>
<select><option value="1">Choose...</option></select>
</div>
<div class="group">
<label class="label">Check box</label>
<div>
<input type="checkbox" name="checkbox" id="checkbox_1" class="checkbox" value="1" /> <label for="checkbox_1" class="checkbox">Option 1</label>
</div>
<div>
<input type="checkbox" name="checkbox" id="checkbox_2" class="checkbox" value="2" /> <label for="checkbox_2" class="checkbox">Option 2</label>
</div>
</div>
<div class="group">
<label class="label">Radio</label>
<div>
<input type="radio" name="radio" id="radio_1" class="checkbox" value="1" /> <label for="radio_1" class="radio">Option 1</label>
</div>
<div>
<input type="radio" name="radio" id="radio_2" class="checkbox" value="2" /> <label for="radio_2" class="radio">Option 2</label>
</div>
</div>
</div>
</div>
<div class="group navform wat-cf">
<button class="button" type="submit">
<img src="images/icons/tick.png" alt="Save" /> Save
</button>
<a href="#header" class="button">
<img src="images/icons/cross.png" alt="Cancel"/> Cancel
</a>
</div>
</form>
</div>
</div>
</div>
<div class="block" id="block-lists">
<div class="secondary-navigation">
<ul class="wat-cf">
<li class="first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li class="active"><a href="#block-lists">Lists</a></li>
</ul>
</div>
<div class="content">
<h2 class="title">Lists</h2>
<div class="inner">
<ul class="list">
<li>
<div class="left">
<a href="#"><img class="avatar" src="images/avatar.png" alt="avatar" /></a>
</div>
<div class="item">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</li>
<li>
<div class="left">
<a href="#"><img class="avatar" src="images/avatar.png" alt="avatar" /></a>
</div>
<div class="item">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</li>
<li>
<div class="left">
<a href="#"><img class="avatar" src="images/avatar.png" alt="avatar" /></a>
</div>
<div class="item">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</li>
</ul>
</div>
</div>
</div>
<div id="footer">
<div class="block">
<p>Copyright © 2010 Your Site.</p>
</div>
</div>
</div>
<div id="sidebar">
<div class="block">
<h3>Simple Block</h3>
<div class="content">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
</div>
<div class="block">
<h3>Switch Theme</h3>
<ul class="navigation">
<li><a href="#" onclick="Theme.activate('default'); return false;">Default</a></li>
<li><a href="#" onclick="Theme.activate('amro'); return false;">Amro</a></li>
<li><a href="#" onclick="Theme.activate('bec'); return false;">Bec</a></li>
<li><a href="#" onclick="Theme.activate('bec-green'); return false;">Bec-Green</a></li>
<li><a href="#" onclick="Theme.activate('blue'); return false;">Blue</a></li>
<li><a href="#" onclick="Theme.activate('djime-cerulean'); return false;">Djime-Cerulean</a></li>
<li><a href="#" onclick="Theme.activate('drastic-dark'); return false;">Drastic Dark</a></li>
<li><a href="#" onclick="Theme.activate('kathleene'); return false;">Kathleene</a></li>
<li><a href="#" onclick="Theme.activate('olive'); return false;">Olive</a></li>
<li><a href="#" onclick="Theme.activate('orange'); return false;">Orange</a></li>
<li><a href="#" onclick="Theme.activate('reidb-greenish'); return false;">Greenish</a></li>
<li><a href="#" onclick="Theme.activate('warehouse'); return false;">Warehouse</a></li>
</ul>
</div>
<div class="block">
<h3>Sidebar</h3>
<ul class="navigation">
<li><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
</div>
<div class="block notice">
<h4>Notice Title</h4>
<p>Morbi posuere urna vitae nunc. Curabitur ultrices, lorem ac aliquam blandit, lectus eros hendrerit eros, at eleifend libero ipsum hendrerit urna. Suspendisse viverra. Morbi ut magna. Praesent id ipsum. Sed feugiat ipsum ut felis. Fusce vitae nibh sed risus commodo pulvinar. Duis ut dolor. Cras ac erat pulvinar tortor porta sodales. Aenean tempor venenatis dolor.</p>
</div>
<div class="block">
<div class="sidebar-block">
<h4>Sidebar Inner block Title</h4>
<p>Morbi posuere urna vitae nunc. Curabitur ultrices, lorem ac <a href="#">aliquam blandit</a>, lectus eros hendrerit eros, at eleifend libero ipsum hendrerit urna. Suspendisse viverra. Morbi ut magna. Praesent id ipsum. Sed feugiat ipsum ut felis. Fusce vitae nibh sed risus commodo pulvinar. Duis ut dolor. Cras ac erat pulvinar tortor porta sodales. Aenean tempor venenatis dolor.</p>
</div>
</div>
</div>
</div>
<div id="box">
<h1>Web App Theme</h1>
<div class="block" id="block-login">
<h2>Login Box</h2>
<div class="content login">
<div class="flash">
<div class="message notice">
<p>Logged in successfully</p>
</div>
</div>
<form action="#" class="form login">
<div class="group wat-cf">
<div class="left">
<label class="label right">Login</label>
</div>
<div class="right">
<input type="text" class="text_field" />
</div>
</div>
<div class="group wat-cf">
<div class="left">
<label class="label right">Password</label>
</div>
<div class="right">
<input type="password" class="text_field" />
</div>
</div>
<div class="group navform wat-cf">
<div class="right">
<button class="button" type="submit">
<img src="images/icons/key.png" alt="Save" /> Login
</button>
</div>
</div>
</form>
</div>
</div>
<div class="block" id="block-signup">
<h2>Sign up</h2>
<div class="content">
<form action="#" class="form">
<div class="group wat-cf">
<div class="left">
<label class="label">Login</label>
</div>
<div class="right">
<input type="text" class="text_field" />
<span class="description">Ex: web-app-theme</span>
</div>
</div>
<div class="group wat-cf">
<div class="left">
<label class="label">Email</label>
</div>
<div class="right">
<input type="text" class="text_field" />
<span class="description">Ex: test@example.com</span>
</div>
</div>
<div class="group wat-cf">
<div class="left">
<label class="label">Password</label>
</div>
<div class="right">
<input type="password" class="text_field" />
<span class="description">Must contains the word 'yeah'</span>
</div>
</div>
<div class="group">
<label class="label">Text field</label>
<input type="text" class="text_field" />
<span class="description">Ex: a simple text</span>
</div>
<div class="group">
<label class="label">Text field</label>
<input type="text" class="text_field" />
<span class="description">Ex: a simple text</span>
</div>
<div class="group navform wat-cf">
<button class="button" type="submit">
<img src="images/icons/tick.png" alt="Save" /> Signup
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>