HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
packages.php
Go to the documentation of this file.
1 <?php
12 return array(
13  'font-awesome' => array(
14  'baseUrl' => $this->enableCdn ? '//netdna.bootstrapcdn.com/font-awesome/4.1.0/' : $this->getAssetsUrl().'/font-awesome/',
15  'css' => array(($this->minify || $this->enableCdn) ? 'css/font-awesome.min.css' : 'css/font-awesome.css'),
16  ),
17  'bootstrap.js' => array(
18  'baseUrl' => $this->enableCdn ? '//netdna.bootstrapcdn.com/bootstrap/3.1.1/' : $this->getAssetsUrl() . '/bootstrap/',
19  'js' => array($this->minify ? 'js/bootstrap.min.js' : 'js/bootstrap.js'),
20  'depends' => array('jquery'),
21  ),
22  'bootstrap-yii' => array(
23  'baseUrl' => $this->getAssetsUrl(),
24  'css' => array('css/bootstrap-yii.css'),
25  ),
26  'jquery-css' => array(
27  'baseUrl' => $this->getAssetsUrl(),
28  'css' => array('css/jquery-ui-bootstrap.css'),
29  ),
30  'bootbox' => array(
31  'baseUrl' => $this->getAssetsUrl() . '/bootbox/',
32  'js' => array($this->minify ? 'bootbox.min.js' : 'bootbox.js'),
33  ),
34  'notify' => array(
35  'baseUrl' => $this->getAssetsUrl() . '/notify/',
36  'js' => array($this->minify ? 'notify.min.js' : 'notify.js')
37  ),
38  'bootstrap-noconflict' => array(
39  'baseUrl' => $this->getAssetsUrl(),
40  'js' => array('js/bootstrap-noconflict.js'),
41  'depends' => array('jquery'),
42  ),
43 
44  //widgets start
45  'ui-layout' => array(
46  'baseUrl' => $this->getAssetsUrl() . '/ui-layout/',
47  'css' => array('css/layout-default.css'),
48  'js' => array($this->minify ? 'js/jquery.layout.min.js' : 'js/jquery.layout.js'),
49  'depends' => array('jquery', 'jquery.ui'),
50  ),
51  'datepicker' => array(
52  'depends' => array('jquery'),
53  'baseUrl' => $this->enableCdn ? '//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.2.0/' : $this->getAssetsUrl() . '/bootstrap-datepicker/',
54  'css' => array('css/datepicker3.css'), // $this->minify ? 'css/datepicker.min.css' : 'css/datepicker.css'),
55  'js' => array($this->minify ? 'js/bootstrap-datepicker.min.js' : 'js/bootstrap-datepicker.js', 'js/bootstrap-datepicker-noconflict.js')
56  // ... the noconflict code is in its own file so we do not want to touch the original js files to ease upgrading lib
57  ),
58  'datetimepicker' => array(
59  'depends' => array('jquery'),
60  'baseUrl' => $this->getAssetsUrl() . '/bootstrap-datetimepicker/', // Not in CDN yet
61  'css' => array($this->minify ? 'css/bootstrap-datetimepicker.css' : 'css/bootstrap-datetimepicker.css'),
62  'js' => array($this->minify ? 'js/bootstrap-datetimepicker.min.js' : 'js/bootstrap-datetimepicker.js')
63  ),
64  'date' => array(
65  'baseUrl' => $this->enableCdn ? '//cdnjs.cloudflare.com/ajax/libs/datejs/1.0/' : $this->getAssetsUrl() . '/js/',
66  'js' => array('date.min.js')
67  ),
68  'colorpicker' => array(
69  'depends' => array('jquery'),
70  'baseUrl' => $this->getAssetsUrl() . '/bootstrap-colorpicker/',
71  'css' => array($this->minify ? 'css/bootstrap-colorpicker.min.css' : 'css/bootstrap-colorpicker.css'),
72  'js' => array($this->minify ? 'js/bootstrap-colorpicker.min.js' : 'js/bootstrap-colorpicker.js')
73  ),
74  'x-editable' => array(
75  'baseUrl' => $this->getAssetsUrl() . '/bootstrap-editable/',
76  'css' => array('css/bootstrap-editable.css'),
77  'js' => array($this->minify ? 'js/bootstrap-editable.min.js' : 'js/bootstrap-editable.js'),
78  'depends' => array('jquery','bootstrap.js', 'datepicker') /* this is to ensure that datepicker always come before editable */
79  ),
80  'moment' => array(
81  'baseUrl' => $this->getAssetsUrl(),
82  'js' => array('js/moment.min.js'),
83  ),
84  'picker' => array(
85  'baseUrl' => $this->getAssetsUrl() . '/picker',
86  'js' => array('bootstrap.picker.js'),
87  'css' => array('bootstrap.picker.css'),
88  'depends' => array('bootstrap.js')
89  ),
90  'bootstrap.wizard' => array(
91  'baseUrl' => $this->getAssetsUrl() . '/bootstrap-wizard',
92  'js' => array($this->minify ? 'jquery.bootstrap.wizard.min.js' : 'jquery.bootstrap.wizard.js')
93  ),
94  'ajax-cache' => array(
95  'baseUrl' => $this->getAssetsUrl() . '/ajax-cache',
96  'js' => array('jquery.ajax.cache.js'),
97  ),
98  'jqote2' => array(
99  'baseUrl' => $this->getAssetsUrl() . '/jqote2',
100  'js' => array('jquery.jqote2.min.js'),
101  ),
102  'json-grid-view' => array(
103  'baseUrl' => $this->getAssetsUrl() . '/json-grid-view',
104  'js' => array('jquery.json.yiigridview.js'),
105  'depends' => array('jquery', 'jqote2', 'ajax-cache')
106  ),
107  'group-grid-view' => array(
108  'baseUrl' => $this->getAssetsUrl() . '/group-grid-view',
109  'js' => array('jquery.group.yiigridview.js'),
110  'depends' => array('jquery', 'jqote2', 'ajax-cache')
111  ),
112  'redactor' => array(
113  'baseUrl' => $this->getAssetsUrl() . '/redactor',
114  'js' => array($this->minify ? 'redactor.min.js' : 'redactor.js'),
115  'css' => array('redactor.css'),
116  'depends' => array('jquery')
117  ),
118  'passfield' => array(
119  'depends' => array('jquery'),
120  'baseUrl' => $this->getAssetsUrl() . '/bootstrap-passfield', // Not in CDN yet
121  'css' => array($this->minify ? 'css/passfield.min.css' : 'css/passfield.min.css'),
122  'js' => array($this->minify ? 'js/passfield.min.js' : 'js/passfield.min.js')
123  ),
124  'timepicker' => array(
125  'baseUrl' => $this->getAssetsUrl() . '/bootstrap-timepicker',
126  'js' => array('js/bootstrap-timepicker.js'),
127  'css' => array($this->minify ? 'css/bootstrap-timepicker.min.css' : 'css/bootstrap-timepicker.css'),
128  'depends' => array('bootstrap.js')
129  ),
130  'ckeditor' => array(
131  'baseUrl' => $this->getAssetsUrl() . '/ckeditor',
132  'js' => array('ckeditor.js')
133  ),
134  'highcharts' => array(
135  'baseUrl' => $this->enableCdn ? '//code.highcharts.com' : $this->getAssetsUrl() . '/highcharts',
136  'js' => array($this->minify ? 'highcharts.js' : 'highcharts.src.js')
137  ),
138  'wysihtml5' => array(
139  'depends' => array('bootstrap.js'),
140  'baseUrl' => $this->getAssetsUrl() . '/bootstrap3-wysihtml5',
141  'css' => array('bootstrap-wysihtml5.css'),
142  'js' => array('wysihtml5-0.3.0.js', 'bootstrap3-wysihtml5.js'),
143  ),
144  'markdown' => array(
145  'depends' => array('bootstrap.js'),
146  'baseUrl' => $this->getAssetsUrl() . '/bootstrap-markdown',
147  'css' => array('css/bootstrap-markdown.min.css'),
148  'js' => array('js/bootstrap-markdown.js'),
149  ),
150  'switch' => array(
151  'depends' => array('bootstrap.js'),
152  'baseUrl' => $this->getAssetsUrl() . '/bootstrap-switch',
153  'css' => array($this->minify ? 'css/bootstrap3/bootstrap-switch.min.css' : 'css/bootstrap3/bootstrap-switch.css'),
154  'js' => array($this->minify ? 'js/bootstrap-switch.min.js' : 'js/bootstrap-switch.js'),
155  ),
156  'typeahead' => array(
157  'depends' => array('jquery'),
158  'baseUrl' => $this->getAssetsUrl() . '/typeahead',
159  'css' => array('css/typeahead.css'),
160  'js' => array($this->minify ? 'js/typeahead.bundle.min.js' : 'js/typeahead.bundle.js'),
161  ),
162  'bootstrap-tags' => array(
163  'depends' => array('jquery'),
164  'baseUrl' => $this->getAssetsUrl() . '/bootstrap-tags',
165  'css' => array('css/bootstrap-tags.css'),
166  'js' => array($this->minify ? 'js/bootstrap-tags.min.js' : 'js/bootstrap-tags.js'),
167  ),
168 );