손장민

ResourceFile added

Showing 171 changed files with 4962 additions and 2 deletions
1 +The MIT License (MIT)
2 +
3 +Copyright (c) 2013-2017 Blackrock Digital LLC
4 +
5 +Permission is hereby granted, free of charge, to any person obtaining a copy
6 +of this software and associated documentation files (the "Software"), to deal
7 +in the Software without restriction, including without limitation the rights
8 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 +copies of the Software, and to permit persons to whom the Software is
10 +furnished to do so, subject to the following conditions:
11 +
12 +The above copyright notice and this permission notice shall be included in
13 +all copies or substantial portions of the Software.
14 +
15 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 +THE SOFTWARE.
...\ No newline at end of file ...\ No newline at end of file
1 +# [Start Bootstrap](http://startbootstrap.com/) - [SB Admin 2](http://startbootstrap.com/template-overviews/sb-admin-2/)
2 +[![CDNJS](https://img.shields.io/cdnjs/v/startbootstrap-sb-admin-2.svg)](https://cdnjs.com/libraries/startbootstrap-sb-admin-2)
3 +
4 +[SB Admin 2](http://startbootstrap.com/template-overviews/sb-admin-2/) is an open source, admin dashboard template for [Bootstrap](http://getbootstrap.com/) created by [Start Bootstrap](http://startbootstrap.com/).
5 +
6 +## Getting Started
7 +
8 +To begin using this template, choose one of the following options to get started:
9 +* [Download the latest release on Start Bootstrap](http://startbootstrap.com/template-overviews/sb-admin-2/)
10 +* Clone the repo: `git clone https://github.com/BlackrockDigital/startbootstrap-sb-admin-2.git`
11 +* Fork the repo
12 +
13 +## Using the Source Files
14 +
15 +After cloning the repo take a look at the `gulpfile.js` and check out the tasks available:
16 +* `gulp` The default task will compile the LESS and JS into the `dist` directory and minify the output, and it will copy all vendor libraries from `bower_components` into the `vendor` directory
17 +* `gulp dev` The dev task will serve up a local version of the template and will watch the LESS, JS, and HTML files for changes and reload the browser windo automatically
18 +
19 +To update dependencies, run `bower update` and then run `gulp copy` to copy the updated dependencies into the `vendor` directory
20 +
21 +## Bugs and Issues
22 +
23 +Have a bug or an issue with this template? [Open a new issue](https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/issues) here on GitHub or leave a comment on the [template overview page at Start Bootstrap](http://startbootstrap.com/template-overviews/sb-admin-2/).
24 +
25 +## Creator
26 +
27 +Start Bootstrap was created by and is maintained by **[David Miller](http://davidmiller.io/)**, Owner of [Blackrock Digital](http://blackrockdigital.io/).
28 +
29 +* https://twitter.com/davidmillerskt
30 +* https://github.com/davidtmiller
31 +
32 +Start Bootstrap is based on the [Bootstrap](http://getbootstrap.com/) framework created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thorton](https://twitter.com/fat).
33 +
34 +## Copyright and License
35 +
36 +Copyright 2013-2016 Blackrock Digital LLC. Code released under the [MIT](https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/blob/gh-pages/LICENSE) license.
1 +'use strict';
2 +
3 +var express = require('express'),
4 + bodyParser = require('body-parser'),
5 + Realm = require('realm');
6 +
7 +var app = express();
8 +
9 +let PostSchema = {
10 + name: 'Post',
11 + properties: {
12 + timestamp: 'date',
13 + title: 'string',
14 + content: 'string'
15 + }
16 +};
17 +
18 +var blogRealm = new Realm({
19 + path: 'blog.realm',
20 + schema: [PostSchema]
21 +});
22 +
23 +app.use(bodyParser.urlencoded({extended: true}));
24 +
25 +app.get('/', function(req, res) {
26 +// res.sendFile(__dirname + "/index.html");
27 + // let posts = blogRealm.objects('Post').sorted('timestamp', true);
28 + // res.render('index2.ejs',{posts: posts});
29 + res.sendFile(__dirname+"/pages/index.html");
30 +});
31 +
32 +app.get('/login', function(req, res) {
33 +// res.sendFile(__dirname + "/write.html");
34 +res.sendFile(__dirname+"/pages/login.html");
35 +});
36 +
37 +app.post('/write', function(req, res) {
38 + let title = req.body['title'],
39 + content = req.body['content'],
40 + timestamp = new Date();
41 + blogRealm.write(() => {
42 + blogRealm.create('Post', {title: title, content: content, timestamp: timestamp});
43 + });
44 + res.sendFile(__dirname + "/write-complete.html");
45 +});
46 +
47 +app.listen(3000, function() {
48 + console.log("Go!");
49 +});
No preview for this file type
No preview for this file type
1 +{
2 + "name": "startbootstrap-sb-admin-2",
3 + "homepage": "http://startbootstrap.com/template-overviews/sb-admin-2/",
4 + "version": "3.3.7+1",
5 + "authors": [
6 + "David Miller"
7 + ],
8 + "description": "A free, open source, Bootstrap admin theme created by Start Bootstrap",
9 + "keywords": [
10 + "bootstrap",
11 + "theme"
12 + ],
13 + "license": "MIT",
14 + "ignore": [
15 + "**/.*",
16 + "node_modules",
17 + "bower_components",
18 + "test",
19 + "tests",
20 + "pages",
21 + "index.html",
22 + "/js"
23 + ],
24 + "main": [
25 + "dist/css/sb-admin-2.css",
26 + "dist/css/sb-admin-2.min.css",
27 + "dist/js/sb-admin-2.js",
28 + "dist/js/sb-admin-2.min.js"
29 + ],
30 + "dependencies": {
31 + "bootstrap": "~3.3.7",
32 + "datatables": "~1.10.4",
33 + "datatables-plugins": "~1.0.1",
34 + "flot": "~0.8.3",
35 + "font-awesome": "~4.6.3",
36 + "holderjs": "~2.4.1",
37 + "metisMenu": "~1.1.3",
38 + "morrisjs": "~0.5.1",
39 + "datatables-responsive": "1.0.6",
40 + "bootstrap-social": "~4.8.0",
41 + "flot.tooltip": "~0.8.4"
42 + },
43 + "resolutions": {
44 + "font-awesome": "~4.6.3"
45 + }
46 +}
This diff is collapsed. Click to expand it.
1 +$(function() {
2 +
3 + Morris.Area({
4 + element: 'morris-area-chart',
5 + data: [{
6 + period: '2010 Q1',
7 + iphone: 2666,
8 + ipad: null,
9 + itouch: 2647
10 + }, {
11 + period: '2010 Q2',
12 + iphone: 2778,
13 + ipad: 2294,
14 + itouch: 2441
15 + }, {
16 + period: '2010 Q3',
17 + iphone: 4912,
18 + ipad: 1969,
19 + itouch: 2501
20 + }, {
21 + period: '2010 Q4',
22 + iphone: 3767,
23 + ipad: 3597,
24 + itouch: 5689
25 + }, {
26 + period: '2011 Q1',
27 + iphone: 6810,
28 + ipad: 1914,
29 + itouch: 2293
30 + }, {
31 + period: '2011 Q2',
32 + iphone: 5670,
33 + ipad: 4293,
34 + itouch: 1881
35 + }, {
36 + period: '2011 Q3',
37 + iphone: 4820,
38 + ipad: 3795,
39 + itouch: 1588
40 + }, {
41 + period: '2011 Q4',
42 + iphone: 15073,
43 + ipad: 5967,
44 + itouch: 5175
45 + }, {
46 + period: '2012 Q1',
47 + iphone: 10687,
48 + ipad: 4460,
49 + itouch: 2028
50 + }, {
51 + period: '2012 Q2',
52 + iphone: 8432,
53 + ipad: 5713,
54 + itouch: 1791
55 + }],
56 + xkey: 'period',
57 + ykeys: ['iphone', 'ipad', 'itouch'],
58 + labels: ['iPhone', 'iPad', 'iPod Touch'],
59 + pointSize: 2,
60 + hideHover: 'auto',
61 + resize: true
62 + });
63 +
64 + Morris.Donut({
65 + element: 'morris-donut-chart',
66 + data: [{
67 + label: "Download Sales",
68 + value: 12
69 + }, {
70 + label: "In-Store Sales",
71 + value: 30
72 + }, {
73 + label: "Mail-Order Sales",
74 + value: 20
75 + }],
76 + resize: true
77 + });
78 +
79 + Morris.Bar({
80 + element: 'morris-bar-chart',
81 + data: [{
82 + y: '2006',
83 + a: 100,
84 + b: 90
85 + }, {
86 + y: '2007',
87 + a: 75,
88 + b: 65
89 + }, {
90 + y: '2008',
91 + a: 50,
92 + b: 40
93 + }, {
94 + y: '2009',
95 + a: 75,
96 + b: 65
97 + }, {
98 + y: '2010',
99 + a: 50,
100 + b: 40
101 + }, {
102 + y: '2011',
103 + a: 75,
104 + b: 65
105 + }, {
106 + y: '2012',
107 + a: 100,
108 + b: 90
109 + }],
110 + xkey: 'y',
111 + ykeys: ['a', 'b'],
112 + labels: ['Series A', 'Series B'],
113 + hideHover: 'auto',
114 + resize: true
115 + });
116 +
117 +});
1 +/*!
2 + * Start Bootstrap - SB Admin 2 v3.3.7+1 (http://startbootstrap.com/template-overviews/sb-admin-2)
3 + * Copyright 2013-2016 Start Bootstrap
4 + * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
5 + */
6 +body {
7 + background-color: #f8f8f8;
8 +}
9 +#wrapper {
10 + width: 100%;
11 +}
12 +#page-wrapper {
13 + padding: 0 15px;
14 + min-height: 568px;
15 + background-color: white;
16 +}
17 +@media (min-width: 768px) {
18 + #page-wrapper {
19 + position: inherit;
20 + margin: 0 0 0 250px;
21 + padding: 0 30px;
22 + border-left: 1px solid #e7e7e7;
23 + }
24 +}
25 +.navbar-top-links {
26 + margin-right: 0;
27 +}
28 +.navbar-top-links li {
29 + display: inline-block;
30 +}
31 +.navbar-top-links li:last-child {
32 + margin-right: 15px;
33 +}
34 +.navbar-top-links li a {
35 + padding: 15px;
36 + min-height: 50px;
37 +}
38 +.navbar-top-links .dropdown-menu li {
39 + display: block;
40 +}
41 +.navbar-top-links .dropdown-menu li:last-child {
42 + margin-right: 0;
43 +}
44 +.navbar-top-links .dropdown-menu li a {
45 + padding: 3px 20px;
46 + min-height: 0;
47 +}
48 +.navbar-top-links .dropdown-menu li a div {
49 + white-space: normal;
50 +}
51 +.navbar-top-links .dropdown-messages,
52 +.navbar-top-links .dropdown-tasks,
53 +.navbar-top-links .dropdown-alerts {
54 + width: 310px;
55 + min-width: 0;
56 +}
57 +.navbar-top-links .dropdown-messages {
58 + margin-left: 5px;
59 +}
60 +.navbar-top-links .dropdown-tasks {
61 + margin-left: -59px;
62 +}
63 +.navbar-top-links .dropdown-alerts {
64 + margin-left: -123px;
65 +}
66 +.navbar-top-links .dropdown-user {
67 + right: 0;
68 + left: auto;
69 +}
70 +.sidebar .sidebar-nav.navbar-collapse {
71 + padding-left: 0;
72 + padding-right: 0;
73 +}
74 +.sidebar .sidebar-search {
75 + padding: 15px;
76 +}
77 +.sidebar ul li {
78 + border-bottom: 1px solid #e7e7e7;
79 +}
80 +.sidebar ul li a.active {
81 + background-color: #eeeeee;
82 +}
83 +.sidebar .arrow {
84 + float: right;
85 +}
86 +.sidebar .fa.arrow:before {
87 + content: "\f104";
88 +}
89 +.sidebar .active > a > .fa.arrow:before {
90 + content: "\f107";
91 +}
92 +.sidebar .nav-second-level li,
93 +.sidebar .nav-third-level li {
94 + border-bottom: none !important;
95 +}
96 +.sidebar .nav-second-level li a {
97 + padding-left: 37px;
98 +}
99 +.sidebar .nav-third-level li a {
100 + padding-left: 52px;
101 +}
102 +@media (min-width: 768px) {
103 + .sidebar {
104 + z-index: 1;
105 + position: absolute;
106 + width: 250px;
107 + margin-top: 51px;
108 + }
109 + .navbar-top-links .dropdown-messages,
110 + .navbar-top-links .dropdown-tasks,
111 + .navbar-top-links .dropdown-alerts {
112 + margin-left: auto;
113 + }
114 +}
115 +.btn-outline {
116 + color: inherit;
117 + background-color: transparent;
118 + transition: all .5s;
119 +}
120 +.btn-primary.btn-outline {
121 + color: #428bca;
122 +}
123 +.btn-success.btn-outline {
124 + color: #5cb85c;
125 +}
126 +.btn-info.btn-outline {
127 + color: #5bc0de;
128 +}
129 +.btn-warning.btn-outline {
130 + color: #f0ad4e;
131 +}
132 +.btn-danger.btn-outline {
133 + color: #d9534f;
134 +}
135 +.btn-primary.btn-outline:hover,
136 +.btn-success.btn-outline:hover,
137 +.btn-info.btn-outline:hover,
138 +.btn-warning.btn-outline:hover,
139 +.btn-danger.btn-outline:hover {
140 + color: white;
141 +}
142 +.chat {
143 + margin: 0;
144 + padding: 0;
145 + list-style: none;
146 +}
147 +.chat li {
148 + margin-bottom: 10px;
149 + padding-bottom: 5px;
150 + border-bottom: 1px dotted #999999;
151 +}
152 +.chat li.left .chat-body {
153 + margin-left: 60px;
154 +}
155 +.chat li.right .chat-body {
156 + margin-right: 60px;
157 +}
158 +.chat li .chat-body p {
159 + margin: 0;
160 +}
161 +.panel .slidedown .glyphicon,
162 +.chat .glyphicon {
163 + margin-right: 5px;
164 +}
165 +.chat-panel .panel-body {
166 + height: 350px;
167 + overflow-y: scroll;
168 +}
169 +.login-panel {
170 + margin-top: 25%;
171 +}
172 +.flot-chart {
173 + display: block;
174 + height: 400px;
175 +}
176 +.flot-chart-content {
177 + width: 100%;
178 + height: 100%;
179 +}
180 +table.dataTable thead .sorting,
181 +table.dataTable thead .sorting_asc,
182 +table.dataTable thead .sorting_desc,
183 +table.dataTable thead .sorting_asc_disabled,
184 +table.dataTable thead .sorting_desc_disabled {
185 + background: transparent;
186 +}
187 +table.dataTable thead .sorting_asc:after {
188 + content: "\f0de";
189 + float: right;
190 + font-family: fontawesome;
191 +}
192 +table.dataTable thead .sorting_desc:after {
193 + content: "\f0dd";
194 + float: right;
195 + font-family: fontawesome;
196 +}
197 +table.dataTable thead .sorting:after {
198 + content: "\f0dc";
199 + float: right;
200 + font-family: fontawesome;
201 + color: rgba(50, 50, 50, 0.5);
202 +}
203 +.btn-circle {
204 + width: 30px;
205 + height: 30px;
206 + padding: 6px 0;
207 + border-radius: 15px;
208 + text-align: center;
209 + font-size: 12px;
210 + line-height: 1.428571429;
211 +}
212 +.btn-circle.btn-lg {
213 + width: 50px;
214 + height: 50px;
215 + padding: 10px 16px;
216 + border-radius: 25px;
217 + font-size: 18px;
218 + line-height: 1.33;
219 +}
220 +.btn-circle.btn-xl {
221 + width: 70px;
222 + height: 70px;
223 + padding: 10px 16px;
224 + border-radius: 35px;
225 + font-size: 24px;
226 + line-height: 1.33;
227 +}
228 +.show-grid [class^="col-"] {
229 + padding-top: 10px;
230 + padding-bottom: 10px;
231 + border: 1px solid #ddd;
232 + background-color: #eee !important;
233 +}
234 +.show-grid {
235 + margin: 15px 0;
236 +}
237 +.huge {
238 + font-size: 40px;
239 +}
240 +.panel-green {
241 + border-color: #5cb85c;
242 +}
243 +.panel-green > .panel-heading {
244 + border-color: #5cb85c;
245 + color: white;
246 + background-color: #5cb85c;
247 +}
248 +.panel-green > a {
249 + color: #5cb85c;
250 +}
251 +.panel-green > a:hover {
252 + color: #3d8b3d;
253 +}
254 +.panel-red {
255 + border-color: #d9534f;
256 +}
257 +.panel-red > .panel-heading {
258 + border-color: #d9534f;
259 + color: white;
260 + background-color: #d9534f;
261 +}
262 +.panel-red > a {
263 + color: #d9534f;
264 +}
265 +.panel-red > a:hover {
266 + color: #b52b27;
267 +}
268 +.panel-yellow {
269 + border-color: #f0ad4e;
270 +}
271 +.panel-yellow > .panel-heading {
272 + border-color: #f0ad4e;
273 + color: white;
274 + background-color: #f0ad4e;
275 +}
276 +.panel-yellow > a {
277 + color: #f0ad4e;
278 +}
279 +.panel-yellow > a:hover {
280 + color: #df8a13;
281 +}
282 +.timeline {
283 + position: relative;
284 + padding: 20px 0 20px;
285 + list-style: none;
286 +}
287 +.timeline:before {
288 + content: " ";
289 + position: absolute;
290 + top: 0;
291 + bottom: 0;
292 + left: 50%;
293 + width: 3px;
294 + margin-left: -1.5px;
295 + background-color: #eeeeee;
296 +}
297 +.timeline > li {
298 + position: relative;
299 + margin-bottom: 20px;
300 +}
301 +.timeline > li:before,
302 +.timeline > li:after {
303 + content: " ";
304 + display: table;
305 +}
306 +.timeline > li:after {
307 + clear: both;
308 +}
309 +.timeline > li:before,
310 +.timeline > li:after {
311 + content: " ";
312 + display: table;
313 +}
314 +.timeline > li:after {
315 + clear: both;
316 +}
317 +.timeline > li > .timeline-panel {
318 + float: left;
319 + position: relative;
320 + width: 46%;
321 + padding: 20px;
322 + border: 1px solid #d4d4d4;
323 + border-radius: 2px;
324 + -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
325 + box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
326 +}
327 +.timeline > li > .timeline-panel:before {
328 + content: " ";
329 + display: inline-block;
330 + position: absolute;
331 + top: 26px;
332 + right: -15px;
333 + border-top: 15px solid transparent;
334 + border-right: 0 solid #ccc;
335 + border-bottom: 15px solid transparent;
336 + border-left: 15px solid #ccc;
337 +}
338 +.timeline > li > .timeline-panel:after {
339 + content: " ";
340 + display: inline-block;
341 + position: absolute;
342 + top: 27px;
343 + right: -14px;
344 + border-top: 14px solid transparent;
345 + border-right: 0 solid #fff;
346 + border-bottom: 14px solid transparent;
347 + border-left: 14px solid #fff;
348 +}
349 +.timeline > li > .timeline-badge {
350 + z-index: 100;
351 + position: absolute;
352 + top: 16px;
353 + left: 50%;
354 + width: 50px;
355 + height: 50px;
356 + margin-left: -25px;
357 + border-radius: 50% 50% 50% 50%;
358 + text-align: center;
359 + font-size: 1.4em;
360 + line-height: 50px;
361 + color: #fff;
362 + background-color: #999999;
363 +}
364 +.timeline > li.timeline-inverted > .timeline-panel {
365 + float: right;
366 +}
367 +.timeline > li.timeline-inverted > .timeline-panel:before {
368 + right: auto;
369 + left: -15px;
370 + border-right-width: 15px;
371 + border-left-width: 0;
372 +}
373 +.timeline > li.timeline-inverted > .timeline-panel:after {
374 + right: auto;
375 + left: -14px;
376 + border-right-width: 14px;
377 + border-left-width: 0;
378 +}
379 +.timeline-badge.primary {
380 + background-color: #2e6da4 !important;
381 +}
382 +.timeline-badge.success {
383 + background-color: #3f903f !important;
384 +}
385 +.timeline-badge.warning {
386 + background-color: #f0ad4e !important;
387 +}
388 +.timeline-badge.danger {
389 + background-color: #d9534f !important;
390 +}
391 +.timeline-badge.info {
392 + background-color: #5bc0de !important;
393 +}
394 +.timeline-title {
395 + margin-top: 0;
396 + color: inherit;
397 +}
398 +.timeline-body > p,
399 +.timeline-body > ul {
400 + margin-bottom: 0;
401 +}
402 +.timeline-body > p + p {
403 + margin-top: 5px;
404 +}
405 +@media (max-width: 767px) {
406 + ul.timeline:before {
407 + left: 40px;
408 + }
409 + ul.timeline > li > .timeline-panel {
410 + width: calc(10%);
411 + width: -moz-calc(10%);
412 + width: -webkit-calc(10%);
413 + }
414 + ul.timeline > li > .timeline-badge {
415 + top: 16px;
416 + left: 15px;
417 + margin-left: 0;
418 + }
419 + ul.timeline > li > .timeline-panel {
420 + float: right;
421 + }
422 + ul.timeline > li > .timeline-panel:before {
423 + right: auto;
424 + left: -15px;
425 + border-right-width: 15px;
426 + border-left-width: 0;
427 + }
428 + ul.timeline > li > .timeline-panel:after {
429 + right: auto;
430 + left: -14px;
431 + border-right-width: 14px;
432 + border-left-width: 0;
433 + }
434 +}
1 +/*!
2 + * Start Bootstrap - SB Admin 2 v3.3.7+1 (http://startbootstrap.com/template-overviews/sb-admin-2)
3 + * Copyright 2013-2016 Start Bootstrap
4 + * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
5 + */.chat,.timeline{list-style:none}body{background-color:#f8f8f8}#wrapper{width:100%}#page-wrapper{padding:0 15px;min-height:568px;background-color:#fff}@media (min-width:768px){#page-wrapper{position:inherit;margin:0 0 0 250px;padding:0 30px;border-left:1px solid #e7e7e7}}.navbar-top-links{margin-right:0}.navbar-top-links li{display:inline-block}.flot-chart,.navbar-top-links .dropdown-menu li{display:block}.navbar-top-links li:last-child{margin-right:15px}.navbar-top-links li a{padding:15px;min-height:50px}.navbar-top-links .dropdown-menu li:last-child{margin-right:0}.navbar-top-links .dropdown-menu li a{padding:3px 20px;min-height:0}.navbar-top-links .dropdown-menu li a div{white-space:normal}.navbar-top-links .dropdown-alerts,.navbar-top-links .dropdown-messages,.navbar-top-links .dropdown-tasks{width:310px;min-width:0}.navbar-top-links .dropdown-messages{margin-left:5px}.navbar-top-links .dropdown-tasks{margin-left:-59px}.navbar-top-links .dropdown-alerts{margin-left:-123px}.navbar-top-links .dropdown-user{right:0;left:auto}.sidebar .sidebar-nav.navbar-collapse{padding-left:0;padding-right:0}.sidebar .sidebar-search{padding:15px}.sidebar ul li{border-bottom:1px solid #e7e7e7}.sidebar ul li a.active{background-color:#eee}.sidebar .arrow{float:right}.sidebar .fa.arrow:before{content:"\f104"}.sidebar .active>a>.fa.arrow:before{content:"\f107"}.sidebar .nav-second-level li,.sidebar .nav-third-level li{border-bottom:none!important}.sidebar .nav-second-level li a{padding-left:37px}.sidebar .nav-third-level li a{padding-left:52px}@media (min-width:768px){.sidebar{z-index:1;position:absolute;width:250px;margin-top:51px}.navbar-top-links .dropdown-alerts,.navbar-top-links .dropdown-messages,.navbar-top-links .dropdown-tasks{margin-left:auto}}.btn-outline{color:inherit;background-color:transparent;transition:all .5s}.btn-primary.btn-outline{color:#428bca}.btn-success.btn-outline{color:#5cb85c}.btn-info.btn-outline{color:#5bc0de}.btn-warning.btn-outline{color:#f0ad4e}.btn-danger.btn-outline{color:#d9534f}.btn-danger.btn-outline:hover,.btn-info.btn-outline:hover,.btn-primary.btn-outline:hover,.btn-success.btn-outline:hover,.btn-warning.btn-outline:hover{color:#fff}.chat{margin:0;padding:0}.chat li{margin-bottom:10px;padding-bottom:5px;border-bottom:1px dotted #999}.chat li.left .chat-body{margin-left:60px}.chat li.right .chat-body{margin-right:60px}.chat li .chat-body p{margin:0}.chat .glyphicon,.panel .slidedown .glyphicon{margin-right:5px}.chat-panel .panel-body{height:350px;overflow-y:scroll}.login-panel{margin-top:25%}.flot-chart{height:400px}.flot-chart-content{width:100%;height:100%}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_desc_disabled{background:0 0}table.dataTable thead .sorting_asc:after{content:"\f0de";float:right;font-family:fontawesome}table.dataTable thead .sorting_desc:after{content:"\f0dd";float:right;font-family:fontawesome}table.dataTable thead .sorting:after{content:"\f0dc";float:right;font-family:fontawesome;color:rgba(50,50,50,.5)}.btn-circle{width:30px;height:30px;padding:6px 0;border-radius:15px;text-align:center;font-size:12px;line-height:1.428571429}.btn-circle.btn-lg{width:50px;height:50px;padding:10px 16px;border-radius:25px;font-size:18px;line-height:1.33}.btn-circle.btn-xl{width:70px;height:70px;padding:10px 16px;border-radius:35px;font-size:24px;line-height:1.33}.show-grid [class^=col-]{padding-top:10px;padding-bottom:10px;border:1px solid #ddd;background-color:#eee!important}.show-grid{margin:15px 0}.huge{font-size:40px}.panel-green{border-color:#5cb85c}.panel-green>.panel-heading{border-color:#5cb85c;color:#fff;background-color:#5cb85c}.panel-green>a{color:#5cb85c}.panel-green>a:hover{color:#3d8b3d}.panel-red{border-color:#d9534f}.panel-red>.panel-heading{border-color:#d9534f;color:#fff;background-color:#d9534f}.panel-red>a{color:#d9534f}.panel-red>a:hover{color:#b52b27}.panel-yellow{border-color:#f0ad4e}.panel-yellow>.panel-heading{border-color:#f0ad4e;color:#fff;background-color:#f0ad4e}.panel-yellow>a{color:#f0ad4e}.panel-yellow>a:hover{color:#df8a13}.timeline{position:relative;padding:20px 0}.timeline:before{content:" ";position:absolute;top:0;bottom:0;left:50%;width:3px;margin-left:-1.5px;background-color:#eee}.timeline>li{position:relative;margin-bottom:20px}.timeline>li:after,.timeline>li:before{content:" ";display:table}.timeline>li:after{clear:both}.timeline>li>.timeline-panel{float:left;position:relative;width:46%;padding:20px;border:1px solid #d4d4d4;border-radius:2px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.175);box-shadow:0 1px 6px rgba(0,0,0,.175)}.timeline>li>.timeline-panel:before{content:" ";display:inline-block;position:absolute;top:26px;right:-15px;border-top:15px solid transparent;border-right:0 solid #ccc;border-bottom:15px solid transparent;border-left:15px solid #ccc}.timeline>li>.timeline-panel:after{content:" ";display:inline-block;position:absolute;top:27px;right:-14px;border-top:14px solid transparent;border-right:0 solid #fff;border-bottom:14px solid transparent;border-left:14px solid #fff}.timeline>li>.timeline-badge{z-index:100;position:absolute;top:16px;left:50%;width:50px;height:50px;margin-left:-25px;border-radius:50%;text-align:center;font-size:1.4em;line-height:50px;color:#fff;background-color:#999}.timeline>li.timeline-inverted>.timeline-panel{float:right}.timeline>li.timeline-inverted>.timeline-panel:before{right:auto;left:-15px;border-right-width:15px;border-left-width:0}.timeline>li.timeline-inverted>.timeline-panel:after{right:auto;left:-14px;border-right-width:14px;border-left-width:0}.timeline-badge.primary{background-color:#2e6da4!important}.timeline-badge.success{background-color:#3f903f!important}.timeline-badge.warning{background-color:#f0ad4e!important}.timeline-badge.danger{background-color:#d9534f!important}.timeline-badge.info{background-color:#5bc0de!important}.timeline-title{margin-top:0;color:inherit}.timeline-body>p,.timeline-body>ul{margin-bottom:0}.timeline-body>p+p{margin-top:5px}@media (max-width:767px){ul.timeline:before{left:40px}ul.timeline>li>.timeline-panel{width:calc(10%);width:-moz-calc(10%);width:-webkit-calc(10%);float:right}ul.timeline>li>.timeline-badge{top:16px;left:15px;margin-left:0}ul.timeline>li>.timeline-panel:before{right:auto;left:-15px;border-right-width:15px;border-left-width:0}ul.timeline>li>.timeline-panel:after{right:auto;left:-14px;border-right-width:14px;border-left-width:0}}
...\ No newline at end of file ...\ No newline at end of file
1 +/*!
2 + * Start Bootstrap - SB Admin 2 v3.3.7+1 (http://startbootstrap.com/template-overviews/sb-admin-2)
3 + * Copyright 2013-2016 Start Bootstrap
4 + * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
5 + */
6 +$(function() {
7 + $('#side-menu').metisMenu();
8 +});
9 +
10 +//Loads the correct sidebar on window load,
11 +//collapses the sidebar on window resize.
12 +// Sets the min-height of #page-wrapper to window size
13 +$(function() {
14 + $(window).bind("load resize", function() {
15 + var topOffset = 50;
16 + var width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width;
17 + if (width < 768) {
18 + $('div.navbar-collapse').addClass('collapse');
19 + topOffset = 100; // 2-row-menu
20 + } else {
21 + $('div.navbar-collapse').removeClass('collapse');
22 + }
23 +
24 + var height = ((this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height) - 1;
25 + height = height - topOffset;
26 + if (height < 1) height = 1;
27 + if (height > topOffset) {
28 + $("#page-wrapper").css("min-height", (height) + "px");
29 + }
30 + });
31 +
32 + var url = window.location;
33 + // var element = $('ul.nav a').filter(function() {
34 + // return this.href == url;
35 + // }).addClass('active').parent().parent().addClass('in').parent();
36 + var element = $('ul.nav a').filter(function() {
37 + return this.href == url;
38 + }).addClass('active').parent();
39 +
40 + while (true) {
41 + if (element.is('li')) {
42 + element = element.parent().addClass('in').parent();
43 + } else {
44 + break;
45 + }
46 + }
47 +});
1 +/*!
2 + * Start Bootstrap - SB Admin 2 v3.3.7+1 (http://startbootstrap.com/template-overviews/sb-admin-2)
3 + * Copyright 2013-2016 Start Bootstrap
4 + * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
5 + */
6 +$(function(){$("#side-menu").metisMenu()}),$(function(){$(window).bind("load resize",function(){var i=50,n=this.window.innerWidth>0?this.window.innerWidth:this.screen.width;n<768?($("div.navbar-collapse").addClass("collapse"),i=100):$("div.navbar-collapse").removeClass("collapse");var e=(this.window.innerHeight>0?this.window.innerHeight:this.screen.height)-1;e-=i,e<1&&(e=1),e>i&&$("#page-wrapper").css("min-height",e+"px")});for(var i=window.location,n=$("ul.nav a").filter(function(){return this.href==i}).addClass("active").parent();;){if(!n.is("li"))break;n=n.parent().addClass("in").parent()}});
...\ No newline at end of file ...\ No newline at end of file
1 +var gulp = require('gulp');
2 +var less = require('gulp-less');
3 +var browserSync = require('browser-sync').create();
4 +var header = require('gulp-header');
5 +var cleanCSS = require('gulp-clean-css');
6 +var rename = require("gulp-rename");
7 +var uglify = require('gulp-uglify');
8 +var pkg = require('./package.json');
9 +
10 +// Set the banner content
11 +var banner = ['/*!\n',
12 + ' * Start Bootstrap - <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n',
13 + ' * Copyright 2013-' + (new Date()).getFullYear(), ' <%= pkg.author %>\n',
14 + ' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n',
15 + ' */\n',
16 + ''
17 +].join('');
18 +
19 +// Compile LESS files from /less into /css
20 +gulp.task('less', function() {
21 + return gulp.src('less/sb-admin-2.less')
22 + .pipe(less())
23 + .pipe(header(banner, { pkg: pkg }))
24 + .pipe(gulp.dest('dist/css'))
25 + .pipe(browserSync.reload({
26 + stream: true
27 + }))
28 +});
29 +
30 +// Minify compiled CSS
31 +gulp.task('minify-css', ['less'], function() {
32 + return gulp.src('dist/css/sb-admin-2.css')
33 + .pipe(cleanCSS({ compatibility: 'ie8' }))
34 + .pipe(rename({ suffix: '.min' }))
35 + .pipe(gulp.dest('dist/css'))
36 + .pipe(browserSync.reload({
37 + stream: true
38 + }))
39 +});
40 +
41 +// Copy JS to dist
42 +gulp.task('js', function() {
43 + return gulp.src(['js/sb-admin-2.js'])
44 + .pipe(header(banner, { pkg: pkg }))
45 + .pipe(gulp.dest('dist/js'))
46 + .pipe(browserSync.reload({
47 + stream: true
48 + }))
49 +})
50 +
51 +// Minify JS
52 +gulp.task('minify-js', ['js'], function() {
53 + return gulp.src('js/sb-admin-2.js')
54 + .pipe(uglify())
55 + .pipe(header(banner, { pkg: pkg }))
56 + .pipe(rename({ suffix: '.min' }))
57 + .pipe(gulp.dest('dist/js'))
58 + .pipe(browserSync.reload({
59 + stream: true
60 + }))
61 +});
62 +
63 +// Copy vendor libraries from /bower_components into /vendor
64 +gulp.task('copy', function() {
65 + gulp.src(['bower_components/bootstrap/dist/**/*', '!**/npm.js', '!**/bootstrap-theme.*', '!**/*.map'])
66 + .pipe(gulp.dest('vendor/bootstrap'))
67 +
68 + gulp.src(['bower_components/bootstrap-social/*.css', 'bower_components/bootstrap-social/*.less', 'bower_components/bootstrap-social/*.scss'])
69 + .pipe(gulp.dest('vendor/bootstrap-social'))
70 +
71 + gulp.src(['bower_components/datatables/media/**/*'])
72 + .pipe(gulp.dest('vendor/datatables'))
73 +
74 + gulp.src(['bower_components/datatables-plugins/integration/bootstrap/3/*'])
75 + .pipe(gulp.dest('vendor/datatables-plugins'))
76 +
77 + gulp.src(['bower_components/datatables-responsive/css/*', 'bower_components/datatables-responsive/js/*'])
78 + .pipe(gulp.dest('vendor/datatables-responsive'))
79 +
80 + gulp.src(['bower_components/flot/*.js'])
81 + .pipe(gulp.dest('vendor/flot'))
82 +
83 + gulp.src(['bower_components/flot.tooltip/js/*.js'])
84 + .pipe(gulp.dest('vendor/flot-tooltip'))
85 +
86 + gulp.src(['bower_components/font-awesome/**/*', '!bower_components/font-awesome/*.json', '!bower_components/font-awesome/.*'])
87 + .pipe(gulp.dest('vendor/font-awesome'))
88 +
89 + gulp.src(['bower_components/jquery/dist/jquery.js', 'bower_components/jquery/dist/jquery.min.js'])
90 + .pipe(gulp.dest('vendor/jquery'))
91 +
92 + gulp.src(['bower_components/metisMenu/dist/*'])
93 + .pipe(gulp.dest('vendor/metisMenu'))
94 +
95 + gulp.src(['bower_components/morrisjs/*.js', 'bower_components/morrisjs/*.css', '!bower_components/morrisjs/Gruntfile.js'])
96 + .pipe(gulp.dest('vendor/morrisjs'))
97 +
98 + gulp.src(['bower_components/raphael/raphael.js', 'bower_components/raphael/raphael.min.js'])
99 + .pipe(gulp.dest('vendor/raphael'))
100 +
101 +})
102 +
103 +// Run everything
104 +gulp.task('default', ['minify-css', 'minify-js', 'copy']);
105 +
106 +// Configure the browserSync task
107 +gulp.task('browserSync', function() {
108 + browserSync.init({
109 + server: {
110 + baseDir: ''
111 + },
112 + })
113 +})
114 +
115 +// Dev task with browserSync
116 +gulp.task('dev', ['browserSync', 'less', 'minify-css', 'js', 'minify-js'], function() {
117 + gulp.watch('less/*.less', ['less']);
118 + gulp.watch('dist/css/*.css', ['minify-css']);
119 + gulp.watch('js/*.js', ['minify-js']);
120 + // Reloads the browser whenever HTML or JS files change
121 + gulp.watch('pages/*.html', browserSync.reload);
122 + gulp.watch('dist/js/*.js', browserSync.reload);
123 +});
1 +<!DOCTYPE html>
2 +<html>
3 +<head>
4 +<meta http-equiv="refresh" content="0;url=pages/index.html">
5 +<title>SB Admin 2</title>
6 +<script language="javascript">
7 + window.location.href = "pages/index.html"
8 +</script>
9 +</head>
10 +<body>
11 +Go to <a href="pages/index.html">/pages/index.html</a>
12 +</body>
13 +</html>
1 +$(function() {
2 + $('#side-menu').metisMenu();
3 +});
4 +
5 +//Loads the correct sidebar on window load,
6 +//collapses the sidebar on window resize.
7 +// Sets the min-height of #page-wrapper to window size
8 +$(function() {
9 + $(window).bind("load resize", function() {
10 + var topOffset = 50;
11 + var width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width;
12 + if (width < 768) {
13 + $('div.navbar-collapse').addClass('collapse');
14 + topOffset = 100; // 2-row-menu
15 + } else {
16 + $('div.navbar-collapse').removeClass('collapse');
17 + }
18 +
19 + var height = ((this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height) - 1;
20 + height = height - topOffset;
21 + if (height < 1) height = 1;
22 + if (height > topOffset) {
23 + $("#page-wrapper").css("min-height", (height) + "px");
24 + }
25 + });
26 +
27 + var url = window.location;
28 + // var element = $('ul.nav a').filter(function() {
29 + // return this.href == url;
30 + // }).addClass('active').parent().parent().addClass('in').parent();
31 + var element = $('ul.nav a').filter(function() {
32 + return this.href == url;
33 + }).addClass('active').parent();
34 +
35 + while (true) {
36 + if (element.is('li')) {
37 + element = element.parent().addClass('in').parent();
38 + } else {
39 + break;
40 + }
41 + }
42 +});
1 +@import "variables.less";
2 +@import "mixins.less";
3 +
4 +// Global Styles
5 +
6 +body {
7 + background-color: @gray-lightest;
8 +}
9 +
10 +// Wrappers
11 +
12 +#wrapper {
13 + width: 100%;
14 +}
15 +
16 +#page-wrapper {
17 + padding: 0 15px;
18 + min-height: 568px;
19 + background-color: white;
20 +}
21 +
22 +@media(min-width:768px) {
23 + #page-wrapper {
24 + position: inherit;
25 + margin: 0 0 0 250px;
26 + padding: 0 30px;
27 + border-left: 1px solid darken(@gray-lightest, 6.5%);
28 + }
29 +}
30 +
31 +// Navigation
32 +
33 +// --Topbar
34 +
35 +.navbar-top-links {
36 + margin-right: 0;
37 +}
38 +
39 +.navbar-top-links li {
40 + display: inline-block;
41 +}
42 +
43 +.navbar-top-links li:last-child {
44 + margin-right: 15px;
45 +}
46 +
47 +.navbar-top-links li a {
48 + padding: 15px;
49 + min-height: 50px;
50 +}
51 +
52 +.navbar-top-links .dropdown-menu li {
53 + display: block;
54 +}
55 +
56 +.navbar-top-links .dropdown-menu li:last-child {
57 + margin-right: 0;
58 +}
59 +
60 +.navbar-top-links .dropdown-menu li a {
61 + padding: 3px 20px;
62 + min-height: 0;
63 +}
64 +
65 +.navbar-top-links .dropdown-menu li a div {
66 + white-space: normal;
67 +}
68 +
69 +.navbar-top-links .dropdown-messages,
70 +.navbar-top-links .dropdown-tasks,
71 +.navbar-top-links .dropdown-alerts {
72 + width: 310px;
73 + min-width: 0;
74 +}
75 +
76 +.navbar-top-links .dropdown-messages {
77 + margin-left: 5px;
78 +}
79 +
80 +.navbar-top-links .dropdown-tasks {
81 + margin-left: -59px;
82 +}
83 +
84 +.navbar-top-links .dropdown-alerts {
85 + margin-left: -123px;
86 +}
87 +
88 +.navbar-top-links .dropdown-user {
89 + right: 0;
90 + left: auto;
91 +}
92 +
93 +// --Sidebar
94 +
95 +.sidebar {
96 + .sidebar-nav.navbar-collapse {
97 + padding-left: 0;
98 + padding-right: 0;
99 + }
100 +}
101 +
102 +.sidebar .sidebar-search {
103 + padding: 15px;
104 +}
105 +
106 +.sidebar ul li {
107 + border-bottom: 1px solid darken(@gray-lightest, 6.5%);
108 + a {
109 + &.active {
110 + background-color: @gray-lighter;
111 + }
112 + }
113 +}
114 +
115 +.sidebar .arrow {
116 + float: right;
117 +}
118 +
119 +.sidebar .fa.arrow:before {
120 + content: "\f104";
121 +}
122 +
123 +.sidebar .active > a > .fa.arrow:before {
124 + content: "\f107";
125 +}
126 +
127 +.sidebar .nav-second-level li,
128 +.sidebar .nav-third-level li {
129 + border-bottom: none !important;
130 +}
131 +
132 +.sidebar .nav-second-level li a {
133 + padding-left: 37px;
134 +}
135 +
136 +.sidebar .nav-third-level li a {
137 + padding-left: 52px;
138 +}
139 +
140 +@media(min-width:768px) {
141 + .sidebar {
142 + z-index: 1;
143 + position: absolute;
144 + width: 250px;
145 + margin-top: 51px;
146 + }
147 +
148 + .navbar-top-links .dropdown-messages,
149 + .navbar-top-links .dropdown-tasks,
150 + .navbar-top-links .dropdown-alerts {
151 + margin-left: auto;
152 + }
153 +}
154 +
155 +// Buttons
156 +
157 +.btn-outline {
158 + color: inherit;
159 + background-color: transparent;
160 + transition: all .5s;
161 +}
162 +
163 +.btn-primary.btn-outline {
164 + color: @brand-primary;
165 +}
166 +
167 +.btn-success.btn-outline {
168 + color: @brand-success;
169 +}
170 +
171 +.btn-info.btn-outline {
172 + color: @brand-info;
173 +}
174 +
175 +.btn-warning.btn-outline {
176 + color: @brand-warning;
177 +}
178 +
179 +.btn-danger.btn-outline {
180 + color: @brand-danger;
181 +}
182 +
183 +.btn-primary.btn-outline:hover,
184 +.btn-success.btn-outline:hover,
185 +.btn-info.btn-outline:hover,
186 +.btn-warning.btn-outline:hover,
187 +.btn-danger.btn-outline:hover {
188 + color: white;
189 +}
190 +
191 +// Chat Widget
192 +
193 +.chat {
194 + margin: 0;
195 + padding: 0;
196 + list-style: none;
197 +}
198 +
199 +.chat li {
200 + margin-bottom: 10px;
201 + padding-bottom: 5px;
202 + border-bottom: 1px dotted @gray-light;
203 +}
204 +
205 +.chat li.left .chat-body {
206 + margin-left: 60px;
207 +}
208 +
209 +.chat li.right .chat-body {
210 + margin-right: 60px;
211 +}
212 +
213 +.chat li .chat-body p {
214 + margin: 0;
215 +}
216 +
217 +.panel .slidedown .glyphicon,
218 +.chat .glyphicon {
219 + margin-right: 5px;
220 +}
221 +
222 +.chat-panel .panel-body {
223 + height: 350px;
224 + overflow-y: scroll;
225 +}
226 +
227 +// Login Page
228 +
229 +.login-panel {
230 + margin-top: 25%;
231 +}
232 +
233 +// Flot Charts Containers
234 +
235 +.flot-chart {
236 + display: block;
237 + height: 400px;
238 +}
239 +
240 +.flot-chart-content {
241 + width: 100%;
242 + height: 100%;
243 +}
244 +
245 +// DataTables Overrides
246 +
247 +table.dataTable thead .sorting,
248 +table.dataTable thead .sorting_asc,
249 +table.dataTable thead .sorting_desc,
250 +table.dataTable thead .sorting_asc_disabled,
251 +table.dataTable thead .sorting_desc_disabled {
252 + background: transparent;
253 +}
254 +
255 +table.dataTable thead .sorting_asc:after {
256 + content: "\f0de";
257 + float: right;
258 + font-family: fontawesome;
259 +}
260 +
261 +table.dataTable thead .sorting_desc:after {
262 + content: "\f0dd";
263 + float: right;
264 + font-family: fontawesome;
265 +}
266 +
267 +table.dataTable thead .sorting:after {
268 + content: "\f0dc";
269 + float: right;
270 + font-family: fontawesome;
271 + color: rgba(50,50,50,.5);
272 +}
273 +
274 +// Circle Buttons
275 +
276 +.btn-circle {
277 + width: 30px;
278 + height: 30px;
279 + padding: 6px 0;
280 + border-radius: 15px;
281 + text-align: center;
282 + font-size: 12px;
283 + line-height: 1.428571429;
284 +}
285 +
286 +.btn-circle.btn-lg {
287 + width: 50px;
288 + height: 50px;
289 + padding: 10px 16px;
290 + border-radius: 25px;
291 + font-size: 18px;
292 + line-height: 1.33;
293 +}
294 +
295 +.btn-circle.btn-xl {
296 + width: 70px;
297 + height: 70px;
298 + padding: 10px 16px;
299 + border-radius: 35px;
300 + font-size: 24px;
301 + line-height: 1.33;
302 +}
303 +
304 +// Grid Demo Elements
305 +
306 +.show-grid [class^="col-"] {
307 + padding-top: 10px;
308 + padding-bottom: 10px;
309 + border: 1px solid #ddd;
310 + background-color: #eee !important;
311 +}
312 +
313 +.show-grid {
314 + margin: 15px 0;
315 +}
316 +
317 +// Custom Colored Panels
318 +
319 +.huge {
320 + font-size: 40px;
321 +}
322 +
323 +.panel-green {
324 + border-color: @brand-success;
325 + > .panel-heading {
326 + border-color: @brand-success;
327 + color: white;
328 + background-color: @brand-success;
329 + }
330 + > a {
331 + color: @brand-success;
332 + &:hover {
333 + color: darken(@brand-success, 15%);
334 + }
335 + }
336 +}
337 +
338 +.panel-red {
339 + border-color: @brand-danger;
340 + > .panel-heading {
341 + border-color: @brand-danger;
342 + color: white;
343 + background-color: @brand-danger;
344 + }
345 + > a {
346 + color: @brand-danger;
347 + &:hover {
348 + color: darken(@brand-danger, 15%);
349 + }
350 + }
351 +}
352 +
353 +.panel-yellow {
354 + border-color: @brand-warning;
355 + > .panel-heading {
356 + border-color: @brand-warning;
357 + color: white;
358 + background-color: @brand-warning;
359 + }
360 + > a {
361 + color: @brand-warning;
362 + &:hover {
363 + color: darken(@brand-warning, 15%);
364 + }
365 + }
366 +}
367 +
368 +// Timeline
369 +.timeline {
370 + position: relative;
371 + padding: 20px 0 20px;
372 + list-style: none;
373 +}
374 +
375 +.timeline:before {
376 + content: " ";
377 + position: absolute;
378 + top: 0;
379 + bottom: 0;
380 + left: 50%;
381 + width: 3px;
382 + margin-left: -1.5px;
383 + background-color: #eeeeee;
384 +}
385 +
386 +.timeline > li {
387 + position: relative;
388 + margin-bottom: 20px;
389 +}
390 +
391 +.timeline > li:before,
392 +.timeline > li:after {
393 + content: " ";
394 + display: table;
395 +}
396 +
397 +.timeline > li:after {
398 + clear: both;
399 +}
400 +
401 +.timeline > li:before,
402 +.timeline > li:after {
403 + content: " ";
404 + display: table;
405 +}
406 +
407 +.timeline > li:after {
408 + clear: both;
409 +}
410 +
411 +.timeline > li > .timeline-panel {
412 + float: left;
413 + position: relative;
414 + width: 46%;
415 + padding: 20px;
416 + border: 1px solid #d4d4d4;
417 + border-radius: 2px;
418 + -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.175);
419 + box-shadow: 0 1px 6px rgba(0,0,0,0.175);
420 +}
421 +
422 +.timeline > li > .timeline-panel:before {
423 + content: " ";
424 + display: inline-block;
425 + position: absolute;
426 + top: 26px;
427 + right: -15px;
428 + border-top: 15px solid transparent;
429 + border-right: 0 solid #ccc;
430 + border-bottom: 15px solid transparent;
431 + border-left: 15px solid #ccc;
432 +}
433 +
434 +.timeline > li > .timeline-panel:after {
435 + content: " ";
436 + display: inline-block;
437 + position: absolute;
438 + top: 27px;
439 + right: -14px;
440 + border-top: 14px solid transparent;
441 + border-right: 0 solid #fff;
442 + border-bottom: 14px solid transparent;
443 + border-left: 14px solid #fff;
444 +}
445 +
446 +.timeline > li > .timeline-badge {
447 + z-index: 100;
448 + position: absolute;
449 + top: 16px;
450 + left: 50%;
451 + width: 50px;
452 + height: 50px;
453 + margin-left: -25px;
454 + border-radius: 50% 50% 50% 50%;
455 + text-align: center;
456 + font-size: 1.4em;
457 + line-height: 50px;
458 + color: #fff;
459 + background-color: #999999;
460 +}
461 +
462 +.timeline > li.timeline-inverted > .timeline-panel {
463 + float: right;
464 +}
465 +
466 +.timeline > li.timeline-inverted > .timeline-panel:before {
467 + right: auto;
468 + left: -15px;
469 + border-right-width: 15px;
470 + border-left-width: 0;
471 +}
472 +
473 +.timeline > li.timeline-inverted > .timeline-panel:after {
474 + right: auto;
475 + left: -14px;
476 + border-right-width: 14px;
477 + border-left-width: 0;
478 +}
479 +
480 +.timeline-badge.primary {
481 + background-color: #2e6da4 !important;
482 +}
483 +
484 +.timeline-badge.success {
485 + background-color: #3f903f !important;
486 +}
487 +
488 +.timeline-badge.warning {
489 + background-color: #f0ad4e !important;
490 +}
491 +
492 +.timeline-badge.danger {
493 + background-color: #d9534f !important;
494 +}
495 +
496 +.timeline-badge.info {
497 + background-color: #5bc0de !important;
498 +}
499 +
500 +.timeline-title {
501 + margin-top: 0;
502 + color: inherit;
503 +}
504 +
505 +.timeline-body > p,
506 +.timeline-body > ul {
507 + margin-bottom: 0;
508 +}
509 +
510 +.timeline-body > p + p {
511 + margin-top: 5px;
512 +}
513 +
514 +@media(max-width:767px) {
515 + ul.timeline:before {
516 + left: 40px;
517 + }
518 +
519 + ul.timeline > li > .timeline-panel {
520 + width: calc(100% - 90px);
521 + width: -moz-calc(100% - 90px);
522 + width: -webkit-calc(100% - 90px);
523 + }
524 +
525 + ul.timeline > li > .timeline-badge {
526 + top: 16px;
527 + left: 15px;
528 + margin-left: 0;
529 + }
530 +
531 + ul.timeline > li > .timeline-panel {
532 + float: right;
533 + }
534 +
535 + ul.timeline > li > .timeline-panel:before {
536 + right: auto;
537 + left: -15px;
538 + border-right-width: 15px;
539 + border-left-width: 0;
540 + }
541 +
542 + ul.timeline > li > .timeline-panel:after {
543 + right: auto;
544 + left: -14px;
545 + border-right-width: 14px;
546 + border-left-width: 0;
547 + }
548 +}
1 +// Variables
2 +
3 +@gray-darker: lighten(#000, 13.5%);
4 +@gray-dark: lighten(#000, 20%);
5 +@gray: lighten(#000, 33.5%);
6 +@gray-light: lighten(#000, 60%);
7 +@gray-lighter: lighten(#000, 93.5%);
8 +@gray-lightest: lighten(#000, 97.25%);
9 +@brand-primary: #428bca;
10 +@brand-success: #5cb85c;
11 +@brand-info: #5bc0de;
12 +@brand-warning: #f0ad4e;
13 +@brand-danger: #d9534f;
14 +
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
4 "description": "bitcoin Community", 4 "description": "bitcoin Community",
5 "main": "index.js", 5 "main": "index.js",
6 "scripts": { 6 "scripts": {
7 - "test": "echo \"Error: no test specified\" && exit 1" 7 + "test": "echo \"Error: no test specified\" && exit 1",
8 + "serve": "nodemon app.js"
8 }, 9 },
9 "author": "", 10 "author": "",
10 "license": "ISC", 11 "license": "ISC",
...@@ -12,6 +13,17 @@ ...@@ -12,6 +13,17 @@
12 "body-parser": "^1.18.2", 13 "body-parser": "^1.18.2",
13 "ejs": "^2.5.7", 14 "ejs": "^2.5.7",
14 "express": "^4.16.2", 15 "express": "^4.16.2",
15 - "realm": "^2.0.12" 16 + "realm": "^2.0.12",
17 +
18 + "browser-sync": "^2.13.0",
19 + "gulp": "^3.9.1",
20 + "gulp-clean-css": "^2.0.10",
21 + "gulp-header": "^1.8.7",
22 + "gulp-less": "^3.1.0",
23 + "gulp-rename": "^1.2.2",
24 + "gulp-uglify": "^1.5.4"
25 + },
26 + "devDependencies": {
27 + "nodemon": "^1.12.5"
16 } 28 }
17 } 29 }
......
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
1 +<!DOCTYPE html>
2 +<html lang="en">
3 +
4 +<head>
5 + <!-- 합쳐지고 최소화된 최신 CSS -->
6 + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
7 +
8 + <!-- 부가적인 테마 -->
9 + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
10 +
11 + <!-- 합쳐지고 최소화된 최신 자바스크립트 -->
12 + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
13 +
14 + <meta charset="utf-8">
15 + <meta http-equiv="X-UA-Compatible" content="IE=edge">
16 + <meta name="viewport" content="width=device-width, initial-scale=1">
17 + <meta name="description" content="">
18 + <meta name="author" content="">
19 +
20 + <title>SB Admin 2 - Bootstrap Admin Theme</title>
21 +
22 + <!-- Bootstrap Core CSS -->
23 + <link href="../vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
24 +
25 + <!-- MetisMenu CSS -->
26 + <link href="../vendor/metisMenu/metisMenu.min.css" rel="stylesheet">
27 +
28 + <!-- Custom CSS -->
29 + <link href="../dist/css/sb-admin-2.css" rel="stylesheet">
30 +
31 + <!-- Custom Fonts -->
32 + <link href="../vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
33 +
34 + <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
35 + <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
36 + <!--[if lt IE 9]>
37 + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
38 + <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
39 + <![endif]-->
40 +
41 +</head>
42 +
43 +<body>
44 +
45 + <div class="container">
46 + <div class="row">
47 + <div class="col-md-4 col-md-offset-4">
48 + <div class="login-panel panel panel-default">
49 + <div class="panel-heading">
50 + <h3 class="panel-title">Please Sign In</h3>
51 + </div>
52 + <div class="panel-body">
53 + <form role="form">
54 + <fieldset>
55 + <div class="form-group">
56 + <input class="form-control" placeholder="E-mail" name="email" type="email" autofocus>
57 + </div>
58 + <div class="form-group">
59 + <input class="form-control" placeholder="Password" name="password" type="password" value="">
60 + </div>
61 + <div class="checkbox">
62 + <label>
63 + <input name="remember" type="checkbox" value="Remember Me">Remember Me
64 + </label>
65 + </div>
66 + <!-- Change this to a button or input when using this as a form -->
67 + <a href="index.html" class="btn btn-lg btn-success btn-block">Login</a>
68 + </fieldset>
69 + </form>
70 + </div>
71 + </div>
72 + </div>
73 + </div>
74 + </div>
75 +
76 + <!-- jQuery -->
77 + <script src="../vendor/jquery/jquery.min.js"></script>
78 +
79 + <!-- Bootstrap Core JavaScript -->
80 + <script src="../vendor/bootstrap/js/bootstrap.min.js"></script>
81 +
82 + <!-- Metis Menu Plugin JavaScript -->
83 + <script src="../vendor/metisMenu/metisMenu.min.js"></script>
84 +
85 + <!-- Custom Theme JavaScript -->
86 + <script src="../dist/js/sb-admin-2.js"></script>
87 +
88 +</body>
89 +
90 +</html>
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 +/*
2 + * Social Buttons for Bootstrap
3 + *
4 + * Copyright 2013-2014 Panayiotis Lipiridis
5 + * Licensed under the MIT License
6 + *
7 + * https://github.com/lipis/bootstrap-social
8 + */
9 +
10 +@bs-height-base: (@line-height-computed + @padding-base-vertical * 2);
11 +@bs-height-lg: (floor(@font-size-large * @line-height-base) + @padding-large-vertical * 2);
12 +@bs-height-sm: (floor(@font-size-small * 1.5) + @padding-small-vertical * 2);
13 +@bs-height-xs: (floor(@font-size-small * 1.2) + @padding-small-vertical + 1);
14 +
15 +.btn-social {
16 + position: relative;
17 + padding-left: (@bs-height-base + @padding-base-horizontal);
18 + text-align: left;
19 + white-space: nowrap;
20 + overflow: hidden;
21 + text-overflow: ellipsis;
22 + > :first-child {
23 + position: absolute;
24 + left: 0;
25 + top: 0;
26 + bottom: 0;
27 + width: @bs-height-base;
28 + line-height: (@bs-height-base + 2);
29 + font-size: 1.6em;
30 + text-align: center;
31 + border-right: 1px solid rgba(0, 0, 0, 0.2);
32 + }
33 + &.btn-lg {
34 + padding-left: (@bs-height-lg + @padding-large-horizontal);
35 + :first-child {
36 + line-height: @bs-height-lg;
37 + width: @bs-height-lg;
38 + font-size: 1.8em;
39 + }
40 + }
41 + &.btn-sm {
42 + padding-left: (@bs-height-sm + @padding-small-horizontal);
43 + :first-child {
44 + line-height: @bs-height-sm;
45 + width: @bs-height-sm;
46 + font-size: 1.4em;
47 + }
48 + }
49 + &.btn-xs {
50 + padding-left: (@bs-height-xs + @padding-small-horizontal);
51 + :first-child {
52 + line-height: @bs-height-xs;
53 + width: @bs-height-xs;
54 + font-size: 1.2em;
55 + }
56 + }
57 +}
58 +
59 +.btn-social-icon {
60 + .btn-social;
61 + height: (@bs-height-base + 2);
62 + width: (@bs-height-base + 2);
63 + padding: 0;
64 + :first-child {
65 + border: none;
66 + text-align: center;
67 + width: 100%!important;
68 + }
69 + &.btn-lg {
70 + height: @bs-height-lg;
71 + width: @bs-height-lg;
72 + padding-left: 0;
73 + padding-right: 0;
74 + }
75 + &.btn-sm {
76 + height: (@bs-height-sm + 2);
77 + width: (@bs-height-sm + 2);
78 + padding-left: 0;
79 + padding-right: 0;
80 + }
81 + &.btn-xs {
82 + height: (@bs-height-xs + 2);
83 + width: (@bs-height-xs + 2);
84 + padding-left: 0;
85 + padding-right: 0;
86 + }
87 +}
88 +
89 +.btn-social(@color-bg, @color: #fff) {
90 + background-color: @color-bg;
91 + .button-variant(@color, @color-bg, rgba(0,0,0,.2));
92 +}
93 +
94 +
95 +.btn-adn { .btn-social(#d87a68); }
96 +.btn-bitbucket { .btn-social(#205081); }
97 +.btn-dropbox { .btn-social(#1087dd); }
98 +.btn-facebook { .btn-social(#3b5998); }
99 +.btn-flickr { .btn-social(#ff0084); }
100 +.btn-foursquare { .btn-social(#f94877); }
101 +.btn-github { .btn-social(#444444); }
102 +.btn-google-plus { .btn-social(#dd4b39); }
103 +.btn-instagram { .btn-social(#3f729b); }
104 +.btn-linkedin { .btn-social(#007bb6); }
105 +.btn-microsoft { .btn-social(#2672ec); }
106 +.btn-openid { .btn-social(#f7931e); }
107 +.btn-pinterest { .btn-social(#cb2027); }
108 +.btn-reddit { .btn-social(#eff7ff, #000); }
109 +.btn-soundcloud { .btn-social(#ff5500); }
110 +.btn-tumblr { .btn-social(#2c4762); }
111 +.btn-twitter { .btn-social(#55acee); }
112 +.btn-vimeo { .btn-social(#1ab7ea); }
113 +.btn-vk { .btn-social(#587ea3); }
114 +.btn-yahoo { .btn-social(#720e9e); }
1 +/*
2 + * Social Buttons for Bootstrap
3 + *
4 + * Copyright 2013-2014 Panayiotis Lipiridis
5 + * Licensed under the MIT License
6 + *
7 + * https://github.com/lipis/bootstrap-social
8 + */
9 +
10 +$bs-height-base: ($line-height-computed + $padding-base-vertical * 2);
11 +$bs-height-lg: (floor($font-size-large * $line-height-base) + $padding-large-vertical * 2);
12 +$bs-height-sm: (floor($font-size-small * 1.5) + $padding-small-vertical * 2);
13 +$bs-height-xs: (floor($font-size-small * 1.2) + $padding-small-vertical + 1);
14 +
15 +.btn-social {
16 + position: relative;
17 + padding-left: ($bs-height-base + $padding-base-horizontal);
18 + text-align: left;
19 + white-space: nowrap;
20 + overflow: hidden;
21 + text-overflow: ellipsis;
22 + > :first-child {
23 + position: absolute;
24 + left: 0;
25 + top: 0;
26 + bottom: 0;
27 + width: $bs-height-base;
28 + line-height: ($bs-height-base + 2);
29 + font-size: 1.6em;
30 + text-align: center;
31 + border-right: 1px solid rgba(0, 0, 0, 0.2);
32 + }
33 + &.btn-lg {
34 + padding-left: ($bs-height-lg + $padding-large-horizontal);
35 + :first-child {
36 + line-height: $bs-height-lg;
37 + width: $bs-height-lg;
38 + font-size: 1.8em;
39 + }
40 + }
41 + &.btn-sm {
42 + padding-left: ($bs-height-sm + $padding-small-horizontal);
43 + :first-child {
44 + line-height: $bs-height-sm;
45 + width: $bs-height-sm;
46 + font-size: 1.4em;
47 + }
48 + }
49 + &.btn-xs {
50 + padding-left: ($bs-height-xs + $padding-small-horizontal);
51 + :first-child {
52 + line-height: $bs-height-xs;
53 + width: $bs-height-xs;
54 + font-size: 1.2em;
55 + }
56 + }
57 +}
58 +
59 +.btn-social-icon {
60 + @extend .btn-social;
61 + height: ($bs-height-base + 2);
62 + width: ($bs-height-base + 2);
63 + padding: 0;
64 + :first-child {
65 + border: none;
66 + text-align: center;
67 + width: 100%!important;
68 + }
69 + &.btn-lg {
70 + height: $bs-height-lg;
71 + width: $bs-height-lg;
72 + padding-left: 0;
73 + padding-right: 0;
74 + }
75 + &.btn-sm {
76 + height: ($bs-height-sm + 2);
77 + width: ($bs-height-sm + 2);
78 + padding-left: 0;
79 + padding-right: 0;
80 + }
81 + &.btn-xs {
82 + height: ($bs-height-xs + 2);
83 + width: ($bs-height-xs + 2);
84 + padding-left: 0;
85 + padding-right: 0;
86 + }
87 +}
88 +
89 +@mixin btn-social($color-bg, $color: #fff) {
90 + background-color: $color-bg;
91 + @include button-variant($color, $color-bg, rgba(0,0,0,.2));
92 +}
93 +
94 +
95 +.btn-adn { @include btn-social(#d87a68); }
96 +.btn-bitbucket { @include btn-social(#205081); }
97 +.btn-dropbox { @include btn-social(#1087dd); }
98 +.btn-facebook { @include btn-social(#3b5998); }
99 +.btn-flickr { @include btn-social(#ff0084); }
100 +.btn-foursquare { @include btn-social(#f94877); }
101 +.btn-github { @include btn-social(#444444); }
102 +.btn-google-plus { @include btn-social(#dd4b39); }
103 +.btn-instagram { @include btn-social(#3f729b); }
104 +.btn-linkedin { @include btn-social(#007bb6); }
105 +.btn-microsoft { @include btn-social(#2672ec); }
106 +.btn-openid { @include btn-social(#f7931e); }
107 +.btn-pinterest { @include btn-social(#cb2027); }
108 +.btn-reddit { @include btn-social(#eff7ff, #000); }
109 +.btn-soundcloud { @include btn-social(#ff5500); }
110 +.btn-tumblr { @include btn-social(#2c4762); }
111 +.btn-twitter { @include btn-social(#55acee); }
112 +.btn-vimeo { @include btn-social(#1ab7ea); }
113 +.btn-vk { @include btn-social(#587ea3); }
114 +.btn-yahoo { @include btn-social(#720e9e); }
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 +div.dataTables_length label {
2 + font-weight: normal;
3 + text-align: left;
4 + white-space: nowrap;
5 +}
6 +
7 +div.dataTables_length select {
8 + width: 75px;
9 + display: inline-block;
10 +}
11 +
12 +div.dataTables_filter {
13 + text-align: right;
14 +}
15 +
16 +div.dataTables_filter label {
17 + font-weight: normal;
18 + white-space: nowrap;
19 + text-align: left;
20 +}
21 +
22 +div.dataTables_filter input {
23 + margin-left: 0.5em;
24 + display: inline-block;
25 +}
26 +
27 +div.dataTables_info {
28 + padding-top: 8px;
29 + white-space: nowrap;
30 +}
31 +
32 +div.dataTables_paginate {
33 + margin: 0;
34 + white-space: nowrap;
35 + text-align: right;
36 +}
37 +
38 +div.dataTables_paginate ul.pagination {
39 + margin: 2px 0;
40 + white-space: nowrap;
41 +}
42 +
43 +@media screen and (max-width: 767px) {
44 + div.dataTables_length,
45 + div.dataTables_filter,
46 + div.dataTables_info,
47 + div.dataTables_paginate {
48 + text-align: center;
49 + }
50 +}
51 +
52 +
53 +table.dataTable td,
54 +table.dataTable th {
55 + -webkit-box-sizing: content-box;
56 + -moz-box-sizing: content-box;
57 + box-sizing: content-box;
58 +}
59 +
60 +
61 +table.dataTable {
62 + clear: both;
63 + margin-top: 6px !important;
64 + margin-bottom: 6px !important;
65 + max-width: none !important;
66 +}
67 +
68 +table.dataTable thead .sorting,
69 +table.dataTable thead .sorting_asc,
70 +table.dataTable thead .sorting_desc,
71 +table.dataTable thead .sorting_asc_disabled,
72 +table.dataTable thead .sorting_desc_disabled {
73 + cursor: pointer;
74 +}
75 +
76 +table.dataTable thead .sorting { background: url('../images/sort_both.png') no-repeat center right; }
77 +table.dataTable thead .sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; }
78 +table.dataTable thead .sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; }
79 +
80 +table.dataTable thead .sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; }
81 +table.dataTable thead .sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; }
82 +
83 +table.dataTable thead > tr > th {
84 + padding-left: 18px;
85 + padding-right: 18px;
86 +}
87 +
88 +table.dataTable th:active {
89 + outline: none;
90 +}
91 +
92 +/* Scrolling */
93 +div.dataTables_scrollHead table {
94 + margin-bottom: 0 !important;
95 + border-bottom-left-radius: 0;
96 + border-bottom-right-radius: 0;
97 +}
98 +
99 +div.dataTables_scrollHead table thead tr:last-child th:first-child,
100 +div.dataTables_scrollHead table thead tr:last-child td:first-child {
101 + border-bottom-left-radius: 0 !important;
102 + border-bottom-right-radius: 0 !important;
103 +}
104 +
105 +div.dataTables_scrollBody table {
106 + border-top: none;
107 + margin-top: 0 !important;
108 + margin-bottom: 0 !important;
109 +}
110 +
111 +div.dataTables_scrollBody tbody tr:first-child th,
112 +div.dataTables_scrollBody tbody tr:first-child td {
113 + border-top: none;
114 +}
115 +
116 +div.dataTables_scrollFoot table {
117 + margin-top: 0 !important;
118 + border-top: none;
119 +}
120 +
121 +/* Frustratingly the border-collapse:collapse used by Bootstrap makes the column
122 + width calculations when using scrolling impossible to align columns. We have
123 + to use separate
124 + */
125 +table.table-bordered.dataTable {
126 + border-collapse: separate !important;
127 +}
128 +table.table-bordered thead th,
129 +table.table-bordered thead td {
130 + border-left-width: 0;
131 + border-top-width: 0;
132 +}
133 +table.table-bordered tbody th,
134 +table.table-bordered tbody td {
135 + border-left-width: 0;
136 + border-bottom-width: 0;
137 +}
138 +table.table-bordered th:last-child,
139 +table.table-bordered td:last-child {
140 + border-right-width: 0;
141 +}
142 +div.dataTables_scrollHead table.table-bordered {
143 + border-bottom-width: 0;
144 +}
145 +
146 +
147 +
148 +
149 +/*
150 + * TableTools styles
151 + */
152 +.table.dataTable tbody tr.active td,
153 +.table.dataTable tbody tr.active th {
154 + background-color: #08C;
155 + color: white;
156 +}
157 +
158 +.table.dataTable tbody tr.active:hover td,
159 +.table.dataTable tbody tr.active:hover th {
160 + background-color: #0075b0 !important;
161 +}
162 +
163 +.table.dataTable tbody tr.active th > a,
164 +.table.dataTable tbody tr.active td > a {
165 + color: white;
166 +}
167 +
168 +.table-striped.dataTable tbody tr.active:nth-child(odd) td,
169 +.table-striped.dataTable tbody tr.active:nth-child(odd) th {
170 + background-color: #017ebc;
171 +}
172 +
173 +table.DTTT_selectable tbody tr {
174 + cursor: pointer;
175 +}
176 +
177 +div.DTTT .btn:hover {
178 + text-decoration: none !important;
179 +}
180 +
181 +ul.DTTT_dropdown.dropdown-menu {
182 + z-index: 2003;
183 +}
184 +
185 +ul.DTTT_dropdown.dropdown-menu a {
186 + color: #333 !important; /* needed only when demo_page.css is included */
187 +}
188 +
189 +ul.DTTT_dropdown.dropdown-menu li {
190 + position: relative;
191 +}
192 +
193 +ul.DTTT_dropdown.dropdown-menu li:hover a {
194 + background-color: #0088cc;
195 + color: white !important;
196 +}
197 +
198 +div.DTTT_collection_background {
199 + z-index: 2002;
200 +}
201 +
202 +/* TableTools information display */
203 +div.DTTT_print_info {
204 + position: fixed;
205 + top: 50%;
206 + left: 50%;
207 + width: 400px;
208 + height: 150px;
209 + margin-left: -200px;
210 + margin-top: -75px;
211 + text-align: center;
212 + color: #333;
213 + padding: 10px 30px;
214 + opacity: 0.95;
215 +
216 + background-color: white;
217 + border: 1px solid rgba(0, 0, 0, 0.2);
218 + border-radius: 6px;
219 +
220 + -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
221 + box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
222 +}
223 +
224 +div.DTTT_print_info h6 {
225 + font-weight: normal;
226 + font-size: 28px;
227 + line-height: 28px;
228 + margin: 1em;
229 +}
230 +
231 +div.DTTT_print_info p {
232 + font-size: 14px;
233 + line-height: 20px;
234 +}
235 +
236 +div.dataTables_processing {
237 + position: absolute;
238 + top: 50%;
239 + left: 50%;
240 + width: 100%;
241 + height: 60px;
242 + margin-left: -50%;
243 + margin-top: -25px;
244 + padding-top: 20px;
245 + padding-bottom: 20px;
246 + text-align: center;
247 + font-size: 1.2em;
248 + background-color: white;
249 + background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));
250 + background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
251 + background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
252 + background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
253 + background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
254 + background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
255 +}
256 +
257 +
258 +
259 +/*
260 + * FixedColumns styles
261 + */
262 +div.DTFC_LeftHeadWrapper table,
263 +div.DTFC_LeftFootWrapper table,
264 +div.DTFC_RightHeadWrapper table,
265 +div.DTFC_RightFootWrapper table,
266 +table.DTFC_Cloned tr.even {
267 + background-color: white;
268 + margin-bottom: 0;
269 +}
270 +
271 +div.DTFC_RightHeadWrapper table ,
272 +div.DTFC_LeftHeadWrapper table {
273 + border-bottom: none !important;
274 + margin-bottom: 0 !important;
275 + border-top-right-radius: 0 !important;
276 + border-bottom-left-radius: 0 !important;
277 + border-bottom-right-radius: 0 !important;
278 +}
279 +
280 +div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child,
281 +div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child,
282 +div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
283 +div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
284 + border-bottom-left-radius: 0 !important;
285 + border-bottom-right-radius: 0 !important;
286 +}
287 +
288 +div.DTFC_RightBodyWrapper table,
289 +div.DTFC_LeftBodyWrapper table {
290 + border-top: none;
291 + margin: 0 !important;
292 +}
293 +
294 +div.DTFC_RightBodyWrapper tbody tr:first-child th,
295 +div.DTFC_RightBodyWrapper tbody tr:first-child td,
296 +div.DTFC_LeftBodyWrapper tbody tr:first-child th,
297 +div.DTFC_LeftBodyWrapper tbody tr:first-child td {
298 + border-top: none;
299 +}
300 +
301 +div.DTFC_RightFootWrapper table,
302 +div.DTFC_LeftFootWrapper table {
303 + border-top: none;
304 + margin-top: 0 !important;
305 +}
306 +
307 +
308 +/*
309 + * FixedHeader styles
310 + */
311 +div.FixedHeader_Cloned table {
312 + margin: 0 !important
313 +}
314 +
1 +/*! DataTables Bootstrap 3 integration
2 + * ©2011-2014 SpryMedia Ltd - datatables.net/license
3 + */
4 +
5 +/**
6 + * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and
7 + * DataTables 1.10 or newer.
8 + *
9 + * This file sets the defaults and adds options to DataTables to style its
10 + * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
11 + * for further information.
12 + */
13 +(function(window, document, undefined){
14 +
15 +var factory = function( $, DataTable ) {
16 +"use strict";
17 +
18 +
19 +/* Set the defaults for DataTables initialisation */
20 +$.extend( true, DataTable.defaults, {
21 + dom:
22 + "<'row'<'col-sm-6'l><'col-sm-6'f>>" +
23 + "<'row'<'col-sm-12'tr>>" +
24 + "<'row'<'col-sm-6'i><'col-sm-6'p>>",
25 + renderer: 'bootstrap'
26 +} );
27 +
28 +
29 +/* Default class modification */
30 +$.extend( DataTable.ext.classes, {
31 + sWrapper: "dataTables_wrapper form-inline dt-bootstrap",
32 + sFilterInput: "form-control input-sm",
33 + sLengthSelect: "form-control input-sm"
34 +} );
35 +
36 +
37 +/* Bootstrap paging button renderer */
38 +DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
39 + var api = new DataTable.Api( settings );
40 + var classes = settings.oClasses;
41 + var lang = settings.oLanguage.oPaginate;
42 + var btnDisplay, btnClass;
43 +
44 + var attach = function( container, buttons ) {
45 + var i, ien, node, button;
46 + var clickHandler = function ( e ) {
47 + e.preventDefault();
48 + if ( !$(e.currentTarget).hasClass('disabled') ) {
49 + api.page( e.data.action ).draw( false );
50 + }
51 + };
52 +
53 + for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
54 + button = buttons[i];
55 +
56 + if ( $.isArray( button ) ) {
57 + attach( container, button );
58 + }
59 + else {
60 + btnDisplay = '';
61 + btnClass = '';
62 +
63 + switch ( button ) {
64 + case 'ellipsis':
65 + btnDisplay = '&hellip;';
66 + btnClass = 'disabled';
67 + break;
68 +
69 + case 'first':
70 + btnDisplay = lang.sFirst;
71 + btnClass = button + (page > 0 ?
72 + '' : ' disabled');
73 + break;
74 +
75 + case 'previous':
76 + btnDisplay = lang.sPrevious;
77 + btnClass = button + (page > 0 ?
78 + '' : ' disabled');
79 + break;
80 +
81 + case 'next':
82 + btnDisplay = lang.sNext;
83 + btnClass = button + (page < pages-1 ?
84 + '' : ' disabled');
85 + break;
86 +
87 + case 'last':
88 + btnDisplay = lang.sLast;
89 + btnClass = button + (page < pages-1 ?
90 + '' : ' disabled');
91 + break;
92 +
93 + default:
94 + btnDisplay = button + 1;
95 + btnClass = page === button ?
96 + 'active' : '';
97 + break;
98 + }
99 +
100 + if ( btnDisplay ) {
101 + node = $('<li>', {
102 + 'class': classes.sPageButton+' '+btnClass,
103 + 'aria-controls': settings.sTableId,
104 + 'tabindex': settings.iTabIndex,
105 + 'id': idx === 0 && typeof button === 'string' ?
106 + settings.sTableId +'_'+ button :
107 + null
108 + } )
109 + .append( $('<a>', {
110 + 'href': '#'
111 + } )
112 + .html( btnDisplay )
113 + )
114 + .appendTo( container );
115 +
116 + settings.oApi._fnBindAction(
117 + node, {action: button}, clickHandler
118 + );
119 + }
120 + }
121 + }
122 + };
123 +
124 + attach(
125 + $(host).empty().html('<ul class="pagination"/>').children('ul'),
126 + buttons
127 + );
128 +};
129 +
130 +
131 +/*
132 + * TableTools Bootstrap compatibility
133 + * Required TableTools 2.1+
134 + */
135 +if ( DataTable.TableTools ) {
136 + // Set the classes that TableTools uses to something suitable for Bootstrap
137 + $.extend( true, DataTable.TableTools.classes, {
138 + "container": "DTTT btn-group",
139 + "buttons": {
140 + "normal": "btn btn-default",
141 + "disabled": "disabled"
142 + },
143 + "collection": {
144 + "container": "DTTT_dropdown dropdown-menu",
145 + "buttons": {
146 + "normal": "",
147 + "disabled": "disabled"
148 + }
149 + },
150 + "print": {
151 + "info": "DTTT_print_info"
152 + },
153 + "select": {
154 + "row": "active"
155 + }
156 + } );
157 +
158 + // Have the collection use a bootstrap compatible drop down
159 + $.extend( true, DataTable.TableTools.DEFAULTS.oTags, {
160 + "collection": {
161 + "container": "ul",
162 + "button": "li",
163 + "liner": "a"
164 + }
165 + } );
166 +}
167 +
168 +}; // /factory
169 +
170 +
171 +// Define as an AMD module if possible
172 +if ( typeof define === 'function' && define.amd ) {
173 + define( ['jquery', 'datatables'], factory );
174 +}
175 +else if ( typeof exports === 'object' ) {
176 + // Node/CommonJS
177 + factory( require('jquery'), require('datatables') );
178 +}
179 +else if ( jQuery ) {
180 + // Otherwise simply initialise as normal, stopping multiple evaluation
181 + factory( jQuery, jQuery.fn.dataTable );
182 +}
183 +
184 +
185 +})(window, document);
186 +
1 +/*!
2 + DataTables Bootstrap 3 integration
3 + ©2011-2014 SpryMedia Ltd - datatables.net/license
4 +*/
5 +(function(){var f=function(c,b){c.extend(!0,b.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-6'i><'col-sm-6'p>>",renderer:"bootstrap"});c.extend(b.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm"});b.ext.renderer.pageButton.bootstrap=function(g,f,p,k,h,l){var q=new b.Api(g),r=g.oClasses,i=g.oLanguage.oPaginate,d,e,o=function(b,f){var j,m,n,a,k=function(a){a.preventDefault();
6 +c(a.currentTarget).hasClass("disabled")||q.page(a.data.action).draw(!1)};j=0;for(m=f.length;j<m;j++)if(a=f[j],c.isArray(a))o(b,a);else{e=d="";switch(a){case "ellipsis":d="&hellip;";e="disabled";break;case "first":d=i.sFirst;e=a+(0<h?"":" disabled");break;case "previous":d=i.sPrevious;e=a+(0<h?"":" disabled");break;case "next":d=i.sNext;e=a+(h<l-1?"":" disabled");break;case "last":d=i.sLast;e=a+(h<l-1?"":" disabled");break;default:d=a+1,e=h===a?"active":""}d&&(n=c("<li>",{"class":r.sPageButton+" "+
7 +e,"aria-controls":g.sTableId,tabindex:g.iTabIndex,id:0===p&&"string"===typeof a?g.sTableId+"_"+a:null}).append(c("<a>",{href:"#"}).html(d)).appendTo(b),g.oApi._fnBindAction(n,{action:a},k))}};o(c(f).empty().html('<ul class="pagination"/>').children("ul"),k)};b.TableTools&&(c.extend(!0,b.TableTools.classes,{container:"DTTT btn-group",buttons:{normal:"btn btn-default",disabled:"disabled"},collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:"disabled"}},print:{info:"DTTT_print_info"},
8 +select:{row:"active"}}),c.extend(!0,b.TableTools.DEFAULTS.oTags,{collection:{container:"ul",button:"li",liner:"a"}}))};"function"===typeof define&&define.amd?define(["jquery","datatables"],f):"object"===typeof exports?f(require("jquery"),require("datatables")):jQuery&&f(jQuery,jQuery.fn.dataTable)})(window,document);
This diff is collapsed. Click to expand it.
1 +table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child,
2 +table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child {
3 + position: relative;
4 + padding-left: 30px;
5 + cursor: pointer;
6 +}
7 +table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
8 +table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
9 + top: 8px;
10 + left: 4px;
11 + height: 16px;
12 + width: 16px;
13 + display: block;
14 + position: absolute;
15 + color: white;
16 + border: 2px solid white;
17 + border-radius: 16px;
18 + text-align: center;
19 + line-height: 14px;
20 + box-shadow: 0 0 3px #444;
21 + box-sizing: content-box;
22 + content: '+';
23 + background-color: #31b131;
24 +}
25 +table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child.dataTables_empty:before,
26 +table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child.dataTables_empty:before {
27 + display: none;
28 +}
29 +table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
30 +table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
31 + content: '-';
32 + background-color: #d33333;
33 +}
34 +table.dataTable.dtr-inline.collapsed > tbody > tr.child td:before {
35 + display: none;
36 +}
37 +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td:first-child,
38 +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th:first-child {
39 + padding-left: 27px;
40 +}
41 +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td:first-child:before,
42 +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th:first-child:before {
43 + top: 5px;
44 + left: 4px;
45 + height: 14px;
46 + width: 14px;
47 + border-radius: 14px;
48 + line-height: 12px;
49 +}
50 +table.dataTable.dtr-column > tbody > tr > td.control,
51 +table.dataTable.dtr-column > tbody > tr > th.control {
52 + position: relative;
53 + cursor: pointer;
54 +}
55 +table.dataTable.dtr-column > tbody > tr > td.control:before,
56 +table.dataTable.dtr-column > tbody > tr > th.control:before {
57 + top: 50%;
58 + left: 50%;
59 + height: 16px;
60 + width: 16px;
61 + margin-top: -10px;
62 + margin-left: -10px;
63 + display: block;
64 + position: absolute;
65 + color: white;
66 + border: 2px solid white;
67 + border-radius: 16px;
68 + text-align: center;
69 + line-height: 14px;
70 + box-shadow: 0 0 3px #444;
71 + box-sizing: content-box;
72 + content: '+';
73 + background-color: #31b131;
74 +}
75 +table.dataTable.dtr-column > tbody > tr.parent td.control:before,
76 +table.dataTable.dtr-column > tbody > tr.parent th.control:before {
77 + content: '-';
78 + background-color: #d33333;
79 +}
80 +table.dataTable > tbody > tr.child {
81 + padding: 0.5em 1em;
82 +}
83 +table.dataTable > tbody > tr.child:hover {
84 + background: transparent !important;
85 +}
86 +table.dataTable > tbody > tr.child ul {
87 + display: inline-block;
88 + list-style-type: none;
89 + margin: 0;
90 + padding: 0;
91 +}
92 +table.dataTable > tbody > tr.child ul li {
93 + border-bottom: 1px solid #efefef;
94 + padding: 0.5em 0;
95 +}
96 +table.dataTable > tbody > tr.child ul li:first-child {
97 + padding-top: 0;
98 +}
99 +table.dataTable > tbody > tr.child ul li:last-child {
100 + border-bottom: none;
101 +}
102 +table.dataTable > tbody > tr.child span.dtr-title {
103 + display: inline-block;
104 + min-width: 75px;
105 + font-weight: bold;
106 +}
This diff is collapsed. Click to expand it.
1 +
2 +//
3 +// Mixins
4 +//
5 +@mixin control() {
6 + display: block;
7 + position: absolute;
8 + color: white;
9 + border: 2px solid white;
10 + border-radius: 16px;
11 + text-align: center;
12 + line-height: 14px;
13 + box-shadow: 0 0 3px #444;
14 + box-sizing: content-box;
15 +}
16 +
17 +@mixin control-open() {
18 + content: '+';
19 + background-color: #31b131;
20 +}
21 +
22 +@mixin control-close() {
23 + content: '-';
24 + background-color: #d33333;
25 +}
26 +
27 +
28 +//
29 +// Table styles
30 +//
31 +table.dataTable {
32 + // Styling for the `inline` type
33 + &.dtr-inline.collapsed > tbody {
34 + > tr > td:first-child,
35 + > tr > th:first-child {
36 + position: relative;
37 + padding-left: 30px;
38 + cursor: pointer;
39 +
40 + &:before {
41 + top: 8px;
42 + left: 4px;
43 + height: 16px;
44 + width: 16px;
45 + @include control;
46 + @include control-open;
47 + }
48 +
49 + &.dataTables_empty:before {
50 + display: none;
51 + }
52 + }
53 +
54 + > tr.parent {
55 + > td:first-child:before,
56 + > th:first-child:before {
57 + @include control-close;
58 + }
59 + }
60 +
61 + > tr.child td:before {
62 + display: none;
63 + }
64 + }
65 +
66 + // DataTables' `compact` styling
67 + &.dtr-inline.collapsed.compact > tbody {
68 + > tr > td:first-child,
69 + > tr > th:first-child {
70 + padding-left: 27px;
71 +
72 + &:before {
73 + top: 5px;
74 + left: 4px;
75 + height: 14px;
76 + width: 14px;
77 + border-radius: 14px;
78 + line-height: 12px;
79 + }
80 + }
81 + }
82 +
83 +
84 + // Styling for the `column` type
85 + &.dtr-column > tbody {
86 + > tr > td.control,
87 + > tr > th.control {
88 + position: relative;
89 + cursor: pointer;
90 +
91 + &:before {
92 + top: 50%;
93 + left: 50%;
94 + height: 16px;
95 + width: 16px;
96 + margin-top: -10px;
97 + margin-left: -10px;
98 + @include control;
99 + @include control-open;
100 + }
101 + }
102 +
103 + > tr.parent {
104 + td.control:before,
105 + th.control:before {
106 + @include control-close;
107 + }
108 + }
109 + }
110 +
111 +
112 + // Child row styling
113 + > tbody > tr.child {
114 + padding: 0.5em 1em;
115 +
116 + &:hover {
117 + background: transparent !important;
118 + }
119 +
120 + ul {
121 + display: inline-block;
122 + list-style-type: none;
123 + margin: 0;
124 + padding: 0;
125 +
126 + li {
127 + border-bottom: 1px solid #efefef;
128 + padding: 0.5em 0;
129 +
130 + &:first-child {
131 + padding-top: 0;
132 + }
133 +
134 + &:last-child {
135 + border-bottom: none;
136 + }
137 + }
138 + }
139 +
140 + span.dtr-title {
141 + display: inline-block;
142 + min-width: 75px;
143 + font-weight: bold;
144 + }
145 +
146 + span.dtr-data {}
147 + }
148 +}
149 +
1 +table.dataTable {
2 + clear: both;
3 + margin-top: 6px !important;
4 + margin-bottom: 6px !important;
5 + max-width: none !important;
6 + border-collapse: separate !important;
7 +}
8 +table.dataTable td,
9 +table.dataTable th {
10 + -webkit-box-sizing: content-box;
11 + -moz-box-sizing: content-box;
12 + box-sizing: content-box;
13 +}
14 +table.dataTable td.dataTables_empty,
15 +table.dataTable th.dataTables_empty {
16 + text-align: center;
17 +}
18 +table.dataTable.nowrap th,
19 +table.dataTable.nowrap td {
20 + white-space: nowrap;
21 +}
22 +
23 +div.dataTables_wrapper div.dataTables_length label {
24 + font-weight: normal;
25 + text-align: left;
26 + white-space: nowrap;
27 +}
28 +div.dataTables_wrapper div.dataTables_length select {
29 + width: 75px;
30 + display: inline-block;
31 +}
32 +div.dataTables_wrapper div.dataTables_filter {
33 + text-align: right;
34 +}
35 +div.dataTables_wrapper div.dataTables_filter label {
36 + font-weight: normal;
37 + white-space: nowrap;
38 + text-align: left;
39 +}
40 +div.dataTables_wrapper div.dataTables_filter input {
41 + margin-left: 0.5em;
42 + display: inline-block;
43 + width: auto;
44 +}
45 +div.dataTables_wrapper div.dataTables_info {
46 + padding-top: 8px;
47 + white-space: nowrap;
48 +}
49 +div.dataTables_wrapper div.dataTables_paginate {
50 + margin: 0;
51 + white-space: nowrap;
52 + text-align: right;
53 +}
54 +div.dataTables_wrapper div.dataTables_paginate ul.pagination {
55 + margin: 2px 0;
56 + white-space: nowrap;
57 +}
58 +div.dataTables_wrapper div.dataTables_processing {
59 + position: absolute;
60 + top: 50%;
61 + left: 50%;
62 + width: 200px;
63 + margin-left: -100px;
64 + margin-top: -26px;
65 + text-align: center;
66 + padding: 1em 0;
67 +}
68 +
69 +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
70 +table.dataTable thead > tr > td.sorting_asc,
71 +table.dataTable thead > tr > td.sorting_desc,
72 +table.dataTable thead > tr > td.sorting {
73 + padding-right: 30px;
74 +}
75 +table.dataTable thead > tr > th:active,
76 +table.dataTable thead > tr > td:active {
77 + outline: none;
78 +}
79 +table.dataTable thead .sorting,
80 +table.dataTable thead .sorting_asc,
81 +table.dataTable thead .sorting_desc,
82 +table.dataTable thead .sorting_asc_disabled,
83 +table.dataTable thead .sorting_desc_disabled {
84 + cursor: pointer;
85 + position: relative;
86 +}
87 +table.dataTable thead .sorting:after,
88 +table.dataTable thead .sorting_asc:after,
89 +table.dataTable thead .sorting_desc:after,
90 +table.dataTable thead .sorting_asc_disabled:after,
91 +table.dataTable thead .sorting_desc_disabled:after {
92 + position: absolute;
93 + bottom: 8px;
94 + right: 8px;
95 + display: block;
96 + font-family: 'Glyphicons Halflings';
97 + opacity: 0.5;
98 +}
99 +table.dataTable thead .sorting:after {
100 + opacity: 0.2;
101 + content: "\e150";
102 + /* sort */
103 +}
104 +table.dataTable thead .sorting_asc:after {
105 + content: "\e155";
106 + /* sort-by-attributes */
107 +}
108 +table.dataTable thead .sorting_desc:after {
109 + content: "\e156";
110 + /* sort-by-attributes-alt */
111 +}
112 +table.dataTable thead .sorting_asc_disabled:after,
113 +table.dataTable thead .sorting_desc_disabled:after {
114 + color: #eee;
115 +}
116 +
117 +div.dataTables_scrollHead table.dataTable {
118 + margin-bottom: 0 !important;
119 +}
120 +
121 +div.dataTables_scrollBody table {
122 + border-top: none;
123 + margin-top: 0 !important;
124 + margin-bottom: 0 !important;
125 +}
126 +div.dataTables_scrollBody table thead .sorting:after,
127 +div.dataTables_scrollBody table thead .sorting_asc:after,
128 +div.dataTables_scrollBody table thead .sorting_desc:after {
129 + display: none;
130 +}
131 +div.dataTables_scrollBody table tbody tr:first-child th,
132 +div.dataTables_scrollBody table tbody tr:first-child td {
133 + border-top: none;
134 +}
135 +
136 +div.dataTables_scrollFoot table {
137 + margin-top: 0 !important;
138 + border-top: none;
139 +}
140 +
141 +@media screen and (max-width: 767px) {
142 + div.dataTables_wrapper div.dataTables_length,
143 + div.dataTables_wrapper div.dataTables_filter,
144 + div.dataTables_wrapper div.dataTables_info,
145 + div.dataTables_wrapper div.dataTables_paginate {
146 + text-align: center;
147 + }
148 +}
149 +table.dataTable.table-condensed > thead > tr > th {
150 + padding-right: 20px;
151 +}
152 +table.dataTable.table-condensed .sorting:after,
153 +table.dataTable.table-condensed .sorting_asc:after,
154 +table.dataTable.table-condensed .sorting_desc:after {
155 + top: 6px;
156 + right: 6px;
157 +}
158 +
159 +table.table-bordered.dataTable th,
160 +table.table-bordered.dataTable td {
161 + border-left-width: 0;
162 +}
163 +table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
164 +table.table-bordered.dataTable td:last-child,
165 +table.table-bordered.dataTable td:last-child {
166 + border-right-width: 0;
167 +}
168 +table.table-bordered.dataTable tbody th,
169 +table.table-bordered.dataTable tbody td {
170 + border-bottom-width: 0;
171 +}
172 +
173 +div.dataTables_scrollHead table.table-bordered {
174 + border-bottom-width: 0;
175 +}
176 +
177 +div.table-responsive > div.dataTables_wrapper > div.row {
178 + margin: 0;
179 +}
180 +div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
181 + padding-left: 0;
182 +}
183 +div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
184 + padding-right: 0;
185 +}
1 +table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:8px;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:8px;right:8px;display:block;font-family:'Glyphicons Halflings';opacity:0.5}table.dataTable thead .sorting:after{opacity:0.2;content:"\e150"}table.dataTable thead .sorting_asc:after{content:"\e155"}table.dataTable thead .sorting_desc:after{content:"\e156"}table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{color:#eee}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-condensed>thead>tr>th{padding-right:20px}table.dataTable.table-condensed .sorting:after,table.dataTable.table-condensed .sorting_asc:after,table.dataTable.table-condensed .sorting_desc:after{top:6px;right:6px}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:0}table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-right:0}
1 +table.dataTable {
2 + clear: both;
3 + margin-top: 6px !important;
4 + margin-bottom: 6px !important;
5 + max-width: none !important;
6 + border-collapse: separate !important;
7 +}
8 +table.dataTable td,
9 +table.dataTable th {
10 + -webkit-box-sizing: content-box;
11 + box-sizing: content-box;
12 +}
13 +table.dataTable td.dataTables_empty,
14 +table.dataTable th.dataTables_empty {
15 + text-align: center;
16 +}
17 +table.dataTable.nowrap th,
18 +table.dataTable.nowrap td {
19 + white-space: nowrap;
20 +}
21 +
22 +div.dataTables_wrapper div.dataTables_length label {
23 + font-weight: normal;
24 + text-align: left;
25 + white-space: nowrap;
26 +}
27 +div.dataTables_wrapper div.dataTables_length select {
28 + width: 75px;
29 + display: inline-block;
30 +}
31 +div.dataTables_wrapper div.dataTables_filter {
32 + text-align: right;
33 +}
34 +div.dataTables_wrapper div.dataTables_filter label {
35 + font-weight: normal;
36 + white-space: nowrap;
37 + text-align: left;
38 +}
39 +div.dataTables_wrapper div.dataTables_filter input {
40 + margin-left: 0.5em;
41 + display: inline-block;
42 + width: auto;
43 +}
44 +div.dataTables_wrapper div.dataTables_info {
45 + padding-top: 0.85em;
46 + white-space: nowrap;
47 +}
48 +div.dataTables_wrapper div.dataTables_paginate {
49 + margin: 0;
50 + white-space: nowrap;
51 + text-align: right;
52 +}
53 +div.dataTables_wrapper div.dataTables_paginate ul.pagination {
54 + margin: 2px 0;
55 + white-space: nowrap;
56 +}
57 +div.dataTables_wrapper div.dataTables_processing {
58 + position: absolute;
59 + top: 50%;
60 + left: 50%;
61 + width: 200px;
62 + margin-left: -100px;
63 + margin-top: -26px;
64 + text-align: center;
65 + padding: 1em 0;
66 +}
67 +
68 +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
69 +table.dataTable thead > tr > td.sorting_asc,
70 +table.dataTable thead > tr > td.sorting_desc,
71 +table.dataTable thead > tr > td.sorting {
72 + padding-right: 30px;
73 +}
74 +table.dataTable thead > tr > th:active,
75 +table.dataTable thead > tr > td:active {
76 + outline: none;
77 +}
78 +table.dataTable thead .sorting,
79 +table.dataTable thead .sorting_asc,
80 +table.dataTable thead .sorting_desc,
81 +table.dataTable thead .sorting_asc_disabled,
82 +table.dataTable thead .sorting_desc_disabled {
83 + cursor: pointer;
84 + position: relative;
85 +}
86 +table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,
87 +table.dataTable thead .sorting_asc:before,
88 +table.dataTable thead .sorting_asc:after,
89 +table.dataTable thead .sorting_desc:before,
90 +table.dataTable thead .sorting_desc:after,
91 +table.dataTable thead .sorting_asc_disabled:before,
92 +table.dataTable thead .sorting_asc_disabled:after,
93 +table.dataTable thead .sorting_desc_disabled:before,
94 +table.dataTable thead .sorting_desc_disabled:after {
95 + position: absolute;
96 + bottom: 0.9em;
97 + display: block;
98 + opacity: 0.3;
99 +}
100 +table.dataTable thead .sorting:before,
101 +table.dataTable thead .sorting_asc:before,
102 +table.dataTable thead .sorting_desc:before,
103 +table.dataTable thead .sorting_asc_disabled:before,
104 +table.dataTable thead .sorting_desc_disabled:before {
105 + right: 1em;
106 + content: "\2191";
107 +}
108 +table.dataTable thead .sorting:after,
109 +table.dataTable thead .sorting_asc:after,
110 +table.dataTable thead .sorting_desc:after,
111 +table.dataTable thead .sorting_asc_disabled:after,
112 +table.dataTable thead .sorting_desc_disabled:after {
113 + right: 0.5em;
114 + content: "\2193";
115 +}
116 +table.dataTable thead .sorting_asc:before,
117 +table.dataTable thead .sorting_desc:after {
118 + opacity: 1;
119 +}
120 +table.dataTable thead .sorting_asc_disabled:before,
121 +table.dataTable thead .sorting_desc_disabled:after {
122 + opacity: 0;
123 +}
124 +
125 +div.dataTables_scrollHead table.dataTable {
126 + margin-bottom: 0 !important;
127 +}
128 +
129 +div.dataTables_scrollBody table {
130 + border-top: none;
131 + margin-top: 0 !important;
132 + margin-bottom: 0 !important;
133 +}
134 +div.dataTables_scrollBody table thead .sorting:after,
135 +div.dataTables_scrollBody table thead .sorting_asc:after,
136 +div.dataTables_scrollBody table thead .sorting_desc:after {
137 + display: none;
138 +}
139 +div.dataTables_scrollBody table tbody tr:first-child th,
140 +div.dataTables_scrollBody table tbody tr:first-child td {
141 + border-top: none;
142 +}
143 +
144 +div.dataTables_scrollFoot table {
145 + margin-top: 0 !important;
146 + border-top: none;
147 +}
148 +
149 +@media screen and (max-width: 767px) {
150 + div.dataTables_wrapper div.dataTables_length,
151 + div.dataTables_wrapper div.dataTables_filter,
152 + div.dataTables_wrapper div.dataTables_info,
153 + div.dataTables_wrapper div.dataTables_paginate {
154 + text-align: center;
155 + }
156 +}
157 +table.dataTable.table-condensed > thead > tr > th {
158 + padding-right: 20px;
159 +}
160 +table.dataTable.table-condensed .sorting:after,
161 +table.dataTable.table-condensed .sorting_asc:after,
162 +table.dataTable.table-condensed .sorting_desc:after {
163 + top: 6px;
164 + right: 6px;
165 +}
166 +
167 +table.table-bordered.dataTable th,
168 +table.table-bordered.dataTable td {
169 + border-left-width: 0;
170 +}
171 +table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
172 +table.table-bordered.dataTable td:last-child,
173 +table.table-bordered.dataTable td:last-child {
174 + border-right-width: 0;
175 +}
176 +table.table-bordered.dataTable tbody th,
177 +table.table-bordered.dataTable tbody td {
178 + border-bottom-width: 0;
179 +}
180 +
181 +div.dataTables_scrollHead table.table-bordered {
182 + border-bottom-width: 0;
183 +}
184 +
185 +div.table-responsive > div.dataTables_wrapper > div.row {
186 + margin: 0;
187 +}
188 +div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
189 + padding-left: 0;
190 +}
191 +div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
192 + padding-right: 0;
193 +}
1 +table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:0.85em;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:before,table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:0.9em;display:block;opacity:0.3}table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:before{right:1em;content:"\2191"}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{right:0.5em;content:"\2193"}table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:after{opacity:1}table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{opacity:0}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-condensed>thead>tr>th{padding-right:20px}table.dataTable.table-condensed .sorting:after,table.dataTable.table-condensed .sorting_asc:after,table.dataTable.table-condensed .sorting_desc:after{top:6px;right:6px}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:0}table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-right:0}
1 +table.dataTable {
2 + clear: both;
3 + margin: 0.5em 0 !important;
4 + max-width: none !important;
5 + width: 100%;
6 +}
7 +table.dataTable td,
8 +table.dataTable th {
9 + -webkit-box-sizing: content-box;
10 + box-sizing: content-box;
11 +}
12 +table.dataTable td.dataTables_empty,
13 +table.dataTable th.dataTables_empty {
14 + text-align: center;
15 +}
16 +table.dataTable.nowrap th, table.dataTable.nowrap td {
17 + white-space: nowrap;
18 +}
19 +
20 +div.dataTables_wrapper {
21 + position: relative;
22 +}
23 +div.dataTables_wrapper div.dataTables_length label {
24 + float: left;
25 + text-align: left;
26 + margin-bottom: 0;
27 +}
28 +div.dataTables_wrapper div.dataTables_length select {
29 + width: 75px;
30 + margin-bottom: 0;
31 +}
32 +div.dataTables_wrapper div.dataTables_filter label {
33 + float: right;
34 + margin-bottom: 0;
35 +}
36 +div.dataTables_wrapper div.dataTables_filter input {
37 + display: inline-block !important;
38 + width: auto !important;
39 + margin-bottom: 0;
40 + margin-left: 0.5em;
41 +}
42 +div.dataTables_wrapper div.dataTables_info {
43 + padding-top: 2px;
44 +}
45 +div.dataTables_wrapper div.dataTables_paginate {
46 + float: right;
47 + margin: 0;
48 +}
49 +div.dataTables_wrapper div.dataTables_processing {
50 + position: absolute;
51 + top: 50%;
52 + left: 50%;
53 + width: 200px;
54 + margin-left: -100px;
55 + margin-top: -26px;
56 + text-align: center;
57 + padding: 1rem 0;
58 +}
59 +
60 +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
61 +table.dataTable thead > tr > td.sorting_asc,
62 +table.dataTable thead > tr > td.sorting_desc,
63 +table.dataTable thead > tr > td.sorting {
64 + padding-right: 1.5rem;
65 +}
66 +table.dataTable thead > tr > th:active,
67 +table.dataTable thead > tr > td:active {
68 + outline: none;
69 +}
70 +table.dataTable thead .sorting,
71 +table.dataTable thead .sorting_asc,
72 +table.dataTable thead .sorting_desc {
73 + cursor: pointer;
74 +}
75 +table.dataTable thead .sorting,
76 +table.dataTable thead .sorting_asc,
77 +table.dataTable thead .sorting_desc,
78 +table.dataTable thead .sorting_asc_disabled,
79 +table.dataTable thead .sorting_desc_disabled {
80 + background-repeat: no-repeat;
81 + background-position: center right;
82 +}
83 +table.dataTable thead .sorting {
84 + background-image: url("../images/sort_both.png");
85 +}
86 +table.dataTable thead .sorting_asc {
87 + background-image: url("../images/sort_asc.png");
88 +}
89 +table.dataTable thead .sorting_desc {
90 + background-image: url("../images/sort_desc.png");
91 +}
92 +table.dataTable thead .sorting_asc_disabled {
93 + background-image: url("../images/sort_asc_disabled.png");
94 +}
95 +table.dataTable thead .sorting_desc_disabled {
96 + background-image: url("../images/sort_desc_disabled.png");
97 +}
98 +
99 +div.dataTables_scrollHead table {
100 + margin-bottom: 0 !important;
101 +}
102 +
103 +div.dataTables_scrollBody table {
104 + border-top: none;
105 + margin-top: 0 !important;
106 + margin-bottom: 0 !important;
107 +}
108 +div.dataTables_scrollBody table tbody tr:first-child th,
109 +div.dataTables_scrollBody table tbody tr:first-child td {
110 + border-top: none;
111 +}
112 +
113 +div.dataTables_scrollFoot table {
114 + margin-top: 0 !important;
115 + border-top: none;
116 +}
1 +table.dataTable{clear:both;margin:0.5em 0 !important;max-width:none !important;width:100%}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper{position:relative}div.dataTables_wrapper div.dataTables_length label{float:left;text-align:left;margin-bottom:0}div.dataTables_wrapper div.dataTables_length select{width:75px;margin-bottom:0}div.dataTables_wrapper div.dataTables_filter label{float:right;margin-bottom:0}div.dataTables_wrapper div.dataTables_filter input{display:inline-block !important;width:auto !important;margin-bottom:0;margin-left:0.5em}div.dataTables_wrapper div.dataTables_info{padding-top:2px}div.dataTables_wrapper div.dataTables_paginate{float:right;margin:0}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1rem 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:1.5rem}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc{cursor:pointer}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("../images/sort_both.png")}table.dataTable thead .sorting_asc{background-image:url("../images/sort_asc.png")}table.dataTable thead .sorting_desc{background-image:url("../images/sort_desc.png")}table.dataTable thead .sorting_asc_disabled{background-image:url("../images/sort_asc_disabled.png")}table.dataTable thead .sorting_desc_disabled{background-image:url("../images/sort_desc_disabled.png")}div.dataTables_scrollHead table{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 +div.dataTables_wrapper div.dataTables_filter {
2 + text-align: right;
3 +}
4 +div.dataTables_wrapper div.dataTables_filter input {
5 + margin-left: 0.5em;
6 +}
7 +div.dataTables_wrapper div.dataTables_info {
8 + padding-top: 10px;
9 + white-space: nowrap;
10 +}
11 +div.dataTables_wrapper div.dataTables_processing {
12 + position: absolute;
13 + top: 50%;
14 + left: 50%;
15 + width: 200px;
16 + margin-left: -100px;
17 + text-align: center;
18 +}
19 +div.dataTables_wrapper div.dataTables_paginate {
20 + text-align: right;
21 +}
22 +div.dataTables_wrapper div.mdl-grid.dt-table {
23 + padding-top: 0;
24 + padding-bottom: 0;
25 +}
26 +div.dataTables_wrapper div.mdl-grid.dt-table > div.mdl-cell {
27 + margin-top: 0;
28 + margin-bottom: 0;
29 +}
30 +
31 +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
32 +table.dataTable thead > tr > td.sorting_asc,
33 +table.dataTable thead > tr > td.sorting_desc,
34 +table.dataTable thead > tr > td.sorting {
35 + padding-right: 30px;
36 +}
37 +table.dataTable thead > tr > th:active,
38 +table.dataTable thead > tr > td:active {
39 + outline: none;
40 +}
41 +table.dataTable thead .sorting,
42 +table.dataTable thead .sorting_asc,
43 +table.dataTable thead .sorting_desc,
44 +table.dataTable thead .sorting_asc_disabled,
45 +table.dataTable thead .sorting_desc_disabled {
46 + cursor: pointer;
47 + position: relative;
48 +}
49 +table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,
50 +table.dataTable thead .sorting_asc:before,
51 +table.dataTable thead .sorting_asc:after,
52 +table.dataTable thead .sorting_desc:before,
53 +table.dataTable thead .sorting_desc:after,
54 +table.dataTable thead .sorting_asc_disabled:before,
55 +table.dataTable thead .sorting_asc_disabled:after,
56 +table.dataTable thead .sorting_desc_disabled:before,
57 +table.dataTable thead .sorting_desc_disabled:after {
58 + position: absolute;
59 + bottom: 11px;
60 + display: block;
61 + opacity: 0.3;
62 + font-size: 1.3em;
63 +}
64 +table.dataTable thead .sorting:before,
65 +table.dataTable thead .sorting_asc:before,
66 +table.dataTable thead .sorting_desc:before,
67 +table.dataTable thead .sorting_asc_disabled:before,
68 +table.dataTable thead .sorting_desc_disabled:before {
69 + right: 1em;
70 + content: "\2191";
71 +}
72 +table.dataTable thead .sorting:after,
73 +table.dataTable thead .sorting_asc:after,
74 +table.dataTable thead .sorting_desc:after,
75 +table.dataTable thead .sorting_asc_disabled:after,
76 +table.dataTable thead .sorting_desc_disabled:after {
77 + right: 0.5em;
78 + content: "\2193";
79 +}
80 +table.dataTable thead .sorting_asc:before,
81 +table.dataTable thead .sorting_desc:after {
82 + opacity: 1;
83 +}
84 +table.dataTable thead .sorting_asc_disabled:before,
85 +table.dataTable thead .sorting_desc_disabled:after {
86 + opacity: 0;
87 +}
1 +div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em}div.dataTables_wrapper div.dataTables_info{padding-top:10px;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;text-align:center}div.dataTables_wrapper div.dataTables_paginate{text-align:right}div.dataTables_wrapper div.mdl-grid.dt-table{padding-top:0;padding-bottom:0}div.dataTables_wrapper div.mdl-grid.dt-table>div.mdl-cell{margin-top:0;margin-bottom:0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:before,table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:11px;display:block;opacity:0.3;font-size:1.3em}table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:before{right:1em;content:"\2191"}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{right:0.5em;content:"\2193"}table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:after{opacity:1}table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{opacity:0}
1 +/*
2 + * Styling for DataTables with Semantic UI
3 + */
4 +table.dataTable.table {
5 + margin: 0;
6 +}
7 +table.dataTable.table thead th,
8 +table.dataTable.table thead td {
9 + position: relative;
10 +}
11 +table.dataTable.table thead th.sorting, table.dataTable.table thead th.sorting_asc, table.dataTable.table thead th.sorting_desc,
12 +table.dataTable.table thead td.sorting,
13 +table.dataTable.table thead td.sorting_asc,
14 +table.dataTable.table thead td.sorting_desc {
15 + padding-right: 20px;
16 +}
17 +table.dataTable.table thead th.sorting:after, table.dataTable.table thead th.sorting_asc:after, table.dataTable.table thead th.sorting_desc:after,
18 +table.dataTable.table thead td.sorting:after,
19 +table.dataTable.table thead td.sorting_asc:after,
20 +table.dataTable.table thead td.sorting_desc:after {
21 + position: absolute;
22 + top: 12px;
23 + right: 8px;
24 + display: block;
25 + font-family: Icons;
26 +}
27 +table.dataTable.table thead th.sorting:after,
28 +table.dataTable.table thead td.sorting:after {
29 + content: "\f0dc";
30 + color: #ddd;
31 + font-size: 0.8em;
32 +}
33 +table.dataTable.table thead th.sorting_asc:after,
34 +table.dataTable.table thead td.sorting_asc:after {
35 + content: "\f0de";
36 +}
37 +table.dataTable.table thead th.sorting_desc:after,
38 +table.dataTable.table thead td.sorting_desc:after {
39 + content: "\f0dd";
40 +}
41 +table.dataTable.table td,
42 +table.dataTable.table th {
43 + -webkit-box-sizing: content-box;
44 + -moz-box-sizing: content-box;
45 + box-sizing: content-box;
46 +}
47 +table.dataTable.table td.dataTables_empty,
48 +table.dataTable.table th.dataTables_empty {
49 + text-align: center;
50 +}
51 +table.dataTable.table.nowrap th,
52 +table.dataTable.table.nowrap td {
53 + white-space: nowrap;
54 +}
55 +
56 +div.dataTables_wrapper div.dataTables_length select {
57 + vertical-align: middle;
58 + min-height: 2.7142em;
59 +}
60 +div.dataTables_wrapper div.dataTables_length .ui.selection.dropdown {
61 + min-width: 0;
62 +}
63 +div.dataTables_wrapper div.dataTables_filter input {
64 + margin-left: 0.5em;
65 +}
66 +div.dataTables_wrapper div.dataTables_info {
67 + padding-top: 13px;
68 + white-space: nowrap;
69 +}
70 +div.dataTables_wrapper div.dataTables_processing {
71 + position: absolute;
72 + top: 50%;
73 + left: 50%;
74 + width: 200px;
75 + margin-left: -100px;
76 + text-align: center;
77 +}
78 +div.dataTables_wrapper div.row.dt-table {
79 + padding: 0;
80 +}
81 +div.dataTables_wrapper div.dataTables_scrollHead table.dataTable {
82 + border-bottom-right-radius: 0;
83 + border-bottom-left-radius: 0;
84 + border-bottom: none;
85 +}
86 +div.dataTables_wrapper div.dataTables_scrollBody thead .sorting:after,
87 +div.dataTables_wrapper div.dataTables_scrollBody thead .sorting_asc:after,
88 +div.dataTables_wrapper div.dataTables_scrollBody thead .sorting_desc:after {
89 + display: none;
90 +}
91 +div.dataTables_wrapper div.dataTables_scrollBody table.dataTable {
92 + border-radius: 0;
93 + border-top: none;
94 + border-bottom-width: 0;
95 +}
96 +div.dataTables_wrapper div.dataTables_scrollBody table.dataTable.no-footer {
97 + border-bottom-width: 1px;
98 +}
99 +div.dataTables_wrapper div.dataTables_scrollFoot table.dataTable {
100 + border-top-right-radius: 0;
101 + border-top-left-radius: 0;
102 + border-top: none;
103 +}
1 +table.dataTable.table{margin:0}table.dataTable.table thead th,table.dataTable.table thead td{position:relative}table.dataTable.table thead th.sorting,table.dataTable.table thead th.sorting_asc,table.dataTable.table thead th.sorting_desc,table.dataTable.table thead td.sorting,table.dataTable.table thead td.sorting_asc,table.dataTable.table thead td.sorting_desc{padding-right:20px}table.dataTable.table thead th.sorting:after,table.dataTable.table thead th.sorting_asc:after,table.dataTable.table thead th.sorting_desc:after,table.dataTable.table thead td.sorting:after,table.dataTable.table thead td.sorting_asc:after,table.dataTable.table thead td.sorting_desc:after{position:absolute;top:12px;right:8px;display:block;font-family:Icons}table.dataTable.table thead th.sorting:after,table.dataTable.table thead td.sorting:after{content:"\f0dc";color:#ddd;font-size:0.8em}table.dataTable.table thead th.sorting_asc:after,table.dataTable.table thead td.sorting_asc:after{content:"\f0de"}table.dataTable.table thead th.sorting_desc:after,table.dataTable.table thead td.sorting_desc:after{content:"\f0dd"}table.dataTable.table td,table.dataTable.table th{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}table.dataTable.table td.dataTables_empty,table.dataTable.table th.dataTables_empty{text-align:center}table.dataTable.table.nowrap th,table.dataTable.table.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{vertical-align:middle;min-height:2.7142em}div.dataTables_wrapper div.dataTables_length .ui.selection.dropdown{min-width:0}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em}div.dataTables_wrapper div.dataTables_info{padding-top:13px;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;text-align:center}div.dataTables_wrapper div.row.dt-table{padding:0}div.dataTables_wrapper div.dataTables_scrollHead table.dataTable{border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom:none}div.dataTables_wrapper div.dataTables_scrollBody thead .sorting:after,div.dataTables_wrapper div.dataTables_scrollBody thead .sorting_asc:after,div.dataTables_wrapper div.dataTables_scrollBody thead .sorting_desc:after{display:none}div.dataTables_wrapper div.dataTables_scrollBody table.dataTable{border-radius:0;border-top:none;border-bottom-width:0}div.dataTables_wrapper div.dataTables_scrollBody table.dataTable.no-footer{border-bottom-width:1px}div.dataTables_wrapper div.dataTables_scrollFoot table.dataTable{border-top-right-radius:0;border-top-left-radius:0;border-top:none}
1 +table.dataTable {
2 + clear: both;
3 + margin-top: 6px !important;
4 + margin-bottom: 6px !important;
5 + max-width: none !important;
6 +}
7 +table.dataTable td,
8 +table.dataTable th {
9 + -webkit-box-sizing: content-box;
10 + box-sizing: content-box;
11 +}
12 +table.dataTable td.dataTables_empty,
13 +table.dataTable th.dataTables_empty {
14 + text-align: center;
15 +}
16 +table.dataTable.nowrap th,
17 +table.dataTable.nowrap td {
18 + white-space: nowrap;
19 +}
20 +
21 +div.dataTables_wrapper div.row.uk-grid.dt-merge-grid {
22 + margin-top: 5px;
23 +}
24 +div.dataTables_wrapper div.dataTables_length label {
25 + font-weight: normal;
26 + text-align: left;
27 + white-space: nowrap;
28 +}
29 +div.dataTables_wrapper div.dataTables_length select {
30 + width: 75px;
31 + display: inline-block;
32 +}
33 +div.dataTables_wrapper div.dataTables_filter {
34 + text-align: right;
35 +}
36 +div.dataTables_wrapper div.dataTables_filter label {
37 + font-weight: normal;
38 + white-space: nowrap;
39 + text-align: left;
40 +}
41 +div.dataTables_wrapper div.dataTables_filter input {
42 + margin-left: 0.5em;
43 + display: inline-block;
44 + width: auto;
45 +}
46 +div.dataTables_wrapper div.dataTables_info {
47 + padding-top: 8px;
48 + white-space: nowrap;
49 +}
50 +div.dataTables_wrapper div.dataTables_paginate {
51 + margin: 0;
52 + white-space: nowrap;
53 + text-align: right;
54 +}
55 +div.dataTables_wrapper div.dataTables_paginate ul.pagination {
56 + margin: 2px 0;
57 + white-space: nowrap;
58 +}
59 +div.dataTables_wrapper div.dataTables_processing {
60 + position: absolute;
61 + top: 50%;
62 + left: 50%;
63 + width: 200px;
64 + margin-left: -100px;
65 + margin-top: -26px;
66 + text-align: center;
67 + padding: 1em 0;
68 +}
69 +
70 +table.dataTable thead > tr > th,
71 +table.dataTable thead > tr > td {
72 + position: relative;
73 +}
74 +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
75 +table.dataTable thead > tr > td.sorting_asc,
76 +table.dataTable thead > tr > td.sorting_desc,
77 +table.dataTable thead > tr > td.sorting {
78 + padding-right: 30px;
79 +}
80 +table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:after,
81 +table.dataTable thead > tr > td.sorting:after,
82 +table.dataTable thead > tr > td.sorting_asc:after,
83 +table.dataTable thead > tr > td.sorting_desc:after {
84 + position: absolute;
85 + top: 7px;
86 + right: 8px;
87 + display: block;
88 + font-family: 'FontAwesome';
89 +}
90 +table.dataTable thead > tr > th.sorting:after,
91 +table.dataTable thead > tr > td.sorting:after {
92 + content: "\f0dc";
93 + color: #ddd;
94 + font-size: 0.8em;
95 + padding-top: 0.12em;
96 +}
97 +table.dataTable thead > tr > th.sorting_asc:after,
98 +table.dataTable thead > tr > td.sorting_asc:after {
99 + content: "\f0de";
100 +}
101 +table.dataTable thead > tr > th.sorting_desc:after,
102 +table.dataTable thead > tr > td.sorting_desc:after {
103 + content: "\f0dd";
104 +}
105 +
106 +div.dataTables_scrollHead table.dataTable {
107 + margin-bottom: 0 !important;
108 +}
109 +
110 +div.dataTables_scrollBody table {
111 + border-top: none;
112 + margin-top: 0 !important;
113 + margin-bottom: 0 !important;
114 +}
115 +div.dataTables_scrollBody table thead .sorting:after,
116 +div.dataTables_scrollBody table thead .sorting_asc:after,
117 +div.dataTables_scrollBody table thead .sorting_desc:after {
118 + display: none;
119 +}
120 +div.dataTables_scrollBody table tbody tr:first-child th,
121 +div.dataTables_scrollBody table tbody tr:first-child td {
122 + border-top: none;
123 +}
124 +
125 +div.dataTables_scrollFoot table {
126 + margin-top: 0 !important;
127 + border-top: none;
128 +}
129 +
130 +@media screen and (max-width: 767px) {
131 + div.dataTables_wrapper div.dataTables_length,
132 + div.dataTables_wrapper div.dataTables_filter,
133 + div.dataTables_wrapper div.dataTables_info,
134 + div.dataTables_wrapper div.dataTables_paginate {
135 + text-align: center;
136 + }
137 +}
138 +table.dataTable.uk-table-condensed > thead > tr > th {
139 + padding-right: 20px;
140 +}
141 +table.dataTable.uk-table-condensed .sorting:after,
142 +table.dataTable.uk-table-condensed .sorting_asc:after,
143 +table.dataTable.uk-table-condensed .sorting_desc:after {
144 + top: 6px;
145 + right: 6px;
146 +}
1 +table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.row.uk-grid.dt-merge-grid{margin-top:5px}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:8px;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th,table.dataTable thead>tr>td{position:relative}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>td.sorting:after,table.dataTable thead>tr>td.sorting_asc:after,table.dataTable thead>tr>td.sorting_desc:after{position:absolute;top:7px;right:8px;display:block;font-family:'FontAwesome'}table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>td.sorting:after{content:"\f0dc";color:#ddd;font-size:0.8em;padding-top:0.12em}table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>td.sorting_asc:after{content:"\f0de"}table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>td.sorting_desc:after{content:"\f0dd"}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.uk-table-condensed>thead>tr>th{padding-right:20px}table.dataTable.uk-table-condensed .sorting:after,table.dataTable.uk-table-condensed .sorting_asc:after,table.dataTable.uk-table-condensed .sorting_desc:after{top:6px;right:6px}
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
1 +/*! DataTables Bootstrap 3 integration
2 + * ©2011-2015 SpryMedia Ltd - datatables.net/license
3 + */
4 +
5 +/**
6 + * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and
7 + * DataTables 1.10 or newer.
8 + *
9 + * This file sets the defaults and adds options to DataTables to style its
10 + * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
11 + * for further information.
12 + */
13 +(function( factory ){
14 + if ( typeof define === 'function' && define.amd ) {
15 + // AMD
16 + define( ['jquery', 'datatables.net'], function ( $ ) {
17 + return factory( $, window, document );
18 + } );
19 + }
20 + else if ( typeof exports === 'object' ) {
21 + // CommonJS
22 + module.exports = function (root, $) {
23 + if ( ! root ) {
24 + root = window;
25 + }
26 +
27 + if ( ! $ || ! $.fn.dataTable ) {
28 + // Require DataTables, which attaches to jQuery, including
29 + // jQuery if needed and have a $ property so we can access the
30 + // jQuery object that is used
31 + $ = require('datatables.net')(root, $).$;
32 + }
33 +
34 + return factory( $, root, root.document );
35 + };
36 + }
37 + else {
38 + // Browser
39 + factory( jQuery, window, document );
40 + }
41 +}(function( $, window, document, undefined ) {
42 +'use strict';
43 +var DataTable = $.fn.dataTable;
44 +
45 +
46 +/* Set the defaults for DataTables initialisation */
47 +$.extend( true, DataTable.defaults, {
48 + dom:
49 + "<'row'<'col-sm-6'l><'col-sm-6'f>>" +
50 + "<'row'<'col-sm-12'tr>>" +
51 + "<'row'<'col-sm-5'i><'col-sm-7'p>>",
52 + renderer: 'bootstrap'
53 +} );
54 +
55 +
56 +/* Default class modification */
57 +$.extend( DataTable.ext.classes, {
58 + sWrapper: "dataTables_wrapper form-inline dt-bootstrap",
59 + sFilterInput: "form-control input-sm",
60 + sLengthSelect: "form-control input-sm",
61 + sProcessing: "dataTables_processing panel panel-default"
62 +} );
63 +
64 +
65 +/* Bootstrap paging button renderer */
66 +DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
67 + var api = new DataTable.Api( settings );
68 + var classes = settings.oClasses;
69 + var lang = settings.oLanguage.oPaginate;
70 + var aria = settings.oLanguage.oAria.paginate || {};
71 + var btnDisplay, btnClass, counter=0;
72 +
73 + var attach = function( container, buttons ) {
74 + var i, ien, node, button;
75 + var clickHandler = function ( e ) {
76 + e.preventDefault();
77 + if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
78 + api.page( e.data.action ).draw( 'page' );
79 + }
80 + };
81 +
82 + for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
83 + button = buttons[i];
84 +
85 + if ( $.isArray( button ) ) {
86 + attach( container, button );
87 + }
88 + else {
89 + btnDisplay = '';
90 + btnClass = '';
91 +
92 + switch ( button ) {
93 + case 'ellipsis':
94 + btnDisplay = '&#x2026;';
95 + btnClass = 'disabled';
96 + break;
97 +
98 + case 'first':
99 + btnDisplay = lang.sFirst;
100 + btnClass = button + (page > 0 ?
101 + '' : ' disabled');
102 + break;
103 +
104 + case 'previous':
105 + btnDisplay = lang.sPrevious;
106 + btnClass = button + (page > 0 ?
107 + '' : ' disabled');
108 + break;
109 +
110 + case 'next':
111 + btnDisplay = lang.sNext;
112 + btnClass = button + (page < pages-1 ?
113 + '' : ' disabled');
114 + break;
115 +
116 + case 'last':
117 + btnDisplay = lang.sLast;
118 + btnClass = button + (page < pages-1 ?
119 + '' : ' disabled');
120 + break;
121 +
122 + default:
123 + btnDisplay = button + 1;
124 + btnClass = page === button ?
125 + 'active' : '';
126 + break;
127 + }
128 +
129 + if ( btnDisplay ) {
130 + node = $('<li>', {
131 + 'class': classes.sPageButton+' '+btnClass,
132 + 'id': idx === 0 && typeof button === 'string' ?
133 + settings.sTableId +'_'+ button :
134 + null
135 + } )
136 + .append( $('<a>', {
137 + 'href': '#',
138 + 'aria-controls': settings.sTableId,
139 + 'aria-label': aria[ button ],
140 + 'data-dt-idx': counter,
141 + 'tabindex': settings.iTabIndex
142 + } )
143 + .html( btnDisplay )
144 + )
145 + .appendTo( container );
146 +
147 + settings.oApi._fnBindAction(
148 + node, {action: button}, clickHandler
149 + );
150 +
151 + counter++;
152 + }
153 + }
154 + }
155 + };
156 +
157 + // IE9 throws an 'unknown error' if document.activeElement is used
158 + // inside an iframe or frame.
159 + var activeEl;
160 +
161 + try {
162 + // Because this approach is destroying and recreating the paging
163 + // elements, focus is lost on the select button which is bad for
164 + // accessibility. So we want to restore focus once the draw has
165 + // completed
166 + activeEl = $(host).find(document.activeElement).data('dt-idx');
167 + }
168 + catch (e) {}
169 +
170 + attach(
171 + $(host).empty().html('<ul class="pagination"/>').children('ul'),
172 + buttons
173 + );
174 +
175 + if ( activeEl ) {
176 + $(host).find( '[data-dt-idx='+activeEl+']' ).focus();
177 + }
178 +};
179 +
180 +
181 +return DataTable;
182 +}));
...\ No newline at end of file ...\ No newline at end of file
1 +/*!
2 + DataTables Bootstrap 3 integration
3 + ©2011-2015 SpryMedia Ltd - datatables.net/license
4 +*/
5 +(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return b(d,a,a.document)}:b(jQuery,window,document)})(function(b,a,d){var f=b.fn.dataTable;b.extend(!0,f.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"});b.extend(f.ext.classes,
6 +{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"});f.ext.renderer.pageButton.bootstrap=function(a,h,r,m,j,n){var o=new f.Api(a),s=a.oClasses,k=a.oLanguage.oPaginate,t=a.oLanguage.oAria.paginate||{},e,g,p=0,q=function(d,f){var l,h,i,c,m=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&&o.page()!=a.data.action&&o.page(a.data.action).draw("page")};
7 +l=0;for(h=f.length;l<h;l++)if(c=f[l],b.isArray(c))q(d,c);else{g=e="";switch(c){case "ellipsis":e="&#x2026;";g="disabled";break;case "first":e=k.sFirst;g=c+(0<j?"":" disabled");break;case "previous":e=k.sPrevious;g=c+(0<j?"":" disabled");break;case "next":e=k.sNext;g=c+(j<n-1?"":" disabled");break;case "last":e=k.sLast;g=c+(j<n-1?"":" disabled");break;default:e=c+1,g=j===c?"active":""}e&&(i=b("<li>",{"class":s.sPageButton+" "+g,id:0===r&&"string"===typeof c?a.sTableId+"_"+c:null}).append(b("<a>",{href:"#",
8 +"aria-controls":a.sTableId,"aria-label":t[c],"data-dt-idx":p,tabindex:a.iTabIndex}).html(e)).appendTo(d),a.oApi._fnBindAction(i,{action:c},m),p++)}},i;try{i=b(h).find(d.activeElement).data("dt-idx")}catch(u){}q(b(h).empty().html('<ul class="pagination"/>').children("ul"),m);i&&b(h).find("[data-dt-idx="+i+"]").focus()};return f});
1 +/*! DataTables Bootstrap 3 integration
2 + * ©2011-2015 SpryMedia Ltd - datatables.net/license
3 + */
4 +
5 +/**
6 + * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and
7 + * DataTables 1.10 or newer.
8 + *
9 + * This file sets the defaults and adds options to DataTables to style its
10 + * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
11 + * for further information.
12 + */
13 +(function( factory ){
14 + if ( typeof define === 'function' && define.amd ) {
15 + // AMD
16 + define( ['jquery', 'datatables.net'], function ( $ ) {
17 + return factory( $, window, document );
18 + } );
19 + }
20 + else if ( typeof exports === 'object' ) {
21 + // CommonJS
22 + module.exports = function (root, $) {
23 + if ( ! root ) {
24 + root = window;
25 + }
26 +
27 + if ( ! $ || ! $.fn.dataTable ) {
28 + // Require DataTables, which attaches to jQuery, including
29 + // jQuery if needed and have a $ property so we can access the
30 + // jQuery object that is used
31 + $ = require('datatables.net')(root, $).$;
32 + }
33 +
34 + return factory( $, root, root.document );
35 + };
36 + }
37 + else {
38 + // Browser
39 + factory( jQuery, window, document );
40 + }
41 +}(function( $, window, document, undefined ) {
42 +'use strict';
43 +var DataTable = $.fn.dataTable;
44 +
45 +
46 +/* Set the defaults for DataTables initialisation */
47 +$.extend( true, DataTable.defaults, {
48 + dom:
49 + "<'row'<'col-md-6'l><'col-md-6'f>>" +
50 + "<'row'<'col-md-12'tr>>" +
51 + "<'row'<'col-md-5'i><'col-md-7'p>>",
52 + renderer: 'bootstrap'
53 +} );
54 +
55 +
56 +/* Default class modification */
57 +$.extend( DataTable.ext.classes, {
58 + sWrapper: "dataTables_wrapper form-inline dt-bootstrap4",
59 + sFilterInput: "form-control input-sm",
60 + sLengthSelect: "form-control input-sm",
61 + sProcessing: "dataTables_processing panel panel-default",
62 + sPageButton: "paginate_button page-item"
63 +} );
64 +
65 +
66 +/* Bootstrap paging button renderer */
67 +DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
68 + var api = new DataTable.Api( settings );
69 + var classes = settings.oClasses;
70 + var lang = settings.oLanguage.oPaginate;
71 + var aria = settings.oLanguage.oAria.paginate || {};
72 + var btnDisplay, btnClass, counter=0;
73 +
74 + var attach = function( container, buttons ) {
75 + var i, ien, node, button;
76 + var clickHandler = function ( e ) {
77 + e.preventDefault();
78 + if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
79 + api.page( e.data.action ).draw( 'page' );
80 + }
81 + };
82 +
83 + for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
84 + button = buttons[i];
85 +
86 + if ( $.isArray( button ) ) {
87 + attach( container, button );
88 + }
89 + else {
90 + btnDisplay = '';
91 + btnClass = '';
92 +
93 + switch ( button ) {
94 + case 'ellipsis':
95 + btnDisplay = '&#x2026;';
96 + btnClass = 'disabled';
97 + break;
98 +
99 + case 'first':
100 + btnDisplay = lang.sFirst;
101 + btnClass = button + (page > 0 ?
102 + '' : ' disabled');
103 + break;
104 +
105 + case 'previous':
106 + btnDisplay = lang.sPrevious;
107 + btnClass = button + (page > 0 ?
108 + '' : ' disabled');
109 + break;
110 +
111 + case 'next':
112 + btnDisplay = lang.sNext;
113 + btnClass = button + (page < pages-1 ?
114 + '' : ' disabled');
115 + break;
116 +
117 + case 'last':
118 + btnDisplay = lang.sLast;
119 + btnClass = button + (page < pages-1 ?
120 + '' : ' disabled');
121 + break;
122 +
123 + default:
124 + btnDisplay = button + 1;
125 + btnClass = page === button ?
126 + 'active' : '';
127 + break;
128 + }
129 +
130 + if ( btnDisplay ) {
131 + node = $('<li>', {
132 + 'class': classes.sPageButton+' '+btnClass,
133 + 'id': idx === 0 && typeof button === 'string' ?
134 + settings.sTableId +'_'+ button :
135 + null
136 + } )
137 + .append( $('<a>', {
138 + 'href': '#',
139 + 'aria-controls': settings.sTableId,
140 + 'aria-label': aria[ button ],
141 + 'data-dt-idx': counter,
142 + 'tabindex': settings.iTabIndex,
143 + 'class': 'page-link'
144 + } )
145 + .html( btnDisplay )
146 + )
147 + .appendTo( container );
148 +
149 + settings.oApi._fnBindAction(
150 + node, {action: button}, clickHandler
151 + );
152 +
153 + counter++;
154 + }
155 + }
156 + }
157 + };
158 +
159 + // IE9 throws an 'unknown error' if document.activeElement is used
160 + // inside an iframe or frame.
161 + var activeEl;
162 +
163 + try {
164 + // Because this approach is destroying and recreating the paging
165 + // elements, focus is lost on the select button which is bad for
166 + // accessibility. So we want to restore focus once the draw has
167 + // completed
168 + activeEl = $(host).find(document.activeElement).data('dt-idx');
169 + }
170 + catch (e) {}
171 +
172 + attach(
173 + $(host).empty().html('<ul class="pagination"/>').children('ul'),
174 + buttons
175 + );
176 +
177 + if ( activeEl ) {
178 + $(host).find( '[data-dt-idx='+activeEl+']' ).focus();
179 + }
180 +};
181 +
182 +
183 +return DataTable;
184 +}));
...\ No newline at end of file ...\ No newline at end of file
1 +/*!
2 + DataTables Bootstrap 3 integration
3 + ©2011-2015 SpryMedia Ltd - datatables.net/license
4 +*/
5 +(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return b(d,a,a.document)}:b(jQuery,window,document)})(function(b,a,d){var f=b.fn.dataTable;b.extend(!0,f.defaults,{dom:"<'row'<'col-md-6'l><'col-md-6'f>><'row'<'col-md-12'tr>><'row'<'col-md-5'i><'col-md-7'p>>",renderer:"bootstrap"});b.extend(f.ext.classes,
6 +{sWrapper:"dataTables_wrapper form-inline dt-bootstrap4",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default",sPageButton:"paginate_button page-item"});f.ext.renderer.pageButton.bootstrap=function(a,h,r,m,j,n){var o=new f.Api(a),s=a.oClasses,k=a.oLanguage.oPaginate,t=a.oLanguage.oAria.paginate||{},e,g,p=0,q=function(d,f){var l,h,i,c,m=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&&o.page()!=a.data.action&&
7 +o.page(a.data.action).draw("page")};l=0;for(h=f.length;l<h;l++)if(c=f[l],b.isArray(c))q(d,c);else{g=e="";switch(c){case "ellipsis":e="&#x2026;";g="disabled";break;case "first":e=k.sFirst;g=c+(0<j?"":" disabled");break;case "previous":e=k.sPrevious;g=c+(0<j?"":" disabled");break;case "next":e=k.sNext;g=c+(j<n-1?"":" disabled");break;case "last":e=k.sLast;g=c+(j<n-1?"":" disabled");break;default:e=c+1,g=j===c?"active":""}e&&(i=b("<li>",{"class":s.sPageButton+" "+g,id:0===r&&"string"===typeof c?a.sTableId+
8 +"_"+c:null}).append(b("<a>",{href:"#","aria-controls":a.sTableId,"aria-label":t[c],"data-dt-idx":p,tabindex:a.iTabIndex,"class":"page-link"}).html(e)).appendTo(d),a.oApi._fnBindAction(i,{action:c},m),p++)}},i;try{i=b(h).find(d.activeElement).data("dt-idx")}catch(u){}q(b(h).empty().html('<ul class="pagination"/>').children("ul"),m);i&&b(h).find("[data-dt-idx="+i+"]").focus()};return f});
1 +/*! DataTables Foundation integration
2 + * ©2011-2015 SpryMedia Ltd - datatables.net/license
3 + */
4 +
5 +/**
6 + * DataTables integration for Foundation. This requires Foundation 5 and
7 + * DataTables 1.10 or newer.
8 + *
9 + * This file sets the defaults and adds options to DataTables to style its
10 + * controls using Foundation. See http://datatables.net/manual/styling/foundation
11 + * for further information.
12 + */
13 +(function( factory ){
14 + if ( typeof define === 'function' && define.amd ) {
15 + // AMD
16 + define( ['jquery', 'datatables.net'], function ( $ ) {
17 + return factory( $, window, document );
18 + } );
19 + }
20 + else if ( typeof exports === 'object' ) {
21 + // CommonJS
22 + module.exports = function (root, $) {
23 + if ( ! root ) {
24 + root = window;
25 + }
26 +
27 + if ( ! $ || ! $.fn.dataTable ) {
28 + $ = require('datatables.net')(root, $).$;
29 + }
30 +
31 + return factory( $, root, root.document );
32 + };
33 + }
34 + else {
35 + // Browser
36 + factory( jQuery, window, document );
37 + }
38 +}(function( $, window, document, undefined ) {
39 +'use strict';
40 +var DataTable = $.fn.dataTable;
41 +
42 +// Detect Foundation 5 / 6 as they have different element and class requirements
43 +var meta = $('<meta class="foundation-mq"/>').appendTo('head');
44 +DataTable.ext.foundationVersion = meta.css('font-family').match(/small|medium|large/) ? 6 : 5;
45 +meta.remove();
46 +
47 +
48 +$.extend( DataTable.ext.classes, {
49 + sWrapper: "dataTables_wrapper dt-foundation",
50 + sProcessing: "dataTables_processing panel"
51 +} );
52 +
53 +
54 +/* Set the defaults for DataTables initialisation */
55 +$.extend( true, DataTable.defaults, {
56 + dom:
57 + "<'row'<'small-6 columns'l><'small-6 columns'f>r>"+
58 + "t"+
59 + "<'row'<'small-6 columns'i><'small-6 columns'p>>",
60 + renderer: 'foundation'
61 +} );
62 +
63 +
64 +/* Page button renderer */
65 +DataTable.ext.renderer.pageButton.foundation = function ( settings, host, idx, buttons, page, pages ) {
66 + var api = new DataTable.Api( settings );
67 + var classes = settings.oClasses;
68 + var lang = settings.oLanguage.oPaginate;
69 + var aria = settings.oLanguage.oAria.paginate || {};
70 + var btnDisplay, btnClass;
71 + var tag;
72 + var v5 = DataTable.ext.foundationVersion === 5;
73 +
74 + var attach = function( container, buttons ) {
75 + var i, ien, node, button;
76 + var clickHandler = function ( e ) {
77 + e.preventDefault();
78 + if ( !$(e.currentTarget).hasClass('unavailable') && api.page() != e.data.action ) {
79 + api.page( e.data.action ).draw( 'page' );
80 + }
81 + };
82 +
83 + for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
84 + button = buttons[i];
85 +
86 + if ( $.isArray( button ) ) {
87 + attach( container, button );
88 + }
89 + else {
90 + btnDisplay = '';
91 + btnClass = '';
92 + tag = null;
93 +
94 + switch ( button ) {
95 + case 'ellipsis':
96 + btnDisplay = '&#x2026;';
97 + btnClass = 'unavailable disabled';
98 + tag = null;
99 + break;
100 +
101 + case 'first':
102 + btnDisplay = lang.sFirst;
103 + btnClass = button + (page > 0 ?
104 + '' : ' unavailable disabled');
105 + tag = page > 0 ? 'a' : null;
106 + break;
107 +
108 + case 'previous':
109 + btnDisplay = lang.sPrevious;
110 + btnClass = button + (page > 0 ?
111 + '' : ' unavailable disabled');
112 + tag = page > 0 ? 'a' : null;
113 + break;
114 +
115 + case 'next':
116 + btnDisplay = lang.sNext;
117 + btnClass = button + (page < pages-1 ?
118 + '' : ' unavailable disabled');
119 + tag = page < pages-1 ? 'a' : null;
120 + break;
121 +
122 + case 'last':
123 + btnDisplay = lang.sLast;
124 + btnClass = button + (page < pages-1 ?
125 + '' : ' unavailable disabled');
126 + tag = page < pages-1 ? 'a' : null;
127 + break;
128 +
129 + default:
130 + btnDisplay = button + 1;
131 + btnClass = page === button ?
132 + 'current' : '';
133 + tag = page === button ?
134 + null : 'a';
135 + break;
136 + }
137 +
138 + if ( v5 ) {
139 + tag = 'a';
140 + }
141 +
142 + if ( btnDisplay ) {
143 + node = $('<li>', {
144 + 'class': classes.sPageButton+' '+btnClass,
145 + 'aria-controls': settings.sTableId,
146 + 'aria-label': aria[ button ],
147 + 'tabindex': settings.iTabIndex,
148 + 'id': idx === 0 && typeof button === 'string' ?
149 + settings.sTableId +'_'+ button :
150 + null
151 + } )
152 + .append( tag ?
153 + $('<'+tag+'/>', {'href': '#'} ).html( btnDisplay ) :
154 + btnDisplay
155 + )
156 + .appendTo( container );
157 +
158 + settings.oApi._fnBindAction(
159 + node, {action: button}, clickHandler
160 + );
161 + }
162 + }
163 + }
164 + };
165 +
166 + attach(
167 + $(host).empty().html('<ul class="pagination"/>').children('ul'),
168 + buttons
169 + );
170 +};
171 +
172 +
173 +return DataTable;
174 +}));
1 +/*!
2 + DataTables Foundation integration
3 + ©2011-2015 SpryMedia Ltd - datatables.net/license
4 +*/
5 +(function(d){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return d(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);if(!b||!b.fn.dataTable)b=require("datatables.net")(a,b).$;return d(b,a,a.document)}:d(jQuery,window,document)})(function(d){var a=d.fn.dataTable,b=d('<meta class="foundation-mq"/>').appendTo("head");a.ext.foundationVersion=b.css("font-family").match(/small|medium|large/)?6:5;b.remove();d.extend(a.ext.classes,
6 +{sWrapper:"dataTables_wrapper dt-foundation",sProcessing:"dataTables_processing panel"});d.extend(!0,a.defaults,{dom:"<'row'<'small-6 columns'l><'small-6 columns'f>r>t<'row'<'small-6 columns'i><'small-6 columns'p>>",renderer:"foundation"});a.ext.renderer.pageButton.foundation=function(b,l,r,s,e,i){var m=new a.Api(b),t=b.oClasses,j=b.oLanguage.oPaginate,u=b.oLanguage.oAria.paginate||{},f,h,g,v=5===a.ext.foundationVersion,q=function(a,n){var k,o,p,c,l=function(a){a.preventDefault();!d(a.currentTarget).hasClass("unavailable")&&
7 +m.page()!=a.data.action&&m.page(a.data.action).draw("page")};k=0;for(o=n.length;k<o;k++)if(c=n[k],d.isArray(c))q(a,c);else{h=f="";g=null;switch(c){case "ellipsis":f="&#x2026;";h="unavailable disabled";g=null;break;case "first":f=j.sFirst;h=c+(0<e?"":" unavailable disabled");g=0<e?"a":null;break;case "previous":f=j.sPrevious;h=c+(0<e?"":" unavailable disabled");g=0<e?"a":null;break;case "next":f=j.sNext;h=c+(e<i-1?"":" unavailable disabled");g=e<i-1?"a":null;break;case "last":f=j.sLast;h=c+(e<i-1?
8 +"":" unavailable disabled");g=e<i-1?"a":null;break;default:f=c+1,h=e===c?"current":"",g=e===c?null:"a"}v&&(g="a");f&&(p=d("<li>",{"class":t.sPageButton+" "+h,"aria-controls":b.sTableId,"aria-label":u[c],tabindex:b.iTabIndex,id:0===r&&"string"===typeof c?b.sTableId+"_"+c:null}).append(g?d("<"+g+"/>",{href:"#"}).html(f):f).appendTo(a),b.oApi._fnBindAction(p,{action:c},l))}};q(d(l).empty().html('<ul class="pagination"/>').children("ul"),s)};return a});
1 +/*! DataTables jQuery UI integration
2 + * ©2011-2014 SpryMedia Ltd - datatables.net/license
3 + */
4 +
5 +/**
6 + * DataTables integration for jQuery UI. This requires jQuery UI and
7 + * DataTables 1.10 or newer.
8 + *
9 + * This file sets the defaults and adds options to DataTables to style its
10 + * controls using jQuery UI. See http://datatables.net/manual/styling/jqueryui
11 + * for further information.
12 + */
13 +(function( factory ){
14 + if ( typeof define === 'function' && define.amd ) {
15 + // AMD
16 + define( ['jquery', 'datatables.net'], function ( $ ) {
17 + return factory( $, window, document );
18 + } );
19 + }
20 + else if ( typeof exports === 'object' ) {
21 + // CommonJS
22 + module.exports = function (root, $) {
23 + if ( ! root ) {
24 + root = window;
25 + }
26 +
27 + if ( ! $ || ! $.fn.dataTable ) {
28 + $ = require('datatables.net')(root, $).$;
29 + }
30 +
31 + return factory( $, root, root.document );
32 + };
33 + }
34 + else {
35 + // Browser
36 + factory( jQuery, window, document );
37 + }
38 +}(function( $, window, document, undefined ) {
39 +'use strict';
40 +var DataTable = $.fn.dataTable;
41 +
42 +
43 +var sort_prefix = 'css_right ui-icon ui-icon-';
44 +var toolbar_prefix = 'fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix ui-corner-';
45 +
46 +/* Set the defaults for DataTables initialisation */
47 +$.extend( true, DataTable.defaults, {
48 + dom:
49 + '<"'+toolbar_prefix+'tl ui-corner-tr"lfr>'+
50 + 't'+
51 + '<"'+toolbar_prefix+'bl ui-corner-br"ip>',
52 + renderer: 'jqueryui'
53 +} );
54 +
55 +
56 +$.extend( DataTable.ext.classes, {
57 + "sWrapper": "dataTables_wrapper dt-jqueryui",
58 +
59 + /* Full numbers paging buttons */
60 + "sPageButton": "fg-button ui-button ui-state-default",
61 + "sPageButtonActive": "ui-state-disabled",
62 + "sPageButtonDisabled": "ui-state-disabled",
63 +
64 + /* Features */
65 + "sPaging": "dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi "+
66 + "ui-buttonset-multi paging_", /* Note that the type is postfixed */
67 +
68 + /* Sorting */
69 + "sSortAsc": "ui-state-default sorting_asc",
70 + "sSortDesc": "ui-state-default sorting_desc",
71 + "sSortable": "ui-state-default sorting",
72 + "sSortableAsc": "ui-state-default sorting_asc_disabled",
73 + "sSortableDesc": "ui-state-default sorting_desc_disabled",
74 + "sSortableNone": "ui-state-default sorting_disabled",
75 + "sSortIcon": "DataTables_sort_icon",
76 +
77 + /* Scrolling */
78 + "sScrollHead": "dataTables_scrollHead "+"ui-state-default",
79 + "sScrollFoot": "dataTables_scrollFoot "+"ui-state-default",
80 +
81 + /* Misc */
82 + "sHeaderTH": "ui-state-default",
83 + "sFooterTH": "ui-state-default"
84 +} );
85 +
86 +
87 +DataTable.ext.renderer.header.jqueryui = function ( settings, cell, column, classes ) {
88 + // Calculate what the unsorted class should be
89 + var noSortAppliedClass = sort_prefix+'carat-2-n-s';
90 + var asc = $.inArray('asc', column.asSorting) !== -1;
91 + var desc = $.inArray('desc', column.asSorting) !== -1;
92 +
93 + if ( !column.bSortable || (!asc && !desc) ) {
94 + noSortAppliedClass = '';
95 + }
96 + else if ( asc && !desc ) {
97 + noSortAppliedClass = sort_prefix+'carat-1-n';
98 + }
99 + else if ( !asc && desc ) {
100 + noSortAppliedClass = sort_prefix+'carat-1-s';
101 + }
102 +
103 + // Setup the DOM structure
104 + $('<div/>')
105 + .addClass( 'DataTables_sort_wrapper' )
106 + .append( cell.contents() )
107 + .append( $('<span/>')
108 + .addClass( classes.sSortIcon+' '+noSortAppliedClass )
109 + )
110 + .appendTo( cell );
111 +
112 + // Attach a sort listener to update on sort
113 + $(settings.nTable).on( 'order.dt', function ( e, ctx, sorting, columns ) {
114 + if ( settings !== ctx ) {
115 + return;
116 + }
117 +
118 + var colIdx = column.idx;
119 +
120 + cell
121 + .removeClass( classes.sSortAsc +" "+classes.sSortDesc )
122 + .addClass( columns[ colIdx ] == 'asc' ?
123 + classes.sSortAsc : columns[ colIdx ] == 'desc' ?
124 + classes.sSortDesc :
125 + column.sSortingClass
126 + );
127 +
128 + cell
129 + .find( 'span.'+classes.sSortIcon )
130 + .removeClass(
131 + sort_prefix+'triangle-1-n' +" "+
132 + sort_prefix+'triangle-1-s' +" "+
133 + sort_prefix+'carat-2-n-s' +" "+
134 + sort_prefix+'carat-1-n' +" "+
135 + sort_prefix+'carat-1-s'
136 + )
137 + .addClass( columns[ colIdx ] == 'asc' ?
138 + sort_prefix+'triangle-1-n' : columns[ colIdx ] == 'desc' ?
139 + sort_prefix+'triangle-1-s' :
140 + noSortAppliedClass
141 + );
142 + } );
143 +};
144 +
145 +
146 +/*
147 + * TableTools jQuery UI compatibility
148 + * Required TableTools 2.1+
149 + */
150 +if ( DataTable.TableTools ) {
151 + $.extend( true, DataTable.TableTools.classes, {
152 + "container": "DTTT_container ui-buttonset ui-buttonset-multi",
153 + "buttons": {
154 + "normal": "DTTT_button ui-button ui-state-default"
155 + },
156 + "collection": {
157 + "container": "DTTT_collection ui-buttonset ui-buttonset-multi"
158 + }
159 + } );
160 +}
161 +
162 +
163 +return DataTable;
164 +}));
1 +/*!
2 + DataTables jQuery UI integration
3 + ©2011-2014 SpryMedia Ltd - datatables.net/license
4 +*/
5 +(function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(b){return a(b,window,document)}):"object"===typeof exports?module.exports=function(b,d){b||(b=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(b,d).$;return a(d,b,b.document)}:a(jQuery,window,document)})(function(a){var b=a.fn.dataTable;a.extend(!0,b.defaults,{dom:'<"fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix ui-corner-tl ui-corner-tr"lfr>t<"fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix ui-corner-bl ui-corner-br"ip>',
6 +renderer:"jqueryui"});a.extend(b.ext.classes,{sWrapper:"dataTables_wrapper dt-jqueryui",sPageButton:"fg-button ui-button ui-state-default",sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:"ui-state-default sorting_asc",sSortDesc:"ui-state-default sorting_desc",sSortable:"ui-state-default sorting",sSortableAsc:"ui-state-default sorting_asc_disabled",sSortableDesc:"ui-state-default sorting_desc_disabled",
7 +sSortableNone:"ui-state-default sorting_disabled",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead ui-state-default",sScrollFoot:"dataTables_scrollFoot ui-state-default",sHeaderTH:"ui-state-default",sFooterTH:"ui-state-default"});b.ext.renderer.header.jqueryui=function(b,h,e,c){var f="css_right ui-icon ui-icon-carat-2-n-s",g=-1!==a.inArray("asc",e.asSorting),i=-1!==a.inArray("desc",e.asSorting);!e.bSortable||!g&&!i?f="":g&&!i?f="css_right ui-icon ui-icon-carat-1-n":!g&&i&&(f="css_right ui-icon ui-icon-carat-1-s");
8 +a("<div/>").addClass("DataTables_sort_wrapper").append(h.contents()).append(a("<span/>").addClass(c.sSortIcon+" "+f)).appendTo(h);a(b.nTable).on("order.dt",function(a,g,i,j){b===g&&(a=e.idx,h.removeClass(c.sSortAsc+" "+c.sSortDesc).addClass("asc"==j[a]?c.sSortAsc:"desc"==j[a]?c.sSortDesc:e.sSortingClass),h.find("span."+c.sSortIcon).removeClass("css_right ui-icon ui-icon-triangle-1-n css_right ui-icon ui-icon-triangle-1-s css_right ui-icon ui-icon-carat-2-n-s css_right ui-icon ui-icon-carat-1-n css_right ui-icon ui-icon-carat-1-s").addClass("asc"==
9 +j[a]?"css_right ui-icon ui-icon-triangle-1-n":"desc"==j[a]?"css_right ui-icon ui-icon-triangle-1-s":f))})};b.TableTools&&a.extend(!0,b.TableTools.classes,{container:"DTTT_container ui-buttonset ui-buttonset-multi",buttons:{normal:"DTTT_button ui-button ui-state-default"},collection:{container:"DTTT_collection ui-buttonset ui-buttonset-multi"}});return b});
1 +/*! DataTables Bootstrap 3 integration
2 + * ©2011-2015 SpryMedia Ltd - datatables.net/license
3 + */
4 +
5 +/**
6 + * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and
7 + * DataTables 1.10 or newer.
8 + *
9 + * This file sets the defaults and adds options to DataTables to style its
10 + * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
11 + * for further information.
12 + */
13 +(function( factory ){
14 + if ( typeof define === 'function' && define.amd ) {
15 + // AMD
16 + define( ['jquery', 'datatables.net'], function ( $ ) {
17 + return factory( $, window, document );
18 + } );
19 + }
20 + else if ( typeof exports === 'object' ) {
21 + // CommonJS
22 + module.exports = function (root, $) {
23 + if ( ! root ) {
24 + root = window;
25 + }
26 +
27 + if ( ! $ || ! $.fn.dataTable ) {
28 + // Require DataTables, which attaches to jQuery, including
29 + // jQuery if needed and have a $ property so we can access the
30 + // jQuery object that is used
31 + $ = require('datatables.net')(root, $).$;
32 + }
33 +
34 + return factory( $, root, root.document );
35 + };
36 + }
37 + else {
38 + // Browser
39 + factory( jQuery, window, document );
40 + }
41 +}(function( $, window, document, undefined ) {
42 +'use strict';
43 +var DataTable = $.fn.dataTable;
44 +
45 +
46 +/* Set the defaults for DataTables initialisation */
47 +$.extend( true, DataTable.defaults, {
48 + dom:
49 + "<'mdl-grid'"+
50 + "<'mdl-cell mdl-cell--6-col'l>"+
51 + "<'mdl-cell mdl-cell--6-col'f>"+
52 + ">"+
53 + "<'mdl-grid dt-table'"+
54 + "<'mdl-cell mdl-cell--12-col'tr>"+
55 + ">"+
56 + "<'mdl-grid'"+
57 + "<'mdl-cell mdl-cell--4-col'i>"+
58 + "<'mdl-cell mdl-cell--8-col'p>"+
59 + ">",
60 + renderer: 'material'
61 +} );
62 +
63 +
64 +/* Default class modification */
65 +$.extend( DataTable.ext.classes, {
66 + sWrapper: "dataTables_wrapper form-inline dt-material",
67 + sFilterInput: "form-control input-sm",
68 + sLengthSelect: "form-control input-sm",
69 + sProcessing: "dataTables_processing panel panel-default"
70 +} );
71 +
72 +
73 +/* Bootstrap paging button renderer */
74 +DataTable.ext.renderer.pageButton.material = function ( settings, host, idx, buttons, page, pages ) {
75 + var api = new DataTable.Api( settings );
76 + var classes = settings.oClasses;
77 + var lang = settings.oLanguage.oPaginate;
78 + var aria = settings.oLanguage.oAria.paginate || {};
79 + var btnDisplay, btnClass, counter=0;
80 +
81 + var attach = function( container, buttons ) {
82 + var i, ien, node, button, disabled, active;
83 + var clickHandler = function ( e ) {
84 + e.preventDefault();
85 + if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
86 + api.page( e.data.action ).draw( 'page' );
87 + }
88 + };
89 +
90 + for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
91 + button = buttons[i];
92 +
93 + if ( $.isArray( button ) ) {
94 + attach( container, button );
95 + }
96 + else {
97 + btnDisplay = '';
98 + active = false;
99 +
100 + switch ( button ) {
101 + case 'ellipsis':
102 + btnDisplay = '&#x2026;';
103 + btnClass = 'disabled';
104 + break;
105 +
106 + case 'first':
107 + btnDisplay = lang.sFirst;
108 + btnClass = button + (page > 0 ?
109 + '' : ' disabled');
110 + break;
111 +
112 + case 'previous':
113 + btnDisplay = lang.sPrevious;
114 + btnClass = button + (page > 0 ?
115 + '' : ' disabled');
116 + break;
117 +
118 + case 'next':
119 + btnDisplay = lang.sNext;
120 + btnClass = button + (page < pages-1 ?
121 + '' : ' disabled');
122 + break;
123 +
124 + case 'last':
125 + btnDisplay = lang.sLast;
126 + btnClass = button + (page < pages-1 ?
127 + '' : ' disabled');
128 + break;
129 +
130 + default:
131 + btnDisplay = button + 1;
132 + btnClass = '';
133 + active = page === button;
134 + break;
135 + }
136 +
137 + if ( active ) {
138 + btnClass += ' mdl-button--raised mdl-button--colored';
139 + }
140 +
141 + if ( btnDisplay ) {
142 + node = $('<button>', {
143 + 'class': 'mdl-button '+btnClass,
144 + 'id': idx === 0 && typeof button === 'string' ?
145 + settings.sTableId +'_'+ button :
146 + null,
147 + 'aria-controls': settings.sTableId,
148 + 'aria-label': aria[ button ],
149 + 'data-dt-idx': counter,
150 + 'tabindex': settings.iTabIndex,
151 + 'disabled': btnClass.indexOf('disabled') !== -1
152 + } )
153 + .html( btnDisplay )
154 + .appendTo( container );
155 +
156 + settings.oApi._fnBindAction(
157 + node, {action: button}, clickHandler
158 + );
159 +
160 + counter++;
161 + }
162 + }
163 + }
164 + };
165 +
166 + // IE9 throws an 'unknown error' if document.activeElement is used
167 + // inside an iframe or frame.
168 + var activeEl;
169 +
170 + try {
171 + // Because this approach is destroying and recreating the paging
172 + // elements, focus is lost on the select button which is bad for
173 + // accessibility. So we want to restore focus once the draw has
174 + // completed
175 + activeEl = $(host).find(document.activeElement).data('dt-idx');
176 + }
177 + catch (e) {}
178 +
179 + attach(
180 + $(host).empty().html('<div class="pagination"/>').children(),
181 + buttons
182 + );
183 +
184 + if ( activeEl ) {
185 + $(host).find( '[data-dt-idx='+activeEl+']' ).focus();
186 + }
187 +};
188 +
189 +
190 +return DataTable;
191 +}));
...\ No newline at end of file ...\ No newline at end of file
1 +/*!
2 + DataTables Bootstrap 3 integration
3 + ©2011-2015 SpryMedia Ltd - datatables.net/license
4 +*/
5 +(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return c(d,a,a.document)}:c(jQuery,window,document)})(function(c,a,d){var g=c.fn.dataTable;c.extend(!0,g.defaults,{dom:"<'mdl-grid'<'mdl-cell mdl-cell--6-col'l><'mdl-cell mdl-cell--6-col'f>><'mdl-grid dt-table'<'mdl-cell mdl-cell--12-col'tr>><'mdl-grid'<'mdl-cell mdl-cell--4-col'i><'mdl-cell mdl-cell--8-col'p>>",
6 +renderer:"material"});c.extend(g.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-material",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"});g.ext.renderer.pageButton.material=function(a,h,r,s,i,n){var o=new g.Api(a),l=a.oLanguage.oPaginate,t=a.oLanguage.oAria.paginate||{},f,e,p=0,q=function(d,g){var m,h,j,b,k=function(a){a.preventDefault();!c(a.currentTarget).hasClass("disabled")&&o.page()!=a.data.action&&
7 +o.page(a.data.action).draw("page")};m=0;for(h=g.length;m<h;m++)if(b=g[m],c.isArray(b))q(d,b);else{f="";j=!1;switch(b){case "ellipsis":f="&#x2026;";e="disabled";break;case "first":f=l.sFirst;e=b+(0<i?"":" disabled");break;case "previous":f=l.sPrevious;e=b+(0<i?"":" disabled");break;case "next":f=l.sNext;e=b+(i<n-1?"":" disabled");break;case "last":f=l.sLast;e=b+(i<n-1?"":" disabled");break;default:f=b+1,e="",j=i===b}j&&(e+=" mdl-button--raised mdl-button--colored");f&&(j=c("<button>",{"class":"mdl-button "+
8 +e,id:0===r&&"string"===typeof b?a.sTableId+"_"+b:null,"aria-controls":a.sTableId,"aria-label":t[b],"data-dt-idx":p,tabindex:a.iTabIndex,disabled:-1!==e.indexOf("disabled")}).html(f).appendTo(d),a.oApi._fnBindAction(j,{action:b},k),p++)}},k;try{k=c(h).find(d.activeElement).data("dt-idx")}catch(u){}q(c(h).empty().html('<div class="pagination"/>').children(),s);k&&c(h).find("[data-dt-idx="+k+"]").focus()};return g});
1 +/*! DataTables Bootstrap 3 integration
2 + * ©2011-2015 SpryMedia Ltd - datatables.net/license
3 + */
4 +
5 +/**
6 + * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and
7 + * DataTables 1.10 or newer.
8 + *
9 + * This file sets the defaults and adds options to DataTables to style its
10 + * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
11 + * for further information.
12 + */
13 +(function( factory ){
14 + if ( typeof define === 'function' && define.amd ) {
15 + // AMD
16 + define( ['jquery', 'datatables.net'], function ( $ ) {
17 + return factory( $, window, document );
18 + } );
19 + }
20 + else if ( typeof exports === 'object' ) {
21 + // CommonJS
22 + module.exports = function (root, $) {
23 + if ( ! root ) {
24 + root = window;
25 + }
26 +
27 + if ( ! $ || ! $.fn.dataTable ) {
28 + // Require DataTables, which attaches to jQuery, including
29 + // jQuery if needed and have a $ property so we can access the
30 + // jQuery object that is used
31 + $ = require('datatables.net')(root, $).$;
32 + }
33 +
34 + return factory( $, root, root.document );
35 + };
36 + }
37 + else {
38 + // Browser
39 + factory( jQuery, window, document );
40 + }
41 +}(function( $, window, document, undefined ) {
42 +'use strict';
43 +var DataTable = $.fn.dataTable;
44 +
45 +
46 +/* Set the defaults for DataTables initialisation */
47 +$.extend( true, DataTable.defaults, {
48 + dom:
49 + "<'ui grid'"+
50 + "<'row'"+
51 + "<'eight wide column'l>"+
52 + "<'right aligned eight wide column'f>"+
53 + ">"+
54 + "<'row dt-table'"+
55 + "<'sixteen wide column'tr>"+
56 + ">"+
57 + "<'row'"+
58 + "<'seven wide column'i>"+
59 + "<'right aligned nine wide column'p>"+
60 + ">"+
61 + ">",
62 + renderer: 'semanticUI'
63 +} );
64 +
65 +
66 +/* Default class modification */
67 +$.extend( DataTable.ext.classes, {
68 + sWrapper: "dataTables_wrapper dt-semanticUI",
69 + sFilter: "dataTables_filter ui input",
70 + sProcessing: "dataTables_processing ui segment",
71 + sPageButton: "paginate_button item"
72 +} );
73 +
74 +
75 +/* Bootstrap paging button renderer */
76 +DataTable.ext.renderer.pageButton.semanticUI = function ( settings, host, idx, buttons, page, pages ) {
77 + var api = new DataTable.Api( settings );
78 + var classes = settings.oClasses;
79 + var lang = settings.oLanguage.oPaginate;
80 + var aria = settings.oLanguage.oAria.paginate || {};
81 + var btnDisplay, btnClass, counter=0;
82 +
83 + var attach = function( container, buttons ) {
84 + var i, ien, node, button;
85 + var clickHandler = function ( e ) {
86 + e.preventDefault();
87 + if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
88 + api.page( e.data.action ).draw( 'page' );
89 + }
90 + };
91 +
92 + for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
93 + button = buttons[i];
94 +
95 + if ( $.isArray( button ) ) {
96 + attach( container, button );
97 + }
98 + else {
99 + btnDisplay = '';
100 + btnClass = '';
101 +
102 + switch ( button ) {
103 + case 'ellipsis':
104 + btnDisplay = '&#x2026;';
105 + btnClass = 'disabled';
106 + break;
107 +
108 + case 'first':
109 + btnDisplay = lang.sFirst;
110 + btnClass = button + (page > 0 ?
111 + '' : ' disabled');
112 + break;
113 +
114 + case 'previous':
115 + btnDisplay = lang.sPrevious;
116 + btnClass = button + (page > 0 ?
117 + '' : ' disabled');
118 + break;
119 +
120 + case 'next':
121 + btnDisplay = lang.sNext;
122 + btnClass = button + (page < pages-1 ?
123 + '' : ' disabled');
124 + break;
125 +
126 + case 'last':
127 + btnDisplay = lang.sLast;
128 + btnClass = button + (page < pages-1 ?
129 + '' : ' disabled');
130 + break;
131 +
132 + default:
133 + btnDisplay = button + 1;
134 + btnClass = page === button ?
135 + 'active' : '';
136 + break;
137 + }
138 +
139 + var tag = btnClass.indexOf( 'disabled' ) === -1 ?
140 + 'a' :
141 + 'div';
142 +
143 + if ( btnDisplay ) {
144 + node = $('<'+tag+'>', {
145 + 'class': classes.sPageButton+' '+btnClass,
146 + 'id': idx === 0 && typeof button === 'string' ?
147 + settings.sTableId +'_'+ button :
148 + null,
149 + 'href': '#',
150 + 'aria-controls': settings.sTableId,
151 + 'aria-label': aria[ button ],
152 + 'data-dt-idx': counter,
153 + 'tabindex': settings.iTabIndex
154 + } )
155 + .html( btnDisplay )
156 + .appendTo( container );
157 +
158 + settings.oApi._fnBindAction(
159 + node, {action: button}, clickHandler
160 + );
161 +
162 + counter++;
163 + }
164 + }
165 + }
166 + };
167 +
168 + // IE9 throws an 'unknown error' if document.activeElement is used
169 + // inside an iframe or frame.
170 + var activeEl;
171 +
172 + try {
173 + // Because this approach is destroying and recreating the paging
174 + // elements, focus is lost on the select button which is bad for
175 + // accessibility. So we want to restore focus once the draw has
176 + // completed
177 + activeEl = $(host).find(document.activeElement).data('dt-idx');
178 + }
179 + catch (e) {}
180 +
181 + attach(
182 + $(host).empty().html('<div class="ui pagination menu"/>').children(),
183 + buttons
184 + );
185 +
186 + if ( activeEl ) {
187 + $(host).find( '[data-dt-idx='+activeEl+']' ).focus();
188 + }
189 +};
190 +
191 +
192 +// Javascript enhancements on table initialisation
193 +$(document).on( 'init.dt', function (e, ctx) {
194 + if ( e.namespace !== 'dt' ) {
195 + return;
196 + }
197 +
198 + // Length menu drop down
199 + if ( $.fn.dropdown ) {
200 + var api = new $.fn.dataTable.Api( ctx );
201 +
202 + $( 'div.dataTables_length select', api.table().container() ).dropdown();
203 + }
204 +} );
205 +
206 +
207 +return DataTable;
208 +}));
...\ No newline at end of file ...\ No newline at end of file
1 +/*!
2 + DataTables Bootstrap 3 integration
3 + ©2011-2015 SpryMedia Ltd - datatables.net/license
4 +*/
5 +(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return b(d,a,a.document)}:b(jQuery,window,document)})(function(b,a,d){var e=b.fn.dataTable;b.extend(!0,e.defaults,{dom:"<'ui grid'<'row'<'eight wide column'l><'right aligned eight wide column'f>><'row dt-table'<'sixteen wide column'tr>><'row'<'seven wide column'i><'right aligned nine wide column'p>>>",
6 +renderer:"semanticUI"});b.extend(e.ext.classes,{sWrapper:"dataTables_wrapper dt-semanticUI",sFilter:"dataTables_filter ui input",sProcessing:"dataTables_processing ui segment",sPageButton:"paginate_button item"});e.ext.renderer.pageButton.semanticUI=function(h,a,r,s,j,m){var n=new e.Api(h),t=h.oClasses,k=h.oLanguage.oPaginate,u=h.oLanguage.oAria.paginate||{},f,g,o=0,p=function(a,d){var e,i,l,c,q=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&&n.page()!=a.data.action&&n.page(a.data.action).draw("page")};
7 +e=0;for(i=d.length;e<i;e++)if(c=d[e],b.isArray(c))p(a,c);else{g=f="";switch(c){case "ellipsis":f="&#x2026;";g="disabled";break;case "first":f=k.sFirst;g=c+(0<j?"":" disabled");break;case "previous":f=k.sPrevious;g=c+(0<j?"":" disabled");break;case "next":f=k.sNext;g=c+(j<m-1?"":" disabled");break;case "last":f=k.sLast;g=c+(j<m-1?"":" disabled");break;default:f=c+1,g=j===c?"active":""}l=-1===g.indexOf("disabled")?"a":"div";f&&(l=b("<"+l+">",{"class":t.sPageButton+" "+g,id:0===r&&"string"===typeof c?
8 +h.sTableId+"_"+c:null,href:"#","aria-controls":h.sTableId,"aria-label":u[c],"data-dt-idx":o,tabindex:h.iTabIndex}).html(f).appendTo(a),h.oApi._fnBindAction(l,{action:c},q),o++)}},i;try{i=b(a).find(d.activeElement).data("dt-idx")}catch(v){}p(b(a).empty().html('<div class="ui pagination menu"/>').children(),s);i&&b(a).find("[data-dt-idx="+i+"]").focus()};b(d).on("init.dt",function(a,d){if("dt"===a.namespace&&b.fn.dropdown){var e=new b.fn.dataTable.Api(d);b("div.dataTables_length select",e.table().container()).dropdown()}});
9 +return e});
1 +/*! DataTables UIkit 3 integration
2 + */
3 +
4 +/**
5 + * This is a tech preview of UIKit integration with DataTables.
6 + */
7 +(function( factory ){
8 + if ( typeof define === 'function' && define.amd ) {
9 + // AMD
10 + define( ['jquery', 'datatables.net'], function ( $ ) {
11 + return factory( $, window, document );
12 + } );
13 + }
14 + else if ( typeof exports === 'object' ) {
15 + // CommonJS
16 + module.exports = function (root, $) {
17 + if ( ! root ) {
18 + root = window;
19 + }
20 +
21 + if ( ! $ || ! $.fn.dataTable ) {
22 + // Require DataTables, which attaches to jQuery, including
23 + // jQuery if needed and have a $ property so we can access the
24 + // jQuery object that is used
25 + $ = require('datatables.net')(root, $).$;
26 + }
27 +
28 + return factory( $, root, root.document );
29 + };
30 + }
31 + else {
32 + // Browser
33 + factory( jQuery, window, document );
34 + }
35 +}(function( $, window, document, undefined ) {
36 +'use strict';
37 +var DataTable = $.fn.dataTable;
38 +
39 +
40 +/* Set the defaults for DataTables initialisation */
41 +$.extend( true, DataTable.defaults, {
42 + dom:
43 + "<'row uk-grid'<'uk-width-1-2'l><'uk-width-1-2'f>>" +
44 + "<'row uk-grid dt-merge-grid'<'uk-width-1-1'tr>>" +
45 + "<'row uk-grid dt-merge-grid'<'uk-width-2-5'i><'uk-width-3-5'p>>",
46 + renderer: 'uikit'
47 +} );
48 +
49 +
50 +/* Default class modification */
51 +$.extend( DataTable.ext.classes, {
52 + sWrapper: "dataTables_wrapper uk-form dt-uikit",
53 + sFilterInput: "uk-form-small",
54 + sLengthSelect: "uk-form-small",
55 + sProcessing: "dataTables_processing uk-panel"
56 +} );
57 +
58 +
59 +/* UIkit paging button renderer */
60 +DataTable.ext.renderer.pageButton.uikit = function ( settings, host, idx, buttons, page, pages ) {
61 + var api = new DataTable.Api( settings );
62 + var classes = settings.oClasses;
63 + var lang = settings.oLanguage.oPaginate;
64 + var aria = settings.oLanguage.oAria.paginate || {};
65 + var btnDisplay, btnClass, counter=0;
66 +
67 + var attach = function( container, buttons ) {
68 + var i, ien, node, button;
69 + var clickHandler = function ( e ) {
70 + e.preventDefault();
71 + if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
72 + api.page( e.data.action ).draw( 'page' );
73 + }
74 + };
75 +
76 + for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
77 + button = buttons[i];
78 +
79 + if ( $.isArray( button ) ) {
80 + attach( container, button );
81 + }
82 + else {
83 + btnDisplay = '';
84 + btnClass = '';
85 +
86 + switch ( button ) {
87 + case 'ellipsis':
88 + btnDisplay = '<i class="uk-icon-ellipsis-h"></i>';
89 + btnClass = 'uk-disabled disabled';
90 + break;
91 +
92 + case 'first':
93 + btnDisplay = '<i class="uk-icon-angle-double-left"></i> ' + lang.sFirst;
94 + btnClass = (page > 0 ?
95 + '' : ' uk-disabled disabled');
96 + break;
97 +
98 + case 'previous':
99 + btnDisplay = '<i class="uk-icon-angle-left"></i> ' + lang.sPrevious;
100 + btnClass = (page > 0 ?
101 + '' : 'uk-disabled disabled');
102 + break;
103 +
104 + case 'next':
105 + btnDisplay = lang.sNext + ' <i class="uk-icon-angle-right"></i>';
106 + btnClass = (page < pages-1 ?
107 + '' : 'uk-disabled disabled');
108 + break;
109 +
110 + case 'last':
111 + btnDisplay = lang.sLast + ' <i class="uk-icon-angle-double-right"></i>';
112 + btnClass = (page < pages-1 ?
113 + '' : ' uk-disabled disabled');
114 + break;
115 +
116 + default:
117 + btnDisplay = button + 1;
118 + btnClass = page === button ?
119 + 'uk-active' : '';
120 + break;
121 + }
122 +
123 + if ( btnDisplay ) {
124 + node = $('<li>', {
125 + 'class': classes.sPageButton+' '+btnClass,
126 + 'id': idx === 0 && typeof button === 'string' ?
127 + settings.sTableId +'_'+ button :
128 + null
129 + } )
130 + .append( $(( -1 != btnClass.indexOf('disabled') || -1 != btnClass.indexOf('active') ) ? '<span>' : '<a>', {
131 + 'href': '#',
132 + 'aria-controls': settings.sTableId,
133 + 'aria-label': aria[ button ],
134 + 'data-dt-idx': counter,
135 + 'tabindex': settings.iTabIndex
136 + } )
137 + .html( btnDisplay )
138 + )
139 + .appendTo( container );
140 +
141 + settings.oApi._fnBindAction(
142 + node, {action: button}, clickHandler
143 + );
144 +
145 + counter++;
146 + }
147 + }
148 + }
149 + };
150 +
151 + // IE9 throws an 'unknown error' if document.activeElement is used
152 + // inside an iframe or frame.
153 + var activeEl;
154 +
155 + try {
156 + // Because this approach is destroying and recreating the paging
157 + // elements, focus is lost on the select button which is bad for
158 + // accessibility. So we want to restore focus once the draw has
159 + // completed
160 + activeEl = $(host).find(document.activeElement).data('dt-idx');
161 + }
162 + catch (e) {}
163 +
164 + attach(
165 + $(host).empty().html('<ul class="uk-pagination uk-pagination-right"/>').children('ul'),
166 + buttons
167 + );
168 +
169 + if ( activeEl ) {
170 + $(host).find( '[data-dt-idx='+activeEl+']' ).focus();
171 + }
172 +};
173 +
174 +
175 +return DataTable;
176 +}));
...\ No newline at end of file ...\ No newline at end of file
1 +/*!
2 + DataTables UIkit 3 integration
3 +*/
4 +(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,c){a||(a=window);if(!c||!c.fn.dataTable)c=require("datatables.net")(a,c).$;return b(c,a,a.document)}:b(jQuery,window,document)})(function(b,a,c){var g=b.fn.dataTable;b.extend(!0,g.defaults,{dom:"<'row uk-grid'<'uk-width-1-2'l><'uk-width-1-2'f>><'row uk-grid dt-merge-grid'<'uk-width-1-1'tr>><'row uk-grid dt-merge-grid'<'uk-width-2-5'i><'uk-width-3-5'p>>",
5 +renderer:"uikit"});b.extend(g.ext.classes,{sWrapper:"dataTables_wrapper uk-form dt-uikit",sFilterInput:"uk-form-small",sLengthSelect:"uk-form-small",sProcessing:"dataTables_processing uk-panel"});g.ext.renderer.pageButton.uikit=function(a,h,r,m,j,n){var o=new g.Api(a),s=a.oClasses,k=a.oLanguage.oPaginate,t=a.oLanguage.oAria.paginate||{},f,d,p=0,q=function(c,g){var l,h,i,e,m=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&&o.page()!=a.data.action&&o.page(a.data.action).draw("page")};
6 +l=0;for(h=g.length;l<h;l++)if(e=g[l],b.isArray(e))q(c,e);else{d=f="";switch(e){case "ellipsis":f='<i class="uk-icon-ellipsis-h"></i>';d="uk-disabled disabled";break;case "first":f='<i class="uk-icon-angle-double-left"></i> '+k.sFirst;d=0<j?"":" uk-disabled disabled";break;case "previous":f='<i class="uk-icon-angle-left"></i> '+k.sPrevious;d=0<j?"":"uk-disabled disabled";break;case "next":f=k.sNext+' <i class="uk-icon-angle-right"></i>';d=j<n-1?"":"uk-disabled disabled";break;case "last":f=k.sLast+
7 +' <i class="uk-icon-angle-double-right"></i>';d=j<n-1?"":" uk-disabled disabled";break;default:f=e+1,d=j===e?"uk-active":""}f&&(i=b("<li>",{"class":s.sPageButton+" "+d,id:0===r&&"string"===typeof e?a.sTableId+"_"+e:null}).append(b(-1!=d.indexOf("disabled")||-1!=d.indexOf("active")?"<span>":"<a>",{href:"#","aria-controls":a.sTableId,"aria-label":t[e],"data-dt-idx":p,tabindex:a.iTabIndex}).html(f)).appendTo(c),a.oApi._fnBindAction(i,{action:e},m),p++)}},i;try{i=b(h).find(c.activeElement).data("dt-idx")}catch(u){}q(b(h).empty().html('<ul class="uk-pagination uk-pagination-right"/>').children("ul"),
8 +m);i&&b(h).find("[data-dt-idx="+i+"]").focus()};return g});
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 +/*
2 + * jquery.flot.tooltip
3 + *
4 + * description: easy-to-use tooltips for Flot charts
5 + * version: 0.8.7
6 + * authors: Krzysztof Urbas @krzysu [myviews.pl],Evan Steinkerchner @Roundaround
7 + * website: https://github.com/krzysu/flot.tooltip
8 + *
9 + * build on 2016-03-15
10 + * released under MIT License, 2012
11 +*/
12 +!function(a){var b={tooltip:{show:!1,cssClass:"flotTip",content:"%s | X: %x | Y: %y",xDateFormat:null,yDateFormat:null,monthNames:null,dayNames:null,shifts:{x:10,y:20},defaultTheme:!0,snap:!0,lines:!1,clickTips:!1,onHover:function(a,b){},$compat:!1}};b.tooltipOpts=b.tooltip;var c=function(a){this.tipPosition={x:0,y:0},this.init(a)};c.prototype.init=function(b){function c(a){var c={};c.x=a.pageX,c.y=a.pageY,b.setTooltipPosition(c)}function d(c,d,g){f.clickmode?(a(b.getPlaceholder()).bind("plothover",e),b.hideTooltip(),f.clickmode=!1):(e(c,d,g),f.getDomElement().is(":visible")&&(a(b.getPlaceholder()).unbind("plothover",e),f.clickmode=!0))}function e(c,d,e){var g=function(a,b,c,d){return Math.sqrt((c-a)*(c-a)+(d-b)*(d-b))},h=function(a,b,c,d,e,f,h){if(!h||(h=function(a,b,c,d,e,f){if("undefined"!=typeof c)return{x:c,y:b};if("undefined"!=typeof d)return{x:a,y:d};var g,h=-1/((f-d)/(e-c));return{x:g=(e*(a*h-b+d)+c*(a*-h+b-f))/(h*(e-c)+d-f),y:h*g-h*a+b}}(a,b,c,d,e,f),h.x>=Math.min(c,e)&&h.x<=Math.max(c,e)&&h.y>=Math.min(d,f)&&h.y<=Math.max(d,f))){var i=d-f,j=e-c,k=c*f-d*e;return Math.abs(i*a+j*b+k)/Math.sqrt(i*i+j*j)}var l=g(a,b,c,d),m=g(a,b,e,f);return l>m?m:l};if(e)b.showTooltip(e,f.tooltipOptions.snap?e:d);else if(f.plotOptions.series.lines.show&&f.tooltipOptions.lines===!0){var i=f.plotOptions.grid.mouseActiveRadius,j={distance:i+1},k=d;a.each(b.getData(),function(a,c){for(var e=0,i=-1,l=1;l<c.data.length;l++)c.data[l-1][0]<=d.x&&c.data[l][0]>=d.x&&(e=l-1,i=l);if(-1===i)return void b.hideTooltip();var m={x:c.data[e][0],y:c.data[e][1]},n={x:c.data[i][0],y:c.data[i][1]},o=h(c.xaxis.p2c(d.x),c.yaxis.p2c(d.y),c.xaxis.p2c(m.x),c.yaxis.p2c(m.y),c.xaxis.p2c(n.x),c.yaxis.p2c(n.y),!1);if(o<j.distance){var p=g(m.x,m.y,d.x,d.y)<g(d.x,d.y,n.x,n.y)?e:i,q=(c.datapoints.pointsize,[d.x,m.y+(n.y-m.y)*((d.x-m.x)/(n.x-m.x))]),r={datapoint:q,dataIndex:p,series:c,seriesIndex:a};j={distance:o,item:r},f.tooltipOptions.snap&&(k={pageX:c.xaxis.p2c(q[0]),pageY:c.yaxis.p2c(q[1])})}}),j.distance<i+1?b.showTooltip(j.item,k):b.hideTooltip()}else b.hideTooltip()}var f=this,g=a.plot.plugins.length;if(this.plotPlugins=[],g)for(var h=0;g>h;h++)this.plotPlugins.push(a.plot.plugins[h].name);b.hooks.bindEvents.push(function(b,g){if(f.plotOptions=b.getOptions(),"boolean"==typeof f.plotOptions.tooltip&&(f.plotOptions.tooltipOpts.show=f.plotOptions.tooltip,f.plotOptions.tooltip=f.plotOptions.tooltipOpts,delete f.plotOptions.tooltipOpts),f.plotOptions.tooltip.show!==!1&&"undefined"!=typeof f.plotOptions.tooltip.show){f.tooltipOptions=f.plotOptions.tooltip,f.tooltipOptions.$compat?(f.wfunc="width",f.hfunc="height"):(f.wfunc="innerWidth",f.hfunc="innerHeight");f.getDomElement();a(b.getPlaceholder()).bind("plothover",e),f.tooltipOptions.clickTips&&a(b.getPlaceholder()).bind("plotclick",d),f.clickmode=!1,a(g).bind("mousemove",c)}}),b.hooks.shutdown.push(function(b,f){a(b.getPlaceholder()).unbind("plothover",e),a(b.getPlaceholder()).unbind("plotclick",d),b.removeTooltip(),a(f).unbind("mousemove",c)}),b.setTooltipPosition=function(b){var c=f.getDomElement(),d=c.outerWidth()+f.tooltipOptions.shifts.x,e=c.outerHeight()+f.tooltipOptions.shifts.y;b.x-a(window).scrollLeft()>a(window)[f.wfunc]()-d&&(b.x-=d),b.y-a(window).scrollTop()>a(window)[f.hfunc]()-e&&(b.y-=e),isNaN(b.x)?f.tipPosition.x=f.tipPosition.xPrev:(f.tipPosition.x=b.x,f.tipPosition.xPrev=b.x),isNaN(b.y)?f.tipPosition.y=f.tipPosition.yPrev:(f.tipPosition.y=b.y,f.tipPosition.yPrev=b.y)},b.showTooltip=function(a,c,d){var e=f.getDomElement(),g=f.stringFormat(f.tooltipOptions.content,a);""!==g&&(e.html(g),b.setTooltipPosition({x:c.pageX,y:c.pageY}),e.css({left:f.tipPosition.x+f.tooltipOptions.shifts.x,top:f.tipPosition.y+f.tooltipOptions.shifts.y}).show(),"function"==typeof f.tooltipOptions.onHover&&f.tooltipOptions.onHover(a,e))},b.hideTooltip=function(){f.getDomElement().hide().html("")},b.removeTooltip=function(){f.getDomElement().remove()}},c.prototype.getDomElement=function(){var b=a("<div>");return this.tooltipOptions&&this.tooltipOptions.cssClass&&(b=a("."+this.tooltipOptions.cssClass),0===b.length&&(b=a("<div />").addClass(this.tooltipOptions.cssClass),b.appendTo("body").hide().css({position:"absolute"}),this.tooltipOptions.defaultTheme&&b.css({background:"#fff","z-index":"1040",padding:"0.4em 0.6em","border-radius":"0.5em","font-size":"0.8em",border:"1px solid #111",display:"none","white-space":"nowrap"}))),b},c.prototype.stringFormat=function(a,b){var c,d,e,f,g,h=/%p\.{0,1}(\d{0,})/,i=/%s/,j=/%c/,k=/%lx/,l=/%ly/,m=/%x\.{0,1}(\d{0,})/,n=/%y\.{0,1}(\d{0,})/,o="%x",p="%y",q="%ct",r="%n";if("undefined"!=typeof b.series.threshold?(c=b.datapoint[0],d=b.datapoint[1],e=b.datapoint[2]):"undefined"!=typeof b.series.curvedLines?(c=b.datapoint[0],d=b.datapoint[1]):"undefined"!=typeof b.series.lines&&b.series.lines.steps?(c=b.series.datapoints.points[2*b.dataIndex],d=b.series.datapoints.points[2*b.dataIndex+1],e=""):(c=b.series.data[b.dataIndex][0],d=b.series.data[b.dataIndex][1],e=b.series.data[b.dataIndex][2]),null===b.series.label&&b.series.originSeries&&(b.series.label=b.series.originSeries.label),"function"==typeof a&&(a=a(b.series.label,c,d,b)),"boolean"==typeof a&&!a)return"";if(e&&(a=a.replace(q,e)),"undefined"!=typeof b.series.percent?f=b.series.percent:"undefined"!=typeof b.series.percents&&(f=b.series.percents[b.dataIndex]),"number"==typeof f&&(a=this.adjustValPrecision(h,a,f)),b.series.hasOwnProperty("pie")&&(g=b.series.data[0][1]),"number"==typeof g&&(a=a.replace(r,g)),a="undefined"!=typeof b.series.label?a.replace(i,b.series.label):a.replace(i,""),a="undefined"!=typeof b.series.color?a.replace(j,b.series.color):a.replace(j,""),a=this.hasAxisLabel("xaxis",b)?a.replace(k,b.series.xaxis.options.axisLabel):a.replace(k,""),a=this.hasAxisLabel("yaxis",b)?a.replace(l,b.series.yaxis.options.axisLabel):a.replace(l,""),this.isTimeMode("xaxis",b)&&this.isXDateFormat(b)&&(a=a.replace(m,this.timestampToDate(c,this.tooltipOptions.xDateFormat,b.series.xaxis.options))),this.isTimeMode("yaxis",b)&&this.isYDateFormat(b)&&(a=a.replace(n,this.timestampToDate(d,this.tooltipOptions.yDateFormat,b.series.yaxis.options))),"number"==typeof c&&(a=this.adjustValPrecision(m,a,c)),"number"==typeof d&&(a=this.adjustValPrecision(n,a,d)),"undefined"!=typeof b.series.xaxis.ticks){var s;s=this.hasRotatedXAxisTicks(b)?"rotatedTicks":"ticks";var t=b.dataIndex+b.seriesIndex;for(var u in b.series.xaxis[s])if(b.series.xaxis[s].hasOwnProperty(t)&&!this.isTimeMode("xaxis",b)){var v=this.isCategoriesMode("xaxis",b)?b.series.xaxis[s][t].label:b.series.xaxis[s][t].v;v===c&&(a=a.replace(m,b.series.xaxis[s][t].label.replace(/\$/g,"$$$$")))}}if("undefined"!=typeof b.series.yaxis.ticks)for(var w in b.series.yaxis.ticks)if(b.series.yaxis.ticks.hasOwnProperty(w)){var x=this.isCategoriesMode("yaxis",b)?b.series.yaxis.ticks[w].label:b.series.yaxis.ticks[w].v;x===d&&(a=a.replace(n,b.series.yaxis.ticks[w].label.replace(/\$/g,"$$$$")))}return"undefined"!=typeof b.series.xaxis.tickFormatter&&(a=a.replace(o,b.series.xaxis.tickFormatter(c,b.series.xaxis).replace(/\$/g,"$$"))),"undefined"!=typeof b.series.yaxis.tickFormatter&&(a=a.replace(p,b.series.yaxis.tickFormatter(d,b.series.yaxis).replace(/\$/g,"$$"))),a},c.prototype.isTimeMode=function(a,b){return"undefined"!=typeof b.series[a].options.mode&&"time"===b.series[a].options.mode},c.prototype.isXDateFormat=function(a){return"undefined"!=typeof this.tooltipOptions.xDateFormat&&null!==this.tooltipOptions.xDateFormat},c.prototype.isYDateFormat=function(a){return"undefined"!=typeof this.tooltipOptions.yDateFormat&&null!==this.tooltipOptions.yDateFormat},c.prototype.isCategoriesMode=function(a,b){return"undefined"!=typeof b.series[a].options.mode&&"categories"===b.series[a].options.mode},c.prototype.timestampToDate=function(b,c,d){var e=a.plot.dateGenerator(b,d);return a.plot.formatDate(e,c,this.tooltipOptions.monthNames,this.tooltipOptions.dayNames)},c.prototype.adjustValPrecision=function(a,b,c){var d,e=b.match(a);return null!==e&&""!==RegExp.$1&&(d=RegExp.$1,c=c.toFixed(d),b=b.replace(a,c)),b},c.prototype.hasAxisLabel=function(b,c){return-1!==a.inArray("axisLabels",this.plotPlugins)&&"undefined"!=typeof c.series[b].options.axisLabel&&c.series[b].options.axisLabel.length>0},c.prototype.hasRotatedXAxisTicks=function(b){return-1!==a.inArray("tickRotor",this.plotPlugins)&&"undefined"!=typeof b.series.xaxis.rotatedTicks};var d=function(a){new c(a)};a.plot.plugins.push({init:d,options:b,name:"tooltip",version:"0.8.5"})}(jQuery);
...\ No newline at end of file ...\ No newline at end of file
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 +/* Plugin for jQuery for working with colors.
2 + *
3 + * Version 1.1.
4 + *
5 + * Inspiration from jQuery color animation plugin by John Resig.
6 + *
7 + * Released under the MIT license by Ole Laursen, October 2009.
8 + *
9 + * Examples:
10 + *
11 + * $.color.parse("#fff").scale('rgb', 0.25).add('a', -0.5).toString()
12 + * var c = $.color.extract($("#mydiv"), 'background-color');
13 + * console.log(c.r, c.g, c.b, c.a);
14 + * $.color.make(100, 50, 25, 0.4).toString() // returns "rgba(100,50,25,0.4)"
15 + *
16 + * Note that .scale() and .add() return the same modified object
17 + * instead of making a new one.
18 + *
19 + * V. 1.1: Fix error handling so e.g. parsing an empty string does
20 + * produce a color rather than just crashing.
21 + */
22 +
23 +(function($) {
24 + $.color = {};
25 +
26 + // construct color object with some convenient chainable helpers
27 + $.color.make = function (r, g, b, a) {
28 + var o = {};
29 + o.r = r || 0;
30 + o.g = g || 0;
31 + o.b = b || 0;
32 + o.a = a != null ? a : 1;
33 +
34 + o.add = function (c, d) {
35 + for (var i = 0; i < c.length; ++i)
36 + o[c.charAt(i)] += d;
37 + return o.normalize();
38 + };
39 +
40 + o.scale = function (c, f) {
41 + for (var i = 0; i < c.length; ++i)
42 + o[c.charAt(i)] *= f;
43 + return o.normalize();
44 + };
45 +
46 + o.toString = function () {
47 + if (o.a >= 1.0) {
48 + return "rgb("+[o.r, o.g, o.b].join(",")+")";
49 + } else {
50 + return "rgba("+[o.r, o.g, o.b, o.a].join(",")+")";
51 + }
52 + };
53 +
54 + o.normalize = function () {
55 + function clamp(min, value, max) {
56 + return value < min ? min: (value > max ? max: value);
57 + }
58 +
59 + o.r = clamp(0, parseInt(o.r), 255);
60 + o.g = clamp(0, parseInt(o.g), 255);
61 + o.b = clamp(0, parseInt(o.b), 255);
62 + o.a = clamp(0, o.a, 1);
63 + return o;
64 + };
65 +
66 + o.clone = function () {
67 + return $.color.make(o.r, o.b, o.g, o.a);
68 + };
69 +
70 + return o.normalize();
71 + }
72 +
73 + // extract CSS color property from element, going up in the DOM
74 + // if it's "transparent"
75 + $.color.extract = function (elem, css) {
76 + var c;
77 +
78 + do {
79 + c = elem.css(css).toLowerCase();
80 + // keep going until we find an element that has color, or
81 + // we hit the body or root (have no parent)
82 + if (c != '' && c != 'transparent')
83 + break;
84 + elem = elem.parent();
85 + } while (elem.length && !$.nodeName(elem.get(0), "body"));
86 +
87 + // catch Safari's way of signalling transparent
88 + if (c == "rgba(0, 0, 0, 0)")
89 + c = "transparent";
90 +
91 + return $.color.parse(c);
92 + }
93 +
94 + // parse CSS color string (like "rgb(10, 32, 43)" or "#fff"),
95 + // returns color object, if parsing failed, you get black (0, 0,
96 + // 0) out
97 + $.color.parse = function (str) {
98 + var res, m = $.color.make;
99 +
100 + // Look for rgb(num,num,num)
101 + if (res = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str))
102 + return m(parseInt(res[1], 10), parseInt(res[2], 10), parseInt(res[3], 10));
103 +
104 + // Look for rgba(num,num,num,num)
105 + if (res = /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))
106 + return m(parseInt(res[1], 10), parseInt(res[2], 10), parseInt(res[3], 10), parseFloat(res[4]));
107 +
108 + // Look for rgb(num%,num%,num%)
109 + if (res = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str))
110 + return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55);
111 +
112 + // Look for rgba(num%,num%,num%,num)
113 + if (res = /rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))
114 + return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55, parseFloat(res[4]));
115 +
116 + // Look for #a0b1c2
117 + if (res = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))
118 + return m(parseInt(res[1], 16), parseInt(res[2], 16), parseInt(res[3], 16));
119 +
120 + // Look for #fff
121 + if (res = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))
122 + return m(parseInt(res[1]+res[1], 16), parseInt(res[2]+res[2], 16), parseInt(res[3]+res[3], 16));
123 +
124 + // Otherwise, we're most likely dealing with a named color
125 + var name = $.trim(str).toLowerCase();
126 + if (name == "transparent")
127 + return m(255, 255, 255, 0);
128 + else {
129 + // default to black
130 + res = lookupColors[name] || [0, 0, 0];
131 + return m(res[0], res[1], res[2]);
132 + }
133 + }
134 +
135 + var lookupColors = {
136 + aqua:[0,255,255],
137 + azure:[240,255,255],
138 + beige:[245,245,220],
139 + black:[0,0,0],
140 + blue:[0,0,255],
141 + brown:[165,42,42],
142 + cyan:[0,255,255],
143 + darkblue:[0,0,139],
144 + darkcyan:[0,139,139],
145 + darkgrey:[169,169,169],
146 + darkgreen:[0,100,0],
147 + darkkhaki:[189,183,107],
148 + darkmagenta:[139,0,139],
149 + darkolivegreen:[85,107,47],
150 + darkorange:[255,140,0],
151 + darkorchid:[153,50,204],
152 + darkred:[139,0,0],
153 + darksalmon:[233,150,122],
154 + darkviolet:[148,0,211],
155 + fuchsia:[255,0,255],
156 + gold:[255,215,0],
157 + green:[0,128,0],
158 + indigo:[75,0,130],
159 + khaki:[240,230,140],
160 + lightblue:[173,216,230],
161 + lightcyan:[224,255,255],
162 + lightgreen:[144,238,144],
163 + lightgrey:[211,211,211],
164 + lightpink:[255,182,193],
165 + lightyellow:[255,255,224],
166 + lime:[0,255,0],
167 + magenta:[255,0,255],
168 + maroon:[128,0,0],
169 + navy:[0,0,128],
170 + olive:[128,128,0],
171 + orange:[255,165,0],
172 + pink:[255,192,203],
173 + purple:[128,0,128],
174 + violet:[128,0,128],
175 + red:[255,0,0],
176 + silver:[192,192,192],
177 + white:[255,255,255],
178 + yellow:[255,255,0]
179 + };
180 +})(jQuery);
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.