-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.php
92 lines (88 loc) · 4.34 KB
/
script.php
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
<link href="admin/assets/styles.css" rel="stylesheet" media="screen">
<!--------------------------------------/.fluid-container-------------------------------------->
<link href="admin/vendors/easypiechart/jquery.easy-pie-chart.css" rel="stylesheet" media="screen">
<script src="admin/bootstrap/js/bootstrap.min.js"></script>
<script src="admin/vendors/easypiechart/jquery.easy-pie-chart.js"></script>
<script src="admin/assets/scripts.js"></script>
<script>
$(function() {
<!-----------------------Easy pie charts---------------------------------->
$('.chart').easyPieChart({animate: 1000});
});
</script>
<!------------------------------------- jgrowl-------------------------------------------- -->
<script src="admin/vendors/jGrowl/jquery.jgrowl.js"></script>
<script>
$(function() {
$('.tooltip').tooltip();
$('.tooltip-left').tooltip({ placement: 'left' });
$('.tooltip-right').tooltip({ placement: 'right' });
$('.tooltip-top').tooltip({ placement: 'top' });
$('.tooltip-bottom').tooltip({ placement: 'bottom' });
$('.popover-left').popover({placement: 'left', trigger: 'hover'});
$('.popover-right').popover({placement: 'right', trigger: 'hover'});
$('.popover-top').popover({placement: 'top', trigger: 'hover'});
$('.popover-bottom').popover({placement: 'bottom', trigger: 'hover'});
$('.notification').click(function() {
var $id = $(this).attr('id');
switch($id) {
case 'notification-sticky':
$.jGrowl("Stick this!", { sticky: true });
break;
case 'notification-header':
$.jGrowl("A message with a header", { header: 'Important' });
break;
default:
$.jGrowl("Hello world!");
break;
}
});
});
</script>
<link href="admin/vendors/datepicker.css" rel="stylesheet" media="screen">
<link href="admin/vendors/uniform.default.css" rel="stylesheet" media="screen">
<link href="admin/vendors/chosen.min.css" rel="stylesheet" media="screen">
<!-- -->
<script src="admin/vendors/jquery.uniform.min.js"></script>
<script src="admin/vendors/chosen.jquery.min.js"></script>
<script src="admin/vendors/bootstrap-datepicker.js"></script>
<!-- -->
<script src="admin/vendors/bootstrap-wysihtml5/lib/js/wysihtml5-0.3.0.js"></script>
<script src="admin/vendors/bootstrap-wysihtml5/src/bootstrap-wysihtml5.js"></script>
<script src="admin/vendors/ckeditor/ckeditor.js"></script>
<script src="admin/vendors/ckeditor/adapters/jquery.js"></script>
<script type="text/javascript" src="admin/vendors/tinymce/js/tinymce/tinymce.min.js"></script>
<script>
$(function() {
<!-------------------------------Ckeditor standard-------------------------------------->
$( 'textarea#ckeditor_standard' ).ckeditor({width:'98%', height: '150px', toolbar: [
{ name: 'document', items: [ 'Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] }, // Defines toolbar group with name (used to create voice label) and items in 3 subgroups.
[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ], // Defines toolbar group without name.
{ name: 'basicstyles', items: [ 'Bold', 'Italic' ] }
]});
$( 'textarea#ckeditor_full' ).ckeditor({width:'98%', height: '150px'});
});
</script>
<!-- ----------<script type="text/javascript" src="admin/assets/modernizr.custom.86080.js"></script> ------------------------->
<script src="admin/assets/jquery.hoverdir.js"></script>
<link rel="stylesheet" type="text/css" href="admin/assets//style.css" />
<script type="text/javascript">
$(function() {
$('#da-thumbs > li').hoverdir();
});
</script>
<script src="admin/vendors/fullcalendar/fullcalendar.js"></script>
<script src="admin/vendors/fullcalendar/gcal.js"></script>
<link href="admin/vendors/datepicker.css" rel="stylesheet" media="screen">
<script src="admin/vendors/bootstrap-datepicker.js"></script>
<script>
$(function() {
$(".datepicker").datepicker();
$(".uniform_on").uniform();
$(".chzn-select").chosen();
$('#rootwizard .finish').click(function() {
alert('Finished!, Starting over!');
$('#rootwizard').find("a[href*='tab1']").trigger('click');
});
});
</script>