README.html
26.3 KB
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
<!DOCTYPE html>
<html lang="en">
<head><title> | </title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewpoint" content="width=device-width, initial-scale=1.0">
<link href="images/icons/favicon.ico" rel="shortcut icon">
<!--Loading bootstrap css-->
<link type="text/css"
href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,800italic,400,700,800">
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Oswald:400,700,300">
<link type="text/css" rel="stylesheet"
href="vendors/jquery-ui-1.10.3.custom/css/ui-lightness/jquery-ui-1.10.3.custom.css">
<link type="text/css" rel="stylesheet" href="vendors/font-awesome/css/font-awesome.min.css">
<link type="text/css" rel="stylesheet" href="vendors/bootstrap/css/bootstrap.min.css">
<!--LOADING SCRIPTS FOR PAGE--><!--Loading style vendors-->
<link type="text/css" rel="stylesheet" href="vendors/animate.css/animate.css">
<link type="text/css" rel="stylesheet" href="vendors/jquery-pace/pace.css">
<!--Loading style-->
<link type="text/css" rel="stylesheet" href="css/style.css">
<link type="text/css" rel="stylesheet" href="css/style-mango.css" id="theme-style">
<link type="text/css" rel="stylesheet" href="css/vendors.css">
<link type="text/css" rel="stylesheet" href="css/themes/default.css" id="color-style">
<link type="text/css" rel="stylesheet" href="css/style-responsive.css">
<link rel="shortcut icon" href="images/favicon.ico">
</head>
<body>
<div><!--BEGIN TEMPLATE SETTING-->
<div id="template-setting"><a href="#" data-toggle="dropdown" class="btn-template-setting"><i
class="fa fa-tint"></i></a>
<div class="content-template-setting"><h4 class="block-heading">Theme Colors</h4>
<ul class="color-theme list-unstyled list-inline">
<li data-style="red" data-hover="tooltip" title="Red - Green" class="red-green"></li>
<li data-style="orange" data-hover="tooltip" title="Orange - Yellow" class="orange-yellow"></li>
<li data-style="green" data-hover="tooltip" title="Green - Pink" class="green-pink"></li>
<li data-style="yellow" data-hover="tooltip" title="Yellow - Grey" class="yellow-grey"></li>
<li data-style="blue" data-hover="tooltip" title="Blue - Yellow" class="blue-yellow"></li>
<li data-style="violet" data-hover="tooltip" title="Violet - Green" class="violet-green"></li>
<li data-style="pink" data-hover="tooltip" title="Pink - Dark" class="pink-dark"></li>
<li data-style="grey" data-hover="tooltip" title="Grey - Red" class="grey-red"></li>
<li data-style="default" data-hover="tooltip" title="Dark" class="dark-primary"></li>
<li data-style="white" data-hover="tooltip" title="White" class="white-primary"></li>
<li data-style="pink-white" data-hover="tooltip" title="Pink - White" class="pink-white"></li>
<li data-style="white-pink" data-hover="tooltip" title="White - Pink" class="white-pink"></li>
</ul>
</div>
</div>
<!--END TEMPLATE SETTING--><!--BEGIN TO TOP--><a id="totop" href="#"><i class="fa fa-angle-up"></i></a><!--END BACK TO TOP-->
<div id="wrapper"><!--BEGIN TOPBAR-->
<nav id="topbar" role="navigation" style="margin-bottom: 0;" class="navbar navbar-default navbar-static-top">
<div class="navbar-header">
<button type="button" data-toggle="collapse" data-target=".sidebar-collapse" class="navbar-toggle"><span
class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a id="logo" href="index.html" class="navbar-brand"><span class="fa fa-rocket"></span><span
class="logo-text">Odin</span></a></div>
<div class="topbar-main"><a id="menu-toggle" href="#" class="btn hidden-xs"><i class="fa fa-bars"></i></a>
<form id="topbar-search" action="" method="" class="hidden-sm hidden-xs">
<div class="input-icon right"><a href="#"><i class="fa fa-search"></i></a><input type="text"
placeholder="Search here..."
class="form-control"/>
</div>
</form>
<ul class="nav navbar-top-links navbar-right">
<li class="dropdown"><a data-toggle="dropdown" href="#" class="dropdown-toggle"><i
class="fa fa-bell fa-fw"></i><span class="badge badge-yellow">3</span></a>
<ul class="dropdown-menu dropdown-alerts animated bounceInDown">
<li><a href="#"><span class="label label-blue"><i class="fa fa-comment fa-fw"></i></span>New
Comment<span class="pull-right text-muted small">4 minutes ago</span></a></li>
<li><a href="#"><span class="label label-violet"><i class="fa fa-twitter fa-fw"></i></span>3
New Followers<span class="pull-right text-muted small">12 minutes ago</span></a></li>
<li><a href="#"><span class="label label-pink"><i class="fa fa-envelope fa-fw"></i></span>Message
Sent<span class="pull-right text-muted small">15 minutes ago</span></a></li>
<li><a href="#"><span class="label label-green"><i class="fa fa-tasks fa-fw"></i></span>New
Task<span class="pull-right text-muted small">18 minutes ago</span></a></li>
<li><a href="#"><span class="label label-yellow"><i class="fa fa-upload fa-fw"></i></span>Server
Rebooted<span class="pull-right text-muted small">19 minutes ago</span></a></li>
<li><a href="#" class="text-right">See all alerts</a></li>
</ul>
</li>
<li class="dropdown"><a data-toggle="dropdown" href="#" class="dropdown-toggle"><i
class="fa fa-envelope fa-fw"></i><span class="badge badge-green">7</span></a>
<ul class="dropdown-menu dropdown-messages animated bounceInUp">
<li><a href="#"><span class="avatar"><img src="http://lorempixel.com/128/128/people/9/"
alt=""
class="img-responsive img-circle"/></span><span
class="info"><span class="name">Jessica Spencer</span><span class="desc">Lorem ipsum dolor sit amet...</span></span></a>
</li>
<li><a href="#"><span class="avatar"><img src="http://lorempixel.com/128/128/people/9/"
alt=""
class="img-responsive img-circle"/></span><span
class="info"><span class="name">John Smith<span
class="label label-blue pull-right">New</span></span><span
class="desc">Lorem ipsum dolor sit amet...</span></span></a></li>
<li><a href="#"><span class="avatar"><img src="http://lorempixel.com/128/128/people/9/"
alt=""
class="img-responsive img-circle"/></span><span
class="info"><span class="name">John Doe<span
class="label label-orange pull-right">10 min</span></span><span
class="desc">Lorem ipsum dolor sit amet...</span></span></a></li>
<li><a href="#"><span class="avatar"><img src="http://lorempixel.com/128/128/people/9/"
alt=""
class="img-responsive img-circle"/></span><span
class="info"><span class="name">John Smith</span><span class="desc">Lorem ipsum dolor sit amet...</span></span></a>
</li>
<li><a href="#">Read all messages</a></li>
</ul>
</li>
<li class="dropdown"><a data-toggle="dropdown" href="#" class="dropdown-toggle"><i
class="fa fa-tasks fa-fw"></i><span class="badge badge-blue">8</span></a>
<ul class="dropdown-menu dropdown-tasks animated bounceInDown">
<li><a href="#"><span class="task-item">Fix the HTML code<small
class="pull-right text-muted">40% Complete
</small></span>
<div class="progress progress-sm">
<div role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
style="width: 40%;" class="progress-bar progress-bar-orange"><span
class="sr-only">40% Complete (success)</span></div>
</div>
</a></li>
<li><a href="#"><span class="task-item">Make a wordpress theme<small
class="pull-right text-muted">60% Complete
</small></span>
<div class="progress progress-sm">
<div role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
style="width: 60%;" class="progress-bar progress-bar-blue"><span
class="sr-only">60% Complete (success)</span></div>
</div>
</a></li>
<li><a href="#"><span class="task-item">Convert PSD to HTML<small
class="pull-right text-muted">55% Complete
</small></span>
<div class="progress progress-sm">
<div role="progressbar" aria-valuenow="55" aria-valuemin="0" aria-valuemax="100"
style="width: 55%;" class="progress-bar progress-bar-green"><span
class="sr-only">55% Complete (success)</span></div>
</div>
</a></li>
<li><a href="#"><span class="task-item">Convert HTML to Wordpress<small
class="pull-right text-muted">78% Complete
</small></span>
<div class="progress progress-sm">
<div role="progressbar" aria-valuenow="78" aria-valuemin="0" aria-valuemax="100"
style="width: 78%;" class="progress-bar progress-bar-yellow"><span
class="sr-only">78% Complete (success)</span></div>
</div>
</a></li>
<li><a href="#">See all tasks</a></li>
</ul>
</li>
<li class="dropdown"><a data-toggle="dropdown" href="#" class="dropdown-toggle"><img
src="http://lorempixel.com/128/128/people/9/" alt="" class="img-responsive img-circle"/>
Jessica
<span class="caret"></span></a>
<ul class="dropdown-menu dropdown-user pull-right animated bounceInLeft">
<li>
<div class="navbar-content">
<div class="row">
<div class="col-md-5 col-xs-5"><img
src="http://lorempixel.com/128/128/people/9/" alt=""
class="img-responsive img-circle"/>
<p class="text-center mtm"><a href="#" class="change-avatar">
<small>Change Avatar</small>
</a></p>
</div>
<div class="col-md-7 col-xs-5"><span>Jessica</span>
<p class="text-muted small">example@mail.com</p>
<div class="divider"></div>
<a href="#" class="btn btn-primary btn-sm">View Profile</a></div>
</div>
</div>
<div class="navbar-footer">
<div class="navbar-footer-content">
<div class="row">
<div class="col-md-6 col-xs-6"><a href="#" class="btn btn-default btn-sm">Change
Password</a></div>
<div class="col-md-6 col-xs-6"><a href="page-lock-screen.html"
class="btn btn-default btn-sm pull-right">Sign
Out</a></div>
</div>
</div>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
<!--BEGIN MODAL CONFIG PORTLET-->
<div id="modal-config" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" data-dismiss="modal" aria-hidden="true" class="close">×</button>
<h4 class="modal-title">Modal title</h4></div>
<div class="modal-body"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eleifend et
nisl eget porta. Curabitur elementum sem molestie nisl varius, eget tempus odio molestie. Nunc
vehicula sem arcu, eu pulvinar neque cursus ac. Aliquam ultricies lobortis magna et aliquam.
Vestibulum egestas eu urna sed ultricies. Nullam pulvinar dolor vitae quam dictum condimentum.
Integer a sodales elit, eu pulvinar leo. Nunc nec aliquam nisi, a mollis neque. Ut vel felis
quis tellus hendrerit placerat. Vivamus vel nisl non magna feugiat dignissim sed ut nibh. Nulla
elementum, est a pretium hendrerit, arcu risus luctus augue, mattis aliquet orci ligula eget
massa. Sed ut ultricies felis.</p></div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn btn-default">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
<!--END MODAL CONFIG PORTLET--><!--END TOPBAR--><!--BEGIN SIDEBAR MENU-->
<nav id="sidebar" role="navigation" class="navbar-default navbar-static-side">
<div class="sidebar-collapse menu-scroll">
<ul id="side-menu" class="nav">
<li class="clock"><strong id="get-date"></strong>
<div class="digital-clock">
<div id="getHours" class="get-time"></div>
<span>:</span>
<div id="getMinutes" class="get-time"></div>
<span>:</span>
<div id="getSeconds" class="get-time"></div>
</div>
</li>
<li class="sidebar-heading"><h4>Main Menu</h4></li>
<li><a href="index.html"><i class="fa fa-home fa-fw"></i><span
class="menu-title">Dashboard</span><span class="fa arrow"></span><span
class="badge badge-primary">3</span></a>
<ul class="nav nav-second-level">
<li><a href="index.html">General</a></li>
<li><a href="dashboard-shopping.html">Shopping Dashboard</a></li>
<li><a href="dashboard-blog.html">Blog Dashboard</a></li>
</ul>
</li>
<li><a href="#"><i class="fa fa-laptop fa-fw"></i><span class="menu-title">Layouts</span><span
class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li><a href="layout-left-sidebar.html">Left Sidebar</a></li>
<li><a href="layout-left-sidebar-collapsed.html">Left Sidebar Collapsed<span
class="label label-primary">New</span></a></li>
<li><a href="layout-right-sidebar.html">Right Sidebar</a></li>
<li><a href="layout-right-sidebar-collapsed.html">Right Sidebar Collapsed<span
class="label label-primary">New</span></a></li>
<li><a href="layout-boxed.html">Boxed Layout</a></li>
</ul>
</li>
<li><a href="#"><i class="fa fa-bookmark fa-fw"></i><span class="menu-title">UI Elements</span><span
class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li><a href="ui-general.html">General</a></li>
<li><a href="ui-buttons.html">Buttons</a></li>
<li><a href="ui-typography.html">Typography</a></li>
<li><a href="ui-modals.html">Modals</a></li>
<li><a href="ui-tabs-accordions-navs.html">Tabs, Accordions & Navs</a></li>
<li><a href="ui-sliders.html">Sliders</a></li>
<li><a href="ui-nestable-list.html">Nestable List</a></li>
<li><a href="ui-icons.html">Icons</a></li>
<li><a href="ui-portlets.html">Portlets</a></li>
</ul>
</li>
<li><a href="#"><i class="fa fa-edit fa-fw"></i><span class="menu-title">Forms</span><span
class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li><a href="form-layouts.html">Form Layouts</a></li>
<li><a href="form-components.html">Form Components</a></li>
<li><a href="form-wizard.html">From Wizard<span class="label label-primary">New</span></a>
</li>
<li><a href="form-editors.html">Form Editors<span class="label label-primary">New</span></a>
</li>
<li><a href="form-validation.html">Form Validation</a></li>
<li><a href="form-multiple-file-upload.html">Multiple File Upload</a></li>
<li><a href="form-dropzone-file-upload.html">Dropzone File Upload</a></li>
</ul>
</li>
<li><a href="#"><i class="fa fa-th-list fa-fw"></i><span class="menu-title">Tables</span><span
class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li><a href="table-basic.html">Basic Tables</a></li>
<li><a href="table-responsive.html">Responsive Tables</a></li>
<li><a href="table-editable.html">Editable Tables</a></li>
<li><a href="table-advanced.html">Advanced Tables</a></li>
</ul>
</li>
<li><a href="#"><i class="fa fa-file-o fa-fw"></i><span class="menu-title">Pages</span><span
class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li><a href="page-signin.html">Sign In</a></li>
<li><a href="page-signup.html">Sign Up</a></li>
<li><a href="page-lock-screen.html">Lock Screen</a></li>
<li><a href="page-invoice.html">Invoice</a></li>
<li><a href="page-pricing-table.html">Pricing Tables</a></li>
<li><a href="page-fullcalendar.html">Full Calendar</a></li>
<li><a href="page-blank.html">Blank</a></li>
<li><a href="page-404.html">404 Page</a></li>
<li><a href="page-500.html">500 Page</a></li>
<li><a href="javascript:void(0)" title="FullScreen" class="btn-fullscreen">Full Screen</a>
</li>
</ul>
</li>
<li><a href="#"><i class="fa fa-sitemap fa-fw"></i><span
class="menu-title">Multi-Level Dropdown</span><span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li><a href="#">Second Level Item</a></li>
<li><a href="#">Second Level Item</a></li>
<li><a href="#">Third Level<span class="fa arrow"></span></a>
<ul class="nav nav-third-level">
<li><a href="#">Third Level Item</a></li>
<li><a href="#">Third Level Item</a></li>
<li><a href="#">Third Level Item</a></li>
<li><a href="#">Third Level Item</a></li>
</ul>
</li>
</ul>
</li>
<li class="sidebar-heading"><h4>Extras</h4></li>
<li><a href="charts.html"><i class="fa fa-bar-chart-o fa-fw"></i><span
class="menu-title">Charts</span></a></li>
<li><a href="transitions.html"><i class="fa fa-eye fa-fw"></i><span
class="menu-title">Transitions</span></a></li>
</ul>
</div>
</nav>
<!--END SIDEBAR MENU--><!--BEGIN PAGE WRAPPER-->
<div id="page-wrapper"><!--BEGIN PAGE HEADER & BREADCRUMB-->
<div class="page-header-breadcrumb">
<div class="page-heading hidden-xs"><h1 class="page-title"></h1></div>
<ol class="breadcrumb page-breadcrumb">
<li><i class="fa fa-home"></i> <a href="index.html">Home</a> <i
class="fa fa-angle-right"></i> </li>
<li><a href="#"></a> <i class="fa fa-angle-right"></i> </li>
<li class="active"></li>
</ol>
</div>
<!--END PAGE HEADER & BREADCRUMB--><!--BEGIN CONTENT-->
<div class="page-content"><p>Unit tests, written with <a href="http://docs.jquery.com/QUnit">QUnit</a>, are
used to
expose bugs for squashing, prevent bugs from respawning, and suppress new
bugs when adding new features and making changes.</p>
<h1>Running the tests</h1>
<p>The simplest way to run the tests is to open <code>tests/tests.html</code> in your browser.
The test suites will automatically run themselves and present their results.</p>
<p>To run the tests from the command line, download and install
<a href="http://phantomjs.org/">PhantomJS</a>, and run <code>run-qunit.js</code> with it:</p>
<pre><code>$ cd tests/
$ phantomjs run-qunit.js tests.html</code></pre>
<p>Failed tests and their failed assertions will be printed to the console. A
results summary will be printed at the end.</p>
<p>To generate coverage statistics, use <a href="http://siliconforks.com/jscoverage/">JSCoverage</a>
to instrument the js files:</p>
<pre><code>$ cd tests/
$ jscoverage ../js/ ../instrumented/
$ phantomjs run-qunit.js tests.html</code></pre>
<p>Coverage percentage will be included in the output summary, and a highlighted
line-by-line html file will be generated.</p>
<h1>Shout-out</h1>
<p>Thanks to Rod @ While One Fork for the
<a href="http://whileonefork.blogspot.com/2011/10/integrating-javascript-tests-into-cli.html">CIS
guide</a>
on putting the above together.</p>
<h1>Adding tests</h1>
<p>Tests go in js files in the <code>tests/suites/</code> directory tree. QUnit organizes
tests into suites called "modules"; there is one module per js file. If the
tests you are adding do not fit into an existing module, create a new one at
<code>tests/suites/<new module>.js</code>, where <code><new module></code> is a broad
yet
descriptive name for the suite. If tests have many year-specific cases (ie,
behave differently in leap years vs normal years, or have specific buggy
behavior in a certain year), create the module in a new directory,
<code>tests/suites/<new module>/<year>.js</code>, where <code><new module></code>
is the decriptive
name and <code><year></code> is the four-digit year the tests pertain to.</p>
<p>In order for new tests to be run, they must be imported into <code>tests/tests.html</code>.
Find the script includes headed by the html comment <code><!-- Test suites --></code>, and
add a new one to the list which includes the new js files.</p>
<h1>Can I use this?</h1>
<p>By all means, please do! Just note that I stopped working on this structure
once it fit my needs, there's no real support for it, and it may change in the
future. Otherwise, have at it.</p>
</div>
<!--END CONTENT--><!--BEGIN FOOTER-->
<div class="page-footer">
<div class="copyright">2014 © Odin - The Ultimate Responsive Admin Template.</div>
</div>
<!--END FOOTER--></div>
<!--END PAGE WRAPPER--></div>
</div>
<script src="js/jquery-1.9.1.js"></script>
<script src="js/jquery-migrate-1.2.1.min.js"></script>
<script src="js/jquery-ui.js"></script>
<!--loading bootstrap js-->
<script src="vendors/bootstrap/js/bootstrap.min.js"></script>
<script src="vendors/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js"></script>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<script src="vendors/metisMenu/jquery.metisMenu.js"></script>
<script src="vendors/slimScroll/jquery.slimscroll.js"></script>
<script src="vendors/jquery-cookie/jquery.cookie.js"></script>
<script src="js/jquery.menu.js"></script>
<script src="vendors/jquery-pace/pace.min.js"></script>
<!--LOADING SCRIPTS FOR PAGE--><!--CORE JAVASCRIPT-->
<script src="js/main.js"></script>
<script src="js/holder.js"></script>
<script type="text/javascript">(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-145464-11', 'next-themes.com');
ga('send', 'pageview');
</script>
</body>
</html>