-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
1117 lines (940 loc) · 36.2 KB
/
index.html
File metadata and controls
1117 lines (940 loc) · 36.2 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
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
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<!--[if IEMobile 7]><html class="no-js iem7 oldie"><![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if (IE 9)&!(IEMobile)]><html class="no-js ie9" lang="en"><![endif]-->
<!--[if (gt IE 9)|(gt IEMobile 7)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Developr</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- http://davidbcalhoun.com/2010/viewport-metatag -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- For all browsers -->
<link rel="stylesheet" href="css/reset.css?v=1">
<link rel="stylesheet" href="css/style.css?v=1">
<link rel="stylesheet" href="css/colors.css?v=1">
<link rel="stylesheet" media="print" href="css/print.css?v=1">
<!-- For progressively larger displays -->
<link rel="stylesheet" media="only all and (min-width: 480px)" href="css/480.css?v=1">
<link rel="stylesheet" media="only all and (min-width: 768px)" href="css/768.css?v=1">
<link rel="stylesheet" media="only all and (min-width: 992px)" href="css/992.css?v=1">
<link rel="stylesheet" media="only all and (min-width: 1200px)" href="css/1200.css?v=1">
<!-- For Retina displays -->
<link rel="stylesheet" media="only all and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5)" href="css/2x.css?v=1">
<!-- Webfonts -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
<!-- Additional styles -->
<link rel="stylesheet" href="css/styles/agenda.css?v=1">
<link rel="stylesheet" href="css/styles/dashboard.css?v=1">
<link rel="stylesheet" href="css/styles/form.css?v=1">
<link rel="stylesheet" href="css/styles/modal.css?v=1">
<link rel="stylesheet" href="css/styles/progress-slider.css?v=1">
<link rel="stylesheet" href="css/styles/switches.css?v=1">
<!-- JavaScript at bottom except for Modernizr -->
<script src="js/libs/modernizr.custom.js"></script>
<!-- For Modern Browsers -->
<link rel="shortcut icon" href="img/favicons/favicon.png">
<!-- For everything else -->
<link rel="shortcut icon" href="img/favicons/favicon.ico">
<!-- For retina screens -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/favicons/apple-touch-icon-retina.png">
<!-- For iPad 1-->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/favicons/apple-touch-icon-ipad.png">
<!-- For iPhone 3G, iPod Touch and Android -->
<link rel="apple-touch-icon-precomposed" href="img/favicons/apple-touch-icon.png">
<!-- iOS web-app metas -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- Startup image for web apps -->
<link rel="apple-touch-startup-image" href="img/splash/ipad-landscape.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)">
<link rel="apple-touch-startup-image" href="img/splash/ipad-portrait.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)">
<link rel="apple-touch-startup-image" href="img/splash/iphone.png" media="screen and (max-device-width: 320px)">
<!-- Microsoft clear type rendering -->
<meta http-equiv="cleartype" content="on">
<!-- IE9 Pinned Sites: http://msdn.microsoft.com/en-us/library/gg131029.aspx -->
<meta name="application-name" content="Developr Admin Skin">
<meta name="msapplication-tooltip" content="Cross-platform admin template.">
<meta name="msapplication-starturl" content="http://www.display-inline.fr/demo/developr">
<!-- These custom tasks are examples, you need to edit them to show actual pages -->
<meta name="msapplication-task" content="name=Agenda;action-uri=http://www.display-inline.fr/demo/developr/agenda.html;icon-uri=http://www.display-inline.fr/demo/developr/img/favicons/favicon.ico">
<meta name="msapplication-task" content="name=My profile;action-uri=http://www.display-inline.fr/demo/developr/profile.html;icon-uri=http://www.display-inline.fr/demo/developr/img/favicons/favicon.ico">
</head>
<body class="clearfix with-menu with-shortcuts">
<!-- Prompt IE 6 users to install Chrome Frame -->
<!--[if lt IE 7]><p class="message red-gradient simpler">Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<!-- Title bar -->
<header role="banner" id="title-bar">
<h2>Developr</h2>
</header>
<!-- Button to open/hide menu -->
<a href="#" id="open-menu"><span>Menu</span></a>
<!-- Button to open/hide shortcuts -->
<a href="#" id="open-shortcuts"><span class="icon-thumbs"></span></a>
<!-- Main content -->
<section role="main" id="main">
<noscript class="message black-gradient simpler">Your browser does not support JavaScript! Some features won't work as expected...</noscript>
<hgroup id="main-title" class="thin">
<h1>Dashboard</h1>
<h2>nov <strong>10</strong></h2>
</hgroup>
<div class="dashboard">
<div class="columns">
<div class="nine-columns twelve-columns-mobile" id="demo-chart">
<!-- This div will hold the chart generated in the footer -->
</div>
<div class="three-columns twelve-columns-mobile new-row-mobile">
<ul class="stats split-on-mobile">
<li><a href="#">
<strong>21</strong> new <br>accounts
</a></li>
<li><a href="#">
<strong>15</strong> referred new <br>accounts
</a></li>
<li>
<strong>5</strong> new <br>items
</li>
<li>
<strong>235</strong> new <br>comments
</li>
</ul>
</div>
</div>
</div>
<div class="with-padding">
<div class="columns">
<div class="four-columns six-columns-tablet twelve-columns-mobile">
<h2 class="relative thin">
New users
<span class="info-spot">
<span class="icon-info-round"></span>
<span class="info-bubble">
This is an information bubble to help the user.
</span>
</span>
<span class="button-group absolute-right">
<a href="javascript:openModal()" title="Add user" class="button icon-plus-round">Add</a>
<a href="javascript:openLoadingModal()" title="Reload list" class="button icon-redo"></a>
</span>
</h2>
<ul class="list spaced">
<li>
<a href="#" class="list-link icon-user" title="Click to edit">
<span class="meter orange-gradient"></span>
<span class="meter orange-gradient"></span>
<span class="meter"></span>
<span class="meter"></span>
<strong>John</strong> Doe
</a>
<div class="button-group absolute-right compact show-on-parent-hover">
<a href="#" class="button icon-pencil">Edit</a>
<a href="#" class="button icon-gear with-tooltip" title="Other actions"></a>
<a href="#" class="button icon-trash with-tooltip confirm" title="Delete"></a>
</div>
</li>
<li>
<a href="#" class="list-link icon-user" title="Click to edit">
<span class="meter red-gradient"></span>
<span class="meter"></span>
<span class="meter"></span>
<span class="meter"></span>
<strong>John</strong> Krazinski
</a>
<div class="button-group absolute-right compact show-on-parent-hover">
<a href="#" class="button icon-pencil">Edit</a>
<a href="#" class="button icon-gear with-tooltip" title="Other actions"></a>
<a href="#" class="button icon-trash with-tooltip confirm" title="Delete"></a>
</div>
</li>
<li>
<a href="#" class="list-link icon-user" title="Click to edit">
<span class="meter blue-gradient"></span>
<span class="meter blue-gradient"></span>
<span class="meter blue-gradient"></span>
<span class="meter"></span>
<strong>John</strong>athan Bell
</a>
<div class="button-group absolute-right compact show-on-parent-hover">
<a href="#" class="button icon-pencil">Edit</a>
<a href="#" class="button icon-gear with-tooltip" title="Other actions"></a>
<a href="#" class="button icon-trash with-tooltip confirm" title="Delete"></a>
</div>
</li>
<li>
<a href="#" class="list-link icon-user" title="Click to edit">
<span class="meter blue-gradient"></span>
<span class="meter blue-gradient"></span>
<span class="meter blue-gradient"></span>
<span class="meter"></span>
<strong>John</strong> Debogorsky
</a>
<div class="button-group absolute-right compact show-on-parent-hover">
<a href="#" class="button icon-pencil">Edit</a>
<a href="#" class="button icon-gear with-tooltip" title="Other actions"></a>
<a href="#" class="button icon-trash with-tooltip confirm" title="Delete"></a>
</div>
</li>
<li>
<a href="#" class="list-link icon-user" title="Click to edit">
<span class="meter orange-gradient"></span>
<span class="meter orange-gradient"></span>
<span class="meter"></span>
<span class="meter"></span>
<strong>John</strong>ny Halliday
</a>
<div class="button-group absolute-right compact show-on-parent-hover">
<a href="#" class="button icon-pencil">Edit</a>
<a href="#" class="button icon-gear with-tooltip" title="Other actions"></a>
<a href="#" class="button icon-trash with-tooltip confirm" title="Delete"></a>
</div>
</li>
<li>
<a href="#" class="list-link icon-user" title="Click to edit">
<span class="meter green-gradient"></span>
<span class="meter green-gradient"></span>
<span class="meter green-gradient"></span>
<span class="meter green-gradient"></span>
<strong>John</strong> Hutter
</a>
<div class="button-group absolute-right compact show-on-parent-hover">
<a href="#" class="button icon-pencil">Edit</a>
<a href="#" class="button icon-gear with-tooltip" title="Other actions"></a>
<a href="#" class="button icon-trash with-tooltip confirm" title="Delete"></a>
</div>
</li>
<li>
<a href="#" class="list-link icon-user" title="Click to edit">
<span class="meter red-gradient"></span>
<span class="meter"></span>
<span class="meter"></span>
<span class="meter"></span>
<strong>John</strong> Zert
</a>
<div class="button-group absolute-right compact show-on-parent-hover">
<a href="#" class="button icon-pencil">Edit</a>
<a href="#" class="button icon-gear with-tooltip" title="Other actions"></a>
<a href="#" class="button icon-trash with-tooltip confirm" title="Delete"></a>
</div>
</li>
</ul>
</div>
<div class="new-row-mobile four-columns six-columns-tablet twelve-columns-mobile">
<div class="block large-margin-bottom">
<div class="block-title">
<h3>Next events</h3>
<span class="ribbon"><span class="ribbon-inner">3 new</span></span>
</div>
<ul class="events">
<li>
<span class="event-date orange">8</span>
<a href="#" class="event-description">
<h4>Event title</h4>
<p>Event description text</p>
</a>
</li>
<li>
<span class="event-date">15</span>
<span class="event-description">
<h4>Another event</h4>
<p>Other event description text, other event description text</p>
</span>
<span class="ribbon tiny"><span class="ribbon-inner red-gradient">High</span></span>
</li>
<li>
<span class="event-date with-month">
8 <span class="event-month">April</span>
</span>
<h4>Next month event</h4>
<p>Another description text</p>
</li>
</ul>
</div>
<div class="facts clearfix">
<div class="fact">
<span class="fact-value">
50 <span class="fact-unit">Min</span>
</span>
Average time per session<br>
<span class="fact-progress red">-5% ▼</span>
</div>
<div class="fact">
<span class="fact-value">
25 <span class="fact-unit">%</span>
</span>
Traffic growth over 30 days<br>
<span class="fact-progress green">+7.1% ▲</span>
</div>
</div>
<div class="button-height wrapped align-right">
<span class="float-left mid-margin-left">Want some modals?</span>
<span class="button-group">
<a href="javascript:openAlert();" class="button">Alert</a>
<a href="javascript:openPrompt();" class="button">Prompt</a>
<a href="javascript:openConfirm();" class="button">Confirm</a>
</span>
</div>
</div>
<div class="new-row-tablet four-columns twelve-columns-tablet">
<div class="block">
<div class="block-title">
<h3 id="agenda-day">Tuesday</h3>
<div class="button-group absolute-right compact">
<a href="#" class="button" id="agenda-previous"><span class="icon-left-fat"></span></a>
<a href="#" class="button" id="agenda-today">Today</a>
<a href="#" class="button" id="agenda-next"><span class="icon-right-fat"></span></a>
</div>
</div>
<div class="agenda" id="agenda">
<!-- Time markers -->
<ul class="agenda-time">
<li class="from-7 to-8"><span>7 AM</span></li>
<li class="from-8 to-9"><span>8 AM</span></li>
<li class="from-9 to-10"><span>9 AM</span></li>
<li class="from-10 to-11"><span>10 AM</span></li>
<li class="from-11 to-12"><span>11 AM</span></li>
<li class="from-12 to-13 blue"><span>NOON</span></li>
<li class="from-13 to-14"><span>1 PM</span></li>
<li class="from-14 to-15"><span>2 PM</span></li>
<li class="from-15 to-16"><span>3 PM</span></li>
<li class="from-16 to-17"><span>4 PM</span></li>
<li class="from-17 to-18"><span>5 PM</span></li>
<li class="from-18 to-19"><span>6 PM</span></li>
<li class="from-19 to-20"><span>7 PM</span></li>
<li class="at-20"><span>8 PM</span></li>
</ul>
<!-- Columns wrapper -->
<div class="agenda-wrapper">
<!-- Events list -->
<div class="agenda-events agenda-day1">
<span class="agenda-event anthracite-gradient from-16 to-17-30">
<time>4 PM - 5:30 PM</time>
Event description
</span>
</div>
<!-- Events list -->
<div class="agenda-events agenda-day2">
<div class="dark-stripes from-12 to-14"></div>
<a href="#" class="agenda-event from-8 to-11">
<time>8 AM - 11 AM</time>
Event description
</a>
<span class="agenda-event from-16-30 to-17-30">
<time>4:30 PM - 5:30 PM</time>
Event description
</span>
</div>
<!-- Events list -->
<div class="agenda-events agenda-day3">
<div class="dark-stripes from-12 to-18"></div>
<a href="#" class="agenda-event from-7 to-9">
<time>7 AM - 9 AM</time>
Event description
<span class="ribbon tiny"><span class="ribbon-inner orange-gradient">Priv</span></span>
</a>
<span class="agenda-event from-10 to-11-30 event-1-on-2">
<time>10 AM - 11:30 AM</time>
Event description
</span>
<span class="agenda-event from-11 to-13 event-2-on-2 anthracite-gradient">
<time>11 AM - 1 PM</time>
Event description
</span>
<div class="agenda-now" style="top:63.75%"><span>03:23</span></div>
</div>
<!-- Events list -->
<div class="agenda-events agenda-day4">
<div class="dark-stripes from-12 to-14"></div>
<a href="#" class="agenda-event from-9 to-10">
<time>9 AM - 10 AM</time>
Event description
</a>
<span class="agenda-event from-16 to-17-30 event-1-on-2">
<time>4 PM - 5:30 PM</time>
Event description
</span>
<span class="agenda-event from-17 to-19-30 event-2-on-2 blue-gradient">
<time>5 PM - 7:30 PM</time>
Event description
</span>
</div>
<!-- Events list -->
<div class="agenda-events agenda-day5">
<div class="dark-stripes from-12 to-14"></div>
<a href="#" class="agenda-event from-8 to-9">
<time>8 AM - 9 AM</time>
Event description
</a>
<span class="agenda-event from-11 to-13 anthracite-gradient">
<time>11 AM - 1 PM</time>
Event description
</span>
<span class="agenda-event from-17 to-19-30 blue-gradient">
<time>5 PM - 7:30 PM</time>
Event description
</span>
</div>
<!-- Events list -->
<div class="agenda-events agenda-day6">
<div class="dark-stripes from-12 to-14"></div>
<span class="agenda-event from-10 to-13 anthracite-gradient">
<time>10 AM - 1 PM</time>
Event description
</span>
<span class="agenda-event from-16 to-18-30">
<time>4 PM - 6:30 PM</time>
Event description
</span>
</div>
<!-- Events list -->
<div class="agenda-events agenda-day7"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End main content -->
<!-- Side tabs shortcuts -->
<ul id="shortcuts" role="complementary" class="children-tooltip tooltip-right">
<li class="current"><a href="./" class="shortcut-dashboard" title="Dashboard">Dashboard</a></li>
<li><a href="inbox.html" class="shortcut-messages" title="Messages">Messages</a></li>
<li><a href="agenda.html" class="shortcut-agenda" title="Agenda">Agenda</a></li>
<li><a href="tables.html" class="shortcut-contacts" title="Contacts">Contacts</a></li>
<li><a href="explorer.html" class="shortcut-medias" title="Medias">Medias</a></li>
<li><a href="sliders.html" class="shortcut-stats" title="Stats">Stats</a></li>
<li><a href="form.html" class="shortcut-settings" title="Settings">Settings</a></li>
<li><span class="shortcut-notes" title="Notes">Notes</span></li>
</ul>
<!-- Sidebar/drop-down menu -->
<section id="menu" role="complementary">
<!-- This wrapper is used by several responsive layouts -->
<div id="menu-content">
<header>
Administrator
</header>
<div id="profile">
<img src="img/user.png" width="64" height="64" alt="User name" class="user-icon">
Hello
<span class="name">John <b>Doe</b></span>
</div>
<!-- By default, this section is made for 4 icons, see the doc to learn how to change this, in "basic markup explained" -->
<ul id="access" class="children-tooltip">
<li><a href="inbox.html" title="Messages"><span class="icon-inbox"></span><span class="count">2</span></a></li>
<li><a href="calendars.html" title="Calendar"><span class="icon-calendar"></span></a></li>
<li><a href="login.html" title="Profile"><span class="icon-user"></span></a></li>
<li class="disabled"><span class="icon-gear"></span></li>
</ul>
<section class="navigable">
<ul class="big-menu">
<li class="with-right-arrow">
<span><span class="list-count">11</span>Main styles</span>
<ul class="big-menu">
<li><a href="typography.html">Typography</a></li>
<li><a href="columns.html">Columns</a></li>
<li><a href="tables.html">Tables</a></li>
<li><a href="colors.html">Colors & backgrounds</a></li>
<li><a href="icons.html">Icons</a></li>
<li><a href="files.html">Files & Gallery</a></li>
<li class="with-right-arrow">
<span><span class="list-count">4</span>Forms & buttons</span>
<ul class="big-menu">
<li><a href="buttons.html">Buttons</a></li>
<li><a href="form.html">Form elements</a></li>
<li><a href="textareas.html">Textareas & WYSIWYG</a></li>
<li><a href="form-layouts.html">Form layouts</a></li>
<li><a href="wizard.html">Wizard</a></li>
</ul>
</li>
<li class="with-right-arrow">
<span><span class="list-count">2</span>Agenda & Calendars</span>
<ul class="big-menu">
<li><a href="agenda.html">Agenda</a></li>
<li><a href="calendars.html">Calendars</a></li>
</ul>
</li>
<li><a href="blocks.html">Blocks & infos</a></li>
</ul>
</li>
<li class="with-right-arrow">
<span><span class="list-count">8</span>Main features</span>
<ul class="big-menu">
<li><a href="auto-setup.html">Automatic setup</a></li>
<li><a href="responsive.html">Responsiveness</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="sliders.html">Slider & progress</a></li>
<li><a href="modals.html">Modal windows</a></li>
<li class="with-right-arrow">
<span><span class="list-count">3</span>Messages & notifications</span>
<ul class="big-menu">
<li><a href="messages.html">Messages</a></li>
<li><a href="notifications.html">Notifications</a></li>
<li><a href="tooltips.html">Tooltips</a></li>
</ul>
</li>
</ul>
</li>
<li class="with-right-arrow">
<a href="ajax-demo/submenu.html" class="navigable-ajax" title="Menu title">With ajax sub-menu</a>
</li>
</ul>
</section>
<ul class="unstyled-list">
<li class="title-menu">Today's event</li>
<li>
<ul class="calendar-menu">
<li>
<a href="#" title="See event">
<time datetime="2011-02-24"><b>24</b> Feb</time>
<small class="green">10:30</small>
Event's description
</a>
</li>
</ul>
</li>
<li class="title-menu">New messages</li>
<li>
<ul class="message-menu">
<li>
<span class="message-status">
<a href="#" class="starred" title="Starred">Starred</a>
<a href="#" class="new-message" title="Mark as read">New</a>
</span>
<span class="message-info">
<span class="blue">17:12</span>
<a href="#" class="attach" title="Download attachment">Attachment</a>
</span>
<a href="#" title="Read message">
<strong class="blue">John Doe</strong><br>
<strong>Mail subject</strong>
</a>
</li>
<li>
<a href="#" title="Read message">
<span class="message-status">
<span class="unstarred">Not starred</span>
<span class="new-message">New</span>
</span>
<span class="message-info">
<span class="blue">15:47</span>
</span>
<strong class="blue">May Starck</strong><br>
<strong>Mail subject a bit longer</strong>
</a>
</li>
<li>
<span class="message-status">
<span class="unstarred">Not starred</span>
</span>
<span class="message-info">
<span class="blue">15:12</span>
</span>
<strong class="blue">May Starck</strong><br>
Read message
</li>
</ul>
</li>
</ul>
</div>
<!-- End content wrapper -->
<!-- This is optional -->
<footer id="menu-footer">
<p class="button-height">
<input type="checkbox" name="auto-refresh" id="auto-refresh" checked="checked" class="switch float-right">
<label for="auto-refresh">Auto-refresh</label>
</p>
</footer>
</section>
<!-- End sidebar/drop-down menu -->
<!-- JavaScript at the bottom for fast page loading -->
<!-- Scripts -->
<script src="js/libs/jquery-1.7.2.min.js"></script>
<script src="js/setup.js"></script>
<!-- Template functions -->
<script src="js/developr.input.js"></script>
<script src="js/developr.message.js"></script>
<script src="js/developr.modal.js"></script>
<script src="js/developr.navigable.js"></script>
<script src="js/developr.notify.js"></script>
<script src="js/developr.scroll.js"></script>
<script src="js/developr.progress-slider.js"></script>
<script src="js/developr.tooltip.js"></script>
<script src="js/developr.confirm.js"></script>
<script src="js/developr.agenda.js"></script>
<script src="js/developr.tabs.js"></script> <!-- Must be loaded last -->
<!-- Tinycon -->
<script src="js/libs/tinycon.min.js"></script>
<script>
// Call template init (optional, but faster if called manually)
$.template.init();
// Favicon count
Tinycon.setBubble(2);
// If the browser support the Notification API, ask user for permission (with a little delay)
if (notify.hasNotificationAPI() && !notify.isNotificationPermissionSet())
{
setTimeout(function()
{
notify.showNotificationPermission('Your browser supports desktop notification, click here to enable them.', function()
{
// Confirmation message
if (notify.hasNotificationPermission())
{
notify('Notifications API enabled!', 'You can now see notifications even when the application is in background', {
icon: 'img/demo/icon.png',
system: true
});
}
else
{
notify('Notifications API disabled!', 'Desktop notifications will not be used.', {
icon: 'img/demo/icon.png'
});
}
});
}, 2000);
}
/*
* Handling of 'other actions' menu
*/
var otherActions = $('#otherActions'),
current = false;
// Other actions
$('.list .button-group a:nth-child(2)').menuTooltip('Loading...', {
classes: ['with-mid-padding'],
ajax: 'ajax-demo/tooltip-content.html',
onShow: function(target)
{
// Remove auto-hide class
target.parent().removeClass('show-on-parent-hover');
},
onRemove: function(target)
{
// Restore auto-hide class
target.parent().addClass('show-on-parent-hover');
}
});
// Delete button
$('.list .button-group a:last-child').data('confirm-options', {
onShow: function()
{
// Remove auto-hide class
$(this).parent().removeClass('show-on-parent-hover');
},
onConfirm: function()
{
// Remove element
$(this).closest('li').fadeAndRemove();
// Prevent default link behavior
return false;
},
onRemove: function()
{
// Restore auto-hide class
$(this).parent().addClass('show-on-parent-hover');
}
});
// Demo modal
function openModal()
{
$.modal({
content: '<p>This is an example of modal window. You can open several at the same time (click links below!), move them and resize them.</p>'+
'<p>The plugin provides several other functions to control them, try below:</p>'+
'<ul class="simple-list with-icon">'+
' <li><a href="javascript:void(0)" onclick="openModal()">Open new blocking modal</a></li>'+
' <li><a href="javascript:void(0)" onclick="$.modal.alert(\'This is a non-blocking modal, you can switch between me and the other modal\', { blocker: false })">Open non-blocking modal</a></li>'+
' <li><a href="javascript:void(0)" onclick="$(this).getModalWindow().setModalTitle(\'\')">Remove title</a></li>'+
' <li><a href="javascript:void(0)" onclick="$(this).getModalWindow().setModalTitle(\'New title\')">Change title</a></li>'+
' <li><a href="javascript:void(0)" onclick="$(this).getModalWindow().loadModalContent(\'ajax-demo/auto-setup.html\')">Load Ajax content</a></li>'+
'</ul>',
title: 'Example modal window',
width: 300,
scrolling: false,
actions: {
'Close' : {
color: 'red',
click: function(win) { win.closeModal(); }
},
'Center' : {
color: 'green',
click: function(win) { win.centerModal(true); }
},
'Refresh' : {
color: 'blue',
click: function(win) { win.closeModal(); }
},
'Abort' : {
color: 'orange',
click: function(win) { win.closeModal(); }
}
},
buttons: {
'Close': {
classes: 'huge blue-gradient glossy full-width',
click: function(win) { win.closeModal(); }
}
},
buttonsLowPadding: true
});
};
// Demo alert
function openAlert()
{
$.modal.alert('This is an alert message', {
buttons: {
'Thanks, captain obvious': {
classes: 'huge blue-gradient glossy full-width',
click: function(win) { win.closeModal(); }
}
}
});
};
// Demo prompt
function openPrompt()
{
var cancelled = false;
$.modal.prompt('Please enter a value between 5 and 10:', function(value)
{
value = parseInt(value);
if (isNaN(value) || value < 5 || value > 10)
{
$(this).getModalContentBlock().message('Please enter a correct value', { append: false, classes: ['red-gradient'] });
return false;
}
$.modal.alert('Value: <strong>'+value+'</strong>');
}, function()
{
if (!cancelled)
{
$.modal.alert('Oh, come on....');
cancelled = true;
return false;
}
});
};
// Demo confirm
function openConfirm()
{
$.modal.confirm('Challenge accepted?', function()
{
$.modal.alert('Me gusta!');
}, function()
{
$.modal.alert('Meh.');
});
};
/*
* Agenda scrolling
* This example shows how to remotely control an agenda. most of the time, the built-in controls
* using headers work just fine
*/
// Days
var daysName = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
// Name display
agendaDay = $('#agenda-day'),
// Agenda scrolling
agenda = $('#agenda').scrollAgenda({
first: 2,
onRangeChange: function(start, end)
{
if (start != end)
{
agendaDay.text(daysName[start].substr(0, 3)+' - '+daysName[end].substr(0, 3));
}
else
{
agendaDay.text(daysName[start]);
}
}
});
// Remote controls
$('#agenda-previous').click(function(event)
{
event.preventDefault();
agenda.scrollAgendaToPrevious();
});
$('#agenda-today').click(function(event)
{
event.preventDefault();
agenda.scrollAgendaFirstColumn(2);
});
$('#agenda-next').click(function(event)
{
event.preventDefault();
agenda.scrollAgendaToNext();
});
// Demo loading modal
function openLoadingModal()
{
var timeout;
$.modal({
contentAlign: 'center',
width: 240,
title: 'Loading',
content: '<div style="line-height: 25px; padding: 0 0 10px"><span id="modal-status">Contacting server...</span><br><span id="modal-progress">0%</span></div>',
buttons: {},
scrolling: false,
actions: {
'Cancel': {
color: 'red',
click: function(win) { win.closeModal(); }
}
},
onOpen: function()
{
// Progress bar
var progress = $('#modal-progress').progress(100, {
size: 200,
style: 'large',
barClasses: ['anthracite-gradient', 'glossy'],
stripes: true,
darkStripes: false,
showValue: false
}),
// Loading state
loaded = 0,
// Window
win = $(this),
// Status text
status = $('#modal-status'),
// Function to simulate loading
simulateLoading = function()
{
++loaded;
progress.setProgressValue(loaded+'%', true);
if (loaded === 100)
{
progress.hideProgressStripes().changeProgressBarColor('green-gradient');
status.text('Done!');
/*win.getModalContentBlock().message('Content loaded!', {
classes: ['green-gradient', 'align-center'],
arrow: 'bottom'
});*/
setTimeout(function() { win.closeModal(); }, 1500);
}
else
{
if (loaded === 1)
{
status.text('Loading data...');
progress.changeProgressBarColor('blue-gradient');
}
else if (loaded === 25)
{
status.text('Loading assets (1/3)...');
}
else if (loaded === 45)
{
status.text('Loading assets (2/3)...');
}
else if (loaded === 85)
{
status.text('Loading assets (3/3)...');
}
else if (loaded === 92)
{
status.text('Initializing...');
}