diff options
22 files changed, 0 insertions, 7962 deletions
diff --git a/bitbake/lib/toaster/bldviewer/__init__.py b/bitbake/lib/toaster/bldviewer/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 --- a/bitbake/lib/toaster/bldviewer/__init__.py +++ /dev/null | |||
diff --git a/bitbake/lib/toaster/bldviewer/api.py b/bitbake/lib/toaster/bldviewer/api.py deleted file mode 100644 index c4c6135584..0000000000 --- a/bitbake/lib/toaster/bldviewer/api.py +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | # | ||
| 2 | # ex:ts=4:sw=4:sts=4:et | ||
| 3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
| 4 | # | ||
| 5 | # BitBake Toaster Implementation | ||
| 6 | # | ||
| 7 | # Copyright (C) 2013 Intel Corporation | ||
| 8 | # | ||
| 9 | # This program is free software; you can redistribute it and/or modify | ||
| 10 | # it under the terms of the GNU General Public License version 2 as | ||
| 11 | # published by the Free Software Foundation. | ||
| 12 | # | ||
| 13 | # This program is distributed in the hope that it will be useful, | ||
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | # GNU General Public License for more details. | ||
| 17 | # | ||
| 18 | # You should have received a copy of the GNU General Public License along | ||
| 19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
| 20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 21 | |||
| 22 | from django.conf.urls import patterns, include, url | ||
| 23 | |||
| 24 | |||
| 25 | urlpatterns = patterns('bldviewer.views', | ||
| 26 | url(r'^builds$', 'model_explorer', {'model_name':'build'}, name='builds'), | ||
| 27 | url(r'^targets$', 'model_explorer', {'model_name':'target'}, name='targets'), | ||
| 28 | url(r'^target_files$', 'model_explorer', {'model_name':'target_file'}, name='target_file'), | ||
| 29 | url(r'^target_image_file$', 'model_explorer', {'model_name':'target_image_file'}, name='target_image_file'), | ||
| 30 | url(r'^tasks$', 'model_explorer', {'model_name':'task'}, name='task'), | ||
| 31 | url(r'^task_dependencies$', 'model_explorer', {'model_name':'task_dependency'}, name='task_dependencies'), | ||
| 32 | url(r'^packages$', 'model_explorer', {'model_name':'package'}, name='package'), | ||
| 33 | url(r'^package_dependencies$', 'model_explorer', {'model_name':'package_dependency'}, name='package_dependency'), | ||
| 34 | url(r'^target_packages$', 'model_explorer', {'model_name':'target_installed_package'}, name='target_packages'), | ||
| 35 | url(r'^target_installed_packages$', 'model_explorer', {'model_name':'target_installed_package'}, name='target_installed_package'), | ||
| 36 | url(r'^package_files$', 'model_explorer', {'model_name':'build_file'}, name='build_file'), | ||
| 37 | url(r'^layers$', 'model_explorer', {'model_name':'layer'}, name='layer'), | ||
| 38 | url(r'^layerversions$', 'model_explorer', {'model_name':'layerversion'}, name='layerversion'), | ||
| 39 | url(r'^recipes$', 'model_explorer', {'model_name':'recipe'}, name='recipe'), | ||
| 40 | url(r'^recipe_dependencies$', 'model_explorer', {'model_name':'recipe_dependency'}, name='recipe_dependencies'), | ||
| 41 | url(r'^variables$', 'model_explorer', {'model_name':'variable'}, name='variables'), | ||
| 42 | url(r'^variableshistory$', 'model_explorer', {'model_name':'variablehistory'}, name='variablehistory'), | ||
| 43 | url(r'^logmessages$', 'model_explorer', {'model_name':'logmessage'}, name='logmessages'), | ||
| 44 | ) | ||
diff --git a/bitbake/lib/toaster/bldviewer/static/css/bootstrap.css b/bitbake/lib/toaster/bldviewer/static/css/bootstrap.css deleted file mode 100644 index 49bdb1cbe3..0000000000 --- a/bitbake/lib/toaster/bldviewer/static/css/bootstrap.css +++ /dev/null | |||
| @@ -1,4797 +0,0 @@ | |||
| 1 | /*! | ||
| 2 | * Bootstrap v3.0.0 | ||
| 3 | * | ||
| 4 | * Copyright 2013 Twitter, Inc | ||
| 5 | * Licensed under the Apache License v2.0 | ||
| 6 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 7 | * | ||
| 8 | * Designed and built with all the love in the world by @mdo and @fat. | ||
| 9 | */ | ||
| 10 | |||
| 11 | /*! normalize.css v2.1.0 | MIT License | git.io/normalize */ | ||
| 12 | |||
| 13 | article, | ||
| 14 | aside, | ||
| 15 | details, | ||
| 16 | figcaption, | ||
| 17 | figure, | ||
| 18 | footer, | ||
| 19 | header, | ||
| 20 | hgroup, | ||
| 21 | main, | ||
| 22 | nav, | ||
| 23 | section, | ||
| 24 | summary { | ||
| 25 | display: block; | ||
| 26 | } | ||
| 27 | |||
| 28 | audio, | ||
| 29 | canvas, | ||
| 30 | video { | ||
| 31 | display: inline-block; | ||
| 32 | } | ||
| 33 | |||
| 34 | audio:not([controls]) { | ||
| 35 | display: none; | ||
| 36 | height: 0; | ||
| 37 | } | ||
| 38 | |||
| 39 | [hidden] { | ||
| 40 | display: none; | ||
| 41 | } | ||
| 42 | |||
| 43 | html { | ||
| 44 | font-family: sans-serif; | ||
| 45 | -webkit-text-size-adjust: 100%; | ||
| 46 | -ms-text-size-adjust: 100%; | ||
| 47 | } | ||
| 48 | |||
| 49 | body { | ||
| 50 | margin: 0; | ||
| 51 | } | ||
| 52 | |||
| 53 | a:focus { | ||
| 54 | outline: thin dotted; | ||
| 55 | } | ||
| 56 | |||
| 57 | a:active, | ||
| 58 | a:hover { | ||
| 59 | outline: 0; | ||
| 60 | } | ||
| 61 | |||
| 62 | h1 { | ||
| 63 | margin: 0.67em 0; | ||
| 64 | font-size: 2em; | ||
| 65 | } | ||
| 66 | |||
| 67 | abbr[title] { | ||
| 68 | border-bottom: 1px dotted; | ||
| 69 | } | ||
| 70 | |||
| 71 | b, | ||
| 72 | strong { | ||
| 73 | font-weight: bold; | ||
| 74 | } | ||
| 75 | |||
| 76 | dfn { | ||
| 77 | font-style: italic; | ||
| 78 | } | ||
| 79 | |||
| 80 | hr { | ||
| 81 | height: 0; | ||
| 82 | -moz-box-sizing: content-box; | ||
| 83 | box-sizing: content-box; | ||
| 84 | } | ||
| 85 | |||
| 86 | mark { | ||
| 87 | color: #000; | ||
| 88 | background: #ff0; | ||
| 89 | } | ||
| 90 | |||
| 91 | code, | ||
| 92 | kbd, | ||
| 93 | pre, | ||
| 94 | samp { | ||
| 95 | font-family: monospace, serif; | ||
| 96 | font-size: 1em; | ||
| 97 | } | ||
| 98 | |||
| 99 | pre { | ||
| 100 | white-space: pre-wrap; | ||
| 101 | } | ||
| 102 | |||
| 103 | q { | ||
| 104 | quotes: "\201C" "\201D" "\2018" "\2019"; | ||
| 105 | } | ||
| 106 | |||
| 107 | small { | ||
| 108 | font-size: 80%; | ||
| 109 | } | ||
| 110 | |||
| 111 | sub, | ||
| 112 | sup { | ||
| 113 | position: relative; | ||
| 114 | font-size: 75%; | ||
| 115 | line-height: 0; | ||
| 116 | vertical-align: baseline; | ||
| 117 | } | ||
| 118 | |||
| 119 | sup { | ||
| 120 | top: -0.5em; | ||
| 121 | } | ||
| 122 | |||
| 123 | sub { | ||
| 124 | bottom: -0.25em; | ||
| 125 | } | ||
| 126 | |||
| 127 | img { | ||
| 128 | border: 0; | ||
| 129 | } | ||
| 130 | |||
| 131 | svg:not(:root) { | ||
| 132 | overflow: hidden; | ||
| 133 | } | ||
| 134 | |||
| 135 | figure { | ||
| 136 | margin: 0; | ||
| 137 | } | ||
| 138 | |||
| 139 | fieldset { | ||
| 140 | padding: 0.35em 0.625em 0.75em; | ||
| 141 | margin: 0 2px; | ||
| 142 | border: 1px solid #c0c0c0; | ||
| 143 | } | ||
| 144 | |||
| 145 | legend { | ||
| 146 | padding: 0; | ||
| 147 | border: 0; | ||
| 148 | } | ||
| 149 | |||
| 150 | button, | ||
| 151 | input, | ||
| 152 | select, | ||
| 153 | textarea { | ||
| 154 | margin: 0; | ||
| 155 | font-family: inherit; | ||
| 156 | font-size: 100%; | ||
| 157 | } | ||
| 158 | |||
| 159 | button, | ||
| 160 | input { | ||
| 161 | line-height: normal; | ||
| 162 | } | ||
| 163 | |||
| 164 | button, | ||
| 165 | select { | ||
| 166 | text-transform: none; | ||
| 167 | } | ||
| 168 | |||
| 169 | button, | ||
| 170 | html input[type="button"], | ||
| 171 | input[type="reset"], | ||
| 172 | input[type="submit"] { | ||
| 173 | cursor: pointer; | ||
| 174 | -webkit-appearance: button; | ||
| 175 | } | ||
| 176 | |||
| 177 | button[disabled], | ||
| 178 | html input[disabled] { | ||
| 179 | cursor: default; | ||
| 180 | } | ||
| 181 | |||
| 182 | input[type="checkbox"], | ||
| 183 | input[type="radio"] { | ||
| 184 | padding: 0; | ||
| 185 | box-sizing: border-box; | ||
| 186 | } | ||
| 187 | |||
| 188 | input[type="search"] { | ||
| 189 | -webkit-box-sizing: content-box; | ||
| 190 | -moz-box-sizing: content-box; | ||
| 191 | box-sizing: content-box; | ||
| 192 | -webkit-appearance: textfield; | ||
| 193 | } | ||
| 194 | |||
| 195 | input[type="search"]::-webkit-search-cancel-button, | ||
| 196 | input[type="search"]::-webkit-search-decoration { | ||
| 197 | -webkit-appearance: none; | ||
| 198 | } | ||
| 199 | |||
| 200 | button::-moz-focus-inner, | ||
| 201 | input::-moz-focus-inner { | ||
| 202 | padding: 0; | ||
| 203 | border: 0; | ||
| 204 | } | ||
| 205 | |||
| 206 | textarea { | ||
| 207 | overflow: auto; | ||
| 208 | vertical-align: top; | ||
| 209 | } | ||
| 210 | |||
| 211 | table { | ||
| 212 | border-collapse: collapse; | ||
| 213 | border-spacing: 0; | ||
| 214 | } | ||
| 215 | |||
| 216 | @media print { | ||
| 217 | * { | ||
| 218 | color: #000 !important; | ||
| 219 | text-shadow: none !important; | ||
| 220 | background: transparent !important; | ||
| 221 | box-shadow: none !important; | ||
| 222 | } | ||
| 223 | a, | ||
| 224 | a:visited { | ||
| 225 | text-decoration: underline; | ||
| 226 | } | ||
| 227 | a[href]:after { | ||
| 228 | content: " (" attr(href) ")"; | ||
| 229 | } | ||
| 230 | abbr[title]:after { | ||
| 231 | content: " (" attr(title) ")"; | ||
| 232 | } | ||
| 233 | .ir a:after, | ||
| 234 | a[href^="javascript:"]:after, | ||
| 235 | a[href^="#"]:after { | ||
| 236 | content: ""; | ||
| 237 | } | ||
| 238 | pre, | ||
| 239 | blockquote { | ||
| 240 | border: 1px solid #999; | ||
| 241 | page-break-inside: avoid; | ||
| 242 | } | ||
| 243 | thead { | ||
| 244 | display: table-header-group; | ||
| 245 | } | ||
| 246 | tr, | ||
| 247 | img { | ||
| 248 | page-break-inside: avoid; | ||
| 249 | } | ||
| 250 | img { | ||
| 251 | max-width: 100% !important; | ||
| 252 | } | ||
| 253 | @page { | ||
| 254 | margin: 2cm .5cm; | ||
| 255 | } | ||
| 256 | p, | ||
| 257 | h2, | ||
| 258 | h3 { | ||
| 259 | orphans: 3; | ||
| 260 | widows: 3; | ||
| 261 | } | ||
| 262 | h2, | ||
| 263 | h3 { | ||
| 264 | page-break-after: avoid; | ||
| 265 | } | ||
| 266 | .navbar { | ||
| 267 | display: none; | ||
| 268 | } | ||
| 269 | .table td, | ||
| 270 | .table th { | ||
| 271 | background-color: #fff !important; | ||
| 272 | } | ||
| 273 | .btn > .caret, | ||
| 274 | .dropup > .btn > .caret { | ||
| 275 | border-top-color: #000 !important; | ||
| 276 | } | ||
| 277 | .label { | ||
| 278 | border: 1px solid #000; | ||
| 279 | } | ||
| 280 | .table { | ||
| 281 | border-collapse: collapse !important; | ||
| 282 | } | ||
| 283 | .table-bordered th, | ||
| 284 | .table-bordered td { | ||
| 285 | border: 1px solid #ddd !important; | ||
| 286 | } | ||
| 287 | } | ||
| 288 | |||
| 289 | * { | ||
| 290 | -webkit-box-sizing: border-box; | ||
| 291 | -moz-box-sizing: border-box; | ||
| 292 | box-sizing: border-box; | ||
| 293 | } | ||
| 294 | |||
| 295 | html { | ||
| 296 | font-size: 62.5%; | ||
| 297 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | ||
| 298 | } | ||
| 299 | |||
| 300 | body { | ||
| 301 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 302 | font-size: 14px; | ||
| 303 | line-height: 1.428571429; | ||
| 304 | color: #333333; | ||
| 305 | background-color: #ffffff; | ||
| 306 | } | ||
| 307 | |||
| 308 | input, | ||
| 309 | button, | ||
| 310 | select, | ||
| 311 | textarea { | ||
| 312 | font-family: inherit; | ||
| 313 | font-size: inherit; | ||
| 314 | line-height: inherit; | ||
| 315 | } | ||
| 316 | |||
| 317 | a { | ||
| 318 | color: #428bca; | ||
| 319 | text-decoration: none; | ||
| 320 | } | ||
| 321 | |||
| 322 | a:hover, | ||
| 323 | a:focus { | ||
| 324 | color: #2a6496; | ||
| 325 | text-decoration: underline; | ||
| 326 | } | ||
| 327 | |||
| 328 | a:focus { | ||
| 329 | outline: thin dotted #333; | ||
| 330 | outline: 5px auto -webkit-focus-ring-color; | ||
| 331 | outline-offset: -2px; | ||
| 332 | } | ||
| 333 | |||
| 334 | img { | ||
| 335 | vertical-align: middle; | ||
| 336 | } | ||
| 337 | |||
| 338 | .img-responsive { | ||
| 339 | display: inline-block; | ||
| 340 | height: auto; | ||
| 341 | max-width: 100%; | ||
| 342 | } | ||
| 343 | |||
| 344 | .img-rounded { | ||
| 345 | border-radius: 6px; | ||
| 346 | } | ||
| 347 | |||
| 348 | .img-circle { | ||
| 349 | border-radius: 500px; | ||
| 350 | } | ||
| 351 | |||
| 352 | hr { | ||
| 353 | margin-top: 20px; | ||
| 354 | margin-bottom: 20px; | ||
| 355 | border: 0; | ||
| 356 | border-top: 1px solid #eeeeee; | ||
| 357 | } | ||
| 358 | |||
| 359 | p { | ||
| 360 | margin: 0 0 10px; | ||
| 361 | } | ||
| 362 | |||
| 363 | .lead { | ||
| 364 | margin-bottom: 20px; | ||
| 365 | font-size: 16.099999999999998px; | ||
| 366 | font-weight: 200; | ||
| 367 | line-height: 1.4; | ||
| 368 | } | ||
| 369 | |||
| 370 | @media (min-width: 768px) { | ||
| 371 | .lead { | ||
| 372 | font-size: 21px; | ||
| 373 | } | ||
| 374 | } | ||
| 375 | |||
| 376 | small { | ||
| 377 | font-size: 85%; | ||
| 378 | } | ||
| 379 | |||
| 380 | cite { | ||
| 381 | font-style: normal; | ||
| 382 | } | ||
| 383 | |||
| 384 | .text-muted { | ||
| 385 | color: #999999; | ||
| 386 | } | ||
| 387 | |||
| 388 | .text-primary { | ||
| 389 | color: #428bca; | ||
| 390 | } | ||
| 391 | |||
| 392 | .text-warning { | ||
| 393 | color: #c09853; | ||
| 394 | } | ||
| 395 | |||
| 396 | .text-danger { | ||
| 397 | color: #b94a48; | ||
| 398 | } | ||
| 399 | |||
| 400 | .text-success { | ||
| 401 | color: #468847; | ||
| 402 | } | ||
| 403 | |||
| 404 | .text-info { | ||
| 405 | color: #3a87ad; | ||
| 406 | } | ||
| 407 | |||
| 408 | .text-left { | ||
| 409 | text-align: left; | ||
| 410 | } | ||
| 411 | |||
| 412 | .text-right { | ||
| 413 | text-align: right; | ||
| 414 | } | ||
| 415 | |||
| 416 | .text-center { | ||
| 417 | text-align: center; | ||
| 418 | } | ||
| 419 | |||
| 420 | h1, | ||
| 421 | h2, | ||
| 422 | h3, | ||
| 423 | h4, | ||
| 424 | h5, | ||
| 425 | h6, | ||
| 426 | .h1, | ||
| 427 | .h2, | ||
| 428 | .h3, | ||
| 429 | .h4, | ||
| 430 | .h5, | ||
| 431 | .h6 { | ||
| 432 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 433 | font-weight: 500; | ||
| 434 | line-height: 1.1; | ||
| 435 | } | ||
| 436 | |||
| 437 | h1 small, | ||
| 438 | h2 small, | ||
| 439 | h3 small, | ||
| 440 | h4 small, | ||
| 441 | h5 small, | ||
| 442 | h6 small, | ||
| 443 | .h1 small, | ||
| 444 | .h2 small, | ||
| 445 | .h3 small, | ||
| 446 | .h4 small, | ||
| 447 | .h5 small, | ||
| 448 | .h6 small { | ||
| 449 | font-weight: normal; | ||
| 450 | line-height: 1; | ||
| 451 | color: #999999; | ||
| 452 | } | ||
| 453 | |||
| 454 | h1, | ||
| 455 | h2, | ||
| 456 | h3 { | ||
| 457 | margin-top: 20px; | ||
| 458 | margin-bottom: 10px; | ||
| 459 | } | ||
| 460 | |||
| 461 | h4, | ||
| 462 | h5, | ||
| 463 | h6 { | ||
| 464 | margin-top: 10px; | ||
| 465 | margin-bottom: 10px; | ||
| 466 | } | ||
| 467 | |||
| 468 | h1, | ||
| 469 | .h1 { | ||
| 470 | font-size: 38px; | ||
| 471 | } | ||
| 472 | |||
| 473 | h2, | ||
| 474 | .h2 { | ||
| 475 | font-size: 32px; | ||
| 476 | } | ||
| 477 | |||
| 478 | h3, | ||
| 479 | .h3 { | ||
| 480 | font-size: 24px; | ||
| 481 | } | ||
| 482 | |||
| 483 | h4, | ||
| 484 | .h4 { | ||
| 485 | font-size: 18px; | ||
| 486 | } | ||
| 487 | |||
| 488 | h5, | ||
| 489 | .h5 { | ||
| 490 | font-size: 14px; | ||
| 491 | } | ||
| 492 | |||
| 493 | h6, | ||
| 494 | .h6 { | ||
| 495 | font-size: 12px; | ||
| 496 | } | ||
| 497 | |||
| 498 | h1 small, | ||
| 499 | .h1 small { | ||
| 500 | font-size: 24px; | ||
| 501 | } | ||
| 502 | |||
| 503 | h2 small, | ||
| 504 | .h2 small { | ||
| 505 | font-size: 18px; | ||
| 506 | } | ||
| 507 | |||
| 508 | h3 small, | ||
| 509 | .h3 small, | ||
| 510 | h4 small, | ||
| 511 | .h4 small { | ||
| 512 | font-size: 14px; | ||
| 513 | } | ||
| 514 | |||
| 515 | .page-header { | ||
| 516 | padding-bottom: 9px; | ||
| 517 | margin: 40px 0 20px; | ||
| 518 | border-bottom: 1px solid #eeeeee; | ||
| 519 | } | ||
| 520 | |||
| 521 | ul, | ||
| 522 | ol { | ||
| 523 | margin-top: 0; | ||
| 524 | margin-bottom: 10px; | ||
| 525 | } | ||
| 526 | |||
| 527 | ul ul, | ||
| 528 | ol ul, | ||
| 529 | ul ol, | ||
| 530 | ol ol { | ||
| 531 | margin-bottom: 0; | ||
| 532 | } | ||
| 533 | |||
| 534 | .list-unstyled { | ||
| 535 | padding-left: 0; | ||
| 536 | list-style: none; | ||
| 537 | } | ||
| 538 | |||
| 539 | .list-inline { | ||
| 540 | padding-left: 0; | ||
| 541 | list-style: none; | ||
| 542 | } | ||
| 543 | |||
| 544 | .list-inline > li { | ||
| 545 | display: inline-block; | ||
| 546 | padding-right: 5px; | ||
| 547 | padding-left: 5px; | ||
| 548 | } | ||
| 549 | |||
| 550 | dl { | ||
| 551 | margin-bottom: 20px; | ||
| 552 | } | ||
| 553 | |||
| 554 | dt, | ||
| 555 | dd { | ||
| 556 | line-height: 1.428571429; | ||
| 557 | } | ||
| 558 | |||
| 559 | dt { | ||
| 560 | font-weight: bold; | ||
| 561 | } | ||
| 562 | |||
| 563 | dd { | ||
| 564 | margin-left: 0; | ||
| 565 | } | ||
| 566 | |||
| 567 | .dl-horizontal dt { | ||
| 568 | float: left; | ||
| 569 | width: 160px; | ||
| 570 | overflow: hidden; | ||
| 571 | clear: left; | ||
| 572 | text-align: right; | ||
| 573 | text-overflow: ellipsis; | ||
| 574 | white-space: nowrap; | ||
| 575 | } | ||
| 576 | |||
| 577 | .dl-horizontal dd { | ||
| 578 | margin-left: 180px; | ||
| 579 | } | ||
| 580 | |||
| 581 | .dl-horizontal dd:before, | ||
| 582 | .dl-horizontal dd:after { | ||
| 583 | display: table; | ||
| 584 | content: " "; | ||
| 585 | } | ||
| 586 | |||
| 587 | .dl-horizontal dd:after { | ||
| 588 | clear: both; | ||
| 589 | } | ||
| 590 | |||
| 591 | .dl-horizontal dd:before, | ||
| 592 | .dl-horizontal dd:after { | ||
| 593 | display: table; | ||
| 594 | content: " "; | ||
| 595 | } | ||
| 596 | |||
| 597 | .dl-horizontal dd:after { | ||
| 598 | clear: both; | ||
| 599 | } | ||
| 600 | |||
| 601 | abbr[title], | ||
| 602 | abbr[data-original-title] { | ||
| 603 | cursor: help; | ||
| 604 | border-bottom: 1px dotted #999999; | ||
| 605 | } | ||
| 606 | |||
| 607 | abbr.initialism { | ||
| 608 | font-size: 90%; | ||
| 609 | text-transform: uppercase; | ||
| 610 | } | ||
| 611 | |||
| 612 | blockquote { | ||
| 613 | padding: 10px 20px; | ||
| 614 | margin: 0 0 20px; | ||
| 615 | border-left: 5px solid #eeeeee; | ||
| 616 | } | ||
| 617 | |||
| 618 | blockquote p { | ||
| 619 | font-size: 17.5px; | ||
| 620 | font-weight: 300; | ||
| 621 | line-height: 1.25; | ||
| 622 | } | ||
| 623 | |||
| 624 | blockquote p:last-child { | ||
| 625 | margin-bottom: 0; | ||
| 626 | } | ||
| 627 | |||
| 628 | blockquote small { | ||
| 629 | display: block; | ||
| 630 | line-height: 1.428571429; | ||
| 631 | color: #999999; | ||
| 632 | } | ||
| 633 | |||
| 634 | blockquote small:before { | ||
| 635 | content: '\2014 \00A0'; | ||
| 636 | } | ||
| 637 | |||
| 638 | blockquote.pull-right { | ||
| 639 | float: right; | ||
| 640 | padding-right: 15px; | ||
| 641 | padding-left: 0; | ||
| 642 | border-right: 5px solid #eeeeee; | ||
| 643 | border-left: 0; | ||
| 644 | } | ||
| 645 | |||
| 646 | blockquote.pull-right p, | ||
| 647 | blockquote.pull-right small { | ||
| 648 | text-align: right; | ||
| 649 | } | ||
| 650 | |||
| 651 | blockquote.pull-right small:before { | ||
| 652 | content: ''; | ||
| 653 | } | ||
| 654 | |||
| 655 | blockquote.pull-right small:after { | ||
| 656 | content: '\00A0 \2014'; | ||
| 657 | } | ||
| 658 | |||
| 659 | q:before, | ||
| 660 | q:after, | ||
| 661 | blockquote:before, | ||
| 662 | blockquote:after { | ||
| 663 | content: ""; | ||
| 664 | } | ||
| 665 | |||
| 666 | address { | ||
| 667 | display: block; | ||
| 668 | margin-bottom: 20px; | ||
| 669 | font-style: normal; | ||
| 670 | line-height: 1.428571429; | ||
| 671 | } | ||
| 672 | |||
| 673 | code, | ||
| 674 | pre { | ||
| 675 | font-family: Monaco, Menlo, Consolas, "Courier New", monospace; | ||
| 676 | } | ||
| 677 | |||
| 678 | code { | ||
| 679 | padding: 2px 4px; | ||
| 680 | font-size: 90%; | ||
| 681 | color: #c7254e; | ||
| 682 | white-space: nowrap; | ||
| 683 | background-color: #f9f2f4; | ||
| 684 | border-radius: 4px; | ||
| 685 | } | ||
| 686 | |||
| 687 | pre { | ||
| 688 | display: block; | ||
| 689 | padding: 9.5px; | ||
| 690 | margin: 0 0 10px; | ||
| 691 | font-size: 13px; | ||
| 692 | line-height: 1.428571429; | ||
| 693 | color: #333333; | ||
| 694 | word-break: break-all; | ||
| 695 | word-wrap: break-word; | ||
| 696 | background-color: #f5f5f5; | ||
| 697 | border: 1px solid #cccccc; | ||
| 698 | border-radius: 4px; | ||
| 699 | } | ||
| 700 | |||
| 701 | pre.prettyprint { | ||
| 702 | margin-bottom: 20px; | ||
| 703 | } | ||
| 704 | |||
| 705 | pre code { | ||
| 706 | padding: 0; | ||
| 707 | color: inherit; | ||
| 708 | white-space: pre-wrap; | ||
| 709 | background-color: transparent; | ||
| 710 | border: 0; | ||
| 711 | } | ||
| 712 | |||
| 713 | .pre-scrollable { | ||
| 714 | max-height: 340px; | ||
| 715 | overflow-y: scroll; | ||
| 716 | } | ||
| 717 | |||
| 718 | .container { | ||
| 719 | margin-right: auto; | ||
| 720 | margin-left: auto; | ||
| 721 | } | ||
| 722 | |||
| 723 | .container:before, | ||
| 724 | .container:after { | ||
| 725 | display: table; | ||
| 726 | content: " "; | ||
| 727 | } | ||
| 728 | |||
| 729 | .container:after { | ||
| 730 | clear: both; | ||
| 731 | } | ||
| 732 | |||
| 733 | .container:before, | ||
| 734 | .container:after { | ||
| 735 | display: table; | ||
| 736 | content: " "; | ||
| 737 | } | ||
| 738 | |||
| 739 | .container:after { | ||
| 740 | clear: both; | ||
| 741 | } | ||
| 742 | |||
| 743 | .row:before, | ||
| 744 | .row:after { | ||
| 745 | display: table; | ||
| 746 | content: " "; | ||
| 747 | } | ||
| 748 | |||
| 749 | .row:after { | ||
| 750 | clear: both; | ||
| 751 | } | ||
| 752 | |||
| 753 | .row:before, | ||
| 754 | .row:after { | ||
| 755 | display: table; | ||
| 756 | content: " "; | ||
| 757 | } | ||
| 758 | |||
| 759 | .row:after { | ||
| 760 | clear: both; | ||
| 761 | } | ||
| 762 | |||
| 763 | @media (min-width: 768px) { | ||
| 764 | .row { | ||
| 765 | margin-right: -15px; | ||
| 766 | margin-left: -15px; | ||
| 767 | } | ||
| 768 | } | ||
| 769 | |||
| 770 | .row .row { | ||
| 771 | margin-right: -15px; | ||
| 772 | margin-left: -15px; | ||
| 773 | } | ||
| 774 | |||
| 775 | .col-1, | ||
| 776 | .col-2, | ||
| 777 | .col-3, | ||
| 778 | .col-4, | ||
| 779 | .col-5, | ||
| 780 | .col-6, | ||
| 781 | .col-7, | ||
| 782 | .col-8, | ||
| 783 | .col-9, | ||
| 784 | .col-10, | ||
| 785 | .col-11, | ||
| 786 | .col-12, | ||
| 787 | .col-sm-1, | ||
| 788 | .col-sm-2, | ||
| 789 | .col-sm-3, | ||
| 790 | .col-sm-4, | ||
| 791 | .col-sm-5, | ||
| 792 | .col-sm-6, | ||
| 793 | .col-sm-7, | ||
| 794 | .col-sm-8, | ||
| 795 | .col-sm-9, | ||
| 796 | .col-sm-10, | ||
| 797 | .col-sm-11, | ||
| 798 | .col-sm-12, | ||
| 799 | .col-lg-1, | ||
| 800 | .col-lg-2, | ||
| 801 | .col-lg-3, | ||
| 802 | .col-lg-4, | ||
| 803 | .col-lg-5, | ||
| 804 | .col-lg-6, | ||
| 805 | .col-lg-7, | ||
| 806 | .col-lg-8, | ||
| 807 | .col-lg-9, | ||
| 808 | .col-lg-10, | ||
| 809 | .col-lg-11, | ||
| 810 | .col-lg-12 { | ||
| 811 | position: relative; | ||
| 812 | min-height: 1px; | ||
| 813 | padding-right: 15px; | ||
| 814 | padding-left: 15px; | ||
| 815 | } | ||
| 816 | |||
| 817 | .col-1, | ||
| 818 | .col-2, | ||
| 819 | .col-3, | ||
| 820 | .col-4, | ||
| 821 | .col-5, | ||
| 822 | .col-6, | ||
| 823 | .col-7, | ||
| 824 | .col-8, | ||
| 825 | .col-9, | ||
| 826 | .col-10, | ||
| 827 | .col-11, | ||
| 828 | .col-12 { | ||
| 829 | float: left; | ||
| 830 | } | ||
| 831 | |||
| 832 | .col-1 { | ||
| 833 | width: 8.333333333333332%; | ||
| 834 | } | ||
| 835 | |||
| 836 | .col-2 { | ||
| 837 | width: 16.666666666666664%; | ||
| 838 | } | ||
| 839 | |||
| 840 | .col-3 { | ||
| 841 | width: 25%; | ||
| 842 | } | ||
| 843 | |||
| 844 | .col-4 { | ||
| 845 | width: 33.33333333333333%; | ||
| 846 | } | ||
| 847 | |||
| 848 | .col-5 { | ||
| 849 | width: 41.66666666666667%; | ||
| 850 | } | ||
| 851 | |||
| 852 | .col-6 { | ||
| 853 | width: 50%; | ||
| 854 | } | ||
| 855 | |||
| 856 | .col-7 { | ||
| 857 | width: 58.333333333333336%; | ||
| 858 | } | ||
| 859 | |||
| 860 | .col-8 { | ||
| 861 | width: 66.66666666666666%; | ||
| 862 | } | ||
| 863 | |||
| 864 | .col-9 { | ||
| 865 | width: 75%; | ||
| 866 | } | ||
| 867 | |||
| 868 | .col-10 { | ||
| 869 | width: 83.33333333333334%; | ||
| 870 | } | ||
| 871 | |||
| 872 | .col-11 { | ||
| 873 | width: 91.66666666666666%; | ||
| 874 | } | ||
| 875 | |||
| 876 | .col-12 { | ||
| 877 | width: 100%; | ||
| 878 | } | ||
| 879 | |||
| 880 | @media (min-width: 768px) { | ||
| 881 | .container { | ||
| 882 | max-width: 728px; | ||
| 883 | } | ||
| 884 | .col-sm-1, | ||
| 885 | .col-sm-2, | ||
| 886 | .col-sm-3, | ||
| 887 | .col-sm-4, | ||
| 888 | .col-sm-5, | ||
| 889 | .col-sm-6, | ||
| 890 | .col-sm-7, | ||
| 891 | .col-sm-8, | ||
| 892 | .col-sm-9, | ||
| 893 | .col-sm-10, | ||
| 894 | .col-sm-11, | ||
| 895 | .col-sm-12 { | ||
| 896 | float: left; | ||
| 897 | } | ||
| 898 | .col-sm-1 { | ||
| 899 | width: 8.333333333333332%; | ||
| 900 | } | ||
| 901 | .col-sm-2 { | ||
| 902 | width: 16.666666666666664%; | ||
| 903 | } | ||
| 904 | .col-sm-3 { | ||
| 905 | width: 25%; | ||
| 906 | } | ||
| 907 | .col-sm-4 { | ||
| 908 | width: 33.33333333333333%; | ||
| 909 | } | ||
| 910 | .col-sm-5 { | ||
| 911 | width: 41.66666666666667%; | ||
| 912 | } | ||
| 913 | .col-sm-6 { | ||
| 914 | width: 50%; | ||
| 915 | } | ||
| 916 | .col-sm-7 { | ||
| 917 | width: 58.333333333333336%; | ||
| 918 | } | ||
| 919 | .col-sm-8 { | ||
| 920 | width: 66.66666666666666%; | ||
| 921 | } | ||
| 922 | .col-sm-9 { | ||
| 923 | width: 75%; | ||
| 924 | } | ||
| 925 | .col-sm-10 { | ||
| 926 | width: 83.33333333333334%; | ||
| 927 | } | ||
| 928 | .col-sm-11 { | ||
| 929 | width: 91.66666666666666%; | ||
| 930 | } | ||
| 931 | .col-sm-12 { | ||
| 932 | width: 100%; | ||
| 933 | } | ||
| 934 | .col-sm-push-1 { | ||
| 935 | left: 8.333333333333332%; | ||
| 936 | } | ||
| 937 | .col-sm-push-2 { | ||
| 938 | left: 16.666666666666664%; | ||
| 939 | } | ||
| 940 | .col-sm-push-3 { | ||
| 941 | left: 25%; | ||
| 942 | } | ||
| 943 | .col-sm-push-4 { | ||
| 944 | left: 33.33333333333333%; | ||
| 945 | } | ||
| 946 | .col-sm-push-5 { | ||
| 947 | left: 41.66666666666667%; | ||
| 948 | } | ||
| 949 | .col-sm-push-6 { | ||
| 950 | left: 50%; | ||
| 951 | } | ||
| 952 | .col-sm-push-7 { | ||
| 953 | left: 58.333333333333336%; | ||
| 954 | } | ||
| 955 | .col-sm-push-8 { | ||
| 956 | left: 66.66666666666666%; | ||
| 957 | } | ||
| 958 | .col-sm-push-9 { | ||
| 959 | left: 75%; | ||
| 960 | } | ||
| 961 | .col-sm-push-10 { | ||
| 962 | left: 83.33333333333334%; | ||
| 963 | } | ||
| 964 | .col-sm-push-11 { | ||
| 965 | left: 91.66666666666666%; | ||
| 966 | } | ||
| 967 | .col-sm-pull-1 { | ||
| 968 | right: 8.333333333333332%; | ||
| 969 | } | ||
| 970 | .col-sm-pull-2 { | ||
| 971 | right: 16.666666666666664%; | ||
| 972 | } | ||
| 973 | .col-sm-pull-3 { | ||
| 974 | right: 25%; | ||
| 975 | } | ||
| 976 | .col-sm-pull-4 { | ||
| 977 | right: 33.33333333333333%; | ||
| 978 | } | ||
| 979 | .col-sm-pull-5 { | ||
| 980 | right: 41.66666666666667%; | ||
| 981 | } | ||
| 982 | .col-sm-pull-6 { | ||
| 983 | right: 50%; | ||
| 984 | } | ||
| 985 | .col-sm-pull-7 { | ||
| 986 | right: 58.333333333333336%; | ||
| 987 | } | ||
| 988 | .col-sm-pull-8 { | ||
| 989 | right: 66.66666666666666%; | ||
| 990 | } | ||
| 991 | .col-sm-pull-9 { | ||
| 992 | right: 75%; | ||
| 993 | } | ||
| 994 | .col-sm-pull-10 { | ||
| 995 | right: 83.33333333333334%; | ||
| 996 | } | ||
| 997 | .col-sm-pull-11 { | ||
| 998 | right: 91.66666666666666%; | ||
| 999 | } | ||
| 1000 | .col-sm-offset-1 { | ||
| 1001 | margin-left: 8.333333333333332%; | ||
| 1002 | } | ||
| 1003 | .col-sm-offset-2 { | ||
| 1004 | margin-left: 16.666666666666664%; | ||
| 1005 | } | ||
| 1006 | .col-sm-offset-3 { | ||
| 1007 | margin-left: 25%; | ||
| 1008 | } | ||
| 1009 | .col-sm-offset-4 { | ||
| 1010 | margin-left: 33.33333333333333%; | ||
| 1011 | } | ||
| 1012 | .col-sm-offset-5 { | ||
| 1013 | margin-left: 41.66666666666667%; | ||
| 1014 | } | ||
| 1015 | .col-sm-offset-6 { | ||
| 1016 | margin-left: 50%; | ||
| 1017 | } | ||
| 1018 | .col-sm-offset-7 { | ||
| 1019 | margin-left: 58.333333333333336%; | ||
| 1020 | } | ||
| 1021 | .col-sm-offset-8 { | ||
| 1022 | margin-left: 66.66666666666666%; | ||
| 1023 | } | ||
| 1024 | .col-sm-offset-9 { | ||
| 1025 | margin-left: 75%; | ||
| 1026 | } | ||
| 1027 | .col-sm-offset-10 { | ||
| 1028 | margin-left: 83.33333333333334%; | ||
| 1029 | } | ||
| 1030 | .col-sm-offset-11 { | ||
| 1031 | margin-left: 91.66666666666666%; | ||
| 1032 | } | ||
| 1033 | } | ||
| 1034 | |||
| 1035 | @media (min-width: 992px) { | ||
| 1036 | .container { | ||
| 1037 | max-width: 940px; | ||
| 1038 | } | ||
| 1039 | .col-lg-1, | ||
| 1040 | .col-lg-2, | ||
| 1041 | .col-lg-3, | ||
| 1042 | .col-lg-4, | ||
| 1043 | .col-lg-5, | ||
| 1044 | .col-lg-6, | ||
| 1045 | .col-lg-7, | ||
| 1046 | .col-lg-8, | ||
| 1047 | .col-lg-9, | ||
| 1048 | .col-lg-10, | ||
| 1049 | .col-lg-11, | ||
| 1050 | .col-lg-12 { | ||
| 1051 | float: left; | ||
| 1052 | } | ||
| 1053 | .col-lg-1 { | ||
| 1054 | width: 8.333333333333332%; | ||
| 1055 | } | ||
| 1056 | .col-lg-2 { | ||
| 1057 | width: 16.666666666666664%; | ||
| 1058 | } | ||
| 1059 | .col-lg-3 { | ||
| 1060 | width: 25%; | ||
| 1061 | } | ||
| 1062 | .col-lg-4 { | ||
| 1063 | width: 33.33333333333333%; | ||
| 1064 | } | ||
| 1065 | .col-lg-5 { | ||
| 1066 | width: 41.66666666666667%; | ||
| 1067 | } | ||
| 1068 | .col-lg-6 { | ||
| 1069 | width: 50%; | ||
| 1070 | } | ||
| 1071 | .col-lg-7 { | ||
| 1072 | width: 58.333333333333336%; | ||
| 1073 | } | ||
| 1074 | .col-lg-8 { | ||
| 1075 | width: 66.66666666666666%; | ||
| 1076 | } | ||
| 1077 | .col-lg-9 { | ||
| 1078 | width: 75%; | ||
| 1079 | } | ||
| 1080 | .col-lg-10 { | ||
| 1081 | width: 83.33333333333334%; | ||
| 1082 | } | ||
| 1083 | .col-lg-11 { | ||
| 1084 | width: 91.66666666666666%; | ||
| 1085 | } | ||
| 1086 | .col-lg-12 { | ||
| 1087 | width: 100%; | ||
| 1088 | } | ||
| 1089 | .col-lg-push-1 { | ||
| 1090 | left: 8.333333333333332%; | ||
| 1091 | } | ||
| 1092 | .col-lg-push-2 { | ||
| 1093 | left: 16.666666666666664%; | ||
| 1094 | } | ||
| 1095 | .col-lg-push-3 { | ||
| 1096 | left: 25%; | ||
| 1097 | } | ||
| 1098 | .col-lg-push-4 { | ||
| 1099 | left: 33.33333333333333%; | ||
| 1100 | } | ||
| 1101 | .col-lg-push-5 { | ||
| 1102 | left: 41.66666666666667%; | ||
| 1103 | } | ||
| 1104 | .col-lg-push-6 { | ||
| 1105 | left: 50%; | ||
| 1106 | } | ||
| 1107 | .col-lg-push-7 { | ||
| 1108 | left: 58.333333333333336%; | ||
| 1109 | } | ||
| 1110 | .col-lg-push-8 { | ||
| 1111 | left: 66.66666666666666%; | ||
| 1112 | } | ||
| 1113 | .col-lg-push-9 { | ||
| 1114 | left: 75%; | ||
| 1115 | } | ||
| 1116 | .col-lg-push-10 { | ||
| 1117 | left: 83.33333333333334%; | ||
| 1118 | } | ||
| 1119 | .col-lg-push-11 { | ||
| 1120 | left: 91.66666666666666%; | ||
| 1121 | } | ||
| 1122 | .col-lg-pull-1 { | ||
| 1123 | right: 8.333333333333332%; | ||
| 1124 | } | ||
| 1125 | .col-lg-pull-2 { | ||
| 1126 | right: 16.666666666666664%; | ||
| 1127 | } | ||
| 1128 | .col-lg-pull-3 { | ||
| 1129 | right: 25%; | ||
| 1130 | } | ||
| 1131 | .col-lg-pull-4 { | ||
| 1132 | right: 33.33333333333333%; | ||
| 1133 | } | ||
| 1134 | .col-lg-pull-5 { | ||
| 1135 | right: 41.66666666666667%; | ||
| 1136 | } | ||
| 1137 | .col-lg-pull-6 { | ||
| 1138 | right: 50%; | ||
| 1139 | } | ||
| 1140 | .col-lg-pull-7 { | ||
| 1141 | right: 58.333333333333336%; | ||
| 1142 | } | ||
| 1143 | .col-lg-pull-8 { | ||
| 1144 | right: 66.66666666666666%; | ||
| 1145 | } | ||
| 1146 | .col-lg-pull-9 { | ||
| 1147 | right: 75%; | ||
| 1148 | } | ||
| 1149 | .col-lg-pull-10 { | ||
| 1150 | right: 83.33333333333334%; | ||
| 1151 | } | ||
| 1152 | .col-lg-pull-11 { | ||
| 1153 | right: 91.66666666666666%; | ||
| 1154 | } | ||
| 1155 | .col-lg-offset-1 { | ||
| 1156 | margin-left: 8.333333333333332%; | ||
| 1157 | } | ||
| 1158 | .col-lg-offset-2 { | ||
| 1159 | margin-left: 16.666666666666664%; | ||
| 1160 | } | ||
| 1161 | .col-lg-offset-3 { | ||
| 1162 | margin-left: 25%; | ||
| 1163 | } | ||
| 1164 | .col-lg-offset-4 { | ||
| 1165 | margin-left: 33.33333333333333%; | ||
| 1166 | } | ||
| 1167 | .col-lg-offset-5 { | ||
| 1168 | margin-left: 41.66666666666667%; | ||
| 1169 | } | ||
| 1170 | .col-lg-offset-6 { | ||
| 1171 | margin-left: 50%; | ||
| 1172 | } | ||
| 1173 | .col-lg-offset-7 { | ||
| 1174 | margin-left: 58.333333333333336%; | ||
| 1175 | } | ||
| 1176 | .col-lg-offset-8 { | ||
| 1177 | margin-left: 66.66666666666666%; | ||
| 1178 | } | ||
| 1179 | .col-lg-offset-9 { | ||
| 1180 | margin-left: 75%; | ||
| 1181 | } | ||
| 1182 | .col-lg-offset-10 { | ||
| 1183 | margin-left: 83.33333333333334%; | ||
| 1184 | } | ||
| 1185 | .col-lg-offset-11 { | ||
| 1186 | margin-left: 91.66666666666666%; | ||
| 1187 | } | ||
| 1188 | } | ||
| 1189 | |||
| 1190 | @media (min-width: 1200px) { | ||
| 1191 | .container { | ||
| 1192 | max-width: 1170px; | ||
| 1193 | } | ||
| 1194 | } | ||
| 1195 | |||
| 1196 | table { | ||
| 1197 | max-width: 100%; | ||
| 1198 | background-color: transparent; | ||
| 1199 | } | ||
| 1200 | |||
| 1201 | th { | ||
| 1202 | text-align: left; | ||
| 1203 | } | ||
| 1204 | |||
| 1205 | .table { | ||
| 1206 | width: 100%; | ||
| 1207 | margin-bottom: 20px; | ||
| 1208 | } | ||
| 1209 | |||
| 1210 | .table thead > tr > th, | ||
| 1211 | .table tbody > tr > th, | ||
| 1212 | .table tfoot > tr > th, | ||
| 1213 | .table thead > tr > td, | ||
| 1214 | .table tbody > tr > td, | ||
| 1215 | .table tfoot > tr > td { | ||
| 1216 | padding: 8px; | ||
| 1217 | line-height: 1.428571429; | ||
| 1218 | vertical-align: top; | ||
| 1219 | border-top: 1px solid #dddddd; | ||
| 1220 | } | ||
| 1221 | |||
| 1222 | .table thead > tr > th { | ||
| 1223 | vertical-align: bottom; | ||
| 1224 | } | ||
| 1225 | |||
| 1226 | .table caption + thead tr:first-child th, | ||
| 1227 | .table colgroup + thead tr:first-child th, | ||
| 1228 | .table thead:first-child tr:first-child th, | ||
| 1229 | .table caption + thead tr:first-child td, | ||
| 1230 | .table colgroup + thead tr:first-child td, | ||
| 1231 | .table thead:first-child tr:first-child td { | ||
| 1232 | border-top: 0; | ||
| 1233 | } | ||
| 1234 | |||
| 1235 | .table tbody + tbody { | ||
| 1236 | border-top: 2px solid #dddddd; | ||
| 1237 | } | ||
| 1238 | |||
| 1239 | .table .table { | ||
| 1240 | background-color: #ffffff; | ||
| 1241 | } | ||
| 1242 | |||
| 1243 | .table-condensed thead > tr > th, | ||
| 1244 | .table-condensed tbody > tr > th, | ||
| 1245 | .table-condensed tfoot > tr > th, | ||
| 1246 | .table-condensed thead > tr > td, | ||
| 1247 | .table-condensed tbody > tr > td, | ||
| 1248 | .table-condensed tfoot > tr > td { | ||
| 1249 | padding: 5px; | ||
| 1250 | } | ||
| 1251 | |||
| 1252 | .table-bordered { | ||
| 1253 | border: 1px solid #dddddd; | ||
| 1254 | } | ||
| 1255 | |||
| 1256 | .table-bordered > thead > tr > th, | ||
| 1257 | .table-bordered > tbody > tr > th, | ||
| 1258 | .table-bordered > tfoot > tr > th, | ||
| 1259 | .table-bordered > thead > tr > td, | ||
| 1260 | .table-bordered > tbody > tr > td, | ||
| 1261 | .table-bordered > tfoot > tr > td { | ||
| 1262 | border: 1px solid #dddddd; | ||
| 1263 | } | ||
| 1264 | |||
| 1265 | .table-striped > tbody > tr:nth-child(odd) > td, | ||
| 1266 | .table-striped > tbody > tr:nth-child(odd) > th { | ||
| 1267 | background-color: #f9f9f9; | ||
| 1268 | } | ||
| 1269 | |||
| 1270 | .table-hover > tbody > tr:hover > td, | ||
| 1271 | .table-hover > tbody > tr:hover > th { | ||
| 1272 | background-color: #f5f5f5; | ||
| 1273 | } | ||
| 1274 | |||
| 1275 | table col[class^="col-"] { | ||
| 1276 | display: table-column; | ||
| 1277 | float: none; | ||
| 1278 | } | ||
| 1279 | |||
| 1280 | table td[class^="col-"], | ||
| 1281 | table th[class^="col-"] { | ||
| 1282 | display: table-cell; | ||
| 1283 | float: none; | ||
| 1284 | } | ||
| 1285 | |||
| 1286 | .table > thead > tr > td.active, | ||
| 1287 | .table > tbody > tr > td.active, | ||
| 1288 | .table > tfoot > tr > td.active, | ||
| 1289 | .table > thead > tr > th.active, | ||
| 1290 | .table > tbody > tr > th.active, | ||
| 1291 | .table > tfoot > tr > th.active, | ||
| 1292 | .table > thead > tr.active > td, | ||
| 1293 | .table > tbody > tr.active > td, | ||
| 1294 | .table > tfoot > tr.active > td, | ||
| 1295 | .table > thead > tr.active > th, | ||
| 1296 | .table > tbody > tr.active > th, | ||
| 1297 | .table > tfoot > tr.active > th { | ||
| 1298 | background-color: #f5f5f5; | ||
| 1299 | } | ||
| 1300 | |||
| 1301 | .table > thead > tr > td.success, | ||
| 1302 | .table > tbody > tr > td.success, | ||
| 1303 | .table > tfoot > tr > td.success, | ||
| 1304 | .table > thead > tr > th.success, | ||
| 1305 | .table > tbody > tr > th.success, | ||
| 1306 | .table > tfoot > tr > th.success, | ||
| 1307 | .table > thead > tr.success > td, | ||
| 1308 | .table > tbody > tr.success > td, | ||
| 1309 | .table > tfoot > tr.success > td, | ||
| 1310 | .table > thead > tr.success > th, | ||
| 1311 | .table > tbody > tr.success > th, | ||
| 1312 | .table > tfoot > tr.success > th { | ||
| 1313 | background-color: #dff0d8; | ||
| 1314 | border-color: #d6e9c6; | ||
| 1315 | } | ||
| 1316 | |||
| 1317 | .table > thead > tr > td.danger, | ||
| 1318 | .table > tbody > tr > td.danger, | ||
| 1319 | .table > tfoot > tr > td.danger, | ||
| 1320 | .table > thead > tr > th.danger, | ||
| 1321 | .table > tbody > tr > th.danger, | ||
| 1322 | .table > tfoot > tr > th.danger, | ||
| 1323 | .table > thead > tr.danger > td, | ||
| 1324 | .table > tbody > tr.danger > td, | ||
| 1325 | .table > tfoot > tr.danger > td, | ||
| 1326 | .table > thead > tr.danger > th, | ||
| 1327 | .table > tbody > tr.danger > th, | ||
| 1328 | .table > tfoot > tr.danger > th { | ||
| 1329 | background-color: #f2dede; | ||
| 1330 | border-color: #eed3d7; | ||
| 1331 | } | ||
| 1332 | |||
| 1333 | .table > thead > tr > td.warning, | ||
| 1334 | .table > tbody > tr > td.warning, | ||
| 1335 | .table > tfoot > tr > td.warning, | ||
| 1336 | .table > thead > tr > th.warning, | ||
| 1337 | .table > tbody > tr > th.warning, | ||
| 1338 | .table > tfoot > tr > th.warning, | ||
| 1339 | .table > thead > tr.warning > td, | ||
| 1340 | .table > tbody > tr.warning > td, | ||
| 1341 | .table > tfoot > tr.warning > td, | ||
| 1342 | .table > thead > tr.warning > th, | ||
| 1343 | .table > tbody > tr.warning > th, | ||
| 1344 | .table > tfoot > tr.warning > th { | ||
| 1345 | background-color: #fcf8e3; | ||
| 1346 | border-color: #fbeed5; | ||
| 1347 | } | ||
| 1348 | |||
| 1349 | .table-hover > tbody > tr > td.success:hover, | ||
| 1350 | .table-hover > tbody > tr > th.success:hover, | ||
| 1351 | .table-hover > tbody > tr.success:hover > td { | ||
| 1352 | background-color: #d0e9c6; | ||
| 1353 | border-color: #c9e2b3; | ||
| 1354 | } | ||
| 1355 | |||
| 1356 | .table-hover > tbody > tr > td.danger:hover, | ||
| 1357 | .table-hover > tbody > tr > th.danger:hover, | ||
| 1358 | .table-hover > tbody > tr.danger:hover > td { | ||
| 1359 | background-color: #ebcccc; | ||
| 1360 | border-color: #e6c1c7; | ||
| 1361 | } | ||
| 1362 | |||
| 1363 | .table-hover > tbody > tr > td.warning:hover, | ||
| 1364 | .table-hover > tbody > tr > th.warning:hover, | ||
| 1365 | .table-hover > tbody > tr.warning:hover > td { | ||
| 1366 | background-color: #faf2cc; | ||
| 1367 | border-color: #f8e5be; | ||
| 1368 | } | ||
| 1369 | |||
| 1370 | fieldset { | ||
| 1371 | padding: 0; | ||
| 1372 | margin: 0; | ||
| 1373 | border: 0; | ||
| 1374 | } | ||
| 1375 | |||
| 1376 | legend { | ||
| 1377 | display: block; | ||
| 1378 | width: 100%; | ||
| 1379 | padding: 0; | ||
| 1380 | margin-bottom: 20px; | ||
| 1381 | font-size: 21px; | ||
| 1382 | line-height: inherit; | ||
| 1383 | color: #333333; | ||
| 1384 | border: 0; | ||
| 1385 | border-bottom: 1px solid #e5e5e5; | ||
| 1386 | } | ||
| 1387 | |||
| 1388 | label { | ||
| 1389 | display: inline-block; | ||
| 1390 | margin-bottom: 5px; | ||
| 1391 | font-weight: bold; | ||
| 1392 | } | ||
| 1393 | |||
| 1394 | input[type="search"] { | ||
| 1395 | -webkit-box-sizing: border-box; | ||
| 1396 | -moz-box-sizing: border-box; | ||
| 1397 | box-sizing: border-box; | ||
| 1398 | } | ||
| 1399 | |||
| 1400 | input[type="radio"], | ||
| 1401 | input[type="checkbox"] { | ||
| 1402 | margin: 4px 0 0; | ||
| 1403 | margin-top: 1px \9; | ||
| 1404 | /* IE8-9 */ | ||
| 1405 | |||
| 1406 | line-height: normal; | ||
| 1407 | } | ||
| 1408 | |||
| 1409 | input[type="file"] { | ||
| 1410 | display: block; | ||
| 1411 | } | ||
| 1412 | |||
| 1413 | select[multiple], | ||
| 1414 | select[size] { | ||
| 1415 | height: auto; | ||
| 1416 | } | ||
| 1417 | |||
| 1418 | select optgroup { | ||
| 1419 | font-family: inherit; | ||
| 1420 | font-size: inherit; | ||
| 1421 | font-style: inherit; | ||
| 1422 | } | ||
| 1423 | |||
| 1424 | input[type="file"]:focus, | ||
| 1425 | input[type="radio"]:focus, | ||
| 1426 | input[type="checkbox"]:focus { | ||
| 1427 | outline: thin dotted #333; | ||
| 1428 | outline: 5px auto -webkit-focus-ring-color; | ||
| 1429 | outline-offset: -2px; | ||
| 1430 | } | ||
| 1431 | |||
| 1432 | input[type="number"]::-webkit-outer-spin-button, | ||
| 1433 | input[type="number"]::-webkit-inner-spin-button { | ||
| 1434 | height: auto; | ||
| 1435 | } | ||
| 1436 | |||
| 1437 | .form-control:-moz-placeholder { | ||
| 1438 | color: #999999; | ||
| 1439 | } | ||
| 1440 | |||
| 1441 | .form-control::-moz-placeholder { | ||
| 1442 | color: #999999; | ||
| 1443 | } | ||
| 1444 | |||
| 1445 | .form-control:-ms-input-placeholder { | ||
| 1446 | color: #999999; | ||
| 1447 | } | ||
| 1448 | |||
| 1449 | .form-control::-webkit-input-placeholder { | ||
| 1450 | color: #999999; | ||
| 1451 | } | ||
| 1452 | |||
| 1453 | .form-control { | ||
| 1454 | display: block; | ||
| 1455 | width: 100%; | ||
| 1456 | height: 34px; | ||
| 1457 | padding: 6px 12px; | ||
| 1458 | font-size: 14px; | ||
| 1459 | line-height: 1.428571429; | ||
| 1460 | color: #555555; | ||
| 1461 | vertical-align: middle; | ||
| 1462 | background-color: #ffffff; | ||
| 1463 | border: 1px solid #cccccc; | ||
| 1464 | border-radius: 4px; | ||
| 1465 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
| 1466 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
| 1467 | -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; | ||
| 1468 | transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; | ||
| 1469 | } | ||
| 1470 | |||
| 1471 | .form-control:focus { | ||
| 1472 | border-color: #66afe9; | ||
| 1473 | outline: 0; | ||
| 1474 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); | ||
| 1475 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); | ||
| 1476 | } | ||
| 1477 | |||
| 1478 | .form-control[disabled], | ||
| 1479 | .form-control[readonly], | ||
| 1480 | fieldset[disabled] .form-control { | ||
| 1481 | cursor: not-allowed; | ||
| 1482 | background-color: #eeeeee; | ||
| 1483 | } | ||
| 1484 | |||
| 1485 | textarea.form-control { | ||
| 1486 | height: auto; | ||
| 1487 | } | ||
| 1488 | |||
| 1489 | .form-group { | ||
| 1490 | margin-bottom: 15px; | ||
| 1491 | } | ||
| 1492 | |||
| 1493 | .radio, | ||
| 1494 | .checkbox { | ||
| 1495 | display: block; | ||
| 1496 | min-height: 20px; | ||
| 1497 | padding-left: 20px; | ||
| 1498 | margin-top: 10px; | ||
| 1499 | margin-bottom: 10px; | ||
| 1500 | vertical-align: middle; | ||
| 1501 | } | ||
| 1502 | |||
| 1503 | .radio label, | ||
| 1504 | .checkbox label { | ||
| 1505 | display: inline; | ||
| 1506 | margin-bottom: 0; | ||
| 1507 | font-weight: normal; | ||
| 1508 | cursor: pointer; | ||
| 1509 | } | ||
| 1510 | |||
| 1511 | .radio input[type="radio"], | ||
| 1512 | .radio-inline input[type="radio"], | ||
| 1513 | .checkbox input[type="checkbox"], | ||
| 1514 | .checkbox-inline input[type="checkbox"] { | ||
| 1515 | float: left; | ||
| 1516 | margin-left: -20px; | ||
| 1517 | } | ||
| 1518 | |||
| 1519 | .radio + .radio, | ||
| 1520 | .checkbox + .checkbox { | ||
| 1521 | margin-top: -5px; | ||
| 1522 | } | ||
| 1523 | |||
| 1524 | .radio-inline, | ||
| 1525 | .checkbox-inline { | ||
| 1526 | display: inline-block; | ||
| 1527 | padding-left: 20px; | ||
| 1528 | margin-bottom: 0; | ||
| 1529 | font-weight: normal; | ||
| 1530 | vertical-align: middle; | ||
| 1531 | cursor: pointer; | ||
| 1532 | } | ||
| 1533 | |||
| 1534 | .radio-inline + .radio-inline, | ||
| 1535 | .checkbox-inline + .checkbox-inline { | ||
| 1536 | margin-top: 0; | ||
| 1537 | margin-left: 10px; | ||
| 1538 | } | ||
| 1539 | |||
| 1540 | .input-lg { | ||
| 1541 | height: 45px; | ||
| 1542 | padding: 10px 16px; | ||
| 1543 | font-size: 18px; | ||
| 1544 | line-height: 1.33; | ||
| 1545 | border-radius: 6px; | ||
| 1546 | } | ||
| 1547 | |||
| 1548 | .input-sm { | ||
| 1549 | height: 30px; | ||
| 1550 | padding: 5px 10px; | ||
| 1551 | font-size: 12px; | ||
| 1552 | line-height: 1.5; | ||
| 1553 | border-radius: 3px; | ||
| 1554 | } | ||
| 1555 | |||
| 1556 | select.input-lg { | ||
| 1557 | height: 45px; | ||
| 1558 | line-height: 45px; | ||
| 1559 | } | ||
| 1560 | |||
| 1561 | select.input-sm { | ||
| 1562 | height: 30px; | ||
| 1563 | line-height: 30px; | ||
| 1564 | } | ||
| 1565 | |||
| 1566 | textarea.input-lg, | ||
| 1567 | textarea.input-sm { | ||
| 1568 | height: auto; | ||
| 1569 | } | ||
| 1570 | |||
| 1571 | .has-warning .help-block, | ||
| 1572 | .has-warning .control-label { | ||
| 1573 | color: #c09853; | ||
| 1574 | } | ||
| 1575 | |||
| 1576 | .has-warning .form-control { | ||
| 1577 | border-color: #c09853; | ||
| 1578 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
| 1579 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
| 1580 | } | ||
| 1581 | |||
| 1582 | .has-warning .form-control:focus { | ||
| 1583 | border-color: #a47e3c; | ||
| 1584 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; | ||
| 1585 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; | ||
| 1586 | } | ||
| 1587 | |||
| 1588 | .has-warning .input-group-addon { | ||
| 1589 | color: #c09853; | ||
| 1590 | background-color: #fcf8e3; | ||
| 1591 | border-color: #c09853; | ||
| 1592 | } | ||
| 1593 | |||
| 1594 | .has-error .help-block, | ||
| 1595 | .has-error .control-label { | ||
| 1596 | color: #b94a48; | ||
| 1597 | } | ||
| 1598 | |||
| 1599 | .has-error .form-control { | ||
| 1600 | border-color: #b94a48; | ||
| 1601 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
| 1602 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
| 1603 | } | ||
| 1604 | |||
| 1605 | .has-error .form-control:focus { | ||
| 1606 | border-color: #953b39; | ||
| 1607 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; | ||
| 1608 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; | ||
| 1609 | } | ||
| 1610 | |||
| 1611 | .has-error .input-group-addon { | ||
| 1612 | color: #b94a48; | ||
| 1613 | background-color: #f2dede; | ||
| 1614 | border-color: #b94a48; | ||
| 1615 | } | ||
| 1616 | |||
| 1617 | .has-success .help-block, | ||
| 1618 | .has-success .control-label { | ||
| 1619 | color: #468847; | ||
| 1620 | } | ||
| 1621 | |||
| 1622 | .has-success .form-control { | ||
| 1623 | border-color: #468847; | ||
| 1624 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
| 1625 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
| 1626 | } | ||
| 1627 | |||
| 1628 | .has-success .form-control:focus { | ||
| 1629 | border-color: #356635; | ||
| 1630 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; | ||
| 1631 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; | ||
| 1632 | } | ||
| 1633 | |||
| 1634 | .has-success .input-group-addon { | ||
| 1635 | color: #468847; | ||
| 1636 | background-color: #dff0d8; | ||
| 1637 | border-color: #468847; | ||
| 1638 | } | ||
| 1639 | |||
| 1640 | .help-block { | ||
| 1641 | display: block; | ||
| 1642 | margin-top: 5px; | ||
| 1643 | margin-bottom: 10px; | ||
| 1644 | color: #737373; | ||
| 1645 | } | ||
| 1646 | |||
| 1647 | .form-inline .form-control, | ||
| 1648 | .form-inline .radio, | ||
| 1649 | .form-inline .checkbox { | ||
| 1650 | display: inline-block; | ||
| 1651 | } | ||
| 1652 | |||
| 1653 | .form-inline .radio, | ||
| 1654 | .form-inline .checkbox { | ||
| 1655 | margin-top: 0; | ||
| 1656 | margin-bottom: 0; | ||
| 1657 | } | ||
| 1658 | |||
| 1659 | .form-horizontal .control-label, | ||
| 1660 | .form-horizontal .radio-inline, | ||
| 1661 | .form-horizontal .checkbox-inline { | ||
| 1662 | padding-top: 9px; | ||
| 1663 | } | ||
| 1664 | |||
| 1665 | .form-horizontal .form-group:before, | ||
| 1666 | .form-horizontal .form-group:after { | ||
| 1667 | display: table; | ||
| 1668 | content: " "; | ||
| 1669 | } | ||
| 1670 | |||
| 1671 | .form-horizontal .form-group:after { | ||
| 1672 | clear: both; | ||
| 1673 | } | ||
| 1674 | |||
| 1675 | .form-horizontal .form-group:before, | ||
| 1676 | .form-horizontal .form-group:after { | ||
| 1677 | display: table; | ||
| 1678 | content: " "; | ||
| 1679 | } | ||
| 1680 | |||
| 1681 | .form-horizontal .form-group:after { | ||
| 1682 | clear: both; | ||
| 1683 | } | ||
| 1684 | |||
| 1685 | @media (min-width: 768px) { | ||
| 1686 | .form-horizontal .form-group { | ||
| 1687 | margin-right: -15px; | ||
| 1688 | margin-left: -15px; | ||
| 1689 | } | ||
| 1690 | } | ||
| 1691 | |||
| 1692 | .form-horizontal .form-group .row { | ||
| 1693 | margin-right: -15px; | ||
| 1694 | margin-left: -15px; | ||
| 1695 | } | ||
| 1696 | |||
| 1697 | @media (min-width: 768px) { | ||
| 1698 | .form-horizontal .control-label { | ||
| 1699 | text-align: right; | ||
| 1700 | } | ||
| 1701 | } | ||
| 1702 | |||
| 1703 | .btn { | ||
| 1704 | display: inline-block; | ||
| 1705 | padding: 6px 12px; | ||
| 1706 | margin-bottom: 0; | ||
| 1707 | font-size: 14px; | ||
| 1708 | font-weight: 500; | ||
| 1709 | line-height: 1.428571429; | ||
| 1710 | text-align: center; | ||
| 1711 | white-space: nowrap; | ||
| 1712 | vertical-align: middle; | ||
| 1713 | cursor: pointer; | ||
| 1714 | border: 1px solid transparent; | ||
| 1715 | border-radius: 4px; | ||
| 1716 | -webkit-user-select: none; | ||
| 1717 | -moz-user-select: none; | ||
| 1718 | -ms-user-select: none; | ||
| 1719 | -o-user-select: none; | ||
| 1720 | user-select: none; | ||
| 1721 | } | ||
| 1722 | |||
| 1723 | .btn:focus { | ||
| 1724 | outline: thin dotted #333; | ||
| 1725 | outline: 5px auto -webkit-focus-ring-color; | ||
| 1726 | outline-offset: -2px; | ||
| 1727 | } | ||
| 1728 | |||
| 1729 | .btn:hover, | ||
| 1730 | .btn:focus { | ||
| 1731 | color: #ffffff; | ||
| 1732 | text-decoration: none; | ||
| 1733 | } | ||
| 1734 | |||
| 1735 | .btn:active, | ||
| 1736 | .btn.active { | ||
| 1737 | outline: 0; | ||
| 1738 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); | ||
| 1739 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); | ||
| 1740 | } | ||
| 1741 | |||
| 1742 | .btn.disabled, | ||
| 1743 | .btn[disabled], | ||
| 1744 | fieldset[disabled] .btn { | ||
| 1745 | pointer-events: none; | ||
| 1746 | cursor: default; | ||
| 1747 | opacity: 0.65; | ||
| 1748 | filter: alpha(opacity=65); | ||
| 1749 | -webkit-box-shadow: none; | ||
| 1750 | box-shadow: none; | ||
| 1751 | } | ||
| 1752 | |||
| 1753 | .btn-default { | ||
| 1754 | color: #ffffff; | ||
| 1755 | background-color: #474949; | ||
| 1756 | border-color: #474949; | ||
| 1757 | } | ||
| 1758 | |||
| 1759 | .btn-default:hover, | ||
| 1760 | .btn-default:focus, | ||
| 1761 | .btn-default:active, | ||
| 1762 | .btn-default.active { | ||
| 1763 | background-color: #3a3c3c; | ||
| 1764 | border-color: #2e2f2f; | ||
| 1765 | } | ||
| 1766 | |||
| 1767 | .btn-default.disabled, | ||
| 1768 | .btn-default[disabled], | ||
| 1769 | fieldset[disabled] .btn-default, | ||
| 1770 | .btn-default.disabled:hover, | ||
| 1771 | .btn-default[disabled]:hover, | ||
| 1772 | fieldset[disabled] .btn-default:hover, | ||
| 1773 | .btn-default.disabled:focus, | ||
| 1774 | .btn-default[disabled]:focus, | ||
| 1775 | fieldset[disabled] .btn-default:focus, | ||
| 1776 | .btn-default.disabled:active, | ||
| 1777 | .btn-default[disabled]:active, | ||
| 1778 | fieldset[disabled] .btn-default:active, | ||
| 1779 | .btn-default.disabled.active, | ||
| 1780 | .btn-default[disabled].active, | ||
| 1781 | fieldset[disabled] .btn-default.active { | ||
| 1782 | background-color: #474949; | ||
| 1783 | border-color: #474949; | ||
| 1784 | } | ||
| 1785 | |||
| 1786 | .btn-primary { | ||
| 1787 | color: #ffffff; | ||
| 1788 | background-color: #428bca; | ||
| 1789 | border-color: #428bca; | ||
| 1790 | } | ||
| 1791 | |||
| 1792 | .btn-primary:hover, | ||
| 1793 | .btn-primary:focus, | ||
| 1794 | .btn-primary:active, | ||
| 1795 | .btn-primary.active { | ||
| 1796 | background-color: #357ebd; | ||
| 1797 | border-color: #3071a9; | ||
| 1798 | } | ||
| 1799 | |||
| 1800 | .btn-primary.disabled, | ||
| 1801 | .btn-primary[disabled], | ||
| 1802 | fieldset[disabled] .btn-primary, | ||
| 1803 | .btn-primary.disabled:hover, | ||
| 1804 | .btn-primary[disabled]:hover, | ||
| 1805 | fieldset[disabled] .btn-primary:hover, | ||
| 1806 | .btn-primary.disabled:focus, | ||
| 1807 | .btn-primary[disabled]:focus, | ||
| 1808 | fieldset[disabled] .btn-primary:focus, | ||
| 1809 | .btn-primary.disabled:active, | ||
| 1810 | .btn-primary[disabled]:active, | ||
| 1811 | fieldset[disabled] .btn-primary:active, | ||
| 1812 | .btn-primary.disabled.active, | ||
| 1813 | .btn-primary[disabled].active, | ||
| 1814 | fieldset[disabled] .btn-primary.active { | ||
| 1815 | background-color: #428bca; | ||
| 1816 | border-color: #428bca; | ||
| 1817 | } | ||
| 1818 | |||
| 1819 | .btn-warning { | ||
| 1820 | color: #ffffff; | ||
| 1821 | background-color: #f0ad4e; | ||
| 1822 | border-color: #f0ad4e; | ||
| 1823 | } | ||
| 1824 | |||
| 1825 | .btn-warning:hover, | ||
| 1826 | .btn-warning:focus, | ||
| 1827 | .btn-warning:active, | ||
| 1828 | .btn-warning.active { | ||
| 1829 | background-color: #eea236; | ||
| 1830 | border-color: #ec971f; | ||
| 1831 | } | ||
| 1832 | |||
| 1833 | .btn-warning.disabled, | ||
| 1834 | .btn-warning[disabled], | ||
| 1835 | fieldset[disabled] .btn-warning, | ||
| 1836 | .btn-warning.disabled:hover, | ||
| 1837 | .btn-warning[disabled]:hover, | ||
| 1838 | fieldset[disabled] .btn-warning:hover, | ||
| 1839 | .btn-warning.disabled:focus, | ||
| 1840 | .btn-warning[disabled]:focus, | ||
| 1841 | fieldset[disabled] .btn-warning:focus, | ||
| 1842 | .btn-warning.disabled:active, | ||
| 1843 | .btn-warning[disabled]:active, | ||
| 1844 | fieldset[disabled] .btn-warning:active, | ||
| 1845 | .btn-warning.disabled.active, | ||
| 1846 | .btn-warning[disabled].active, | ||
| 1847 | fieldset[disabled] .btn-warning.active { | ||
| 1848 | background-color: #f0ad4e; | ||
| 1849 | border-color: #f0ad4e; | ||
| 1850 | } | ||
| 1851 | |||
| 1852 | .btn-danger { | ||
| 1853 | color: #ffffff; | ||
| 1854 | background-color: #d9534f; | ||
| 1855 | border-color: #d9534f; | ||
| 1856 | } | ||
| 1857 | |||
| 1858 | .btn-danger:hover, | ||
| 1859 | .btn-danger:focus, | ||
| 1860 | .btn-danger:active, | ||
| 1861 | .btn-danger.active { | ||
| 1862 | background-color: #d43f3a; | ||
| 1863 | border-color: #c9302c; | ||
| 1864 | } | ||
| 1865 | |||
| 1866 | .btn-danger.disabled, | ||
| 1867 | .btn-danger[disabled], | ||
| 1868 | fieldset[disabled] .btn-danger, | ||
| 1869 | .btn-danger.disabled:hover, | ||
| 1870 | .btn-danger[disabled]:hover, | ||
| 1871 | fieldset[disabled] .btn-danger:hover, | ||
| 1872 | .btn-danger.disabled:focus, | ||
| 1873 | .btn-danger[disabled]:focus, | ||
| 1874 | fieldset[disabled] .btn-danger:focus, | ||
| 1875 | .btn-danger.disabled:active, | ||
| 1876 | .btn-danger[disabled]:active, | ||
| 1877 | fieldset[disabled] .btn-danger:active, | ||
| 1878 | .btn-danger.disabled.active, | ||
| 1879 | .btn-danger[disabled].active, | ||
| 1880 | fieldset[disabled] .btn-danger.active { | ||
| 1881 | background-color: #d9534f; | ||
| 1882 | border-color: #d9534f; | ||
| 1883 | } | ||
| 1884 | |||
| 1885 | .btn-success { | ||
| 1886 | color: #ffffff; | ||
| 1887 | background-color: #5cb85c; | ||
| 1888 | border-color: #5cb85c; | ||
| 1889 | } | ||
| 1890 | |||
| 1891 | .btn-success:hover, | ||
| 1892 | .btn-success:focus, | ||
| 1893 | .btn-success:active, | ||
| 1894 | .btn-success.active { | ||
| 1895 | background-color: #4cae4c; | ||
| 1896 | border-color: #449d44; | ||
| 1897 | } | ||
| 1898 | |||
| 1899 | .btn-success.disabled, | ||
| 1900 | .btn-success[disabled], | ||
| 1901 | fieldset[disabled] .btn-success, | ||
| 1902 | .btn-success.disabled:hover, | ||
| 1903 | .btn-success[disabled]:hover, | ||
| 1904 | fieldset[disabled] .btn-success:hover, | ||
| 1905 | .btn-success.disabled:focus, | ||
| 1906 | .btn-success[disabled]:focus, | ||
| 1907 | fieldset[disabled] .btn-success:focus, | ||
| 1908 | .btn-success.disabled:active, | ||
| 1909 | .btn-success[disabled]:active, | ||
| 1910 | fieldset[disabled] .btn-success:active, | ||
| 1911 | .btn-success.disabled.active, | ||
| 1912 | .btn-success[disabled].active, | ||
| 1913 | fieldset[disabled] .btn-success.active { | ||
| 1914 | background-color: #5cb85c; | ||
| 1915 | border-color: #5cb85c; | ||
| 1916 | } | ||
| 1917 | |||
| 1918 | .btn-info { | ||
| 1919 | color: #ffffff; | ||
| 1920 | background-color: #5bc0de; | ||
| 1921 | border-color: #5bc0de; | ||
| 1922 | } | ||
| 1923 | |||
| 1924 | .btn-info:hover, | ||
| 1925 | .btn-info:focus, | ||
| 1926 | .btn-info:active, | ||
| 1927 | .btn-info.active { | ||
| 1928 | background-color: #46b8da; | ||
| 1929 | border-color: #31b0d5; | ||
| 1930 | } | ||
| 1931 | |||
| 1932 | .btn-info.disabled, | ||
| 1933 | .btn-info[disabled], | ||
| 1934 | fieldset[disabled] .btn-info, | ||
| 1935 | .btn-info.disabled:hover, | ||
| 1936 | .btn-info[disabled]:hover, | ||
| 1937 | fieldset[disabled] .btn-info:hover, | ||
| 1938 | .btn-info.disabled:focus, | ||
| 1939 | .btn-info[disabled]:focus, | ||
| 1940 | fieldset[disabled] .btn-info:focus, | ||
| 1941 | .btn-info.disabled:active, | ||
| 1942 | .btn-info[disabled]:active, | ||
| 1943 | fieldset[disabled] .btn-info:active, | ||
| 1944 | .btn-info.disabled.active, | ||
| 1945 | .btn-info[disabled].active, | ||
| 1946 | fieldset[disabled] .btn-info.active { | ||
| 1947 | background-color: #5bc0de; | ||
| 1948 | border-color: #5bc0de; | ||
| 1949 | } | ||
| 1950 | |||
| 1951 | .btn-link { | ||
| 1952 | font-weight: normal; | ||
| 1953 | color: #428bca; | ||
| 1954 | cursor: pointer; | ||
| 1955 | border-radius: 0; | ||
| 1956 | } | ||
| 1957 | |||
| 1958 | .btn-link, | ||
| 1959 | .btn-link:active, | ||
| 1960 | .btn-link[disabled], | ||
| 1961 | fieldset[disabled] .btn-link { | ||
| 1962 | background-color: transparent; | ||
| 1963 | -webkit-box-shadow: none; | ||
| 1964 | box-shadow: none; | ||
| 1965 | } | ||
| 1966 | |||
| 1967 | .btn-link, | ||
| 1968 | .btn-link:hover, | ||
| 1969 | .btn-link:focus, | ||
| 1970 | .btn-link:active { | ||
| 1971 | border-color: transparent; | ||
| 1972 | } | ||
| 1973 | |||
| 1974 | .btn-link:hover, | ||
| 1975 | .btn-link:focus { | ||
| 1976 | color: #2a6496; | ||
| 1977 | text-decoration: underline; | ||
| 1978 | background-color: transparent; | ||
| 1979 | } | ||
| 1980 | |||
| 1981 | .btn-link[disabled]:hover, | ||
| 1982 | fieldset[disabled] .btn-link:hover, | ||
| 1983 | .btn-link[disabled]:focus, | ||
| 1984 | fieldset[disabled] .btn-link:focus { | ||
| 1985 | color: #333333; | ||
| 1986 | text-decoration: none; | ||
| 1987 | } | ||
| 1988 | |||
| 1989 | .btn-lg { | ||
| 1990 | padding: 10px 16px; | ||
| 1991 | font-size: 18px; | ||
| 1992 | line-height: 1.33; | ||
| 1993 | border-radius: 6px; | ||
| 1994 | } | ||
| 1995 | |||
| 1996 | .btn-sm, | ||
| 1997 | .btn-xs { | ||
| 1998 | padding: 5px 10px; | ||
| 1999 | font-size: 12px; | ||
| 2000 | line-height: 1.5; | ||
| 2001 | border-radius: 3px; | ||
| 2002 | } | ||
| 2003 | |||
| 2004 | .btn-xs { | ||
| 2005 | padding: 3px 5px; | ||
| 2006 | } | ||
| 2007 | |||
| 2008 | .btn-block { | ||
| 2009 | display: block; | ||
| 2010 | width: 100%; | ||
| 2011 | padding-right: 0; | ||
| 2012 | padding-left: 0; | ||
| 2013 | } | ||
| 2014 | |||
| 2015 | .btn-block + .btn-block { | ||
| 2016 | margin-top: 5px; | ||
| 2017 | } | ||
| 2018 | |||
| 2019 | input[type="submit"].btn-block, | ||
| 2020 | input[type="reset"].btn-block, | ||
| 2021 | input[type="button"].btn-block { | ||
| 2022 | width: 100%; | ||
| 2023 | } | ||
| 2024 | |||
| 2025 | .fade { | ||
| 2026 | opacity: 0; | ||
| 2027 | -webkit-transition: opacity 0.15s linear; | ||
| 2028 | transition: opacity 0.15s linear; | ||
| 2029 | } | ||
| 2030 | |||
| 2031 | .fade.in { | ||
| 2032 | opacity: 1; | ||
| 2033 | } | ||
| 2034 | |||
| 2035 | .collapse { | ||
| 2036 | display: none; | ||
| 2037 | } | ||
| 2038 | |||
| 2039 | .collapse.in { | ||
| 2040 | display: block; | ||
| 2041 | } | ||
| 2042 | |||
| 2043 | .collapsing { | ||
| 2044 | position: relative; | ||
| 2045 | height: 0; | ||
| 2046 | overflow: hidden; | ||
| 2047 | -webkit-transition: height 0.35s ease; | ||
| 2048 | transition: height 0.35s ease; | ||
| 2049 | } | ||
| 2050 | |||
| 2051 | .input-group { | ||
| 2052 | position: relative; | ||
| 2053 | display: table; | ||
| 2054 | border-collapse: separate; | ||
| 2055 | } | ||
| 2056 | |||
| 2057 | .input-group.col { | ||
| 2058 | float: none; | ||
| 2059 | padding-right: 0; | ||
| 2060 | padding-left: 0; | ||
| 2061 | } | ||
| 2062 | |||
| 2063 | .input-group .form-control { | ||
| 2064 | width: 100%; | ||
| 2065 | margin-bottom: 0; | ||
| 2066 | } | ||
| 2067 | |||
| 2068 | .input-group-addon, | ||
| 2069 | .input-group-btn, | ||
| 2070 | .input-group .form-control { | ||
| 2071 | display: table-cell; | ||
| 2072 | } | ||
| 2073 | |||
| 2074 | .input-group-addon:not(:first-child):not(:last-child), | ||
| 2075 | .input-group-btn:not(:first-child):not(:last-child), | ||
| 2076 | .input-group .form-control:not(:first-child):not(:last-child) { | ||
| 2077 | border-radius: 0; | ||
| 2078 | } | ||
| 2079 | |||
| 2080 | .input-group-addon, | ||
| 2081 | .input-group-btn { | ||
| 2082 | width: 1%; | ||
| 2083 | white-space: nowrap; | ||
| 2084 | vertical-align: middle; | ||
| 2085 | } | ||
| 2086 | |||
| 2087 | .input-group-addon { | ||
| 2088 | padding: 6px 12px; | ||
| 2089 | font-size: 14px; | ||
| 2090 | font-weight: normal; | ||
| 2091 | line-height: 1.428571429; | ||
| 2092 | text-align: center; | ||
| 2093 | background-color: #eeeeee; | ||
| 2094 | border: 1px solid #cccccc; | ||
| 2095 | border-radius: 4px; | ||
| 2096 | -webkit-box-sizing: border-box; | ||
| 2097 | -moz-box-sizing: border-box; | ||
| 2098 | box-sizing: border-box; | ||
| 2099 | } | ||
| 2100 | |||
| 2101 | .input-group-addon.input-sm { | ||
| 2102 | padding: 5px 10px; | ||
| 2103 | font-size: 12px; | ||
| 2104 | line-height: 1.5; | ||
| 2105 | border-radius: 3px; | ||
| 2106 | } | ||
| 2107 | |||
| 2108 | .input-group-addon.input-lg { | ||
| 2109 | padding: 10px 16px; | ||
| 2110 | font-size: 18px; | ||
| 2111 | line-height: 1.33; | ||
| 2112 | border-radius: 6px; | ||
| 2113 | } | ||
| 2114 | |||
| 2115 | .input-group-addon input[type="radio"], | ||
| 2116 | .input-group-addon input[type="checkbox"] { | ||
| 2117 | margin-top: 0; | ||
| 2118 | } | ||
| 2119 | |||
| 2120 | .input-group .form-control:first-child, | ||
| 2121 | .input-group-addon:first-child, | ||
| 2122 | .input-group-btn:first-child > .btn, | ||
| 2123 | .input-group-btn:first-child > .dropdown-toggle, | ||
| 2124 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { | ||
| 2125 | border-top-right-radius: 0; | ||
| 2126 | border-bottom-right-radius: 0; | ||
| 2127 | } | ||
| 2128 | |||
| 2129 | .input-group-addon:first-child { | ||
| 2130 | border-right: 0; | ||
| 2131 | } | ||
| 2132 | |||
| 2133 | .input-group .form-control:last-child, | ||
| 2134 | .input-group-addon:last-child, | ||
| 2135 | .input-group-btn:last-child > .btn, | ||
| 2136 | .input-group-btn:last-child > .dropdown-toggle, | ||
| 2137 | .input-group-btn:first-child > .btn:not(:first-child) { | ||
| 2138 | border-bottom-left-radius: 0; | ||
| 2139 | border-top-left-radius: 0; | ||
| 2140 | } | ||
| 2141 | |||
| 2142 | .input-group-addon:last-child { | ||
| 2143 | border-left: 0; | ||
| 2144 | } | ||
| 2145 | |||
| 2146 | .input-group-btn { | ||
| 2147 | position: relative; | ||
| 2148 | white-space: nowrap; | ||
| 2149 | } | ||
| 2150 | |||
| 2151 | .input-group-btn > .btn { | ||
| 2152 | position: relative; | ||
| 2153 | } | ||
| 2154 | |||
| 2155 | .input-group-btn > .btn + .btn { | ||
| 2156 | margin-left: -4px; | ||
| 2157 | } | ||
| 2158 | |||
| 2159 | .input-group-btn > .btn:hover, | ||
| 2160 | .input-group-btn > .btn:active { | ||
| 2161 | z-index: 2; | ||
| 2162 | } | ||
| 2163 | |||
| 2164 | .caret { | ||
| 2165 | display: inline-block; | ||
| 2166 | width: 0; | ||
| 2167 | height: 0; | ||
| 2168 | margin-left: 2px; | ||
| 2169 | vertical-align: middle; | ||
| 2170 | border-top: 4px solid #000000; | ||
| 2171 | border-right: 4px solid transparent; | ||
| 2172 | border-left: 4px solid transparent; | ||
| 2173 | content: ""; | ||
| 2174 | } | ||
| 2175 | |||
| 2176 | .dropdown { | ||
| 2177 | position: relative; | ||
| 2178 | } | ||
| 2179 | |||
| 2180 | .dropdown-menu { | ||
| 2181 | position: absolute; | ||
| 2182 | top: 100%; | ||
| 2183 | left: 0; | ||
| 2184 | z-index: 1000; | ||
| 2185 | display: none; | ||
| 2186 | float: left; | ||
| 2187 | min-width: 160px; | ||
| 2188 | padding: 5px 0; | ||
| 2189 | margin: 2px 0 0; | ||
| 2190 | list-style: none; | ||
| 2191 | background-color: #ffffff; | ||
| 2192 | border: 1px solid #cccccc; | ||
| 2193 | border: 1px solid rgba(0, 0, 0, 0.15); | ||
| 2194 | border-radius: 4px; | ||
| 2195 | -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); | ||
| 2196 | box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); | ||
| 2197 | background-clip: padding-box; | ||
| 2198 | } | ||
| 2199 | |||
| 2200 | .dropdown-menu.pull-right { | ||
| 2201 | right: 0; | ||
| 2202 | left: auto; | ||
| 2203 | } | ||
| 2204 | |||
| 2205 | .dropdown-menu .divider { | ||
| 2206 | height: 1px; | ||
| 2207 | margin: 9px 0; | ||
| 2208 | overflow: hidden; | ||
| 2209 | background-color: #e5e5e5; | ||
| 2210 | } | ||
| 2211 | |||
| 2212 | .dropdown-menu > li > a { | ||
| 2213 | display: block; | ||
| 2214 | padding: 3px 20px; | ||
| 2215 | clear: both; | ||
| 2216 | font-weight: normal; | ||
| 2217 | line-height: 1.428571429; | ||
| 2218 | color: #333333; | ||
| 2219 | white-space: nowrap; | ||
| 2220 | } | ||
| 2221 | |||
| 2222 | .dropdown-menu > li > a:hover, | ||
| 2223 | .dropdown-menu > li > a:focus { | ||
| 2224 | color: #ffffff; | ||
| 2225 | text-decoration: none; | ||
| 2226 | background-color: #357ebd; | ||
| 2227 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd)); | ||
| 2228 | background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%); | ||
| 2229 | background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%); | ||
| 2230 | background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); | ||
| 2231 | background-repeat: repeat-x; | ||
| 2232 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); | ||
| 2233 | } | ||
| 2234 | |||
| 2235 | .dropdown-menu > .active > a, | ||
| 2236 | .dropdown-menu > .active > a:hover, | ||
| 2237 | .dropdown-menu > .active > a:focus { | ||
| 2238 | color: #ffffff; | ||
| 2239 | text-decoration: none; | ||
| 2240 | background-color: #357ebd; | ||
| 2241 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd)); | ||
| 2242 | background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%); | ||
| 2243 | background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%); | ||
| 2244 | background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); | ||
| 2245 | background-repeat: repeat-x; | ||
| 2246 | outline: 0; | ||
| 2247 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); | ||
| 2248 | } | ||
| 2249 | |||
| 2250 | .dropdown-menu > .disabled > a, | ||
| 2251 | .dropdown-menu > .disabled > a:hover, | ||
| 2252 | .dropdown-menu > .disabled > a:focus { | ||
| 2253 | color: #999999; | ||
| 2254 | } | ||
| 2255 | |||
| 2256 | .dropdown-menu > .disabled > a:hover, | ||
| 2257 | .dropdown-menu > .disabled > a:focus { | ||
| 2258 | text-decoration: none; | ||
| 2259 | cursor: not-allowed; | ||
| 2260 | background-color: transparent; | ||
| 2261 | background-image: none; | ||
| 2262 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
| 2263 | } | ||
| 2264 | |||
| 2265 | .open > .dropdown-menu { | ||
| 2266 | display: block; | ||
| 2267 | } | ||
| 2268 | |||
| 2269 | .open > a { | ||
| 2270 | outline: 0; | ||
| 2271 | } | ||
| 2272 | |||
| 2273 | .dropdown-header { | ||
| 2274 | display: block; | ||
| 2275 | padding: 3px 20px; | ||
| 2276 | font-size: 12px; | ||
| 2277 | line-height: 1.428571429; | ||
| 2278 | color: #999999; | ||
| 2279 | } | ||
| 2280 | |||
| 2281 | .dropdown-backdrop { | ||
| 2282 | position: fixed; | ||
| 2283 | top: 0; | ||
| 2284 | right: 0; | ||
| 2285 | bottom: 0; | ||
| 2286 | left: 0; | ||
| 2287 | z-index: 990; | ||
| 2288 | } | ||
| 2289 | |||
| 2290 | .pull-right > .dropdown-menu { | ||
| 2291 | right: 0; | ||
| 2292 | left: auto; | ||
| 2293 | } | ||
| 2294 | |||
| 2295 | .dropup .caret, | ||
| 2296 | .navbar-fixed-bottom .dropdown .caret { | ||
| 2297 | border-top: 0; | ||
| 2298 | border-bottom: 4px solid #000000; | ||
| 2299 | content: ""; | ||
| 2300 | } | ||
| 2301 | |||
| 2302 | .dropup .dropdown-menu, | ||
| 2303 | .navbar-fixed-bottom .dropdown .dropdown-menu { | ||
| 2304 | top: auto; | ||
| 2305 | bottom: 100%; | ||
| 2306 | margin-bottom: 1px; | ||
| 2307 | } | ||
| 2308 | |||
| 2309 | .list-group { | ||
| 2310 | padding-left: 0; | ||
| 2311 | margin-bottom: 20px; | ||
| 2312 | } | ||
| 2313 | |||
| 2314 | .list-group-item { | ||
| 2315 | position: relative; | ||
| 2316 | display: block; | ||
| 2317 | padding: 10px 30px 10px 15px; | ||
| 2318 | margin-bottom: -1px; | ||
| 2319 | background-color: #ffffff; | ||
| 2320 | border: 1px solid #dddddd; | ||
| 2321 | } | ||
| 2322 | |||
| 2323 | .list-group-item:first-child { | ||
| 2324 | border-top-right-radius: 4px; | ||
| 2325 | border-top-left-radius: 4px; | ||
| 2326 | } | ||
| 2327 | |||
| 2328 | .list-group-item:last-child { | ||
| 2329 | margin-bottom: 0; | ||
| 2330 | border-bottom-right-radius: 4px; | ||
| 2331 | border-bottom-left-radius: 4px; | ||
| 2332 | } | ||
| 2333 | |||
| 2334 | .list-group-item > .badge { | ||
| 2335 | float: right; | ||
| 2336 | margin-right: -15px; | ||
| 2337 | } | ||
| 2338 | |||
| 2339 | .list-group-item-heading { | ||
| 2340 | margin-top: 0; | ||
| 2341 | margin-bottom: 5px; | ||
| 2342 | } | ||
| 2343 | |||
| 2344 | .list-group-item-text { | ||
| 2345 | margin-bottom: 0; | ||
| 2346 | line-height: 1.3; | ||
| 2347 | } | ||
| 2348 | |||
| 2349 | a.list-group-item .list-group-item-heading { | ||
| 2350 | color: #333333; | ||
| 2351 | } | ||
| 2352 | |||
| 2353 | a.list-group-item .list-group-item-text { | ||
| 2354 | color: #555555; | ||
| 2355 | } | ||
| 2356 | |||
| 2357 | a.list-group-item:hover, | ||
| 2358 | a.list-group-item:focus { | ||
| 2359 | text-decoration: none; | ||
| 2360 | background-color: #f5f5f5; | ||
| 2361 | } | ||
| 2362 | |||
| 2363 | a.list-group-item.active { | ||
| 2364 | z-index: 2; | ||
| 2365 | color: #ffffff; | ||
| 2366 | background-color: #428bca; | ||
| 2367 | border-color: #428bca; | ||
| 2368 | } | ||
| 2369 | |||
| 2370 | a.list-group-item.active .list-group-item-heading { | ||
| 2371 | color: inherit; | ||
| 2372 | } | ||
| 2373 | |||
| 2374 | a.list-group-item.active .list-group-item-text { | ||
| 2375 | color: #e1edf7; | ||
| 2376 | } | ||
| 2377 | |||
| 2378 | .panel { | ||
| 2379 | padding: 15px; | ||
| 2380 | margin-bottom: 20px; | ||
| 2381 | background-color: #ffffff; | ||
| 2382 | border: 1px solid #dddddd; | ||
| 2383 | border-radius: 4px; | ||
| 2384 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); | ||
| 2385 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); | ||
| 2386 | } | ||
| 2387 | |||
| 2388 | .panel .list-group { | ||
| 2389 | margin: 15px -15px -15px; | ||
| 2390 | } | ||
| 2391 | |||
| 2392 | .panel .list-group .list-group-item { | ||
| 2393 | border-width: 1px 0; | ||
| 2394 | } | ||
| 2395 | |||
| 2396 | .panel .list-group .list-group-item:first-child { | ||
| 2397 | border-top-right-radius: 0; | ||
| 2398 | border-top-left-radius: 0; | ||
| 2399 | } | ||
| 2400 | |||
| 2401 | .panel .list-group .list-group-item:last-child { | ||
| 2402 | border-bottom: 0; | ||
| 2403 | } | ||
| 2404 | |||
| 2405 | .panel-heading { | ||
| 2406 | padding: 10px 15px; | ||
| 2407 | margin: -15px -15px 15px; | ||
| 2408 | background-color: #f5f5f5; | ||
| 2409 | border-bottom: 1px solid #dddddd; | ||
| 2410 | border-top-right-radius: 3px; | ||
| 2411 | border-top-left-radius: 3px; | ||
| 2412 | } | ||
| 2413 | |||
| 2414 | .panel-title { | ||
| 2415 | margin-top: 0; | ||
| 2416 | margin-bottom: 0; | ||
| 2417 | font-size: 17.5px; | ||
| 2418 | font-weight: 500; | ||
| 2419 | } | ||
| 2420 | |||
| 2421 | .panel-title > a { | ||
| 2422 | color: inherit; | ||
| 2423 | } | ||
| 2424 | |||
| 2425 | .panel-footer { | ||
| 2426 | padding: 10px 15px; | ||
| 2427 | margin: 15px -15px -15px; | ||
| 2428 | background-color: #f5f5f5; | ||
| 2429 | border-top: 1px solid #dddddd; | ||
| 2430 | border-bottom-right-radius: 3px; | ||
| 2431 | border-bottom-left-radius: 3px; | ||
| 2432 | } | ||
| 2433 | |||
| 2434 | .panel-primary { | ||
| 2435 | border-color: #428bca; | ||
| 2436 | } | ||
| 2437 | |||
| 2438 | .panel-primary .panel-heading { | ||
| 2439 | color: #ffffff; | ||
| 2440 | background-color: #428bca; | ||
| 2441 | border-color: #428bca; | ||
| 2442 | } | ||
| 2443 | |||
| 2444 | .panel-success { | ||
| 2445 | border-color: #d6e9c6; | ||
| 2446 | } | ||
| 2447 | |||
| 2448 | .panel-success .panel-heading { | ||
| 2449 | color: #468847; | ||
| 2450 | background-color: #dff0d8; | ||
| 2451 | border-color: #d6e9c6; | ||
| 2452 | } | ||
| 2453 | |||
| 2454 | .panel-warning { | ||
| 2455 | border-color: #fbeed5; | ||
| 2456 | } | ||
| 2457 | |||
| 2458 | .panel-warning .panel-heading { | ||
| 2459 | color: #c09853; | ||
| 2460 | background-color: #fcf8e3; | ||
| 2461 | border-color: #fbeed5; | ||
| 2462 | } | ||
| 2463 | |||
| 2464 | .panel-danger { | ||
| 2465 | border-color: #eed3d7; | ||
| 2466 | } | ||
| 2467 | |||
| 2468 | .panel-danger .panel-heading { | ||
| 2469 | color: #b94a48; | ||
| 2470 | background-color: #f2dede; | ||
| 2471 | border-color: #eed3d7; | ||
| 2472 | } | ||
| 2473 | |||
| 2474 | .panel-info { | ||
| 2475 | border-color: #bce8f1; | ||
| 2476 | } | ||
| 2477 | |||
| 2478 | .panel-info .panel-heading { | ||
| 2479 | color: #3a87ad; | ||
| 2480 | background-color: #d9edf7; | ||
| 2481 | border-color: #bce8f1; | ||
| 2482 | } | ||
| 2483 | |||
| 2484 | .well { | ||
| 2485 | min-height: 20px; | ||
| 2486 | padding: 19px; | ||
| 2487 | margin-bottom: 20px; | ||
| 2488 | background-color: #f5f5f5; | ||
| 2489 | border: 1px solid #e3e3e3; | ||
| 2490 | border-radius: 4px; | ||
| 2491 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); | ||
| 2492 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); | ||
| 2493 | } | ||
| 2494 | |||
| 2495 | .well blockquote { | ||
| 2496 | border-color: #ddd; | ||
| 2497 | border-color: rgba(0, 0, 0, 0.15); | ||
| 2498 | } | ||
| 2499 | |||
| 2500 | .well-lg { | ||
| 2501 | padding: 24px; | ||
| 2502 | border-radius: 6px; | ||
| 2503 | } | ||
| 2504 | |||
| 2505 | .well-sm { | ||
| 2506 | padding: 9px; | ||
| 2507 | border-radius: 3px; | ||
| 2508 | } | ||
| 2509 | |||
| 2510 | .close { | ||
| 2511 | float: right; | ||
| 2512 | font-size: 21px; | ||
| 2513 | font-weight: bold; | ||
| 2514 | line-height: 1; | ||
| 2515 | color: #000000; | ||
| 2516 | text-shadow: 0 1px 0 #ffffff; | ||
| 2517 | opacity: 0.2; | ||
| 2518 | filter: alpha(opacity=20); | ||
| 2519 | } | ||
| 2520 | |||
| 2521 | .close:hover, | ||
| 2522 | .close:focus { | ||
| 2523 | color: #000000; | ||
| 2524 | text-decoration: none; | ||
| 2525 | cursor: pointer; | ||
| 2526 | opacity: 0.5; | ||
| 2527 | filter: alpha(opacity=50); | ||
| 2528 | } | ||
| 2529 | |||
| 2530 | button.close { | ||
| 2531 | padding: 0; | ||
| 2532 | cursor: pointer; | ||
| 2533 | background: transparent; | ||
| 2534 | border: 0; | ||
| 2535 | -webkit-appearance: none; | ||
| 2536 | } | ||
| 2537 | |||
| 2538 | .nav { | ||
| 2539 | padding-left: 0; | ||
| 2540 | margin-bottom: 0; | ||
| 2541 | list-style: none; | ||
| 2542 | } | ||
| 2543 | |||
| 2544 | .nav:before, | ||
| 2545 | .nav:after { | ||
| 2546 | display: table; | ||
| 2547 | content: " "; | ||
| 2548 | } | ||
| 2549 | |||
| 2550 | .nav:after { | ||
| 2551 | clear: both; | ||
| 2552 | } | ||
| 2553 | |||
| 2554 | .nav:before, | ||
| 2555 | .nav:after { | ||
| 2556 | display: table; | ||
| 2557 | content: " "; | ||
| 2558 | } | ||
| 2559 | |||
| 2560 | .nav:after { | ||
| 2561 | clear: both; | ||
| 2562 | } | ||
| 2563 | |||
| 2564 | .nav > li { | ||
| 2565 | position: relative; | ||
| 2566 | display: block; | ||
| 2567 | } | ||
| 2568 | |||
| 2569 | .nav > li > a { | ||
| 2570 | position: relative; | ||
| 2571 | display: block; | ||
| 2572 | padding: 10px 15px; | ||
| 2573 | } | ||
| 2574 | |||
| 2575 | .nav > li > a:hover, | ||
| 2576 | .nav > li > a:focus { | ||
| 2577 | text-decoration: none; | ||
| 2578 | background-color: #eeeeee; | ||
| 2579 | } | ||
| 2580 | |||
| 2581 | .nav > li.disabled > a { | ||
| 2582 | color: #999999; | ||
| 2583 | } | ||
| 2584 | |||
| 2585 | .nav > li.disabled > a:hover, | ||
| 2586 | .nav > li.disabled > a:focus { | ||
| 2587 | color: #999999; | ||
| 2588 | text-decoration: none; | ||
| 2589 | cursor: not-allowed; | ||
| 2590 | background-color: transparent; | ||
| 2591 | } | ||
| 2592 | |||
| 2593 | .nav.open > a, | ||
| 2594 | .nav.open > a:hover, | ||
| 2595 | .nav.open > a:focus { | ||
| 2596 | color: #ffffff; | ||
| 2597 | background-color: #428bca; | ||
| 2598 | border-color: #428bca; | ||
| 2599 | } | ||
| 2600 | |||
| 2601 | .nav.open > a .caret, | ||
| 2602 | .nav.open > a:hover .caret, | ||
| 2603 | .nav.open > a:focus .caret { | ||
| 2604 | border-top-color: #ffffff; | ||
| 2605 | border-bottom-color: #ffffff; | ||
| 2606 | } | ||
| 2607 | |||
| 2608 | .nav > .pull-right { | ||
| 2609 | float: right; | ||
| 2610 | } | ||
| 2611 | |||
| 2612 | .nav .nav-divider { | ||
| 2613 | height: 1px; | ||
| 2614 | margin: 9px 0; | ||
| 2615 | overflow: hidden; | ||
| 2616 | background-color: #e5e5e5; | ||
| 2617 | } | ||
| 2618 | |||
| 2619 | .nav-tabs { | ||
| 2620 | border-bottom: 1px solid #dddddd; | ||
| 2621 | } | ||
| 2622 | |||
| 2623 | .nav-tabs > li { | ||
| 2624 | float: left; | ||
| 2625 | margin-bottom: -1px; | ||
| 2626 | } | ||
| 2627 | |||
| 2628 | .nav-tabs > li > a { | ||
| 2629 | margin-right: 2px; | ||
| 2630 | line-height: 1.428571429; | ||
| 2631 | border: 1px solid transparent; | ||
| 2632 | border-radius: 4px 4px 0 0; | ||
| 2633 | } | ||
| 2634 | |||
| 2635 | .nav-tabs > li > a:hover { | ||
| 2636 | border-color: #eeeeee; | ||
| 2637 | } | ||
| 2638 | |||
| 2639 | .nav-tabs > li.active > a, | ||
| 2640 | .nav-tabs > li.active > a:hover, | ||
| 2641 | .nav-tabs > li.active > a:focus { | ||
| 2642 | color: #555555; | ||
| 2643 | cursor: default; | ||
| 2644 | background-color: #ffffff; | ||
| 2645 | border: 1px solid #dddddd; | ||
| 2646 | border-bottom-color: transparent; | ||
| 2647 | } | ||
| 2648 | |||
| 2649 | .nav-tabs.nav-justified { | ||
| 2650 | width: 100%; | ||
| 2651 | border-bottom: 0; | ||
| 2652 | } | ||
| 2653 | |||
| 2654 | .nav-tabs.nav-justified > li { | ||
| 2655 | display: table-cell; | ||
| 2656 | float: none; | ||
| 2657 | width: 1%; | ||
| 2658 | } | ||
| 2659 | |||
| 2660 | .nav-tabs.nav-justified > li > a { | ||
| 2661 | text-align: center; | ||
| 2662 | } | ||
| 2663 | |||
| 2664 | .nav-tabs.nav-justified > li > a { | ||
| 2665 | margin-right: 0; | ||
| 2666 | border-bottom: 1px solid #dddddd; | ||
| 2667 | } | ||
| 2668 | |||
| 2669 | .nav-tabs.nav-justified > .active > a { | ||
| 2670 | border-bottom-color: #ffffff; | ||
| 2671 | } | ||
| 2672 | |||
| 2673 | .nav-pills > li { | ||
| 2674 | float: left; | ||
| 2675 | } | ||
| 2676 | |||
| 2677 | .nav-pills > li > a { | ||
| 2678 | border-radius: 5px; | ||
| 2679 | } | ||
| 2680 | |||
| 2681 | .nav-pills > li + li { | ||
| 2682 | margin-left: 2px; | ||
| 2683 | } | ||
| 2684 | |||
| 2685 | .nav-pills > li.active > a, | ||
| 2686 | .nav-pills > li.active > a:hover, | ||
| 2687 | .nav-pills > li.active > a:focus { | ||
| 2688 | color: #ffffff; | ||
| 2689 | background-color: #428bca; | ||
| 2690 | } | ||
| 2691 | |||
| 2692 | .nav-stacked > li { | ||
| 2693 | float: none; | ||
| 2694 | } | ||
| 2695 | |||
| 2696 | .nav-stacked > li + li { | ||
| 2697 | margin-top: 2px; | ||
| 2698 | margin-left: 0; | ||
| 2699 | } | ||
| 2700 | |||
| 2701 | .nav-justified { | ||
| 2702 | width: 100%; | ||
| 2703 | } | ||
| 2704 | |||
| 2705 | .nav-justified > li { | ||
| 2706 | display: table-cell; | ||
| 2707 | float: none; | ||
| 2708 | width: 1%; | ||
| 2709 | } | ||
| 2710 | |||
| 2711 | .nav-justified > li > a { | ||
| 2712 | text-align: center; | ||
| 2713 | } | ||
| 2714 | |||
| 2715 | .nav-tabs-justified { | ||
| 2716 | border-bottom: 0; | ||
| 2717 | } | ||
| 2718 | |||
| 2719 | .nav-tabs-justified > li > a { | ||
| 2720 | margin-right: 0; | ||
| 2721 | border-bottom: 1px solid #dddddd; | ||
| 2722 | } | ||
| 2723 | |||
| 2724 | .nav-tabs-justified > .active > a { | ||
| 2725 | border-bottom-color: #ffffff; | ||
| 2726 | } | ||
| 2727 | |||
| 2728 | .tabbable:before, | ||
| 2729 | .tabbable:after { | ||
| 2730 | display: table; | ||
| 2731 | content: " "; | ||
| 2732 | } | ||
| 2733 | |||
| 2734 | .tabbable:after { | ||
| 2735 | clear: both; | ||
| 2736 | } | ||
| 2737 | |||
| 2738 | .tabbable:before, | ||
| 2739 | .tabbable:after { | ||
| 2740 | display: table; | ||
| 2741 | content: " "; | ||
| 2742 | } | ||
| 2743 | |||
| 2744 | .tabbable:after { | ||
| 2745 | clear: both; | ||
| 2746 | } | ||
| 2747 | |||
| 2748 | .tab-content > .tab-pane, | ||
| 2749 | .pill-content > .pill-pane { | ||
| 2750 | display: none; | ||
| 2751 | } | ||
| 2752 | |||
| 2753 | .tab-content > .active, | ||
| 2754 | .pill-content > .active { | ||
| 2755 | display: block; | ||
| 2756 | } | ||
| 2757 | |||
| 2758 | .nav .caret { | ||
| 2759 | border-top-color: #428bca; | ||
| 2760 | border-bottom-color: #428bca; | ||
| 2761 | } | ||
| 2762 | |||
| 2763 | .nav a:hover .caret { | ||
| 2764 | border-top-color: #2a6496; | ||
| 2765 | border-bottom-color: #2a6496; | ||
| 2766 | } | ||
| 2767 | |||
| 2768 | .nav-tabs .dropdown-menu { | ||
| 2769 | margin-top: -1px; | ||
| 2770 | border-top-right-radius: 0; | ||
| 2771 | border-top-left-radius: 0; | ||
| 2772 | } | ||
| 2773 | |||
| 2774 | .navbar { | ||
| 2775 | position: relative; | ||
| 2776 | min-height: 50px; | ||
| 2777 | padding-right: 15px; | ||
| 2778 | padding-left: 15px; | ||
| 2779 | margin-bottom: 20px; | ||
| 2780 | background-color: #eeeeee; | ||
| 2781 | border-radius: 4px; | ||
| 2782 | } | ||
| 2783 | |||
| 2784 | .navbar:before, | ||
| 2785 | .navbar:after { | ||
| 2786 | display: table; | ||
| 2787 | content: " "; | ||
| 2788 | } | ||
| 2789 | |||
| 2790 | .navbar:after { | ||
| 2791 | clear: both; | ||
| 2792 | } | ||
| 2793 | |||
| 2794 | .navbar:before, | ||
| 2795 | .navbar:after { | ||
| 2796 | display: table; | ||
| 2797 | content: " "; | ||
| 2798 | } | ||
| 2799 | |||
| 2800 | .navbar:after { | ||
| 2801 | clear: both; | ||
| 2802 | } | ||
| 2803 | |||
| 2804 | .navbar-nav { | ||
| 2805 | margin-top: 10px; | ||
| 2806 | margin-bottom: 15px; | ||
| 2807 | } | ||
| 2808 | |||
| 2809 | .navbar-nav > li > a { | ||
| 2810 | padding-top: 15px; | ||
| 2811 | padding-bottom: 15px; | ||
| 2812 | line-height: 20px; | ||
| 2813 | color: #777777; | ||
| 2814 | border-radius: 4px; | ||
| 2815 | } | ||
| 2816 | |||
| 2817 | .navbar-nav > li > a:hover, | ||
| 2818 | .navbar-nav > li > a:focus { | ||
| 2819 | color: #333333; | ||
| 2820 | background-color: transparent; | ||
| 2821 | } | ||
| 2822 | |||
| 2823 | .navbar-nav > .active > a, | ||
| 2824 | .navbar-nav > .active > a:hover, | ||
| 2825 | .navbar-nav > .active > a:focus { | ||
| 2826 | color: #555555; | ||
| 2827 | background-color: #d5d5d5; | ||
| 2828 | } | ||
| 2829 | |||
| 2830 | .navbar-nav > .disabled > a, | ||
| 2831 | .navbar-nav > .disabled > a:hover, | ||
| 2832 | .navbar-nav > .disabled > a:focus { | ||
| 2833 | color: #cccccc; | ||
| 2834 | background-color: transparent; | ||
| 2835 | } | ||
| 2836 | |||
| 2837 | .navbar-nav.pull-right { | ||
| 2838 | width: 100%; | ||
| 2839 | } | ||
| 2840 | |||
| 2841 | .navbar-static-top { | ||
| 2842 | border-radius: 0; | ||
| 2843 | } | ||
| 2844 | |||
| 2845 | .navbar-fixed-top, | ||
| 2846 | .navbar-fixed-bottom { | ||
| 2847 | position: fixed; | ||
| 2848 | right: 0; | ||
| 2849 | left: 0; | ||
| 2850 | z-index: 1030; | ||
| 2851 | border-radius: 0; | ||
| 2852 | } | ||
| 2853 | |||
| 2854 | .navbar-fixed-top { | ||
| 2855 | top: 0; | ||
| 2856 | } | ||
| 2857 | |||
| 2858 | .navbar-fixed-bottom { | ||
| 2859 | bottom: 0; | ||
| 2860 | margin-bottom: 0; | ||
| 2861 | } | ||
| 2862 | |||
| 2863 | .navbar-brand { | ||
| 2864 | display: block; | ||
| 2865 | max-width: 200px; | ||
| 2866 | padding: 15px 15px; | ||
| 2867 | margin-right: auto; | ||
| 2868 | margin-left: auto; | ||
| 2869 | font-size: 18px; | ||
| 2870 | font-weight: 500; | ||
| 2871 | line-height: 20px; | ||
| 2872 | color: #777777; | ||
| 2873 | text-align: center; | ||
| 2874 | } | ||
| 2875 | |||
| 2876 | .navbar-brand:hover, | ||
| 2877 | .navbar-brand:focus { | ||
| 2878 | color: #5e5e5e; | ||
| 2879 | text-decoration: none; | ||
| 2880 | background-color: transparent; | ||
| 2881 | } | ||
| 2882 | |||
| 2883 | .navbar-toggle { | ||
| 2884 | position: relative; | ||
| 2885 | float: right; | ||
| 2886 | width: 48px; | ||
| 2887 | height: 34px; | ||
| 2888 | padding: 6px 12px; | ||
| 2889 | margin-top: 8px; | ||
| 2890 | margin-bottom: 8px; | ||
| 2891 | background-color: transparent; | ||
| 2892 | border: 1px solid #dddddd; | ||
| 2893 | border-radius: 4px; | ||
| 2894 | } | ||
| 2895 | |||
| 2896 | .navbar-toggle:hover, | ||
| 2897 | .navbar-toggle:focus { | ||
| 2898 | background-color: #dddddd; | ||
| 2899 | } | ||
| 2900 | |||
| 2901 | .navbar-toggle .icon-bar { | ||
| 2902 | display: block; | ||
| 2903 | width: 22px; | ||
| 2904 | height: 2px; | ||
| 2905 | background-color: #cccccc; | ||
| 2906 | border-radius: 1px; | ||
| 2907 | } | ||
| 2908 | |||
| 2909 | .navbar-toggle .icon-bar + .icon-bar { | ||
| 2910 | margin-top: 4px; | ||
| 2911 | } | ||
| 2912 | |||
| 2913 | .navbar-form { | ||
| 2914 | margin-top: 8px; | ||
| 2915 | margin-bottom: 8px; | ||
| 2916 | } | ||
| 2917 | |||
| 2918 | .navbar-form .form-control, | ||
| 2919 | .navbar-form .radio, | ||
| 2920 | .navbar-form .checkbox { | ||
| 2921 | display: inline-block; | ||
| 2922 | } | ||
| 2923 | |||
| 2924 | .navbar-form .radio, | ||
| 2925 | .navbar-form .checkbox { | ||
| 2926 | margin-top: 0; | ||
| 2927 | margin-bottom: 0; | ||
| 2928 | } | ||
| 2929 | |||
| 2930 | .navbar-nav > li > .dropdown-menu { | ||
| 2931 | margin-top: 0; | ||
| 2932 | border-top-right-radius: 0; | ||
| 2933 | border-top-left-radius: 0; | ||
| 2934 | } | ||
| 2935 | |||
| 2936 | .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { | ||
| 2937 | border-bottom-right-radius: 0; | ||
| 2938 | border-bottom-left-radius: 0; | ||
| 2939 | } | ||
| 2940 | |||
| 2941 | .navbar-nav > .dropdown > a:hover .caret, | ||
| 2942 | .navbar-nav > .dropdown > a:focus .caret { | ||
| 2943 | border-top-color: #333333; | ||
| 2944 | border-bottom-color: #333333; | ||
| 2945 | } | ||
| 2946 | |||
| 2947 | .navbar-nav > .open > a, | ||
| 2948 | .navbar-nav > .open > a:hover, | ||
| 2949 | .navbar-nav > .open > a:focus { | ||
| 2950 | color: #555555; | ||
| 2951 | background-color: #d5d5d5; | ||
| 2952 | } | ||
| 2953 | |||
| 2954 | .navbar-nav > .open > a .caret, | ||
| 2955 | .navbar-nav > .open > a:hover .caret, | ||
| 2956 | .navbar-nav > .open > a:focus .caret { | ||
| 2957 | border-top-color: #555555; | ||
| 2958 | border-bottom-color: #555555; | ||
| 2959 | } | ||
| 2960 | |||
| 2961 | .navbar-nav > .dropdown > a .caret { | ||
| 2962 | border-top-color: #777777; | ||
| 2963 | border-bottom-color: #777777; | ||
| 2964 | } | ||
| 2965 | |||
| 2966 | .navbar-nav.pull-right > li > .dropdown-menu, | ||
| 2967 | .navbar-nav > li > .dropdown-menu.pull-right { | ||
| 2968 | right: 0; | ||
| 2969 | left: auto; | ||
| 2970 | } | ||
| 2971 | |||
| 2972 | .navbar-inverse { | ||
| 2973 | background-color: #222222; | ||
| 2974 | } | ||
| 2975 | |||
| 2976 | .navbar-inverse .navbar-brand { | ||
| 2977 | color: #999999; | ||
| 2978 | } | ||
| 2979 | |||
| 2980 | .navbar-inverse .navbar-brand:hover, | ||
| 2981 | .navbar-inverse .navbar-brand:focus { | ||
| 2982 | color: #ffffff; | ||
| 2983 | background-color: transparent; | ||
| 2984 | } | ||
| 2985 | |||
| 2986 | .navbar-inverse .navbar-text { | ||
| 2987 | color: #999999; | ||
| 2988 | } | ||
| 2989 | |||
| 2990 | .navbar-inverse .navbar-nav > li > a { | ||
| 2991 | color: #999999; | ||
| 2992 | } | ||
| 2993 | |||
| 2994 | .navbar-inverse .navbar-nav > li > a:hover, | ||
| 2995 | .navbar-inverse .navbar-nav > li > a:focus { | ||
| 2996 | color: #ffffff; | ||
| 2997 | background-color: transparent; | ||
| 2998 | } | ||
| 2999 | |||
| 3000 | .navbar-inverse .navbar-nav > .active > a, | ||
| 3001 | .navbar-inverse .navbar-nav > .active > a:hover, | ||
| 3002 | .navbar-inverse .navbar-nav > .active > a:focus { | ||
| 3003 | color: #ffffff; | ||
| 3004 | background-color: #080808; | ||
| 3005 | } | ||
| 3006 | |||
| 3007 | .navbar-inverse .navbar-nav > .disabled > a, | ||
| 3008 | .navbar-inverse .navbar-nav > .disabled > a:hover, | ||
| 3009 | .navbar-inverse .navbar-nav > .disabled > a:focus { | ||
| 3010 | color: #444444; | ||
| 3011 | background-color: transparent; | ||
| 3012 | } | ||
| 3013 | |||
| 3014 | .navbar-inverse .navbar-toggle { | ||
| 3015 | border-color: #333333; | ||
| 3016 | } | ||
| 3017 | |||
| 3018 | .navbar-inverse .navbar-toggle:hover, | ||
| 3019 | .navbar-inverse .navbar-toggle:focus { | ||
| 3020 | background-color: #333333; | ||
| 3021 | } | ||
| 3022 | |||
| 3023 | .navbar-inverse .navbar-toggle .icon-bar { | ||
| 3024 | background-color: #ffffff; | ||
| 3025 | } | ||
| 3026 | |||
| 3027 | .navbar-inverse .navbar-nav > .open > a, | ||
| 3028 | .navbar-inverse .navbar-nav > .open > a:hover, | ||
| 3029 | .navbar-inverse .navbar-nav > .open > a:focus { | ||
| 3030 | color: #ffffff; | ||
| 3031 | background-color: #080808; | ||
| 3032 | } | ||
| 3033 | |||
| 3034 | .navbar-inverse .navbar-nav > .dropdown > a:hover .caret { | ||
| 3035 | border-top-color: #ffffff; | ||
| 3036 | border-bottom-color: #ffffff; | ||
| 3037 | } | ||
| 3038 | |||
| 3039 | .navbar-inverse .navbar-nav > .dropdown > a .caret { | ||
| 3040 | border-top-color: #999999; | ||
| 3041 | border-bottom-color: #999999; | ||
| 3042 | } | ||
| 3043 | |||
| 3044 | .navbar-inverse .navbar-nav > .open > a .caret, | ||
| 3045 | .navbar-inverse .navbar-nav > .open > a:hover .caret, | ||
| 3046 | .navbar-inverse .navbar-nav > .open > a:focus .caret { | ||
| 3047 | border-top-color: #ffffff; | ||
| 3048 | border-bottom-color: #ffffff; | ||
| 3049 | } | ||
| 3050 | |||
| 3051 | @media screen and (min-width: 768px) { | ||
| 3052 | .navbar-brand { | ||
| 3053 | float: left; | ||
| 3054 | max-width: none; | ||
| 3055 | margin-right: 5px; | ||
| 3056 | margin-left: -15px; | ||
| 3057 | } | ||
| 3058 | .navbar-nav { | ||
| 3059 | float: left; | ||
| 3060 | margin-top: 0; | ||
| 3061 | margin-bottom: 0; | ||
| 3062 | } | ||
| 3063 | .navbar-nav > li { | ||
| 3064 | float: left; | ||
| 3065 | } | ||
| 3066 | .navbar-nav > li > a { | ||
| 3067 | border-radius: 0; | ||
| 3068 | } | ||
| 3069 | .navbar-nav.pull-right { | ||
| 3070 | float: right; | ||
| 3071 | width: auto; | ||
| 3072 | } | ||
| 3073 | .navbar-toggle { | ||
| 3074 | position: relative; | ||
| 3075 | top: auto; | ||
| 3076 | left: auto; | ||
| 3077 | display: none; | ||
| 3078 | } | ||
| 3079 | .nav-collapse.collapse { | ||
| 3080 | display: block !important; | ||
| 3081 | height: auto !important; | ||
| 3082 | overflow: visible !important; | ||
| 3083 | } | ||
| 3084 | } | ||
| 3085 | |||
| 3086 | .navbar-btn { | ||
| 3087 | margin-top: 8px; | ||
| 3088 | } | ||
| 3089 | |||
| 3090 | .navbar-text { | ||
| 3091 | float: left; | ||
| 3092 | padding: 0 15px; | ||
| 3093 | margin-top: 15px; | ||
| 3094 | margin-bottom: 15px; | ||
| 3095 | } | ||
| 3096 | |||
| 3097 | .navbar-link { | ||
| 3098 | color: #777777; | ||
| 3099 | } | ||
| 3100 | |||
| 3101 | .navbar-link:hover { | ||
| 3102 | color: #333333; | ||
| 3103 | } | ||
| 3104 | |||
| 3105 | .navbar-inverse .navbar-link { | ||
| 3106 | color: #999999; | ||
| 3107 | } | ||
| 3108 | |||
| 3109 | .navbar-inverse .navbar-link:hover { | ||
| 3110 | color: #ffffff; | ||
| 3111 | } | ||
| 3112 | |||
| 3113 | .btn .caret { | ||
| 3114 | border-top-color: #ffffff; | ||
| 3115 | } | ||
| 3116 | |||
| 3117 | .dropup .btn .caret { | ||
| 3118 | border-bottom-color: #ffffff; | ||
| 3119 | } | ||
| 3120 | |||
| 3121 | .btn-group, | ||
| 3122 | .btn-group-vertical { | ||
| 3123 | position: relative; | ||
| 3124 | display: inline-block; | ||
| 3125 | vertical-align: middle; | ||
| 3126 | } | ||
| 3127 | |||
| 3128 | .btn-group > .btn, | ||
| 3129 | .btn-group-vertical > .btn { | ||
| 3130 | position: relative; | ||
| 3131 | float: left; | ||
| 3132 | } | ||
| 3133 | |||
| 3134 | .btn-group > .btn:hover, | ||
| 3135 | .btn-group-vertical > .btn:hover, | ||
| 3136 | .btn-group > .btn:focus, | ||
| 3137 | .btn-group-vertical > .btn:focus, | ||
| 3138 | .btn-group > .btn:active, | ||
| 3139 | .btn-group-vertical > .btn:active, | ||
| 3140 | .btn-group > .btn.active, | ||
| 3141 | .btn-group-vertical > .btn.active { | ||
| 3142 | z-index: 2; | ||
| 3143 | } | ||
| 3144 | |||
| 3145 | .btn-group .btn + .btn { | ||
| 3146 | margin-left: -1px; | ||
| 3147 | } | ||
| 3148 | |||
| 3149 | .btn-toolbar:before, | ||
| 3150 | .btn-toolbar:after { | ||
| 3151 | display: table; | ||
| 3152 | content: " "; | ||
| 3153 | } | ||
| 3154 | |||
| 3155 | .btn-toolbar:after { | ||
| 3156 | clear: both; | ||
| 3157 | } | ||
| 3158 | |||
| 3159 | .btn-toolbar:before, | ||
| 3160 | .btn-toolbar:after { | ||
| 3161 | display: table; | ||
| 3162 | content: " "; | ||
| 3163 | } | ||
| 3164 | |||
| 3165 | .btn-toolbar:after { | ||
| 3166 | clear: both; | ||
| 3167 | } | ||
| 3168 | |||
| 3169 | .btn-toolbar .btn-group { | ||
| 3170 | float: left; | ||
| 3171 | } | ||
| 3172 | |||
| 3173 | .btn-toolbar > .btn + .btn, | ||
| 3174 | .btn-toolbar > .btn-group + .btn, | ||
| 3175 | .btn-toolbar > .btn + .btn-group, | ||
| 3176 | .btn-toolbar > .btn-group + .btn-group { | ||
| 3177 | margin-left: 5px; | ||
| 3178 | } | ||
| 3179 | |||
| 3180 | .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { | ||
| 3181 | border-radius: 0; | ||
| 3182 | } | ||
| 3183 | |||
| 3184 | .btn-group > .btn:first-child { | ||
| 3185 | margin-left: 0; | ||
| 3186 | } | ||
| 3187 | |||
| 3188 | .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { | ||
| 3189 | border-top-right-radius: 0; | ||
| 3190 | border-bottom-right-radius: 0; | ||
| 3191 | } | ||
| 3192 | |||
| 3193 | .btn-group > .btn:last-child:not(:first-child), | ||
| 3194 | .btn-group > .dropdown-toggle:not(:first-child) { | ||
| 3195 | border-bottom-left-radius: 0; | ||
| 3196 | border-top-left-radius: 0; | ||
| 3197 | } | ||
| 3198 | |||
| 3199 | .btn-group > .btn-group { | ||
| 3200 | float: left; | ||
| 3201 | } | ||
| 3202 | |||
| 3203 | .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { | ||
| 3204 | border-radius: 0; | ||
| 3205 | } | ||
| 3206 | |||
| 3207 | .btn-group > .btn-group:first-child > .btn:last-child, | ||
| 3208 | .btn-group > .btn-group:first-child > .dropdown-toggle { | ||
| 3209 | border-top-right-radius: 0; | ||
| 3210 | border-bottom-right-radius: 0; | ||
| 3211 | } | ||
| 3212 | |||
| 3213 | .btn-group > .btn-group:last-child > .btn:first-child { | ||
| 3214 | border-bottom-left-radius: 0; | ||
| 3215 | border-top-left-radius: 0; | ||
| 3216 | } | ||
| 3217 | |||
| 3218 | .btn-group .dropdown-toggle:active, | ||
| 3219 | .btn-group.open .dropdown-toggle { | ||
| 3220 | outline: 0; | ||
| 3221 | } | ||
| 3222 | |||
| 3223 | .btn-group > .btn + .dropdown-toggle { | ||
| 3224 | padding-right: 8px; | ||
| 3225 | padding-left: 8px; | ||
| 3226 | } | ||
| 3227 | |||
| 3228 | .btn-group > .btn-lg + .dropdown-toggle { | ||
| 3229 | padding-right: 12px; | ||
| 3230 | padding-left: 12px; | ||
| 3231 | } | ||
| 3232 | |||
| 3233 | .btn-group.open .dropdown-toggle { | ||
| 3234 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); | ||
| 3235 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); | ||
| 3236 | } | ||
| 3237 | |||
| 3238 | .btn .caret { | ||
| 3239 | margin-left: 0; | ||
| 3240 | } | ||
| 3241 | |||
| 3242 | .btn-lg .caret { | ||
| 3243 | border-width: 5px; | ||
| 3244 | } | ||
| 3245 | |||
| 3246 | .dropup .btn-lg .caret { | ||
| 3247 | border-bottom-width: 5px; | ||
| 3248 | } | ||
| 3249 | |||
| 3250 | .btn-group-vertical > .btn { | ||
| 3251 | display: block; | ||
| 3252 | float: none; | ||
| 3253 | width: 100%; | ||
| 3254 | max-width: 100%; | ||
| 3255 | } | ||
| 3256 | |||
| 3257 | .btn-group-vertical > .btn + .btn { | ||
| 3258 | margin-top: -1px; | ||
| 3259 | } | ||
| 3260 | |||
| 3261 | .btn-group-vertical .btn:not(:first-child):not(:last-child) { | ||
| 3262 | border-radius: 0; | ||
| 3263 | } | ||
| 3264 | |||
| 3265 | .btn-group-vertical .btn:first-child:not(:last-child) { | ||
| 3266 | border-bottom-right-radius: 0; | ||
| 3267 | border-bottom-left-radius: 0; | ||
| 3268 | } | ||
| 3269 | |||
| 3270 | .btn-group-vertical .btn:last-child:not(:first-child) { | ||
| 3271 | border-top-right-radius: 0; | ||
| 3272 | border-top-left-radius: 0; | ||
| 3273 | } | ||
| 3274 | |||
| 3275 | .btn-group-justified { | ||
| 3276 | display: table; | ||
| 3277 | width: 100%; | ||
| 3278 | table-layout: fixed; | ||
| 3279 | } | ||
| 3280 | |||
| 3281 | .btn-group-justified .btn { | ||
| 3282 | display: table-cell; | ||
| 3283 | float: none; | ||
| 3284 | width: 1%; | ||
| 3285 | } | ||
| 3286 | |||
| 3287 | .btn-group[data-toggle="buttons"] > .btn > input[type="radio"], | ||
| 3288 | .btn-group[data-toggle="buttons"] > .btn > input[type="checkbox"] { | ||
| 3289 | display: none; | ||
| 3290 | } | ||
| 3291 | |||
| 3292 | .breadcrumb { | ||
| 3293 | padding: 8px 15px; | ||
| 3294 | margin-bottom: 20px; | ||
| 3295 | list-style: none; | ||
| 3296 | background-color: #f5f5f5; | ||
| 3297 | border-radius: 4px; | ||
| 3298 | } | ||
| 3299 | |||
| 3300 | .breadcrumb > li { | ||
| 3301 | display: inline-block; | ||
| 3302 | } | ||
| 3303 | |||
| 3304 | .breadcrumb > li + li:before { | ||
| 3305 | padding: 0 5px; | ||
| 3306 | color: #cccccc; | ||
| 3307 | content: "/\00a0"; | ||
| 3308 | } | ||
| 3309 | |||
| 3310 | .breadcrumb > .active { | ||
| 3311 | color: #999999; | ||
| 3312 | } | ||
| 3313 | |||
| 3314 | .pagination { | ||
| 3315 | display: inline-block; | ||
| 3316 | padding-left: 0; | ||
| 3317 | margin: 20px 0; | ||
| 3318 | border-radius: 4px; | ||
| 3319 | } | ||
| 3320 | |||
| 3321 | .pagination > li { | ||
| 3322 | display: inline; | ||
| 3323 | } | ||
| 3324 | |||
| 3325 | .pagination > li > a, | ||
| 3326 | .pagination > li > span { | ||
| 3327 | float: left; | ||
| 3328 | padding: 6px 12px; | ||
| 3329 | line-height: 1.428571429; | ||
| 3330 | text-decoration: none; | ||
| 3331 | background-color: #ffffff; | ||
| 3332 | border: 1px solid #dddddd; | ||
| 3333 | border-left-width: 0; | ||
| 3334 | } | ||
| 3335 | |||
| 3336 | .pagination > li:first-child > a, | ||
| 3337 | .pagination > li:first-child > span { | ||
| 3338 | border-left-width: 1px; | ||
| 3339 | border-bottom-left-radius: 4px; | ||
| 3340 | border-top-left-radius: 4px; | ||
| 3341 | } | ||
| 3342 | |||
| 3343 | .pagination > li:last-child > a, | ||
| 3344 | .pagination > li:last-child > span { | ||
| 3345 | border-top-right-radius: 4px; | ||
| 3346 | border-bottom-right-radius: 4px; | ||
| 3347 | } | ||
| 3348 | |||
| 3349 | .pagination > li > a:hover, | ||
| 3350 | .pagination > li > a:focus, | ||
| 3351 | .pagination > .active > a, | ||
| 3352 | .pagination > .active > span { | ||
| 3353 | background-color: #f5f5f5; | ||
| 3354 | } | ||
| 3355 | |||
| 3356 | .pagination > .active > a, | ||
| 3357 | .pagination > .active > span { | ||
| 3358 | color: #999999; | ||
| 3359 | cursor: default; | ||
| 3360 | } | ||
| 3361 | |||
| 3362 | .pagination > .disabled > span, | ||
| 3363 | .pagination > .disabled > a, | ||
| 3364 | .pagination > .disabled > a:hover, | ||
| 3365 | .pagination > .disabled > a:focus { | ||
| 3366 | color: #999999; | ||
| 3367 | cursor: not-allowed; | ||
| 3368 | background-color: #ffffff; | ||
| 3369 | } | ||
| 3370 | |||
| 3371 | .pagination-lg > li > a, | ||
| 3372 | .pagination-lg > li > span { | ||
| 3373 | padding: 10px 16px; | ||
| 3374 | font-size: 18px; | ||
| 3375 | } | ||
| 3376 | |||
| 3377 | .pagination-lg > li:first-child > a, | ||
| 3378 | .pagination-lg > li:first-child > span { | ||
| 3379 | border-bottom-left-radius: 6px; | ||
| 3380 | border-top-left-radius: 6px; | ||
| 3381 | } | ||
| 3382 | |||
| 3383 | .pagination-lg > li:last-child > a, | ||
| 3384 | .pagination-lg > li:last-child > span { | ||
| 3385 | border-top-right-radius: 6px; | ||
| 3386 | border-bottom-right-radius: 6px; | ||
| 3387 | } | ||
| 3388 | |||
| 3389 | .pagination-sm > li > a, | ||
| 3390 | .pagination-sm > li > span { | ||
| 3391 | padding: 5px 10px; | ||
| 3392 | font-size: 12px; | ||
| 3393 | } | ||
| 3394 | |||
| 3395 | .pagination-sm > li:first-child > a, | ||
| 3396 | .pagination-sm > li:first-child > span { | ||
| 3397 | border-bottom-left-radius: 3px; | ||
| 3398 | border-top-left-radius: 3px; | ||
| 3399 | } | ||
| 3400 | |||
| 3401 | .pagination-sm > li:last-child > a, | ||
| 3402 | .pagination-sm > li:last-child > span { | ||
| 3403 | border-top-right-radius: 3px; | ||
| 3404 | border-bottom-right-radius: 3px; | ||
| 3405 | } | ||
| 3406 | |||
| 3407 | .pager { | ||
| 3408 | padding-left: 0; | ||
| 3409 | margin: 20px 0; | ||
| 3410 | text-align: center; | ||
| 3411 | list-style: none; | ||
| 3412 | } | ||
| 3413 | |||
| 3414 | .pager:before, | ||
| 3415 | .pager:after { | ||
| 3416 | display: table; | ||
| 3417 | content: " "; | ||
| 3418 | } | ||
| 3419 | |||
| 3420 | .pager:after { | ||
| 3421 | clear: both; | ||
| 3422 | } | ||
| 3423 | |||
| 3424 | .pager:before, | ||
| 3425 | .pager:after { | ||
| 3426 | display: table; | ||
| 3427 | content: " "; | ||
| 3428 | } | ||
| 3429 | |||
| 3430 | .pager:after { | ||
| 3431 | clear: both; | ||
| 3432 | } | ||
| 3433 | |||
| 3434 | .pager li { | ||
| 3435 | display: inline; | ||
| 3436 | } | ||
| 3437 | |||
| 3438 | .pager li > a, | ||
| 3439 | .pager li > span { | ||
| 3440 | display: inline-block; | ||
| 3441 | padding: 5px 14px; | ||
| 3442 | background-color: #ffffff; | ||
| 3443 | border: 1px solid #dddddd; | ||
| 3444 | border-radius: 15px; | ||
| 3445 | } | ||
| 3446 | |||
| 3447 | .pager li > a:hover, | ||
| 3448 | .pager li > a:focus { | ||
| 3449 | text-decoration: none; | ||
| 3450 | background-color: #f5f5f5; | ||
| 3451 | } | ||
| 3452 | |||
| 3453 | .pager .next > a, | ||
| 3454 | .pager .next > span { | ||
| 3455 | float: right; | ||
| 3456 | } | ||
| 3457 | |||
| 3458 | .pager .previous > a, | ||
| 3459 | .pager .previous > span { | ||
| 3460 | float: left; | ||
| 3461 | } | ||
| 3462 | |||
| 3463 | .pager .disabled > a, | ||
| 3464 | .pager .disabled > a:hover, | ||
| 3465 | .pager .disabled > a:focus, | ||
| 3466 | .pager .disabled > span { | ||
| 3467 | color: #999999; | ||
| 3468 | cursor: not-allowed; | ||
| 3469 | background-color: #ffffff; | ||
| 3470 | } | ||
| 3471 | |||
| 3472 | .modal-open { | ||
| 3473 | overflow: hidden; | ||
| 3474 | } | ||
| 3475 | |||
| 3476 | .modal { | ||
| 3477 | position: fixed; | ||
| 3478 | top: 0; | ||
| 3479 | right: 0; | ||
| 3480 | bottom: 0; | ||
| 3481 | left: 0; | ||
| 3482 | z-index: 1040; | ||
| 3483 | display: none; | ||
| 3484 | overflow: auto; | ||
| 3485 | overflow-y: scroll; | ||
| 3486 | } | ||
| 3487 | |||
| 3488 | .modal.fade .modal-dialog { | ||
| 3489 | -webkit-transform: translate(0, -25%); | ||
| 3490 | -ms-transform: translate(0, -25%); | ||
| 3491 | transform: translate(0, -25%); | ||
| 3492 | -webkit-transition: -webkit-transform 0.3s ease-out; | ||
| 3493 | -moz-transition: -moz-transform 0.3s ease-out; | ||
| 3494 | -o-transition: -o-transform 0.3s ease-out; | ||
| 3495 | transition: transform 0.3s ease-out; | ||
| 3496 | } | ||
| 3497 | |||
| 3498 | .modal.in .modal-dialog { | ||
| 3499 | -webkit-transform: translate(0, 0); | ||
| 3500 | -ms-transform: translate(0, 0); | ||
| 3501 | transform: translate(0, 0); | ||
| 3502 | } | ||
| 3503 | |||
| 3504 | .modal-dialog { | ||
| 3505 | z-index: 1050; | ||
| 3506 | width: auto; | ||
| 3507 | padding: 10px; | ||
| 3508 | margin-right: auto; | ||
| 3509 | margin-left: auto; | ||
| 3510 | } | ||
| 3511 | |||
| 3512 | .modal-content { | ||
| 3513 | position: relative; | ||
| 3514 | background-color: #ffffff; | ||
| 3515 | border: 1px solid #999999; | ||
| 3516 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
| 3517 | border-radius: 6px; | ||
| 3518 | outline: none; | ||
| 3519 | -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); | ||
| 3520 | box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); | ||
| 3521 | background-clip: padding-box; | ||
| 3522 | } | ||
| 3523 | |||
| 3524 | .modal-backdrop { | ||
| 3525 | position: fixed; | ||
| 3526 | top: 0; | ||
| 3527 | right: 0; | ||
| 3528 | bottom: 0; | ||
| 3529 | left: 0; | ||
| 3530 | z-index: 1030; | ||
| 3531 | background-color: #000000; | ||
| 3532 | } | ||
| 3533 | |||
| 3534 | .modal-backdrop.fade { | ||
| 3535 | opacity: 0; | ||
| 3536 | filter: alpha(opacity=0); | ||
| 3537 | } | ||
| 3538 | |||
| 3539 | .modal-backdrop.in { | ||
| 3540 | opacity: 0.5; | ||
| 3541 | filter: alpha(opacity=50); | ||
| 3542 | } | ||
| 3543 | |||
| 3544 | .modal-header { | ||
| 3545 | min-height: 16.428571429px; | ||
| 3546 | padding: 15px; | ||
| 3547 | border-bottom: 1px solid #e5e5e5; | ||
| 3548 | } | ||
| 3549 | |||
| 3550 | .modal-header .close { | ||
| 3551 | margin-top: -2px; | ||
| 3552 | } | ||
| 3553 | |||
| 3554 | .modal-title { | ||
| 3555 | margin: 0; | ||
| 3556 | line-height: 1.428571429; | ||
| 3557 | } | ||
| 3558 | |||
| 3559 | .modal-body { | ||
| 3560 | position: relative; | ||
| 3561 | padding: 20px; | ||
| 3562 | } | ||
| 3563 | |||
| 3564 | .modal-footer { | ||
| 3565 | padding: 19px 20px 20px; | ||
| 3566 | margin-top: 15px; | ||
| 3567 | text-align: right; | ||
| 3568 | border-top: 1px solid #e5e5e5; | ||
| 3569 | } | ||
| 3570 | |||
| 3571 | .modal-footer:before, | ||
| 3572 | .modal-footer:after { | ||
| 3573 | display: table; | ||
| 3574 | content: " "; | ||
| 3575 | } | ||
| 3576 | |||
| 3577 | .modal-footer:after { | ||
| 3578 | clear: both; | ||
| 3579 | } | ||
| 3580 | |||
| 3581 | .modal-footer:before, | ||
| 3582 | .modal-footer:after { | ||
| 3583 | display: table; | ||
| 3584 | content: " "; | ||
| 3585 | } | ||
| 3586 | |||
| 3587 | .modal-footer:after { | ||
| 3588 | clear: both; | ||
| 3589 | } | ||
| 3590 | |||
| 3591 | .modal-footer .btn + .btn { | ||
| 3592 | margin-bottom: 0; | ||
| 3593 | margin-left: 5px; | ||
| 3594 | } | ||
| 3595 | |||
| 3596 | .modal-footer .btn-group .btn + .btn { | ||
| 3597 | margin-left: -1px; | ||
| 3598 | } | ||
| 3599 | |||
| 3600 | .modal-footer .btn-block + .btn-block { | ||
| 3601 | margin-left: 0; | ||
| 3602 | } | ||
| 3603 | |||
| 3604 | @media screen and (min-width: 768px) { | ||
| 3605 | .modal-dialog { | ||
| 3606 | right: auto; | ||
| 3607 | left: 50%; | ||
| 3608 | width: 600px; | ||
| 3609 | padding-top: 30px; | ||
| 3610 | padding-bottom: 30px; | ||
| 3611 | } | ||
| 3612 | .modal-content { | ||
| 3613 | -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); | ||
| 3614 | box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); | ||
| 3615 | } | ||
| 3616 | } | ||
| 3617 | |||
| 3618 | .tooltip { | ||
| 3619 | position: absolute; | ||
| 3620 | z-index: 1030; | ||
| 3621 | display: block; | ||
| 3622 | font-size: 12px; | ||
| 3623 | line-height: 1.4; | ||
| 3624 | opacity: 0; | ||
| 3625 | filter: alpha(opacity=0); | ||
| 3626 | visibility: visible; | ||
| 3627 | } | ||
| 3628 | |||
| 3629 | .tooltip.in { | ||
| 3630 | opacity: 1; | ||
| 3631 | filter: alpha(opacity=100); | ||
| 3632 | } | ||
| 3633 | |||
| 3634 | .tooltip.top { | ||
| 3635 | padding: 5px 0; | ||
| 3636 | margin-top: -3px; | ||
| 3637 | } | ||
| 3638 | |||
| 3639 | .tooltip.right { | ||
| 3640 | padding: 0 5px; | ||
| 3641 | margin-left: 3px; | ||
| 3642 | } | ||
| 3643 | |||
| 3644 | .tooltip.bottom { | ||
| 3645 | padding: 5px 0; | ||
| 3646 | margin-top: 3px; | ||
| 3647 | } | ||
| 3648 | |||
| 3649 | .tooltip.left { | ||
| 3650 | padding: 0 5px; | ||
| 3651 | margin-left: -3px; | ||
| 3652 | } | ||
| 3653 | |||
| 3654 | .tooltip-inner { | ||
| 3655 | max-width: 200px; | ||
| 3656 | padding: 3px 8px; | ||
| 3657 | color: #ffffff; | ||
| 3658 | text-align: center; | ||
| 3659 | text-decoration: none; | ||
| 3660 | background-color: rgba(0, 0, 0, 0.9); | ||
| 3661 | border-radius: 4px; | ||
| 3662 | } | ||
| 3663 | |||
| 3664 | .tooltip-arrow { | ||
| 3665 | position: absolute; | ||
| 3666 | width: 0; | ||
| 3667 | height: 0; | ||
| 3668 | border-color: transparent; | ||
| 3669 | border-style: solid; | ||
| 3670 | } | ||
| 3671 | |||
| 3672 | .tooltip.top .tooltip-arrow { | ||
| 3673 | bottom: 0; | ||
| 3674 | left: 50%; | ||
| 3675 | margin-left: -5px; | ||
| 3676 | border-top-color: rgba(0, 0, 0, 0.9); | ||
| 3677 | border-width: 5px 5px 0; | ||
| 3678 | } | ||
| 3679 | |||
| 3680 | .tooltip.top-left .tooltip-arrow { | ||
| 3681 | bottom: 0; | ||
| 3682 | left: 5px; | ||
| 3683 | border-top-color: rgba(0, 0, 0, 0.9); | ||
| 3684 | border-width: 5px 5px 0; | ||
| 3685 | } | ||
| 3686 | |||
| 3687 | .tooltip.top-right .tooltip-arrow { | ||
| 3688 | right: 5px; | ||
| 3689 | bottom: 0; | ||
| 3690 | border-top-color: rgba(0, 0, 0, 0.9); | ||
| 3691 | border-width: 5px 5px 0; | ||
| 3692 | } | ||
| 3693 | |||
| 3694 | .tooltip.right .tooltip-arrow { | ||
| 3695 | top: 50%; | ||
| 3696 | left: 0; | ||
| 3697 | margin-top: -5px; | ||
| 3698 | border-right-color: rgba(0, 0, 0, 0.9); | ||
| 3699 | border-width: 5px 5px 5px 0; | ||
| 3700 | } | ||
| 3701 | |||
| 3702 | .tooltip.left .tooltip-arrow { | ||
| 3703 | top: 50%; | ||
| 3704 | right: 0; | ||
| 3705 | margin-top: -5px; | ||
| 3706 | border-left-color: rgba(0, 0, 0, 0.9); | ||
| 3707 | border-width: 5px 0 5px 5px; | ||
| 3708 | } | ||
| 3709 | |||
| 3710 | .tooltip.bottom .tooltip-arrow { | ||
| 3711 | top: 0; | ||
| 3712 | left: 50%; | ||
| 3713 | margin-left: -5px; | ||
| 3714 | border-bottom-color: rgba(0, 0, 0, 0.9); | ||
| 3715 | border-width: 0 5px 5px; | ||
| 3716 | } | ||
| 3717 | |||
| 3718 | .tooltip.bottom-left .tooltip-arrow { | ||
| 3719 | top: 0; | ||
| 3720 | left: 5px; | ||
| 3721 | border-bottom-color: rgba(0, 0, 0, 0.9); | ||
| 3722 | border-width: 0 5px 5px; | ||
| 3723 | } | ||
| 3724 | |||
| 3725 | .tooltip.bottom-right .tooltip-arrow { | ||
| 3726 | top: 0; | ||
| 3727 | right: 5px; | ||
| 3728 | border-bottom-color: rgba(0, 0, 0, 0.9); | ||
| 3729 | border-width: 0 5px 5px; | ||
| 3730 | } | ||
| 3731 | |||
| 3732 | .popover { | ||
| 3733 | position: absolute; | ||
| 3734 | top: 0; | ||
| 3735 | left: 0; | ||
| 3736 | z-index: 1010; | ||
| 3737 | display: none; | ||
| 3738 | max-width: 276px; | ||
| 3739 | padding: 1px; | ||
| 3740 | text-align: left; | ||
| 3741 | white-space: normal; | ||
| 3742 | background-color: #ffffff; | ||
| 3743 | border: 1px solid #cccccc; | ||
| 3744 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
| 3745 | border-radius: 6px; | ||
| 3746 | -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | ||
| 3747 | box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | ||
| 3748 | background-clip: padding-box; | ||
| 3749 | -webkit-bg-clip: padding-box; | ||
| 3750 | -moz-bg-clip: padding; | ||
| 3751 | } | ||
| 3752 | |||
| 3753 | .popover.top { | ||
| 3754 | margin-top: -10px; | ||
| 3755 | } | ||
| 3756 | |||
| 3757 | .popover.right { | ||
| 3758 | margin-left: 10px; | ||
| 3759 | } | ||
| 3760 | |||
| 3761 | .popover.bottom { | ||
| 3762 | margin-top: 10px; | ||
| 3763 | } | ||
| 3764 | |||
| 3765 | .popover.left { | ||
| 3766 | margin-left: -10px; | ||
| 3767 | } | ||
| 3768 | |||
| 3769 | .popover-title { | ||
| 3770 | padding: 8px 14px; | ||
| 3771 | margin: 0; | ||
| 3772 | font-size: 14px; | ||
| 3773 | font-weight: normal; | ||
| 3774 | line-height: 18px; | ||
| 3775 | background-color: #f7f7f7; | ||
| 3776 | border-bottom: 1px solid #ebebeb; | ||
| 3777 | border-radius: 5px 5px 0 0; | ||
| 3778 | } | ||
| 3779 | |||
| 3780 | .popover-content { | ||
| 3781 | padding: 9px 14px; | ||
| 3782 | } | ||
| 3783 | |||
| 3784 | .popover .arrow, | ||
| 3785 | .popover .arrow:after { | ||
| 3786 | position: absolute; | ||
| 3787 | display: block; | ||
| 3788 | width: 0; | ||
| 3789 | height: 0; | ||
| 3790 | border-color: transparent; | ||
| 3791 | border-style: solid; | ||
| 3792 | } | ||
| 3793 | |||
| 3794 | .popover .arrow { | ||
| 3795 | border-width: 11px; | ||
| 3796 | } | ||
| 3797 | |||
| 3798 | .popover .arrow:after { | ||
| 3799 | border-width: 10px; | ||
| 3800 | content: ""; | ||
| 3801 | } | ||
| 3802 | |||
| 3803 | .popover.top .arrow { | ||
| 3804 | bottom: -11px; | ||
| 3805 | left: 50%; | ||
| 3806 | margin-left: -11px; | ||
| 3807 | border-top-color: #999999; | ||
| 3808 | border-top-color: rgba(0, 0, 0, 0.25); | ||
| 3809 | border-bottom-width: 0; | ||
| 3810 | } | ||
| 3811 | |||
| 3812 | .popover.top .arrow:after { | ||
| 3813 | bottom: 1px; | ||
| 3814 | margin-left: -10px; | ||
| 3815 | border-top-color: #ffffff; | ||
| 3816 | border-bottom-width: 0; | ||
| 3817 | content: " "; | ||
| 3818 | } | ||
| 3819 | |||
| 3820 | .popover.right .arrow { | ||
| 3821 | top: 50%; | ||
| 3822 | left: -11px; | ||
| 3823 | margin-top: -11px; | ||
| 3824 | border-right-color: #999999; | ||
| 3825 | border-right-color: rgba(0, 0, 0, 0.25); | ||
| 3826 | border-left-width: 0; | ||
| 3827 | } | ||
| 3828 | |||
| 3829 | .popover.right .arrow:after { | ||
| 3830 | bottom: -10px; | ||
| 3831 | left: 1px; | ||
| 3832 | border-right-color: #ffffff; | ||
| 3833 | border-left-width: 0; | ||
| 3834 | content: " "; | ||
| 3835 | } | ||
| 3836 | |||
| 3837 | .popover.bottom .arrow { | ||
| 3838 | top: -11px; | ||
| 3839 | left: 50%; | ||
| 3840 | margin-left: -11px; | ||
| 3841 | border-bottom-color: #999999; | ||
| 3842 | border-bottom-color: rgba(0, 0, 0, 0.25); | ||
| 3843 | border-top-width: 0; | ||
| 3844 | } | ||
| 3845 | |||
| 3846 | .popover.bottom .arrow:after { | ||
| 3847 | top: 1px; | ||
| 3848 | margin-left: -10px; | ||
| 3849 | border-bottom-color: #ffffff; | ||
| 3850 | border-top-width: 0; | ||
| 3851 | content: " "; | ||
| 3852 | } | ||
| 3853 | |||
| 3854 | .popover.left .arrow { | ||
| 3855 | top: 50%; | ||
| 3856 | right: -11px; | ||
| 3857 | margin-top: -11px; | ||
| 3858 | border-left-color: #999999; | ||
| 3859 | border-left-color: rgba(0, 0, 0, 0.25); | ||
| 3860 | border-right-width: 0; | ||
| 3861 | } | ||
| 3862 | |||
| 3863 | .popover.left .arrow:after { | ||
| 3864 | right: 1px; | ||
| 3865 | bottom: -10px; | ||
| 3866 | border-left-color: #ffffff; | ||
| 3867 | border-right-width: 0; | ||
| 3868 | content: " "; | ||
| 3869 | } | ||
| 3870 | |||
| 3871 | .alert { | ||
| 3872 | padding: 15px 35px 15px 15px; | ||
| 3873 | margin-bottom: 20px; | ||
| 3874 | color: #c09853; | ||
| 3875 | background-color: #fcf8e3; | ||
| 3876 | border: 1px solid #fbeed5; | ||
| 3877 | border-radius: 4px; | ||
| 3878 | } | ||
| 3879 | |||
| 3880 | .alert h4 { | ||
| 3881 | margin-top: 0; | ||
| 3882 | color: inherit; | ||
| 3883 | } | ||
| 3884 | |||
| 3885 | .alert hr { | ||
| 3886 | border-top-color: #f8e5be; | ||
| 3887 | } | ||
| 3888 | |||
| 3889 | .alert .alert-link { | ||
| 3890 | font-weight: bold; | ||
| 3891 | color: #a47e3c; | ||
| 3892 | } | ||
| 3893 | |||
| 3894 | .alert .close { | ||
| 3895 | position: relative; | ||
| 3896 | top: -2px; | ||
| 3897 | right: -21px; | ||
| 3898 | color: inherit; | ||
| 3899 | } | ||
| 3900 | |||
| 3901 | .alert > p, | ||
| 3902 | .alert > ul { | ||
| 3903 | margin-bottom: 0; | ||
| 3904 | } | ||
| 3905 | |||
| 3906 | .alert > p + p { | ||
| 3907 | margin-top: 5px; | ||
| 3908 | } | ||
| 3909 | |||
| 3910 | .alert-success { | ||
| 3911 | color: #468847; | ||
| 3912 | background-color: #dff0d8; | ||
| 3913 | border-color: #d6e9c6; | ||
| 3914 | } | ||
| 3915 | |||
| 3916 | .alert-success hr { | ||
| 3917 | border-top-color: #c9e2b3; | ||
| 3918 | } | ||
| 3919 | |||
| 3920 | .alert-success .alert-link { | ||
| 3921 | color: #356635; | ||
| 3922 | } | ||
| 3923 | |||
| 3924 | .alert-danger { | ||
| 3925 | color: #b94a48; | ||
| 3926 | background-color: #f2dede; | ||
| 3927 | border-color: #eed3d7; | ||
| 3928 | } | ||
| 3929 | |||
| 3930 | .alert-danger hr { | ||
| 3931 | border-top-color: #e6c1c7; | ||
| 3932 | } | ||
| 3933 | |||
| 3934 | .alert-danger .alert-link { | ||
| 3935 | color: #953b39; | ||
| 3936 | } | ||
| 3937 | |||
| 3938 | .alert-info { | ||
| 3939 | color: #3a87ad; | ||
| 3940 | background-color: #d9edf7; | ||
| 3941 | border-color: #bce8f1; | ||
| 3942 | } | ||
| 3943 | |||
| 3944 | .alert-info hr { | ||
| 3945 | border-top-color: #a6e1ec; | ||
| 3946 | } | ||
| 3947 | |||
| 3948 | .alert-info .alert-link { | ||
| 3949 | color: #2d6987; | ||
| 3950 | } | ||
| 3951 | |||
| 3952 | .thumbnail, | ||
| 3953 | .img-thumbnail { | ||
| 3954 | padding: 4px; | ||
| 3955 | line-height: 1.428571429; | ||
| 3956 | background-color: #ffffff; | ||
| 3957 | border: 1px solid #dddddd; | ||
| 3958 | border-radius: 4px; | ||
| 3959 | -webkit-transition: all 0.2s ease-in-out; | ||
| 3960 | transition: all 0.2s ease-in-out; | ||
| 3961 | } | ||
| 3962 | |||
| 3963 | .thumbnail { | ||
| 3964 | display: block; | ||
| 3965 | } | ||
| 3966 | |||
| 3967 | .thumbnail > img, | ||
| 3968 | .img-thumbnail { | ||
| 3969 | display: inline-block; | ||
| 3970 | height: auto; | ||
| 3971 | max-width: 100%; | ||
| 3972 | } | ||
| 3973 | |||
| 3974 | a.thumbnail:hover, | ||
| 3975 | a.thumbnail:focus { | ||
| 3976 | border-color: #428bca; | ||
| 3977 | } | ||
| 3978 | |||
| 3979 | .thumbnail > img { | ||
| 3980 | margin-right: auto; | ||
| 3981 | margin-left: auto; | ||
| 3982 | } | ||
| 3983 | |||
| 3984 | .thumbnail .caption { | ||
| 3985 | padding: 9px; | ||
| 3986 | color: #333333; | ||
| 3987 | } | ||
| 3988 | |||
| 3989 | .media, | ||
| 3990 | .media-body { | ||
| 3991 | overflow: hidden; | ||
| 3992 | zoom: 1; | ||
| 3993 | } | ||
| 3994 | |||
| 3995 | .media, | ||
| 3996 | .media .media { | ||
| 3997 | margin-top: 15px; | ||
| 3998 | } | ||
| 3999 | |||
| 4000 | .media:first-child { | ||
| 4001 | margin-top: 0; | ||
| 4002 | } | ||
| 4003 | |||
| 4004 | .media-object { | ||
| 4005 | display: block; | ||
| 4006 | } | ||
| 4007 | |||
| 4008 | .media-heading { | ||
| 4009 | margin: 0 0 5px; | ||
| 4010 | } | ||
| 4011 | |||
| 4012 | .media > .pull-left { | ||
| 4013 | margin-right: 10px; | ||
| 4014 | } | ||
| 4015 | |||
| 4016 | .media > .pull-right { | ||
| 4017 | margin-left: 10px; | ||
| 4018 | } | ||
| 4019 | |||
| 4020 | .media-list { | ||
| 4021 | padding-left: 0; | ||
| 4022 | list-style: none; | ||
| 4023 | } | ||
| 4024 | |||
| 4025 | .label { | ||
| 4026 | display: inline; | ||
| 4027 | padding: .25em .6em; | ||
| 4028 | font-size: 75%; | ||
| 4029 | font-weight: 500; | ||
| 4030 | line-height: 1; | ||
| 4031 | color: #ffffff; | ||
| 4032 | text-align: center; | ||
| 4033 | white-space: nowrap; | ||
| 4034 | vertical-align: baseline; | ||
| 4035 | background-color: #999999; | ||
| 4036 | border-radius: .25em; | ||
| 4037 | } | ||
| 4038 | |||
| 4039 | .label[href]:hover, | ||
| 4040 | .label[href]:focus { | ||
| 4041 | color: #ffffff; | ||
| 4042 | text-decoration: none; | ||
| 4043 | cursor: pointer; | ||
| 4044 | background-color: #808080; | ||
| 4045 | } | ||
| 4046 | |||
| 4047 | .label-danger { | ||
| 4048 | background-color: #d9534f; | ||
| 4049 | } | ||
| 4050 | |||
| 4051 | .label-danger[href]:hover, | ||
| 4052 | .label-danger[href]:focus { | ||
| 4053 | background-color: #c9302c; | ||
| 4054 | } | ||
| 4055 | |||
| 4056 | .label-success { | ||
| 4057 | background-color: #5cb85c; | ||
| 4058 | } | ||
| 4059 | |||
| 4060 | .label-success[href]:hover, | ||
| 4061 | .label-success[href]:focus { | ||
| 4062 | background-color: #449d44; | ||
| 4063 | } | ||
| 4064 | |||
| 4065 | .label-warning { | ||
| 4066 | background-color: #f0ad4e; | ||
| 4067 | } | ||
| 4068 | |||
| 4069 | .label-warning[href]:hover, | ||
| 4070 | .label-warning[href]:focus { | ||
| 4071 | background-color: #ec971f; | ||
| 4072 | } | ||
| 4073 | |||
| 4074 | .label-info { | ||
| 4075 | background-color: #5bc0de; | ||
| 4076 | } | ||
| 4077 | |||
| 4078 | .label-info[href]:hover, | ||
| 4079 | .label-info[href]:focus { | ||
| 4080 | background-color: #31b0d5; | ||
| 4081 | } | ||
| 4082 | |||
| 4083 | .badge { | ||
| 4084 | display: inline-block; | ||
| 4085 | min-width: 10px; | ||
| 4086 | padding: 3px 7px; | ||
| 4087 | font-size: 12px; | ||
| 4088 | font-weight: bold; | ||
| 4089 | line-height: 1; | ||
| 4090 | color: #ffffff; | ||
| 4091 | text-align: center; | ||
| 4092 | white-space: nowrap; | ||
| 4093 | vertical-align: baseline; | ||
| 4094 | background-color: #999999; | ||
| 4095 | border-radius: 10px; | ||
| 4096 | } | ||
| 4097 | |||
| 4098 | .badge:empty { | ||
| 4099 | display: none; | ||
| 4100 | } | ||
| 4101 | |||
| 4102 | a.badge:hover, | ||
| 4103 | a.badge:focus { | ||
| 4104 | color: #ffffff; | ||
| 4105 | text-decoration: none; | ||
| 4106 | cursor: pointer; | ||
| 4107 | } | ||
| 4108 | |||
| 4109 | .btn .badge { | ||
| 4110 | position: relative; | ||
| 4111 | top: -1px; | ||
| 4112 | } | ||
| 4113 | |||
| 4114 | a.list-group-item.active > .badge, | ||
| 4115 | .nav-pills > .active > a > .badge { | ||
| 4116 | color: #428bca; | ||
| 4117 | background-color: #ffffff; | ||
| 4118 | } | ||
| 4119 | |||
| 4120 | .nav-pills > li > a > .badge { | ||
| 4121 | margin-left: 3px; | ||
| 4122 | } | ||
| 4123 | |||
| 4124 | @-webkit-keyframes progress-bar-stripes { | ||
| 4125 | from { | ||
| 4126 | background-position: 40px 0; | ||
| 4127 | } | ||
| 4128 | to { | ||
| 4129 | background-position: 0 0; | ||
| 4130 | } | ||
| 4131 | } | ||
| 4132 | |||
| 4133 | @-moz-keyframes progress-bar-stripes { | ||
| 4134 | from { | ||
| 4135 | background-position: 40px 0; | ||
| 4136 | } | ||
| 4137 | to { | ||
| 4138 | background-position: 0 0; | ||
| 4139 | } | ||
| 4140 | } | ||
| 4141 | |||
| 4142 | @-o-keyframes progress-bar-stripes { | ||
| 4143 | from { | ||
| 4144 | background-position: 0 0; | ||
| 4145 | } | ||
| 4146 | to { | ||
| 4147 | background-position: 40px 0; | ||
| 4148 | } | ||
| 4149 | } | ||
| 4150 | |||
| 4151 | @keyframes progress-bar-stripes { | ||
| 4152 | from { | ||
| 4153 | background-position: 40px 0; | ||
| 4154 | } | ||
| 4155 | to { | ||
| 4156 | background-position: 0 0; | ||
| 4157 | } | ||
| 4158 | } | ||
| 4159 | |||
| 4160 | .progress { | ||
| 4161 | height: 20px; | ||
| 4162 | margin-bottom: 20px; | ||
| 4163 | overflow: hidden; | ||
| 4164 | background-color: #f5f5f5; | ||
| 4165 | border-radius: 4px; | ||
| 4166 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | ||
| 4167 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | ||
| 4168 | } | ||
| 4169 | |||
| 4170 | .progress-bar { | ||
| 4171 | float: left; | ||
| 4172 | width: 0; | ||
| 4173 | height: 100%; | ||
| 4174 | font-size: 12px; | ||
| 4175 | color: #ffffff; | ||
| 4176 | text-align: center; | ||
| 4177 | background-color: #428bca; | ||
| 4178 | -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); | ||
| 4179 | box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); | ||
| 4180 | -webkit-transition: width 0.6s ease; | ||
| 4181 | transition: width 0.6s ease; | ||
| 4182 | } | ||
| 4183 | |||
| 4184 | .progress-striped .progress-bar { | ||
| 4185 | background-color: #428bca; | ||
| 4186 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
| 4187 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4188 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4189 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4190 | background-size: 40px 40px; | ||
| 4191 | } | ||
| 4192 | |||
| 4193 | .progress.active .progress-bar { | ||
| 4194 | -webkit-animation: progress-bar-stripes 2s linear infinite; | ||
| 4195 | -moz-animation: progress-bar-stripes 2s linear infinite; | ||
| 4196 | -ms-animation: progress-bar-stripes 2s linear infinite; | ||
| 4197 | -o-animation: progress-bar-stripes 2s linear infinite; | ||
| 4198 | animation: progress-bar-stripes 2s linear infinite; | ||
| 4199 | } | ||
| 4200 | |||
| 4201 | .progress-bar-danger { | ||
| 4202 | background-color: #d9534f; | ||
| 4203 | } | ||
| 4204 | |||
| 4205 | .progress-striped .progress-bar-danger { | ||
| 4206 | background-color: #d9534f; | ||
| 4207 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
| 4208 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4209 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4210 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4211 | } | ||
| 4212 | |||
| 4213 | .progress-bar-success { | ||
| 4214 | background-color: #5cb85c; | ||
| 4215 | } | ||
| 4216 | |||
| 4217 | .progress-striped .progress-bar-success { | ||
| 4218 | background-color: #5cb85c; | ||
| 4219 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
| 4220 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4221 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4222 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4223 | } | ||
| 4224 | |||
| 4225 | .progress-bar-warning { | ||
| 4226 | background-color: #f0ad4e; | ||
| 4227 | } | ||
| 4228 | |||
| 4229 | .progress-striped .progress-bar-warning { | ||
| 4230 | background-color: #f0ad4e; | ||
| 4231 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
| 4232 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4233 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4234 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4235 | } | ||
| 4236 | |||
| 4237 | .progress-bar-info { | ||
| 4238 | background-color: #5bc0de; | ||
| 4239 | } | ||
| 4240 | |||
| 4241 | .progress-striped .progress-bar-info { | ||
| 4242 | background-color: #5bc0de; | ||
| 4243 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
| 4244 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4245 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4246 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 4247 | } | ||
| 4248 | |||
| 4249 | .accordion { | ||
| 4250 | margin-bottom: 20px; | ||
| 4251 | } | ||
| 4252 | |||
| 4253 | .accordion-group { | ||
| 4254 | margin-bottom: 2px; | ||
| 4255 | border: 1px solid #e5e5e5; | ||
| 4256 | border-radius: 4px; | ||
| 4257 | } | ||
| 4258 | |||
| 4259 | .accordion-heading { | ||
| 4260 | border-bottom: 0; | ||
| 4261 | } | ||
| 4262 | |||
| 4263 | .accordion-heading .accordion-toggle { | ||
| 4264 | display: block; | ||
| 4265 | padding: 8px 15px; | ||
| 4266 | cursor: pointer; | ||
| 4267 | } | ||
| 4268 | |||
| 4269 | .accordion-inner { | ||
| 4270 | padding: 9px 15px; | ||
| 4271 | border-top: 1px solid #e5e5e5; | ||
| 4272 | } | ||
| 4273 | |||
| 4274 | .carousel { | ||
| 4275 | position: relative; | ||
| 4276 | } | ||
| 4277 | |||
| 4278 | .carousel-inner { | ||
| 4279 | position: relative; | ||
| 4280 | width: 100%; | ||
| 4281 | overflow: hidden; | ||
| 4282 | } | ||
| 4283 | |||
| 4284 | .carousel-inner > .item { | ||
| 4285 | position: relative; | ||
| 4286 | display: none; | ||
| 4287 | -webkit-transition: 0.6s ease-in-out left; | ||
| 4288 | transition: 0.6s ease-in-out left; | ||
| 4289 | } | ||
| 4290 | |||
| 4291 | .carousel-inner > .item > img, | ||
| 4292 | .carousel-inner > .item > a > img { | ||
| 4293 | display: inline-block; | ||
| 4294 | height: auto; | ||
| 4295 | max-width: 100%; | ||
| 4296 | line-height: 1; | ||
| 4297 | } | ||
| 4298 | |||
| 4299 | .carousel-inner > .active, | ||
| 4300 | .carousel-inner > .next, | ||
| 4301 | .carousel-inner > .prev { | ||
| 4302 | display: block; | ||
| 4303 | } | ||
| 4304 | |||
| 4305 | .carousel-inner > .active { | ||
| 4306 | left: 0; | ||
| 4307 | } | ||
| 4308 | |||
| 4309 | .carousel-inner > .next, | ||
| 4310 | .carousel-inner > .prev { | ||
| 4311 | position: absolute; | ||
| 4312 | top: 0; | ||
| 4313 | width: 100%; | ||
| 4314 | } | ||
| 4315 | |||
| 4316 | .carousel-inner > .next { | ||
| 4317 | left: 100%; | ||
| 4318 | } | ||
| 4319 | |||
| 4320 | .carousel-inner > .prev { | ||
| 4321 | left: -100%; | ||
| 4322 | } | ||
| 4323 | |||
| 4324 | .carousel-inner > .next.left, | ||
| 4325 | .carousel-inner > .prev.right { | ||
| 4326 | left: 0; | ||
| 4327 | } | ||
| 4328 | |||
| 4329 | .carousel-inner > .active.left { | ||
| 4330 | left: -100%; | ||
| 4331 | } | ||
| 4332 | |||
| 4333 | .carousel-inner > .active.right { | ||
| 4334 | left: 100%; | ||
| 4335 | } | ||
| 4336 | |||
| 4337 | .carousel-control { | ||
| 4338 | position: absolute; | ||
| 4339 | top: 0; | ||
| 4340 | bottom: 0; | ||
| 4341 | left: 0; | ||
| 4342 | width: 15%; | ||
| 4343 | font-size: 20px; | ||
| 4344 | color: #ffffff; | ||
| 4345 | text-align: center; | ||
| 4346 | text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); | ||
| 4347 | opacity: 0.5; | ||
| 4348 | filter: alpha(opacity=50); | ||
| 4349 | } | ||
| 4350 | |||
| 4351 | .carousel-control.left { | ||
| 4352 | background-color: rgba(0, 0, 0, 0.0001); | ||
| 4353 | background-color: transparent; | ||
| 4354 | background-image: -webkit-gradient(linear, 0 top, 100% top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001))); | ||
| 4355 | background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); | ||
| 4356 | background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); | ||
| 4357 | background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); | ||
| 4358 | background-repeat: repeat-x; | ||
| 4359 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); | ||
| 4360 | } | ||
| 4361 | |||
| 4362 | .carousel-control.right { | ||
| 4363 | right: 0; | ||
| 4364 | left: auto; | ||
| 4365 | background-color: rgba(0, 0, 0, 0.5); | ||
| 4366 | background-color: transparent; | ||
| 4367 | background-image: -webkit-gradient(linear, 0 top, 100% top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5))); | ||
| 4368 | background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); | ||
| 4369 | background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); | ||
| 4370 | background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); | ||
| 4371 | background-repeat: repeat-x; | ||
| 4372 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); | ||
| 4373 | } | ||
| 4374 | |||
| 4375 | .carousel-control:hover, | ||
| 4376 | .carousel-control:focus { | ||
| 4377 | color: #ffffff; | ||
| 4378 | text-decoration: none; | ||
| 4379 | opacity: 0.9; | ||
| 4380 | filter: alpha(opacity=90); | ||
| 4381 | } | ||
| 4382 | |||
| 4383 | .carousel-control .glyphicon, | ||
| 4384 | .carousel-control .icon-prev, | ||
| 4385 | .carousel-control .icon-next { | ||
| 4386 | position: absolute; | ||
| 4387 | top: 50%; | ||
| 4388 | left: 50%; | ||
| 4389 | z-index: 5; | ||
| 4390 | display: inline-block; | ||
| 4391 | width: 20px; | ||
| 4392 | height: 20px; | ||
| 4393 | margin-top: -10px; | ||
| 4394 | margin-left: -10px; | ||
| 4395 | font-family: serif; | ||
| 4396 | } | ||
| 4397 | |||
| 4398 | .carousel-control .icon-prev:before { | ||
| 4399 | content: '\2039'; | ||
| 4400 | } | ||
| 4401 | |||
| 4402 | .carousel-control .icon-next:before { | ||
| 4403 | content: '\203a'; | ||
| 4404 | } | ||
| 4405 | |||
| 4406 | .carousel-indicators { | ||
| 4407 | position: absolute; | ||
| 4408 | bottom: 10px; | ||
| 4409 | left: 50%; | ||
| 4410 | z-index: 15; | ||
| 4411 | width: 120px; | ||
| 4412 | padding-left: 0; | ||
| 4413 | margin-left: -60px; | ||
| 4414 | text-align: center; | ||
| 4415 | list-style: none; | ||
| 4416 | } | ||
| 4417 | |||
| 4418 | .carousel-indicators li { | ||
| 4419 | display: inline-block; | ||
| 4420 | width: 10px; | ||
| 4421 | height: 10px; | ||
| 4422 | margin: 1px; | ||
| 4423 | text-indent: -999px; | ||
| 4424 | cursor: pointer; | ||
| 4425 | border: 1px solid #ffffff; | ||
| 4426 | border-radius: 10px; | ||
| 4427 | } | ||
| 4428 | |||
| 4429 | .carousel-indicators .active { | ||
| 4430 | width: 12px; | ||
| 4431 | height: 12px; | ||
| 4432 | margin: 0; | ||
| 4433 | background-color: #ffffff; | ||
| 4434 | } | ||
| 4435 | |||
| 4436 | .carousel-caption { | ||
| 4437 | position: absolute; | ||
| 4438 | right: 15%; | ||
| 4439 | bottom: 20px; | ||
| 4440 | left: 15%; | ||
| 4441 | z-index: 10; | ||
| 4442 | padding-top: 20px; | ||
| 4443 | padding-bottom: 20px; | ||
| 4444 | color: #ffffff; | ||
| 4445 | text-align: center; | ||
| 4446 | text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); | ||
| 4447 | } | ||
| 4448 | |||
| 4449 | .carousel-caption .btn { | ||
| 4450 | text-shadow: none; | ||
| 4451 | } | ||
| 4452 | |||
| 4453 | @media screen and (min-width: 768px) { | ||
| 4454 | .carousel-control .glyphicon, | ||
| 4455 | .carousel-control .icon-prev, | ||
| 4456 | .carousel-control .icon-next { | ||
| 4457 | width: 30px; | ||
| 4458 | height: 30px; | ||
| 4459 | margin-top: -15px; | ||
| 4460 | margin-left: -15px; | ||
| 4461 | font-size: 30px; | ||
| 4462 | } | ||
| 4463 | .carousel-caption { | ||
| 4464 | right: 20%; | ||
| 4465 | left: 20%; | ||
| 4466 | padding-bottom: 30px; | ||
| 4467 | } | ||
| 4468 | .carousel-indicators { | ||
| 4469 | bottom: 20px; | ||
| 4470 | } | ||
| 4471 | } | ||
| 4472 | |||
| 4473 | .jumbotron { | ||
| 4474 | padding: 30px; | ||
| 4475 | margin-bottom: 30px; | ||
| 4476 | font-size: 21px; | ||
| 4477 | font-weight: 200; | ||
| 4478 | line-height: 2.1428571435; | ||
| 4479 | color: inherit; | ||
| 4480 | background-color: #eeeeee; | ||
| 4481 | } | ||
| 4482 | |||
| 4483 | .jumbotron h1 { | ||
| 4484 | line-height: 1; | ||
| 4485 | color: inherit; | ||
| 4486 | } | ||
| 4487 | |||
| 4488 | .jumbotron p { | ||
| 4489 | line-height: 1.4; | ||
| 4490 | } | ||
| 4491 | |||
| 4492 | @media screen and (min-width: 768px) { | ||
| 4493 | .jumbotron { | ||
| 4494 | padding: 50px 60px; | ||
| 4495 | border-radius: 6px; | ||
| 4496 | } | ||
| 4497 | .jumbotron h1 { | ||
| 4498 | font-size: 63px; | ||
| 4499 | } | ||
| 4500 | } | ||
| 4501 | |||
| 4502 | .clearfix:before, | ||
| 4503 | .clearfix:after { | ||
| 4504 | display: table; | ||
| 4505 | content: " "; | ||
| 4506 | } | ||
| 4507 | |||
| 4508 | .clearfix:after { | ||
| 4509 | clear: both; | ||
| 4510 | } | ||
| 4511 | |||
| 4512 | .pull-right { | ||
| 4513 | float: right; | ||
| 4514 | } | ||
| 4515 | |||
| 4516 | .pull-left { | ||
| 4517 | float: left; | ||
| 4518 | } | ||
| 4519 | |||
| 4520 | .hide { | ||
| 4521 | display: none !important; | ||
| 4522 | } | ||
| 4523 | |||
| 4524 | .show { | ||
| 4525 | display: block !important; | ||
| 4526 | } | ||
| 4527 | |||
| 4528 | .invisible { | ||
| 4529 | visibility: hidden; | ||
| 4530 | } | ||
| 4531 | |||
| 4532 | .text-hide { | ||
| 4533 | font: 0/0 a; | ||
| 4534 | color: transparent; | ||
| 4535 | text-shadow: none; | ||
| 4536 | background-color: transparent; | ||
| 4537 | border: 0; | ||
| 4538 | } | ||
| 4539 | |||
| 4540 | .affix { | ||
| 4541 | position: fixed; | ||
| 4542 | } | ||
| 4543 | |||
| 4544 | @-ms-viewport { | ||
| 4545 | width: device-width; | ||
| 4546 | } | ||
| 4547 | |||
| 4548 | @media screen and (max-width: 400px) { | ||
| 4549 | @-ms-viewport { | ||
| 4550 | width: 320px; | ||
| 4551 | } | ||
| 4552 | } | ||
| 4553 | |||
| 4554 | .hidden { | ||
| 4555 | display: none !important; | ||
| 4556 | visibility: hidden !important; | ||
| 4557 | } | ||
| 4558 | |||
| 4559 | .visible-sm { | ||
| 4560 | display: block !important; | ||
| 4561 | } | ||
| 4562 | |||
| 4563 | tr.visible-sm { | ||
| 4564 | display: table-row !important; | ||
| 4565 | } | ||
| 4566 | |||
| 4567 | th.visible-sm, | ||
| 4568 | td.visible-sm { | ||
| 4569 | display: table-cell !important; | ||
| 4570 | } | ||
| 4571 | |||
| 4572 | .visible-md { | ||
| 4573 | display: none !important; | ||
| 4574 | } | ||
| 4575 | |||
| 4576 | tr.visible-md { | ||
| 4577 | display: none !important; | ||
| 4578 | } | ||
| 4579 | |||
| 4580 | th.visible-md, | ||
| 4581 | td.visible-md { | ||
| 4582 | display: none !important; | ||
| 4583 | } | ||
| 4584 | |||
| 4585 | .visible-lg { | ||
| 4586 | display: none !important; | ||
| 4587 | } | ||
| 4588 | |||
| 4589 | tr.visible-lg { | ||
| 4590 | display: none !important; | ||
| 4591 | } | ||
| 4592 | |||
| 4593 | th.visible-lg, | ||
| 4594 | td.visible-lg { | ||
| 4595 | display: none !important; | ||
| 4596 | } | ||
| 4597 | |||
| 4598 | .hidden-sm { | ||
| 4599 | display: none !important; | ||
| 4600 | } | ||
| 4601 | |||
| 4602 | tr.hidden-sm { | ||
| 4603 | display: none !important; | ||
| 4604 | } | ||
| 4605 | |||
| 4606 | th.hidden-sm, | ||
| 4607 | td.hidden-sm { | ||
| 4608 | display: none !important; | ||
| 4609 | } | ||
| 4610 | |||
| 4611 | .hidden-md { | ||
| 4612 | display: block !important; | ||
| 4613 | } | ||
| 4614 | |||
| 4615 | tr.hidden-md { | ||
| 4616 | display: table-row !important; | ||
| 4617 | } | ||
| 4618 | |||
| 4619 | th.hidden-md, | ||
| 4620 | td.hidden-md { | ||
| 4621 | display: table-cell !important; | ||
| 4622 | } | ||
| 4623 | |||
| 4624 | .hidden-lg { | ||
| 4625 | display: block !important; | ||
| 4626 | } | ||
| 4627 | |||
| 4628 | tr.hidden-lg { | ||
| 4629 | display: table-row !important; | ||
| 4630 | } | ||
| 4631 | |||
| 4632 | th.hidden-lg, | ||
| 4633 | td.hidden-lg { | ||
| 4634 | display: table-cell !important; | ||
| 4635 | } | ||
| 4636 | |||
| 4637 | @media (min-width: 768px) and (max-width: 991px) { | ||
| 4638 | .visible-sm { | ||
| 4639 | display: none !important; | ||
| 4640 | } | ||
| 4641 | tr.visible-sm { | ||
| 4642 | display: none !important; | ||
| 4643 | } | ||
| 4644 | th.visible-sm, | ||
| 4645 | td.visible-sm { | ||
| 4646 | display: none !important; | ||
| 4647 | } | ||
| 4648 | .visible-md { | ||
| 4649 | display: block !important; | ||
| 4650 | } | ||
| 4651 | tr.visible-md { | ||
| 4652 | display: table-row !important; | ||
| 4653 | } | ||
| 4654 | th.visible-md, | ||
| 4655 | td.visible-md { | ||
| 4656 | display: table-cell !important; | ||
| 4657 | } | ||
| 4658 | .visible-lg { | ||
| 4659 | display: none !important; | ||
| 4660 | } | ||
| 4661 | tr.visible-lg { | ||
| 4662 | display: none !important; | ||
| 4663 | } | ||
| 4664 | th.visible-lg, | ||
| 4665 | td.visible-lg { | ||
| 4666 | display: none !important; | ||
| 4667 | } | ||
| 4668 | .hidden-sm { | ||
| 4669 | display: block !important; | ||
| 4670 | } | ||
| 4671 | tr.hidden-sm { | ||
| 4672 | display: table-row !important; | ||
| 4673 | } | ||
| 4674 | th.hidden-sm, | ||
| 4675 | td.hidden-sm { | ||
| 4676 | display: table-cell !important; | ||
| 4677 | } | ||
| 4678 | .hidden-md { | ||
| 4679 | display: none !important; | ||
| 4680 | } | ||
| 4681 | tr.hidden-md { | ||
| 4682 | display: none !important; | ||
| 4683 | } | ||
| 4684 | th.hidden-md, | ||
| 4685 | td.hidden-md { | ||
| 4686 | display: none !important; | ||
| 4687 | } | ||
| 4688 | .hidden-lg { | ||
| 4689 | display: block !important; | ||
| 4690 | } | ||
| 4691 | tr.hidden-lg { | ||
| 4692 | display: table-row !important; | ||
| 4693 | } | ||
| 4694 | th.hidden-lg, | ||
| 4695 | td.hidden-lg { | ||
| 4696 | display: table-cell !important; | ||
| 4697 | } | ||
| 4698 | } | ||
| 4699 | |||
| 4700 | @media (min-width: 992px) { | ||
| 4701 | .visible-sm { | ||
| 4702 | display: none !important; | ||
| 4703 | } | ||
| 4704 | tr.visible-sm { | ||
| 4705 | display: none !important; | ||
| 4706 | } | ||
| 4707 | th.visible-sm, | ||
| 4708 | td.visible-sm { | ||
| 4709 | display: none !important; | ||
| 4710 | } | ||
| 4711 | .visible-md { | ||
| 4712 | display: none !important; | ||
| 4713 | } | ||
| 4714 | tr.visible-md { | ||
| 4715 | display: none !important; | ||
| 4716 | } | ||
| 4717 | th.visible-md, | ||
| 4718 | td.visible-md { | ||
| 4719 | display: none !important; | ||
| 4720 | } | ||
| 4721 | .visible-lg { | ||
| 4722 | display: block !important; | ||
| 4723 | } | ||
| 4724 | tr.visible-lg { | ||
| 4725 | display: table-row !important; | ||
| 4726 | } | ||
| 4727 | th.visible-lg, | ||
| 4728 | td.visible-lg { | ||
| 4729 | display: table-cell !important; | ||
| 4730 | } | ||
| 4731 | .hidden-sm { | ||
| 4732 | display: block !important; | ||
| 4733 | } | ||
| 4734 | tr.hidden-sm { | ||
| 4735 | display: table-row !important; | ||
| 4736 | } | ||
| 4737 | th.hidden-sm, | ||
| 4738 | td.hidden-sm { | ||
| 4739 | display: table-cell !important; | ||
| 4740 | } | ||
| 4741 | .hidden-md { | ||
| 4742 | display: block !important; | ||
| 4743 | } | ||
| 4744 | tr.hidden-md { | ||
| 4745 | display: table-row !important; | ||
| 4746 | } | ||
| 4747 | th.hidden-md, | ||
| 4748 | td.hidden-md { | ||
| 4749 | display: table-cell !important; | ||
| 4750 | } | ||
| 4751 | .hidden-lg { | ||
| 4752 | display: none !important; | ||
| 4753 | } | ||
| 4754 | tr.hidden-lg { | ||
| 4755 | display: none !important; | ||
| 4756 | } | ||
| 4757 | th.hidden-lg, | ||
| 4758 | td.hidden-lg { | ||
| 4759 | display: none !important; | ||
| 4760 | } | ||
| 4761 | } | ||
| 4762 | |||
| 4763 | .visible-print { | ||
| 4764 | display: none !important; | ||
| 4765 | } | ||
| 4766 | |||
| 4767 | tr.visible-print { | ||
| 4768 | display: none !important; | ||
| 4769 | } | ||
| 4770 | |||
| 4771 | th.visible-print, | ||
| 4772 | td.visible-print { | ||
| 4773 | display: none !important; | ||
| 4774 | } | ||
| 4775 | |||
| 4776 | @media print { | ||
| 4777 | .visible-print { | ||
| 4778 | display: block !important; | ||
| 4779 | } | ||
| 4780 | tr.visible-print { | ||
| 4781 | display: table-row !important; | ||
| 4782 | } | ||
| 4783 | th.visible-print, | ||
| 4784 | td.visible-print { | ||
| 4785 | display: table-cell !important; | ||
| 4786 | } | ||
| 4787 | .hidden-print { | ||
| 4788 | display: none !important; | ||
| 4789 | } | ||
| 4790 | tr.hidden-print { | ||
| 4791 | display: none !important; | ||
| 4792 | } | ||
| 4793 | th.hidden-print, | ||
| 4794 | td.hidden-print { | ||
| 4795 | display: none !important; | ||
| 4796 | } | ||
| 4797 | } | ||
diff --git a/bitbake/lib/toaster/bldviewer/static/js/bootstrap.js b/bitbake/lib/toaster/bldviewer/static/js/bootstrap.js deleted file mode 100644 index 29f4eea403..0000000000 --- a/bitbake/lib/toaster/bldviewer/static/js/bootstrap.js +++ /dev/null | |||
| @@ -1,1982 +0,0 @@ | |||
| 1 | /** | ||
| 2 | * bootstrap.js v3.0.0 by @fat and @mdo | ||
| 3 | * Copyright 2013 Twitter Inc. | ||
| 4 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 5 | */ | ||
| 6 | if (!jQuery) { throw new Error("Bootstrap requires jQuery") } | ||
| 7 | |||
| 8 | /* ======================================================================== | ||
| 9 | * Bootstrap: transition.js v3.0.0 | ||
| 10 | * http://twbs.github.com/bootstrap/javascript.html#transitions | ||
| 11 | * ======================================================================== | ||
| 12 | * Copyright 2013 Twitter, Inc. | ||
| 13 | * | ||
| 14 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 15 | * you may not use this file except in compliance with the License. | ||
| 16 | * You may obtain a copy of the License at | ||
| 17 | * | ||
| 18 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 19 | * | ||
| 20 | * Unless required by applicable law or agreed to in writing, software | ||
| 21 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 22 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 23 | * See the License for the specific language governing permissions and | ||
| 24 | * limitations under the License. | ||
| 25 | * ======================================================================== */ | ||
| 26 | |||
| 27 | |||
| 28 | +function ($) { "use strict"; | ||
| 29 | |||
| 30 | // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) | ||
| 31 | // ============================================================ | ||
| 32 | |||
| 33 | function transitionEnd() { | ||
| 34 | var el = document.createElement('bootstrap') | ||
| 35 | |||
| 36 | var transEndEventNames = { | ||
| 37 | 'WebkitTransition' : 'webkitTransitionEnd' | ||
| 38 | , 'MozTransition' : 'transitionend' | ||
| 39 | , 'OTransition' : 'oTransitionEnd otransitionend' | ||
| 40 | , 'transition' : 'transitionend' | ||
| 41 | } | ||
| 42 | |||
| 43 | for (var name in transEndEventNames) { | ||
| 44 | if (el.style[name] !== undefined) { | ||
| 45 | return { end: transEndEventNames[name] } | ||
| 46 | } | ||
| 47 | } | ||
| 48 | } | ||
| 49 | |||
| 50 | // http://blog.alexmaccaw.com/css-transitions | ||
| 51 | $.fn.emulateTransitionEnd = function (duration) { | ||
| 52 | var called = false, $el = this | ||
| 53 | $(this).one($.support.transition.end, function () { called = true }) | ||
| 54 | var callback = function () { if (!called) $($el).trigger($.support.transition.end) } | ||
| 55 | setTimeout(callback, duration) | ||
| 56 | return this | ||
| 57 | } | ||
| 58 | |||
| 59 | $(function () { | ||
| 60 | $.support.transition = transitionEnd() | ||
| 61 | }) | ||
| 62 | |||
| 63 | }(window.jQuery); | ||
| 64 | |||
| 65 | /* ======================================================================== | ||
| 66 | * Bootstrap: alert.js v3.0.0 | ||
| 67 | * http://twbs.github.com/bootstrap/javascript.html#alerts | ||
| 68 | * ======================================================================== | ||
| 69 | * Copyright 2013 Twitter, Inc. | ||
| 70 | * | ||
| 71 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 72 | * you may not use this file except in compliance with the License. | ||
| 73 | * You may obtain a copy of the License at | ||
| 74 | * | ||
| 75 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 76 | * | ||
| 77 | * Unless required by applicable law or agreed to in writing, software | ||
| 78 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 79 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 80 | * See the License for the specific language governing permissions and | ||
| 81 | * limitations under the License. | ||
| 82 | * ======================================================================== */ | ||
| 83 | |||
| 84 | |||
| 85 | +function ($) { "use strict"; | ||
| 86 | |||
| 87 | // ALERT CLASS DEFINITION | ||
| 88 | // ====================== | ||
| 89 | |||
| 90 | var dismiss = '[data-dismiss="alert"]' | ||
| 91 | var Alert = function (el) { | ||
| 92 | $(el).on('click', dismiss, this.close) | ||
| 93 | } | ||
| 94 | |||
| 95 | Alert.prototype.close = function (e) { | ||
| 96 | var $this = $(this) | ||
| 97 | var selector = $this.attr('data-target') | ||
| 98 | |||
| 99 | if (!selector) { | ||
| 100 | selector = $this.attr('href') | ||
| 101 | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 | ||
| 102 | } | ||
| 103 | |||
| 104 | var $parent = $(selector) | ||
| 105 | |||
| 106 | if (e) e.preventDefault() | ||
| 107 | |||
| 108 | if (!$parent.length) { | ||
| 109 | $parent = $this.hasClass('alert') ? $this : $this.parent() | ||
| 110 | } | ||
| 111 | |||
| 112 | $parent.trigger(e = $.Event('close.bs.alert')) | ||
| 113 | |||
| 114 | if (e.isDefaultPrevented()) return | ||
| 115 | |||
| 116 | $parent.removeClass('in') | ||
| 117 | |||
| 118 | function removeElement() { | ||
| 119 | $parent.trigger('closed.bs.alert').remove() | ||
| 120 | } | ||
| 121 | |||
| 122 | $.support.transition && $parent.hasClass('fade') ? | ||
| 123 | $parent | ||
| 124 | .one($.support.transition.end, removeElement) | ||
| 125 | .emulateTransitionEnd(150) : | ||
| 126 | removeElement() | ||
| 127 | } | ||
| 128 | |||
| 129 | |||
| 130 | // ALERT PLUGIN DEFINITION | ||
| 131 | // ======================= | ||
| 132 | |||
| 133 | var old = $.fn.alert | ||
| 134 | |||
| 135 | $.fn.alert = function (option) { | ||
| 136 | return this.each(function () { | ||
| 137 | var $this = $(this) | ||
| 138 | var data = $this.data('bs.alert') | ||
| 139 | |||
| 140 | if (!data) $this.data('bs.alert', (data = new Alert(this))) | ||
| 141 | if (typeof option == 'string') data[option].call($this) | ||
| 142 | }) | ||
| 143 | } | ||
| 144 | |||
| 145 | $.fn.alert.Constructor = Alert | ||
| 146 | |||
| 147 | |||
| 148 | // ALERT NO CONFLICT | ||
| 149 | // ================= | ||
| 150 | |||
| 151 | $.fn.alert.noConflict = function () { | ||
| 152 | $.fn.alert = old | ||
| 153 | return this | ||
| 154 | } | ||
| 155 | |||
| 156 | |||
| 157 | // ALERT DATA-API | ||
| 158 | // ============== | ||
| 159 | |||
| 160 | $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) | ||
| 161 | |||
| 162 | }(window.jQuery); | ||
| 163 | |||
| 164 | /* ======================================================================== | ||
| 165 | * Bootstrap: button.js v3.0.0 | ||
| 166 | * http://twbs.github.com/bootstrap/javascript.html#buttons | ||
| 167 | * ======================================================================== | ||
| 168 | * Copyright 2013 Twitter, Inc. | ||
| 169 | * | ||
| 170 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 171 | * you may not use this file except in compliance with the License. | ||
| 172 | * You may obtain a copy of the License at | ||
| 173 | * | ||
| 174 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 175 | * | ||
| 176 | * Unless required by applicable law or agreed to in writing, software | ||
| 177 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 178 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 179 | * See the License for the specific language governing permissions and | ||
| 180 | * limitations under the License. | ||
| 181 | * ======================================================================== */ | ||
| 182 | |||
| 183 | |||
| 184 | +function ($) { "use strict"; | ||
| 185 | |||
| 186 | // BUTTON PUBLIC CLASS DEFINITION | ||
| 187 | // ============================== | ||
| 188 | |||
| 189 | var Button = function (element, options) { | ||
| 190 | this.$element = $(element) | ||
| 191 | this.options = $.extend({}, Button.DEFAULTS, options) | ||
| 192 | } | ||
| 193 | |||
| 194 | Button.DEFAULTS = { | ||
| 195 | loadingText: 'loading...' | ||
| 196 | } | ||
| 197 | |||
| 198 | Button.prototype.setState = function (state) { | ||
| 199 | var d = 'disabled' | ||
| 200 | var $el = this.$element | ||
| 201 | var val = $el.is('input') ? 'val' : 'html' | ||
| 202 | var data = $el.data() | ||
| 203 | |||
| 204 | state = state + 'Text' | ||
| 205 | |||
| 206 | if (!data.resetText) $el.data('resetText', $el[val]()) | ||
| 207 | |||
| 208 | $el[val](data[state] || this.options[state]) | ||
| 209 | |||
| 210 | // push to event loop to allow forms to submit | ||
| 211 | setTimeout(function () { | ||
| 212 | state == 'loadingText' ? | ||
| 213 | $el.addClass(d).attr(d, d) : | ||
| 214 | $el.removeClass(d).removeAttr(d); | ||
| 215 | }, 0) | ||
| 216 | } | ||
| 217 | |||
| 218 | Button.prototype.toggle = function () { | ||
| 219 | var $parent = this.$element.closest('[data-toggle="buttons"]') | ||
| 220 | |||
| 221 | if ($parent.length) { | ||
| 222 | var $input = this.$element.find('input') | ||
| 223 | .prop('checked', !this.$element.hasClass('active')) | ||
| 224 | .trigger('change') | ||
| 225 | if ($input.prop('type') === 'radio') $parent.find('.active').removeClass('active') | ||
| 226 | } | ||
| 227 | |||
| 228 | this.$element.toggleClass('active') | ||
| 229 | } | ||
| 230 | |||
| 231 | |||
| 232 | // BUTTON PLUGIN DEFINITION | ||
| 233 | // ======================== | ||
| 234 | |||
| 235 | var old = $.fn.button | ||
| 236 | |||
| 237 | $.fn.button = function (option) { | ||
| 238 | return this.each(function () { | ||
| 239 | var $this = $(this) | ||
| 240 | var data = $this.data('bs.button') | ||
| 241 | var options = typeof option == 'object' && option | ||
| 242 | |||
| 243 | if (!data) $this.data('bs.button', (data = new Button(this, options))) | ||
| 244 | |||
| 245 | if (option == 'toggle') data.toggle() | ||
| 246 | else if (option) data.setState(option) | ||
| 247 | }) | ||
| 248 | } | ||
| 249 | |||
| 250 | $.fn.button.Constructor = Button | ||
| 251 | |||
| 252 | |||
| 253 | // BUTTON NO CONFLICT | ||
| 254 | // ================== | ||
| 255 | |||
| 256 | $.fn.button.noConflict = function () { | ||
| 257 | $.fn.button = old | ||
| 258 | return this | ||
| 259 | } | ||
| 260 | |||
| 261 | |||
| 262 | // BUTTON DATA-API | ||
| 263 | // =============== | ||
| 264 | |||
| 265 | $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) { | ||
| 266 | var $btn = $(e.target) | ||
| 267 | if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') | ||
| 268 | $btn.button('toggle') | ||
| 269 | e.preventDefault() | ||
| 270 | }) | ||
| 271 | |||
| 272 | }(window.jQuery); | ||
| 273 | |||
| 274 | /* ======================================================================== | ||
| 275 | * Bootstrap: carousel.js v3.0.0 | ||
| 276 | * http://twbs.github.com/bootstrap/javascript.html#carousel | ||
| 277 | * ======================================================================== | ||
| 278 | * Copyright 2012 Twitter, Inc. | ||
| 279 | * | ||
| 280 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 281 | * you may not use this file except in compliance with the License. | ||
| 282 | * You may obtain a copy of the License at | ||
| 283 | * | ||
| 284 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 285 | * | ||
| 286 | * Unless required by applicable law or agreed to in writing, software | ||
| 287 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 288 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 289 | * See the License for the specific language governing permissions and | ||
| 290 | * limitations under the License. | ||
| 291 | * ======================================================================== */ | ||
| 292 | |||
| 293 | |||
| 294 | +function ($) { "use strict"; | ||
| 295 | |||
| 296 | // CAROUSEL CLASS DEFINITION | ||
| 297 | // ========================= | ||
| 298 | |||
| 299 | var Carousel = function (element, options) { | ||
| 300 | this.$element = $(element) | ||
| 301 | this.$indicators = this.$element.find('.carousel-indicators') | ||
| 302 | this.options = options | ||
| 303 | this.paused = | ||
| 304 | this.sliding = | ||
| 305 | this.interval = | ||
| 306 | this.$active = | ||
| 307 | this.$items = null | ||
| 308 | |||
| 309 | this.options.pause == 'hover' && this.$element | ||
| 310 | .on('mouseenter', $.proxy(this.pause, this)) | ||
| 311 | .on('mouseleave', $.proxy(this.cycle, this)) | ||
| 312 | } | ||
| 313 | |||
| 314 | Carousel.DEFAULTS = { | ||
| 315 | interval: 5000 | ||
| 316 | , pause: 'hover' | ||
| 317 | } | ||
| 318 | |||
| 319 | Carousel.prototype.cycle = function (e) { | ||
| 320 | e || (this.paused = false) | ||
| 321 | |||
| 322 | this.interval && clearInterval(this.interval) | ||
| 323 | |||
| 324 | this.options.interval | ||
| 325 | && !this.paused | ||
| 326 | && (this.interval = setInterval($.proxy(this.next, this), this.options.interval)) | ||
| 327 | |||
| 328 | return this | ||
| 329 | } | ||
| 330 | |||
| 331 | Carousel.prototype.getActiveIndex = function () { | ||
| 332 | this.$active = this.$element.find('.item.active') | ||
| 333 | this.$items = this.$active.parent().children() | ||
| 334 | |||
| 335 | return this.$items.index(this.$active) | ||
| 336 | } | ||
| 337 | |||
| 338 | Carousel.prototype.to = function (pos) { | ||
| 339 | var that = this | ||
| 340 | var activeIndex = this.getActiveIndex() | ||
| 341 | |||
| 342 | if (pos > (this.$items.length - 1) || pos < 0) return | ||
| 343 | |||
| 344 | if (this.sliding) return this.$element.one('slid', function () { that.to(pos) }) | ||
| 345 | if (activeIndex == pos) return this.pause().cycle() | ||
| 346 | |||
| 347 | return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos])) | ||
| 348 | } | ||
| 349 | |||
| 350 | Carousel.prototype.pause = function (e) { | ||
| 351 | e || (this.paused = true) | ||
| 352 | |||
| 353 | if (this.$element.find('.next, .prev').length && $.support.transition.end) { | ||
| 354 | this.$element.trigger($.support.transition.end) | ||
| 355 | this.cycle(true) | ||
| 356 | } | ||
| 357 | |||
| 358 | this.interval = clearInterval(this.interval) | ||
| 359 | |||
| 360 | return this | ||
| 361 | } | ||
| 362 | |||
| 363 | Carousel.prototype.next = function () { | ||
| 364 | if (this.sliding) return | ||
| 365 | return this.slide('next') | ||
| 366 | } | ||
| 367 | |||
| 368 | Carousel.prototype.prev = function () { | ||
| 369 | if (this.sliding) return | ||
| 370 | return this.slide('prev') | ||
| 371 | } | ||
| 372 | |||
| 373 | Carousel.prototype.slide = function (type, next) { | ||
| 374 | var $active = this.$element.find('.item.active') | ||
| 375 | var $next = next || $active[type]() | ||
| 376 | var isCycling = this.interval | ||
| 377 | var direction = type == 'next' ? 'left' : 'right' | ||
| 378 | var fallback = type == 'next' ? 'first' : 'last' | ||
| 379 | var that = this | ||
| 380 | |||
| 381 | this.sliding = true | ||
| 382 | |||
| 383 | isCycling && this.pause() | ||
| 384 | |||
| 385 | $next = $next.length ? $next : this.$element.find('.item')[fallback]() | ||
| 386 | |||
| 387 | var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction }) | ||
| 388 | |||
| 389 | if ($next.hasClass('active')) return | ||
| 390 | |||
| 391 | if (this.$indicators.length) { | ||
| 392 | this.$indicators.find('.active').removeClass('active') | ||
| 393 | this.$element.one('slid', function () { | ||
| 394 | var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()]) | ||
| 395 | $nextIndicator && $nextIndicator.addClass('active') | ||
| 396 | }) | ||
| 397 | } | ||
| 398 | |||
| 399 | if ($.support.transition && this.$element.hasClass('slide')) { | ||
| 400 | this.$element.trigger(e) | ||
| 401 | if (e.isDefaultPrevented()) return | ||
| 402 | $next.addClass(type) | ||
| 403 | $next[0].offsetWidth // force reflow | ||
| 404 | $active.addClass(direction) | ||
| 405 | $next.addClass(direction) | ||
| 406 | $active | ||
| 407 | .one($.support.transition.end, function () { | ||
| 408 | $next.removeClass([type, direction].join(' ')).addClass('active') | ||
| 409 | $active.removeClass(['active', direction].join(' ')) | ||
| 410 | that.sliding = false | ||
| 411 | setTimeout(function () { that.$element.trigger('slid') }, 0) | ||
| 412 | }) | ||
| 413 | .emulateTransitionEnd(600) | ||
| 414 | } else { | ||
| 415 | this.$element.trigger(e) | ||
| 416 | if (e.isDefaultPrevented()) return | ||
| 417 | $active.removeClass('active') | ||
| 418 | $next.addClass('active') | ||
| 419 | this.sliding = false | ||
| 420 | this.$element.trigger('slid') | ||
| 421 | } | ||
| 422 | |||
| 423 | isCycling && this.cycle() | ||
| 424 | |||
| 425 | return this | ||
| 426 | } | ||
| 427 | |||
| 428 | |||
| 429 | // CAROUSEL PLUGIN DEFINITION | ||
| 430 | // ========================== | ||
| 431 | |||
| 432 | var old = $.fn.carousel | ||
| 433 | |||
| 434 | $.fn.carousel = function (option) { | ||
| 435 | return this.each(function () { | ||
| 436 | var $this = $(this) | ||
| 437 | var data = $this.data('bs.carousel') | ||
| 438 | var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option) | ||
| 439 | var action = typeof option == 'string' ? option : options.slide | ||
| 440 | |||
| 441 | if (!data) $this.data('bs.carousel', (data = new Carousel(this, options))) | ||
| 442 | if (typeof option == 'number') data.to(option) | ||
| 443 | else if (action) data[action]() | ||
| 444 | else if (options.interval) data.pause().cycle() | ||
| 445 | }) | ||
| 446 | } | ||
| 447 | |||
| 448 | $.fn.carousel.Constructor = Carousel | ||
| 449 | |||
| 450 | |||
| 451 | // CAROUSEL NO CONFLICT | ||
| 452 | // ==================== | ||
| 453 | |||
| 454 | $.fn.carousel.noConflict = function () { | ||
| 455 | $.fn.carousel = old | ||
| 456 | return this | ||
| 457 | } | ||
| 458 | |||
| 459 | |||
| 460 | // CAROUSEL DATA-API | ||
| 461 | // ================= | ||
| 462 | |||
| 463 | $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) { | ||
| 464 | var $this = $(this), href | ||
| 465 | var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7 | ||
| 466 | var options = $.extend({}, $target.data(), $this.data()) | ||
| 467 | var slideIndex = $this.attr('data-slide-to') | ||
| 468 | if (slideIndex) options.interval = false | ||
| 469 | |||
| 470 | $target.carousel(options) | ||
| 471 | |||
| 472 | if (slideIndex = $this.attr('data-slide-to')) { | ||
| 473 | $target.data('bs.carousel').to(slideIndex) | ||
| 474 | } | ||
| 475 | |||
| 476 | e.preventDefault() | ||
| 477 | }) | ||
| 478 | |||
| 479 | $(window).on('load', function () { | ||
| 480 | $('[data-ride="carousel"]').each(function () { | ||
| 481 | var $carousel = $(this) | ||
| 482 | $carousel.carousel($carousel.data()) | ||
| 483 | }) | ||
| 484 | }) | ||
| 485 | |||
| 486 | }(window.jQuery); | ||
| 487 | |||
| 488 | /* ======================================================================== | ||
| 489 | * Bootstrap: collapse.js v3.0.0 | ||
| 490 | * http://twbs.github.com/bootstrap/javascript.html#collapse | ||
| 491 | * ======================================================================== | ||
| 492 | * Copyright 2012 Twitter, Inc. | ||
| 493 | * | ||
| 494 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 495 | * you may not use this file except in compliance with the License. | ||
| 496 | * You may obtain a copy of the License at | ||
| 497 | * | ||
| 498 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 499 | * | ||
| 500 | * Unless required by applicable law or agreed to in writing, software | ||
| 501 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 502 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 503 | * See the License for the specific language governing permissions and | ||
| 504 | * limitations under the License. | ||
| 505 | * ======================================================================== */ | ||
| 506 | |||
| 507 | |||
| 508 | +function ($) { "use strict"; | ||
| 509 | |||
| 510 | // COLLAPSE PUBLIC CLASS DEFINITION | ||
| 511 | // ================================ | ||
| 512 | |||
| 513 | var Collapse = function (element, options) { | ||
| 514 | this.$element = $(element) | ||
| 515 | this.options = $.extend({}, Collapse.DEFAULTS, options) | ||
| 516 | this.transitioning = null | ||
| 517 | |||
| 518 | if (this.options.parent) this.$parent = $(this.options.parent) | ||
| 519 | if (this.options.toggle) this.toggle() | ||
| 520 | } | ||
| 521 | |||
| 522 | Collapse.DEFAULTS = { | ||
| 523 | toggle: true | ||
| 524 | } | ||
| 525 | |||
| 526 | Collapse.prototype.dimension = function () { | ||
| 527 | var hasWidth = this.$element.hasClass('width') | ||
| 528 | return hasWidth ? 'width' : 'height' | ||
| 529 | } | ||
| 530 | |||
| 531 | Collapse.prototype.show = function () { | ||
| 532 | if (this.transitioning || this.$element.hasClass('in')) return | ||
| 533 | |||
| 534 | var startEvent = $.Event('show.bs.collapse') | ||
| 535 | this.$element.trigger(startEvent) | ||
| 536 | if (startEvent.isDefaultPrevented()) return | ||
| 537 | |||
| 538 | var actives = this.$parent && this.$parent.find('> .accordion-group > .in') | ||
| 539 | |||
| 540 | if (actives && actives.length) { | ||
| 541 | var hasData = actives.data('bs.collapse') | ||
| 542 | if (hasData && hasData.transitioning) return | ||
| 543 | actives.collapse('hide') | ||
| 544 | hasData || actives.data('bs.collapse', null) | ||
| 545 | } | ||
| 546 | |||
| 547 | var dimension = this.dimension() | ||
| 548 | |||
| 549 | this.$element | ||
| 550 | .removeClass('collapse') | ||
| 551 | .addClass('collapsing') | ||
| 552 | [dimension](0) | ||
| 553 | |||
| 554 | this.transitioning = 1 | ||
| 555 | |||
| 556 | var complete = function () { | ||
| 557 | this.$element | ||
| 558 | .removeClass('collapsing') | ||
| 559 | .addClass('in') | ||
| 560 | [dimension]('auto') | ||
| 561 | this.transitioning = 0 | ||
| 562 | this.$element.trigger('shown.bs.collapse') | ||
| 563 | } | ||
| 564 | |||
| 565 | if (!$.support.transition) return complete.call(this) | ||
| 566 | |||
| 567 | var scrollSize = $.camelCase(['scroll', dimension].join('-')) | ||
| 568 | |||
| 569 | this.$element | ||
| 570 | .one($.support.transition.end, $.proxy(complete, this)) | ||
| 571 | .emulateTransitionEnd(350) | ||
| 572 | [dimension](this.$element[0][scrollSize]) | ||
| 573 | } | ||
| 574 | |||
| 575 | Collapse.prototype.hide = function () { | ||
| 576 | if (this.transitioning || !this.$element.hasClass('in')) return | ||
| 577 | |||
| 578 | var startEvent = $.Event('hide.bs.collapse') | ||
| 579 | this.$element.trigger(startEvent) | ||
| 580 | if (startEvent.isDefaultPrevented()) return | ||
| 581 | |||
| 582 | var dimension = this.dimension() | ||
| 583 | |||
| 584 | this.$element | ||
| 585 | [dimension](this.$element[dimension]()) | ||
| 586 | [0].offsetHeight | ||
| 587 | |||
| 588 | this.$element | ||
| 589 | .addClass('collapsing') | ||
| 590 | .removeClass('collapse') | ||
| 591 | .removeClass('in') | ||
| 592 | |||
| 593 | this.transitioning = 1 | ||
| 594 | |||
| 595 | var complete = function () { | ||
| 596 | this.transitioning = 0 | ||
| 597 | this.$element | ||
| 598 | .trigger('hidden.bs.collapse') | ||
| 599 | .removeClass('collapsing') | ||
| 600 | .addClass('collapse') | ||
| 601 | } | ||
| 602 | |||
| 603 | if (!$.support.transition) return complete.call(this) | ||
| 604 | |||
| 605 | this.$element | ||
| 606 | [dimension](0) | ||
| 607 | .one($.support.transition.end, $.proxy(complete, this)) | ||
| 608 | .emulateTransitionEnd(350) | ||
| 609 | } | ||
| 610 | |||
| 611 | Collapse.prototype.toggle = function () { | ||
| 612 | this[this.$element.hasClass('in') ? 'hide' : 'show']() | ||
| 613 | } | ||
| 614 | |||
| 615 | |||
| 616 | // COLLAPSE PLUGIN DEFINITION | ||
| 617 | // ========================== | ||
| 618 | |||
| 619 | var old = $.fn.collapse | ||
| 620 | |||
| 621 | $.fn.collapse = function (option) { | ||
| 622 | return this.each(function () { | ||
| 623 | var $this = $(this) | ||
| 624 | var data = $this.data('bs.collapse') | ||
| 625 | var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option) | ||
| 626 | |||
| 627 | if (!data) $this.data('bs.collapse', (data = new Collapse(this, options))) | ||
| 628 | if (typeof option == 'string') data[option]() | ||
| 629 | }) | ||
| 630 | } | ||
| 631 | |||
| 632 | $.fn.collapse.Constructor = Collapse | ||
| 633 | |||
| 634 | |||
| 635 | // COLLAPSE NO CONFLICT | ||
| 636 | // ==================== | ||
| 637 | |||
| 638 | $.fn.collapse.noConflict = function () { | ||
| 639 | $.fn.collapse = old | ||
| 640 | return this | ||
| 641 | } | ||
| 642 | |||
| 643 | |||
| 644 | // COLLAPSE DATA-API | ||
| 645 | // ================= | ||
| 646 | |||
| 647 | $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) { | ||
| 648 | var $this = $(this), href | ||
| 649 | var target = $this.attr('data-target') | ||
| 650 | || e.preventDefault() | ||
| 651 | || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7 | ||
| 652 | var $target = $(target) | ||
| 653 | var data = $target.data('bs.collapse') | ||
| 654 | var option = data ? 'toggle' : $this.data() | ||
| 655 | var parent = $this.attr('data-parent') | ||
| 656 | var $parent = parent && $(parent) | ||
| 657 | |||
| 658 | if (!data || !data.transitioning) { | ||
| 659 | if ($parent) $parent.find('[data-toggle=collapse][data-parent=' + parent + ']').not($this).addClass('collapsed') | ||
| 660 | $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed') | ||
| 661 | } | ||
| 662 | |||
| 663 | $target.collapse(option) | ||
| 664 | }) | ||
| 665 | |||
| 666 | }(window.jQuery); | ||
| 667 | |||
| 668 | /* ======================================================================== | ||
| 669 | * Bootstrap: dropdown.js v3.0.0 | ||
| 670 | * http://twbs.github.com/bootstrap/javascript.html#dropdowns | ||
| 671 | * ======================================================================== | ||
| 672 | * Copyright 2012 Twitter, Inc. | ||
| 673 | * | ||
| 674 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 675 | * you may not use this file except in compliance with the License. | ||
| 676 | * You may obtain a copy of the License at | ||
| 677 | * | ||
| 678 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 679 | * | ||
| 680 | * Unless required by applicable law or agreed to in writing, software | ||
| 681 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 682 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 683 | * See the License for the specific language governing permissions and | ||
| 684 | * limitations under the License. | ||
| 685 | * ======================================================================== */ | ||
| 686 | |||
| 687 | |||
| 688 | +function ($) { "use strict"; | ||
| 689 | |||
| 690 | // DROPDOWN CLASS DEFINITION | ||
| 691 | // ========================= | ||
| 692 | |||
| 693 | var backdrop = '.dropdown-backdrop' | ||
| 694 | var toggle = '[data-toggle=dropdown]' | ||
| 695 | var Dropdown = function (element) { | ||
| 696 | var $el = $(element).on('click.bs.dropdown', this.toggle) | ||
| 697 | } | ||
| 698 | |||
| 699 | Dropdown.prototype.toggle = function (e) { | ||
| 700 | var $this = $(this) | ||
| 701 | |||
| 702 | if ($this.is('.disabled, :disabled')) return | ||
| 703 | |||
| 704 | var $parent = getParent($this) | ||
| 705 | var isActive = $parent.hasClass('open') | ||
| 706 | |||
| 707 | clearMenus() | ||
| 708 | |||
| 709 | if (!isActive) { | ||
| 710 | if ('ontouchstart' in document.documentElement) { | ||
| 711 | // if mobile we we use a backdrop because click events don't delegate | ||
| 712 | $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus) | ||
| 713 | } | ||
| 714 | |||
| 715 | $parent.trigger(e = $.Event('show.bs.dropdown')) | ||
| 716 | |||
| 717 | if (e.isDefaultPrevented()) return | ||
| 718 | |||
| 719 | $parent | ||
| 720 | .toggleClass('open') | ||
| 721 | .trigger('shown.bs.dropdown') | ||
| 722 | } | ||
| 723 | |||
| 724 | $this.focus() | ||
| 725 | |||
| 726 | return false | ||
| 727 | } | ||
| 728 | |||
| 729 | Dropdown.prototype.keydown = function (e) { | ||
| 730 | if (!/(38|40|27)/.test(e.keyCode)) return | ||
| 731 | |||
| 732 | var $this = $(this) | ||
| 733 | |||
| 734 | e.preventDefault() | ||
| 735 | e.stopPropagation() | ||
| 736 | |||
| 737 | if ($this.is('.disabled, :disabled')) return | ||
| 738 | |||
| 739 | var $parent = getParent($this) | ||
| 740 | var isActive = $parent.hasClass('open') | ||
| 741 | |||
| 742 | if (!isActive || (isActive && e.keyCode == 27)) { | ||
| 743 | if (e.which == 27) $parent.find(toggle).focus() | ||
| 744 | return $this.click() | ||
| 745 | } | ||
| 746 | |||
| 747 | var $items = $('[role=menu] li:not(.divider):visible a', $parent) | ||
| 748 | |||
| 749 | if (!$items.length) return | ||
| 750 | |||
| 751 | var index = $items.index($items.filter(':focus')) | ||
| 752 | |||
| 753 | if (e.keyCode == 38 && index > 0) index-- // up | ||
| 754 | if (e.keyCode == 40 && index < $items.length - 1) index++ // down | ||
| 755 | if (!~index) index=0 | ||
| 756 | |||
| 757 | $items.eq(index).focus() | ||
| 758 | } | ||
| 759 | |||
| 760 | function clearMenus() { | ||
| 761 | $(backdrop).remove() | ||
| 762 | $(toggle).each(function (e) { | ||
| 763 | var $parent = getParent($(this)) | ||
| 764 | if (!$parent.hasClass('open')) return | ||
| 765 | $parent.trigger(e = $.Event('hide.bs.dropdown')) | ||
| 766 | if (e.isDefaultPrevented()) return | ||
| 767 | $parent.removeClass('open').trigger('hidden.bs.dropdown') | ||
| 768 | }) | ||
| 769 | } | ||
| 770 | |||
| 771 | function getParent($this) { | ||
| 772 | var selector = $this.attr('data-target') | ||
| 773 | |||
| 774 | if (!selector) { | ||
| 775 | selector = $this.attr('href') | ||
| 776 | selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 | ||
| 777 | } | ||
| 778 | |||
| 779 | var $parent = selector && $(selector) | ||
| 780 | |||
| 781 | return $parent && $parent.length ? $parent : $this.parent() | ||
| 782 | } | ||
| 783 | |||
| 784 | |||
| 785 | // DROPDOWN PLUGIN DEFINITION | ||
| 786 | // ========================== | ||
| 787 | |||
| 788 | var old = $.fn.dropdown | ||
| 789 | |||
| 790 | $.fn.dropdown = function (option) { | ||
| 791 | return this.each(function () { | ||
| 792 | var $this = $(this) | ||
| 793 | var data = $this.data('dropdown') | ||
| 794 | |||
| 795 | if (!data) $this.data('dropdown', (data = new Dropdown(this))) | ||
| 796 | if (typeof option == 'string') data[option].call($this) | ||
| 797 | }) | ||
| 798 | } | ||
| 799 | |||
| 800 | $.fn.dropdown.Constructor = Dropdown | ||
| 801 | |||
| 802 | |||
| 803 | // DROPDOWN NO CONFLICT | ||
| 804 | // ==================== | ||
| 805 | |||
| 806 | $.fn.dropdown.noConflict = function () { | ||
| 807 | $.fn.dropdown = old | ||
| 808 | return this | ||
| 809 | } | ||
| 810 | |||
| 811 | |||
| 812 | // APPLY TO STANDARD DROPDOWN ELEMENTS | ||
| 813 | // =================================== | ||
| 814 | |||
| 815 | $(document) | ||
| 816 | .on('click.bs.dropdown.data-api', clearMenus) | ||
| 817 | .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) | ||
| 818 | .on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle) | ||
| 819 | .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown) | ||
| 820 | |||
| 821 | }(window.jQuery); | ||
| 822 | |||
| 823 | /* ======================================================================== | ||
| 824 | * Bootstrap: modal.js v3.0.0 | ||
| 825 | * http://twbs.github.com/bootstrap/javascript.html#modals | ||
| 826 | * ======================================================================== | ||
| 827 | * Copyright 2012 Twitter, Inc. | ||
| 828 | * | ||
| 829 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 830 | * you may not use this file except in compliance with the License. | ||
| 831 | * You may obtain a copy of the License at | ||
| 832 | * | ||
| 833 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 834 | * | ||
| 835 | * Unless required by applicable law or agreed to in writing, software | ||
| 836 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 837 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 838 | * See the License for the specific language governing permissions and | ||
| 839 | * limitations under the License. | ||
| 840 | * ======================================================================== */ | ||
| 841 | |||
| 842 | |||
| 843 | +function ($) { "use strict"; | ||
| 844 | |||
| 845 | // MODAL CLASS DEFINITION | ||
| 846 | // ====================== | ||
| 847 | |||
| 848 | var Modal = function (element, options) { | ||
| 849 | this.options = options | ||
| 850 | this.$element = $(element).on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this)) | ||
| 851 | this.$backdrop = | ||
| 852 | this.isShown = null | ||
| 853 | |||
| 854 | if (this.options.remote) this.$element.find('.modal-body').load(this.options.remote) | ||
| 855 | } | ||
| 856 | |||
| 857 | Modal.DEFAULTS = { | ||
| 858 | backdrop: true | ||
| 859 | , keyboard: true | ||
| 860 | , show: true | ||
| 861 | } | ||
| 862 | |||
| 863 | Modal.prototype.toggle = function () { | ||
| 864 | return this[!this.isShown ? 'show' : 'hide']() | ||
| 865 | } | ||
| 866 | |||
| 867 | Modal.prototype.show = function () { | ||
| 868 | var that = this | ||
| 869 | var e = $.Event('show.bs.modal') | ||
| 870 | |||
| 871 | this.$element.trigger(e) | ||
| 872 | |||
| 873 | if (this.isShown || e.isDefaultPrevented()) return | ||
| 874 | |||
| 875 | this.isShown = true | ||
| 876 | |||
| 877 | this.escape() | ||
| 878 | |||
| 879 | this.backdrop(function () { | ||
| 880 | var transition = $.support.transition && that.$element.hasClass('fade') | ||
| 881 | |||
| 882 | if (!that.$element.parent().length) { | ||
| 883 | that.$element.appendTo(document.body) // don't move modals dom position | ||
| 884 | } | ||
| 885 | |||
| 886 | that.$element.show() | ||
| 887 | |||
| 888 | if (transition) { | ||
| 889 | that.$element[0].offsetWidth // force reflow | ||
| 890 | } | ||
| 891 | |||
| 892 | that.$element | ||
| 893 | .addClass('in') | ||
| 894 | .attr('aria-hidden', false) | ||
| 895 | |||
| 896 | that.enforceFocus() | ||
| 897 | |||
| 898 | transition ? | ||
| 899 | that.$element | ||
| 900 | .one($.support.transition.end, function () { | ||
| 901 | that.$element.focus().trigger('shown.bs.modal') | ||
| 902 | }) | ||
| 903 | .emulateTransitionEnd(300) : | ||
| 904 | that.$element.focus().trigger('shown.bs.modal') | ||
| 905 | }) | ||
| 906 | } | ||
| 907 | |||
| 908 | Modal.prototype.hide = function (e) { | ||
| 909 | if (e) e.preventDefault() | ||
| 910 | |||
| 911 | e = $.Event('hide.bs.modal') | ||
| 912 | |||
| 913 | this.$element.trigger(e) | ||
| 914 | |||
| 915 | if (!this.isShown || e.isDefaultPrevented()) return | ||
| 916 | |||
| 917 | this.isShown = false | ||
| 918 | |||
| 919 | this.escape() | ||
| 920 | |||
| 921 | $(document).off('focusin.bs.modal') | ||
| 922 | |||
| 923 | this.$element | ||
| 924 | .removeClass('in') | ||
| 925 | .attr('aria-hidden', true) | ||
| 926 | |||
| 927 | $.support.transition && this.$element.hasClass('fade') ? | ||
| 928 | this.$element | ||
| 929 | .one($.support.transition.end, $.proxy(this.hideModal, this)) | ||
| 930 | .emulateTransitionEnd(300) : | ||
| 931 | this.hideModal() | ||
| 932 | } | ||
| 933 | |||
| 934 | Modal.prototype.enforceFocus = function () { | ||
| 935 | $(document) | ||
| 936 | .off('focusin.bs.modal') // guard against infinite focus loop | ||
| 937 | .on('focusin.bs.modal', $.proxy(function (e) { | ||
| 938 | if (this.$element[0] !== e.target && !this.$element.has(e.target).length) { | ||
| 939 | this.$element.focus() | ||
| 940 | } | ||
| 941 | }, this)) | ||
| 942 | } | ||
| 943 | |||
| 944 | Modal.prototype.escape = function () { | ||
| 945 | if (this.isShown && this.options.keyboard) { | ||
| 946 | this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) { | ||
| 947 | e.which == 27 && this.hide() | ||
| 948 | }, this)) | ||
| 949 | } else if (!this.isShown) { | ||
| 950 | this.$element.off('keyup.dismiss.bs.modal') | ||
| 951 | } | ||
| 952 | } | ||
| 953 | |||
| 954 | Modal.prototype.hideModal = function () { | ||
| 955 | var that = this | ||
| 956 | this.$element.hide() | ||
| 957 | this.backdrop(function () { | ||
| 958 | that.removeBackdrop() | ||
| 959 | that.$element.trigger('hidden.bs.modal') | ||
| 960 | }) | ||
| 961 | } | ||
| 962 | |||
| 963 | Modal.prototype.removeBackdrop = function () { | ||
| 964 | this.$backdrop && this.$backdrop.remove() | ||
| 965 | this.$backdrop = null | ||
| 966 | } | ||
| 967 | |||
| 968 | Modal.prototype.backdrop = function (callback) { | ||
| 969 | var that = this | ||
| 970 | var animate = this.$element.hasClass('fade') ? 'fade' : '' | ||
| 971 | |||
| 972 | if (this.isShown && this.options.backdrop) { | ||
| 973 | var doAnimate = $.support.transition && animate | ||
| 974 | |||
| 975 | this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />') | ||
| 976 | .appendTo(document.body) | ||
| 977 | |||
| 978 | this.$element.on('click', $.proxy(function (e) { | ||
| 979 | if (e.target !== e.currentTarget) return | ||
| 980 | this.options.backdrop == 'static' | ||
| 981 | ? this.$element[0].focus.call(this.$element[0]) | ||
| 982 | : this.hide.call(this) | ||
| 983 | }, this)) | ||
| 984 | |||
| 985 | if (doAnimate) this.$backdrop[0].offsetWidth // force reflow | ||
| 986 | |||
| 987 | this.$backdrop.addClass('in') | ||
| 988 | |||
| 989 | if (!callback) return | ||
| 990 | |||
| 991 | doAnimate ? | ||
| 992 | this.$backdrop | ||
| 993 | .one($.support.transition.end, callback) | ||
| 994 | .emulateTransitionEnd(150) : | ||
| 995 | callback() | ||
| 996 | |||
| 997 | } else if (!this.isShown && this.$backdrop) { | ||
| 998 | this.$backdrop.removeClass('in') | ||
| 999 | |||
| 1000 | $.support.transition && this.$element.hasClass('fade')? | ||
| 1001 | this.$backdrop | ||
| 1002 | .one($.support.transition.end, callback) | ||
| 1003 | .emulateTransitionEnd(150) : | ||
| 1004 | callback() | ||
| 1005 | |||
| 1006 | } else if (callback) { | ||
| 1007 | callback() | ||
| 1008 | } | ||
| 1009 | } | ||
| 1010 | |||
| 1011 | |||
| 1012 | // MODAL PLUGIN DEFINITION | ||
| 1013 | // ======================= | ||
| 1014 | |||
| 1015 | var old = $.fn.modal | ||
| 1016 | |||
| 1017 | $.fn.modal = function (option) { | ||
| 1018 | return this.each(function () { | ||
| 1019 | var $this = $(this) | ||
| 1020 | var data = $this.data('bs.modal') | ||
| 1021 | var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option) | ||
| 1022 | |||
| 1023 | if (!data) $this.data('bs.modal', (data = new Modal(this, options))) | ||
| 1024 | if (typeof option == 'string') data[option]() | ||
| 1025 | else if (options.show) data.show() | ||
| 1026 | }) | ||
| 1027 | } | ||
| 1028 | |||
| 1029 | $.fn.modal.Constructor = Modal | ||
| 1030 | |||
| 1031 | |||
| 1032 | // MODAL NO CONFLICT | ||
| 1033 | // ================= | ||
| 1034 | |||
| 1035 | $.fn.modal.noConflict = function () { | ||
| 1036 | $.fn.modal = old | ||
| 1037 | return this | ||
| 1038 | } | ||
| 1039 | |||
| 1040 | |||
| 1041 | // MODAL DATA-API | ||
| 1042 | // ============== | ||
| 1043 | |||
| 1044 | $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) { | ||
| 1045 | var $this = $(this) | ||
| 1046 | var href = $this.attr('href') | ||
| 1047 | var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7 | ||
| 1048 | var option = $target.data('modal') ? 'toggle' : $.extend({ remote:!/#/.test(href) && href }, $target.data(), $this.data()) | ||
| 1049 | |||
| 1050 | e.preventDefault() | ||
| 1051 | |||
| 1052 | $target | ||
| 1053 | .modal(option) | ||
| 1054 | .one('hide', function () { | ||
| 1055 | $this.is(':visible') && $this.focus() | ||
| 1056 | }) | ||
| 1057 | }) | ||
| 1058 | |||
| 1059 | $(function () { | ||
| 1060 | var $body = $(document.body) | ||
| 1061 | .on('shown.bs.modal', '.modal', function () { $body.addClass('modal-open') }) | ||
| 1062 | .on('hidden.bs.modal', '.modal', function () { $body.removeClass('modal-open') }) | ||
| 1063 | }) | ||
| 1064 | |||
| 1065 | }(window.jQuery); | ||
| 1066 | |||
| 1067 | /* ======================================================================== | ||
| 1068 | * Bootstrap: tooltip.js v3.0.0 | ||
| 1069 | * http://twbs.github.com/bootstrap/javascript.html#affix | ||
| 1070 | * Inspired by the original jQuery.tipsy by Jason Frame | ||
| 1071 | * ======================================================================== | ||
| 1072 | * Copyright 2012 Twitter, Inc. | ||
| 1073 | * | ||
| 1074 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 1075 | * you may not use this file except in compliance with the License. | ||
| 1076 | * You may obtain a copy of the License at | ||
| 1077 | * | ||
| 1078 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 1079 | * | ||
| 1080 | * Unless required by applicable law or agreed to in writing, software | ||
| 1081 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 1082 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 1083 | * See the License for the specific language governing permissions and | ||
| 1084 | * limitations under the License. | ||
| 1085 | * ======================================================================== */ | ||
| 1086 | |||
| 1087 | |||
| 1088 | +function ($) { "use strict"; | ||
| 1089 | |||
| 1090 | // TOOLTIP PUBLIC CLASS DEFINITION | ||
| 1091 | // =============================== | ||
| 1092 | |||
| 1093 | var Tooltip = function (element, options) { | ||
| 1094 | this.type = | ||
| 1095 | this.options = | ||
| 1096 | this.enabled = | ||
| 1097 | this.timeout = | ||
| 1098 | this.hoverState = | ||
| 1099 | this.$element = null | ||
| 1100 | |||
| 1101 | this.init('tooltip', element, options) | ||
| 1102 | } | ||
| 1103 | |||
| 1104 | Tooltip.DEFAULTS = { | ||
| 1105 | animation: true | ||
| 1106 | , placement: 'top' | ||
| 1107 | , selector: false | ||
| 1108 | , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' | ||
| 1109 | , trigger: 'hover focus' | ||
| 1110 | , title: '' | ||
| 1111 | , delay: 0 | ||
| 1112 | , html: false | ||
| 1113 | , container: false | ||
| 1114 | } | ||
| 1115 | |||
| 1116 | Tooltip.prototype.init = function (type, element, options) { | ||
| 1117 | this.enabled = true | ||
| 1118 | this.type = type | ||
| 1119 | this.$element = $(element) | ||
| 1120 | this.options = this.getOptions(options) | ||
| 1121 | |||
| 1122 | var triggers = this.options.trigger.split(' ') | ||
| 1123 | |||
| 1124 | for (var i = triggers.length; i--;) { | ||
| 1125 | var trigger = triggers[i] | ||
| 1126 | |||
| 1127 | if (trigger == 'click') { | ||
| 1128 | this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this)) | ||
| 1129 | } else if (trigger != 'manual') { | ||
| 1130 | var eventIn = trigger == 'hover' ? 'mouseenter' : 'focus' | ||
| 1131 | var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur' | ||
| 1132 | |||
| 1133 | this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this)) | ||
| 1134 | this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this)) | ||
| 1135 | } | ||
| 1136 | } | ||
| 1137 | |||
| 1138 | this.options.selector ? | ||
| 1139 | (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) : | ||
| 1140 | this.fixTitle() | ||
| 1141 | } | ||
| 1142 | |||
| 1143 | Tooltip.prototype.getDefaults = function () { | ||
| 1144 | return Tooltip.DEFAULTS | ||
| 1145 | } | ||
| 1146 | |||
| 1147 | Tooltip.prototype.getOptions = function (options) { | ||
| 1148 | options = $.extend({}, this.getDefaults(), this.$element.data(), options) | ||
| 1149 | |||
| 1150 | if (options.delay && typeof options.delay == 'number') { | ||
| 1151 | options.delay = { | ||
| 1152 | show: options.delay | ||
| 1153 | , hide: options.delay | ||
| 1154 | } | ||
| 1155 | } | ||
| 1156 | |||
| 1157 | return options | ||
| 1158 | } | ||
| 1159 | |||
| 1160 | Tooltip.prototype.enter = function (obj) { | ||
| 1161 | var defaults = this.getDefaults() | ||
| 1162 | var options = {} | ||
| 1163 | |||
| 1164 | this._options && $.each(this._options, function (key, value) { | ||
| 1165 | if (defaults[key] != value) options[key] = value | ||
| 1166 | }) | ||
| 1167 | |||
| 1168 | var self = obj instanceof this.constructor ? | ||
| 1169 | obj : $(obj.currentTarget)[this.type](options).data('bs.' + this.type) | ||
| 1170 | |||
| 1171 | clearTimeout(self.timeout) | ||
| 1172 | |||
| 1173 | if (!self.options.delay || !self.options.delay.show) return self.show() | ||
| 1174 | |||
| 1175 | self.hoverState = 'in' | ||
| 1176 | self.timeout = setTimeout(function () { | ||
| 1177 | if (self.hoverState == 'in') self.show() | ||
| 1178 | }, self.options.delay.show) | ||
| 1179 | } | ||
| 1180 | |||
| 1181 | Tooltip.prototype.leave = function (obj) { | ||
| 1182 | var self = obj instanceof this.constructor ? | ||
| 1183 | obj : $(obj.currentTarget)[this.type](this._options).data('bs.' + this.type) | ||
| 1184 | |||
| 1185 | clearTimeout(self.timeout) | ||
| 1186 | |||
| 1187 | if (!self.options.delay || !self.options.delay.hide) return self.hide() | ||
| 1188 | |||
| 1189 | self.hoverState = 'out' | ||
| 1190 | self.timeout = setTimeout(function () { | ||
| 1191 | if (self.hoverState == 'out') self.hide() | ||
| 1192 | }, self.options.delay.hide) | ||
| 1193 | } | ||
| 1194 | |||
| 1195 | Tooltip.prototype.show = function () { | ||
| 1196 | var e = $.Event('show.bs.'+ this.type) | ||
| 1197 | |||
| 1198 | if (this.hasContent() && this.enabled) { | ||
| 1199 | this.$element.trigger(e) | ||
| 1200 | |||
| 1201 | if (e.isDefaultPrevented()) return | ||
| 1202 | |||
| 1203 | var $tip = this.tip() | ||
| 1204 | |||
| 1205 | this.setContent() | ||
| 1206 | |||
| 1207 | if (this.options.animation) $tip.addClass('fade') | ||
| 1208 | |||
| 1209 | var placement = typeof this.options.placement == 'function' ? | ||
| 1210 | this.options.placement.call(this, $tip[0], this.$element[0]) : | ||
| 1211 | this.options.placement | ||
| 1212 | |||
| 1213 | var autoToken = /\s?auto?\s?/i | ||
| 1214 | var autoPlace = autoToken.test(placement) | ||
| 1215 | if (autoPlace) placement = placement.replace(autoToken, '') || 'top' | ||
| 1216 | |||
| 1217 | $tip | ||
| 1218 | .detach() | ||
| 1219 | .css({ top: 0, left: 0, display: 'block' }) | ||
| 1220 | .addClass(placement) | ||
| 1221 | |||
| 1222 | this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element) | ||
| 1223 | |||
| 1224 | var pos = this.getPosition() | ||
| 1225 | var actualWidth = $tip[0].offsetWidth | ||
| 1226 | var actualHeight = $tip[0].offsetHeight | ||
| 1227 | |||
| 1228 | if (autoPlace) { | ||
| 1229 | var $parent = this.$element.parent() | ||
| 1230 | |||
| 1231 | var orgPlacement = placement | ||
| 1232 | var docScroll = document.documentElement.scrollTop || document.body.scrollTop | ||
| 1233 | var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth() | ||
| 1234 | var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight() | ||
| 1235 | var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left | ||
| 1236 | |||
| 1237 | placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' : | ||
| 1238 | placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' : | ||
| 1239 | placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' : | ||
| 1240 | placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' : | ||
| 1241 | placement | ||
| 1242 | |||
| 1243 | $tip | ||
| 1244 | .removeClass(orgPlacement) | ||
| 1245 | .addClass(placement) | ||
| 1246 | } | ||
| 1247 | |||
| 1248 | var calculatedOffset = this.getCalcuatedOffset(placement, pos, actualWidth, actualHeight) | ||
| 1249 | |||
| 1250 | this.applyPlacement(calculatedOffset, placement) | ||
| 1251 | this.$element.trigger('shown.bs.' + this.type) | ||
| 1252 | } | ||
| 1253 | } | ||
| 1254 | |||
| 1255 | Tooltip.prototype.applyPlacement = function(offset, placement) { | ||
| 1256 | var replace | ||
| 1257 | var $tip = this.tip() | ||
| 1258 | var width = $tip[0].offsetWidth | ||
| 1259 | var height = $tip[0].offsetHeight | ||
| 1260 | |||
| 1261 | // manually read margins because getBoundingClientRect includes difference | ||
| 1262 | var marginTop = parseInt($tip.css('margin-top'), 10) | ||
| 1263 | var marginLeft = parseInt($tip.css('margin-left'), 10) | ||
| 1264 | |||
| 1265 | // we must check for NaN for ie 8/9 | ||
| 1266 | if (isNaN(marginTop)) marginTop = 0 | ||
| 1267 | if (isNaN(marginLeft)) marginLeft = 0 | ||
| 1268 | |||
| 1269 | offset.top = offset.top + marginTop | ||
| 1270 | offset.left = offset.left + marginLeft | ||
| 1271 | |||
| 1272 | $tip | ||
| 1273 | .offset(offset) | ||
| 1274 | .addClass('in') | ||
| 1275 | |||
| 1276 | // check to see if placing tip in new offset caused the tip to resize itself | ||
| 1277 | var actualWidth = $tip[0].offsetWidth | ||
| 1278 | var actualHeight = $tip[0].offsetHeight | ||
| 1279 | |||
| 1280 | if (placement == 'top' && actualHeight != height) { | ||
| 1281 | replace = true | ||
| 1282 | offset.top = offset.top + height - actualHeight | ||
| 1283 | } | ||
| 1284 | |||
| 1285 | if (/bottom|top/.test(placement)) { | ||
| 1286 | var delta = 0 | ||
| 1287 | |||
| 1288 | if (offset.left < 0) { | ||
| 1289 | delta = offset.left * -2 | ||
| 1290 | offset.left = 0 | ||
| 1291 | |||
| 1292 | $tip.offset(offset) | ||
| 1293 | |||
| 1294 | actualWidth = $tip[0].offsetWidth | ||
| 1295 | actualHeight = $tip[0].offsetHeight | ||
| 1296 | } | ||
| 1297 | |||
| 1298 | this.replaceArrow(delta - width + actualWidth, actualWidth, 'left') | ||
| 1299 | } else { | ||
| 1300 | this.replaceArrow(actualHeight - height, actualHeight, 'top') | ||
| 1301 | } | ||
| 1302 | |||
| 1303 | if (replace) $tip.offset(offset) | ||
| 1304 | } | ||
| 1305 | |||
| 1306 | Tooltip.prototype.replaceArrow = function(delta, dimension, position) { | ||
| 1307 | this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + "%") : '') | ||
| 1308 | } | ||
| 1309 | |||
| 1310 | Tooltip.prototype.setContent = function () { | ||
| 1311 | var $tip = this.tip() | ||
| 1312 | var title = this.getTitle() | ||
| 1313 | |||
| 1314 | $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title) | ||
| 1315 | $tip.removeClass('fade in top bottom left right') | ||
| 1316 | } | ||
| 1317 | |||
| 1318 | Tooltip.prototype.hide = function () { | ||
| 1319 | var that = this | ||
| 1320 | var $tip = this.tip() | ||
| 1321 | var e = $.Event('hide.bs.' + this.type) | ||
| 1322 | |||
| 1323 | function complete() { $tip.detach() } | ||
| 1324 | |||
| 1325 | this.$element.trigger(e) | ||
| 1326 | |||
| 1327 | if (e.isDefaultPrevented()) return | ||
| 1328 | |||
| 1329 | $tip.removeClass('in') | ||
| 1330 | |||
| 1331 | $.support.transition && this.$tip.hasClass('fade') ? | ||
| 1332 | $tip | ||
| 1333 | .one($.support.transition.end, complete) | ||
| 1334 | .emulateTransitionEnd(150) : | ||
| 1335 | complete() | ||
| 1336 | |||
| 1337 | this.$element.trigger('hidden.bs.' + this.type) | ||
| 1338 | |||
| 1339 | return this | ||
| 1340 | } | ||
| 1341 | |||
| 1342 | Tooltip.prototype.fixTitle = function () { | ||
| 1343 | var $e = this.$element | ||
| 1344 | if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') { | ||
| 1345 | $e.attr('data-original-title', $e.attr('title') || '').attr('title', '') | ||
| 1346 | } | ||
| 1347 | } | ||
| 1348 | |||
| 1349 | Tooltip.prototype.hasContent = function () { | ||
| 1350 | return this.getTitle() | ||
| 1351 | } | ||
| 1352 | |||
| 1353 | Tooltip.prototype.getPosition = function () { | ||
| 1354 | var el = this.$element[0] | ||
| 1355 | return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : { | ||
| 1356 | width: el.offsetWidth | ||
| 1357 | , height: el.offsetHeight | ||
| 1358 | }, this.$element.offset()) | ||
| 1359 | } | ||
| 1360 | |||
| 1361 | Tooltip.prototype.getCalcuatedOffset = function (placement, pos, actualWidth, actualHeight) { | ||
| 1362 | return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } : | ||
| 1363 | placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } : | ||
| 1364 | placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } : | ||
| 1365 | /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width } | ||
| 1366 | } | ||
| 1367 | |||
| 1368 | Tooltip.prototype.getTitle = function () { | ||
| 1369 | var title | ||
| 1370 | var $e = this.$element | ||
| 1371 | var o = this.options | ||
| 1372 | |||
| 1373 | title = $e.attr('data-original-title') | ||
| 1374 | || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title) | ||
| 1375 | |||
| 1376 | return title | ||
| 1377 | } | ||
| 1378 | |||
| 1379 | Tooltip.prototype.tip = function () { | ||
| 1380 | return this.$tip = this.$tip || $(this.options.template) | ||
| 1381 | } | ||
| 1382 | |||
| 1383 | Tooltip.prototype.arrow = function () { | ||
| 1384 | return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow') | ||
| 1385 | } | ||
| 1386 | |||
| 1387 | Tooltip.prototype.validate = function () { | ||
| 1388 | if (!this.$element[0].parentNode) { | ||
| 1389 | this.hide() | ||
| 1390 | this.$element = null | ||
| 1391 | this.options = null | ||
| 1392 | } | ||
| 1393 | } | ||
| 1394 | |||
| 1395 | Tooltip.prototype.enable = function () { | ||
| 1396 | this.enabled = true | ||
| 1397 | } | ||
| 1398 | |||
| 1399 | Tooltip.prototype.disable = function () { | ||
| 1400 | this.enabled = false | ||
| 1401 | } | ||
| 1402 | |||
| 1403 | Tooltip.prototype.toggleEnabled = function () { | ||
| 1404 | this.enabled = !this.enabled | ||
| 1405 | } | ||
| 1406 | |||
| 1407 | Tooltip.prototype.toggle = function (e) { | ||
| 1408 | var self = e ? $(e.currentTarget)[this.type](this._options).data('bs.' + this.type) : this | ||
| 1409 | self.tip().hasClass('in') ? self.leave(self) : self.enter(self) | ||
| 1410 | } | ||
| 1411 | |||
| 1412 | Tooltip.prototype.destroy = function () { | ||
| 1413 | this.hide().$element.off('.' + this.type).removeData('bs.' + this.type) | ||
| 1414 | } | ||
| 1415 | |||
| 1416 | |||
| 1417 | // TOOLTIP PLUGIN DEFINITION | ||
| 1418 | // ========================= | ||
| 1419 | |||
| 1420 | var old = $.fn.tooltip | ||
| 1421 | |||
| 1422 | $.fn.tooltip = function (option) { | ||
| 1423 | return this.each(function () { | ||
| 1424 | var $this = $(this) | ||
| 1425 | var data = $this.data('bs.tooltip') | ||
| 1426 | var options = typeof option == 'object' && option | ||
| 1427 | |||
| 1428 | if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options))) | ||
| 1429 | if (typeof option == 'string') data[option]() | ||
| 1430 | }) | ||
| 1431 | } | ||
| 1432 | |||
| 1433 | $.fn.tooltip.Constructor = Tooltip | ||
| 1434 | |||
| 1435 | |||
| 1436 | // TOOLTIP NO CONFLICT | ||
| 1437 | // =================== | ||
| 1438 | |||
| 1439 | $.fn.tooltip.noConflict = function () { | ||
| 1440 | $.fn.tooltip = old | ||
| 1441 | return this | ||
| 1442 | } | ||
| 1443 | |||
| 1444 | }(window.jQuery); | ||
| 1445 | |||
| 1446 | /* ======================================================================== | ||
| 1447 | * Bootstrap: popover.js v3.0.0 | ||
| 1448 | * http://twbs.github.com/bootstrap/javascript.html#popovers | ||
| 1449 | * ======================================================================== | ||
| 1450 | * Copyright 2012 Twitter, Inc. | ||
| 1451 | * | ||
| 1452 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 1453 | * you may not use this file except in compliance with the License. | ||
| 1454 | * You may obtain a copy of the License at | ||
| 1455 | * | ||
| 1456 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 1457 | * | ||
| 1458 | * Unless required by applicable law or agreed to in writing, software | ||
| 1459 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 1460 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 1461 | * See the License for the specific language governing permissions and | ||
| 1462 | * limitations under the License. | ||
| 1463 | * ======================================================================== */ | ||
| 1464 | |||
| 1465 | |||
| 1466 | +function ($) { "use strict"; | ||
| 1467 | |||
| 1468 | // POPOVER PUBLIC CLASS DEFINITION | ||
| 1469 | // =============================== | ||
| 1470 | |||
| 1471 | var Popover = function (element, options) { | ||
| 1472 | this.init('popover', element, options) | ||
| 1473 | } | ||
| 1474 | |||
| 1475 | if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js') | ||
| 1476 | |||
| 1477 | Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, { | ||
| 1478 | placement: 'right' | ||
| 1479 | , trigger: 'click' | ||
| 1480 | , content: '' | ||
| 1481 | , template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>' | ||
| 1482 | }) | ||
| 1483 | |||
| 1484 | |||
| 1485 | // NOTE: POPOVER EXTENDS tooltip.js | ||
| 1486 | // ================================ | ||
| 1487 | |||
| 1488 | Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype) | ||
| 1489 | |||
| 1490 | Popover.prototype.constructor = Popover | ||
| 1491 | |||
| 1492 | Popover.prototype.getDefaults = function () { | ||
| 1493 | return Popover.DEFAULTS | ||
| 1494 | } | ||
| 1495 | |||
| 1496 | Popover.prototype.setContent = function () { | ||
| 1497 | var $tip = this.tip() | ||
| 1498 | var title = this.getTitle() | ||
| 1499 | var content = this.getContent() | ||
| 1500 | |||
| 1501 | $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) | ||
| 1502 | $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content) | ||
| 1503 | |||
| 1504 | $tip.removeClass('fade top bottom left right in') | ||
| 1505 | |||
| 1506 | $tip.find('.popover-title:empty').hide() | ||
| 1507 | } | ||
| 1508 | |||
| 1509 | Popover.prototype.hasContent = function () { | ||
| 1510 | return this.getTitle() || this.getContent() | ||
| 1511 | } | ||
| 1512 | |||
| 1513 | Popover.prototype.getContent = function () { | ||
| 1514 | var $e = this.$element | ||
| 1515 | var o = this.options | ||
| 1516 | |||
| 1517 | return $e.attr('data-content') | ||
| 1518 | || (typeof o.content == 'function' ? | ||
| 1519 | o.content.call($e[0]) : | ||
| 1520 | o.content) | ||
| 1521 | } | ||
| 1522 | |||
| 1523 | Popover.prototype.arrow =function () { | ||
| 1524 | return this.$arrow = this.$arrow || this.tip().find('.arrow') | ||
| 1525 | } | ||
| 1526 | |||
| 1527 | Popover.prototype.tip = function () { | ||
| 1528 | if (!this.$tip) this.$tip = $(this.options.template) | ||
| 1529 | return this.$tip | ||
| 1530 | } | ||
| 1531 | |||
| 1532 | |||
| 1533 | // POPOVER PLUGIN DEFINITION | ||
| 1534 | // ========================= | ||
| 1535 | |||
| 1536 | var old = $.fn.popover | ||
| 1537 | |||
| 1538 | $.fn.popover = function (option) { | ||
| 1539 | return this.each(function () { | ||
| 1540 | var $this = $(this) | ||
| 1541 | var data = $this.data('bs.popover') | ||
| 1542 | var options = typeof option == 'object' && option | ||
| 1543 | |||
| 1544 | if (!data) $this.data('bs.popover', (data = new Popover(this, options))) | ||
| 1545 | if (typeof option == 'string') data[option]() | ||
| 1546 | }) | ||
| 1547 | } | ||
| 1548 | |||
| 1549 | $.fn.popover.Constructor = Popover | ||
| 1550 | |||
| 1551 | |||
| 1552 | // POPOVER NO CONFLICT | ||
| 1553 | // =================== | ||
| 1554 | |||
| 1555 | $.fn.popover.noConflict = function () { | ||
| 1556 | $.fn.popover = old | ||
| 1557 | return this | ||
| 1558 | } | ||
| 1559 | |||
| 1560 | }(window.jQuery); | ||
| 1561 | |||
| 1562 | /* ======================================================================== | ||
| 1563 | * Bootstrap: scrollspy.js v3.0.0 | ||
| 1564 | * http://twbs.github.com/bootstrap/javascript.html#scrollspy | ||
| 1565 | * ======================================================================== | ||
| 1566 | * Copyright 2012 Twitter, Inc. | ||
| 1567 | * | ||
| 1568 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 1569 | * you may not use this file except in compliance with the License. | ||
| 1570 | * You may obtain a copy of the License at | ||
| 1571 | * | ||
| 1572 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 1573 | * | ||
| 1574 | * Unless required by applicable law or agreed to in writing, software | ||
| 1575 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 1576 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 1577 | * See the License for the specific language governing permissions and | ||
| 1578 | * limitations under the License. | ||
| 1579 | * ======================================================================== */ | ||
| 1580 | |||
| 1581 | |||
| 1582 | +function ($) { "use strict"; | ||
| 1583 | |||
| 1584 | // SCROLLSPY CLASS DEFINITION | ||
| 1585 | // ========================== | ||
| 1586 | |||
| 1587 | function ScrollSpy(element, options) { | ||
| 1588 | var href | ||
| 1589 | var process = $.proxy(this.process, this) | ||
| 1590 | |||
| 1591 | this.$element = $(element).is('body') ? $(window) : $(element) | ||
| 1592 | this.$body = $('body') | ||
| 1593 | this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process) | ||
| 1594 | this.options = $.extend({}, ScrollSpy.DEFAULTS, options) | ||
| 1595 | this.selector = (this.options.target | ||
| 1596 | || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7 | ||
| 1597 | || '') + ' .nav li > a' | ||
| 1598 | this.offsets = $([]) | ||
| 1599 | this.targets = $([]) | ||
| 1600 | this.activeTarget = null | ||
| 1601 | |||
| 1602 | this.refresh() | ||
| 1603 | this.process() | ||
| 1604 | } | ||
| 1605 | |||
| 1606 | ScrollSpy.DEFAULTS = { | ||
| 1607 | offset: 10 | ||
| 1608 | } | ||
| 1609 | |||
| 1610 | ScrollSpy.prototype.refresh = function () { | ||
| 1611 | var offsetMethod = this.$element[0] == window ? 'offset' : 'position' | ||
| 1612 | |||
| 1613 | this.offsets = $([]) | ||
| 1614 | this.targets = $([]) | ||
| 1615 | |||
| 1616 | var self = this | ||
| 1617 | var $targets = this.$body | ||
| 1618 | .find(this.selector) | ||
| 1619 | .map(function () { | ||
| 1620 | var $el = $(this) | ||
| 1621 | var href = $el.data('target') || $el.attr('href') | ||
| 1622 | var $href = /^#\w/.test(href) && $(href) | ||
| 1623 | |||
| 1624 | return ($href | ||
| 1625 | && $href.length | ||
| 1626 | && [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null | ||
| 1627 | }) | ||
| 1628 | .sort(function (a, b) { return a[0] - b[0] }) | ||
| 1629 | .each(function () { | ||
| 1630 | self.offsets.push(this[0]) | ||
| 1631 | self.targets.push(this[1]) | ||
| 1632 | }) | ||
| 1633 | } | ||
| 1634 | |||
| 1635 | ScrollSpy.prototype.process = function () { | ||
| 1636 | var scrollTop = this.$scrollElement.scrollTop() + this.options.offset | ||
| 1637 | var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight | ||
| 1638 | var maxScroll = scrollHeight - this.$scrollElement.height() | ||
| 1639 | var offsets = this.offsets | ||
| 1640 | var targets = this.targets | ||
| 1641 | var activeTarget = this.activeTarget | ||
| 1642 | var i | ||
| 1643 | |||
| 1644 | if (scrollTop >= maxScroll) { | ||
| 1645 | return activeTarget != (i = targets.last()[0]) && this.activate(i) | ||
| 1646 | } | ||
| 1647 | |||
| 1648 | for (i = offsets.length; i--;) { | ||
| 1649 | activeTarget != targets[i] | ||
| 1650 | && scrollTop >= offsets[i] | ||
| 1651 | && (!offsets[i + 1] || scrollTop <= offsets[i + 1]) | ||
| 1652 | && this.activate( targets[i] ) | ||
| 1653 | } | ||
| 1654 | } | ||
| 1655 | |||
| 1656 | ScrollSpy.prototype.activate = function (target) { | ||
| 1657 | this.activeTarget = target | ||
| 1658 | |||
| 1659 | $(this.selector) | ||
| 1660 | .parents('.active') | ||
| 1661 | .removeClass('active') | ||
| 1662 | |||
| 1663 | var selector = this.selector | ||
| 1664 | + '[data-target="' + target + '"],' | ||
| 1665 | + this.selector + '[href="' + target + '"]' | ||
| 1666 | |||
| 1667 | var active = $(selector) | ||
| 1668 | .parents('li') | ||
| 1669 | .addClass('active') | ||
| 1670 | |||
| 1671 | if (active.parent('.dropdown-menu').length) { | ||
| 1672 | active = active | ||
| 1673 | .closest('li.dropdown') | ||
| 1674 | .addClass('active') | ||
| 1675 | } | ||
| 1676 | |||
| 1677 | active.trigger('activate') | ||
| 1678 | } | ||
| 1679 | |||
| 1680 | |||
| 1681 | // SCROLLSPY PLUGIN DEFINITION | ||
| 1682 | // =========================== | ||
| 1683 | |||
| 1684 | var old = $.fn.scrollspy | ||
| 1685 | |||
| 1686 | $.fn.scrollspy = function (option) { | ||
| 1687 | return this.each(function () { | ||
| 1688 | var $this = $(this) | ||
| 1689 | var data = $this.data('bs.scrollspy') | ||
| 1690 | var options = typeof option == 'object' && option | ||
| 1691 | |||
| 1692 | if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options))) | ||
| 1693 | if (typeof option == 'string') data[option]() | ||
| 1694 | }) | ||
| 1695 | } | ||
| 1696 | |||
| 1697 | $.fn.scrollspy.Constructor = ScrollSpy | ||
| 1698 | |||
| 1699 | |||
| 1700 | // SCROLLSPY NO CONFLICT | ||
| 1701 | // ===================== | ||
| 1702 | |||
| 1703 | $.fn.scrollspy.noConflict = function () { | ||
| 1704 | $.fn.scrollspy = old | ||
| 1705 | return this | ||
| 1706 | } | ||
| 1707 | |||
| 1708 | |||
| 1709 | // SCROLLSPY DATA-API | ||
| 1710 | // ================== | ||
| 1711 | |||
| 1712 | $(window).on('load', function () { | ||
| 1713 | $('[data-spy="scroll"]').each(function () { | ||
| 1714 | var $spy = $(this) | ||
| 1715 | $spy.scrollspy($spy.data()) | ||
| 1716 | }) | ||
| 1717 | }) | ||
| 1718 | |||
| 1719 | }(window.jQuery); | ||
| 1720 | |||
| 1721 | /* ======================================================================== | ||
| 1722 | * Bootstrap: tab.js v3.0.0 | ||
| 1723 | * http://twbs.github.com/bootstrap/javascript.html#tabs | ||
| 1724 | * ======================================================================== | ||
| 1725 | * Copyright 2012 Twitter, Inc. | ||
| 1726 | * | ||
| 1727 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 1728 | * you may not use this file except in compliance with the License. | ||
| 1729 | * You may obtain a copy of the License at | ||
| 1730 | * | ||
| 1731 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 1732 | * | ||
| 1733 | * Unless required by applicable law or agreed to in writing, software | ||
| 1734 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 1735 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 1736 | * See the License for the specific language governing permissions and | ||
| 1737 | * limitations under the License. | ||
| 1738 | * ======================================================================== */ | ||
| 1739 | |||
| 1740 | |||
| 1741 | +function ($) { "use strict"; | ||
| 1742 | |||
| 1743 | // TAB CLASS DEFINITION | ||
| 1744 | // ==================== | ||
| 1745 | |||
| 1746 | var Tab = function (element) { | ||
| 1747 | this.element = $(element) | ||
| 1748 | } | ||
| 1749 | |||
| 1750 | Tab.prototype.show = function () { | ||
| 1751 | var $this = this.element | ||
| 1752 | var $ul = $this.closest('ul:not(.dropdown-menu)') | ||
| 1753 | var selector = $this.attr('data-target') | ||
| 1754 | |||
| 1755 | if (!selector) { | ||
| 1756 | selector = $this.attr('href') | ||
| 1757 | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 | ||
| 1758 | } | ||
| 1759 | |||
| 1760 | if ($this.parent('li').hasClass('active')) return | ||
| 1761 | |||
| 1762 | var previous = $ul.find('.active:last a')[0] | ||
| 1763 | var e = $.Event('show.bs.tab', { | ||
| 1764 | relatedTarget: previous | ||
| 1765 | }) | ||
| 1766 | |||
| 1767 | $this.trigger(e) | ||
| 1768 | |||
| 1769 | if (e.isDefaultPrevented()) return | ||
| 1770 | |||
| 1771 | var $target = $(selector) | ||
| 1772 | |||
| 1773 | this.activate($this.parent('li'), $ul) | ||
| 1774 | this.activate($target, $target.parent(), function () { | ||
| 1775 | $this.trigger({ | ||
| 1776 | type: 'shown.bs.tab' | ||
| 1777 | , relatedTarget: previous | ||
| 1778 | }) | ||
| 1779 | }) | ||
| 1780 | } | ||
| 1781 | |||
| 1782 | Tab.prototype.activate = function (element, container, callback) { | ||
| 1783 | var $active = container.find('> .active') | ||
| 1784 | var transition = callback | ||
| 1785 | && $.support.transition | ||
| 1786 | && $active.hasClass('fade') | ||
| 1787 | |||
| 1788 | function next() { | ||
| 1789 | $active | ||
| 1790 | .removeClass('active') | ||
| 1791 | .find('> .dropdown-menu > .active') | ||
| 1792 | .removeClass('active') | ||
| 1793 | |||
| 1794 | element.addClass('active') | ||
| 1795 | |||
| 1796 | if (transition) { | ||
| 1797 | element[0].offsetWidth // reflow for transition | ||
| 1798 | element.addClass('in') | ||
| 1799 | } else { | ||
| 1800 | element.removeClass('fade') | ||
| 1801 | } | ||
| 1802 | |||
| 1803 | if (element.parent('.dropdown-menu')) { | ||
| 1804 | element.closest('li.dropdown').addClass('active') | ||
| 1805 | } | ||
| 1806 | |||
| 1807 | callback && callback() | ||
| 1808 | } | ||
| 1809 | |||
| 1810 | transition ? | ||
| 1811 | $active | ||
| 1812 | .one($.support.transition.end, next) | ||
| 1813 | .emulateTransitionEnd(150) : | ||
| 1814 | next() | ||
| 1815 | |||
| 1816 | $active.removeClass('in') | ||
| 1817 | } | ||
| 1818 | |||
| 1819 | |||
| 1820 | // TAB PLUGIN DEFINITION | ||
| 1821 | // ===================== | ||
| 1822 | |||
| 1823 | var old = $.fn.tab | ||
| 1824 | |||
| 1825 | $.fn.tab = function ( option ) { | ||
| 1826 | return this.each(function () { | ||
| 1827 | var $this = $(this) | ||
| 1828 | var data = $this.data('bs.tab') | ||
| 1829 | |||
| 1830 | if (!data) $this.data('bs.tab', (data = new Tab(this))) | ||
| 1831 | if (typeof option == 'string') data[option]() | ||
| 1832 | }) | ||
| 1833 | } | ||
| 1834 | |||
| 1835 | $.fn.tab.Constructor = Tab | ||
| 1836 | |||
| 1837 | |||
| 1838 | // TAB NO CONFLICT | ||
| 1839 | // =============== | ||
| 1840 | |||
| 1841 | $.fn.tab.noConflict = function () { | ||
| 1842 | $.fn.tab = old | ||
| 1843 | return this | ||
| 1844 | } | ||
| 1845 | |||
| 1846 | |||
| 1847 | // TAB DATA-API | ||
| 1848 | // ============ | ||
| 1849 | |||
| 1850 | $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) { | ||
| 1851 | e.preventDefault() | ||
| 1852 | $(this).tab('show') | ||
| 1853 | }) | ||
| 1854 | |||
| 1855 | }(window.jQuery); | ||
| 1856 | |||
| 1857 | /* ======================================================================== | ||
| 1858 | * Bootstrap: affix.js v3.0.0 | ||
| 1859 | * http://twbs.github.com/bootstrap/javascript.html#affix | ||
| 1860 | * ======================================================================== | ||
| 1861 | * Copyright 2012 Twitter, Inc. | ||
| 1862 | * | ||
| 1863 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 1864 | * you may not use this file except in compliance with the License. | ||
| 1865 | * You may obtain a copy of the License at | ||
| 1866 | * | ||
| 1867 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 1868 | * | ||
| 1869 | * Unless required by applicable law or agreed to in writing, software | ||
| 1870 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 1871 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 1872 | * See the License for the specific language governing permissions and | ||
| 1873 | * limitations under the License. | ||
| 1874 | * ======================================================================== */ | ||
| 1875 | |||
| 1876 | |||
| 1877 | +function ($) { "use strict"; | ||
| 1878 | |||
| 1879 | // AFFIX CLASS DEFINITION | ||
| 1880 | // ====================== | ||
| 1881 | |||
| 1882 | var Affix = function (element, options) { | ||
| 1883 | this.options = $.extend({}, Affix.DEFAULTS, options) | ||
| 1884 | this.$window = $(window) | ||
| 1885 | .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this)) | ||
| 1886 | .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this)) | ||
| 1887 | |||
| 1888 | this.$element = $(element) | ||
| 1889 | this.affixed = | ||
| 1890 | this.unpin = null | ||
| 1891 | |||
| 1892 | this.checkPosition() | ||
| 1893 | } | ||
| 1894 | |||
| 1895 | Affix.RESET = 'affix affix-top affix-bottom' | ||
| 1896 | |||
| 1897 | Affix.DEFAULTS = { | ||
| 1898 | offset: 0 | ||
| 1899 | } | ||
| 1900 | |||
| 1901 | Affix.prototype.checkPositionWithEventLoop = function () { | ||
| 1902 | setTimeout($.proxy(this.checkPosition, this), 1) | ||
| 1903 | } | ||
| 1904 | |||
| 1905 | Affix.prototype.checkPosition = function () { | ||
| 1906 | if (!this.$element.is(':visible')) return | ||
| 1907 | |||
| 1908 | var scrollHeight = $(document).height() | ||
| 1909 | var scrollTop = this.$window.scrollTop() | ||
| 1910 | var position = this.$element.offset() | ||
| 1911 | var offset = this.options.offset | ||
| 1912 | var offsetTop = offset.top | ||
| 1913 | var offsetBottom = offset.bottom | ||
| 1914 | |||
| 1915 | if (typeof offset != 'object') offsetBottom = offsetTop = offset | ||
| 1916 | if (typeof offsetTop == 'function') offsetTop = offset.top() | ||
| 1917 | if (typeof offsetBottom == 'function') offsetBottom = offset.bottom() | ||
| 1918 | |||
| 1919 | var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false : | ||
| 1920 | offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' : | ||
| 1921 | offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false | ||
| 1922 | |||
| 1923 | if (this.affixed === affix) return | ||
| 1924 | if (this.unpin) this.$element.css('top', '') | ||
| 1925 | |||
| 1926 | this.affixed = affix | ||
| 1927 | this.unpin = affix == 'bottom' ? position.top - scrollTop : null | ||
| 1928 | |||
| 1929 | this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : '')) | ||
| 1930 | |||
| 1931 | if (affix == 'bottom') { | ||
| 1932 | this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() }) | ||
| 1933 | } | ||
| 1934 | } | ||
| 1935 | |||
| 1936 | |||
| 1937 | // AFFIX PLUGIN DEFINITION | ||
| 1938 | // ======================= | ||
| 1939 | |||
| 1940 | var old = $.fn.affix | ||
| 1941 | |||
| 1942 | $.fn.affix = function (option) { | ||
| 1943 | return this.each(function () { | ||
| 1944 | var $this = $(this) | ||
| 1945 | var data = $this.data('bs.affix') | ||
| 1946 | var options = typeof option == 'object' && option | ||
| 1947 | |||
| 1948 | if (!data) $this.data('bs.affix', (data = new Affix(this, options))) | ||
| 1949 | if (typeof option == 'string') data[option]() | ||
| 1950 | }) | ||
| 1951 | } | ||
| 1952 | |||
| 1953 | $.fn.affix.Constructor = Affix | ||
| 1954 | |||
| 1955 | |||
| 1956 | // AFFIX NO CONFLICT | ||
| 1957 | // ================= | ||
| 1958 | |||
| 1959 | $.fn.affix.noConflict = function () { | ||
| 1960 | $.fn.affix = old | ||
| 1961 | return this | ||
| 1962 | } | ||
| 1963 | |||
| 1964 | |||
| 1965 | // AFFIX DATA-API | ||
| 1966 | // ============== | ||
| 1967 | |||
| 1968 | $(window).on('load', function () { | ||
| 1969 | $('[data-spy="affix"]').each(function () { | ||
| 1970 | var $spy = $(this) | ||
| 1971 | var data = $spy.data() | ||
| 1972 | |||
| 1973 | data.offset = data.offset || {} | ||
| 1974 | |||
| 1975 | if (data.offsetBottom) data.offset.bottom = data.offsetBottom | ||
| 1976 | if (data.offsetTop) data.offset.top = data.offsetTop | ||
| 1977 | |||
| 1978 | $spy.affix(data) | ||
| 1979 | }) | ||
| 1980 | }) | ||
| 1981 | |||
| 1982 | }(window.jQuery); | ||
diff --git a/bitbake/lib/toaster/bldviewer/static/js/jquery-2.0.3.js b/bitbake/lib/toaster/bldviewer/static/js/jquery-2.0.3.js deleted file mode 100644 index 2be209dd22..0000000000 --- a/bitbake/lib/toaster/bldviewer/static/js/jquery-2.0.3.js +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | /*! jQuery v2.0.3 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license | ||
| 2 | //@ sourceMappingURL=jquery-2.0.3.min.map | ||
| 3 | */ | ||
| 4 | (function(e,undefined){var t,n,r=typeof undefined,i=e.location,o=e.document,s=o.documentElement,a=e.jQuery,u=e.$,l={},c=[],p="2.0.3",f=c.concat,h=c.push,d=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,x=function(e,n){return new x.fn.init(e,n,t)},b=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^-ms-/,N=/-([\da-z])/gi,E=function(e,t){return t.toUpperCase()},S=function(){o.removeEventListener("DOMContentLoaded",S,!1),e.removeEventListener("load",S,!1),x.ready()};x.fn=x.prototype={jquery:p,constructor:x,init:function(e,t,n){var r,i;if(!e)return this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:T.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),C.test(r[1])&&x.isPlainObject(t))for(r in t)x.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=o.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?n.ready(e):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return d.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[1]||{},a=2),"object"==typeof s||x.isFunction(s)||(s={}),u===a&&(s=this,--a);u>a;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],r=e[t],s!==r&&(l&&r&&(x.isPlainObject(r)||(i=x.isArray(r)))?(i?(i=!1,o=n&&x.isArray(n)?n:[]):o=n&&x.isPlainObject(n)?n:{},s[t]=x.extend(l,o,r)):r!==undefined&&(s[t]=r));return s},x.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=a),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){(e===!0?--x.readyWait:x.isReady)||(x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(o,[x]),x.fn.trigger&&x(o).trigger("ready").off("ready")))},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if("object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:JSON.parse,parseXML:function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=undefined}return(!t||t.getElementsByTagName("parsererror").length)&&x.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){var t,n=eval;e=x.trim(e),e&&(1===e.indexOf("use strict")?(t=o.createElement("script"),t.text=e,o.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(k,"ms-").replace(N,E)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,s=j(e);if(n){if(s){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(s){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:function(e){return null==e?"":v.call(e)},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:g.call(t,e,n)},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;n>i;i++)e[r++]=t[i];else while(t[i]!==undefined)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r,i=[],o=0,s=e.length;for(n=!!n;s>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,s=j(e),a=[];if(s)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(a[a.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(a[a.length]=r);return f.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),x.isFunction(e)?(r=d.call(arguments,2),i=function(){return e.apply(t||this,r.concat(d.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):undefined},access:function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===x.type(n)){i=!0;for(a in n)x.access(e,t,a,n[a],!0,o,s)}else if(r!==undefined&&(i=!0,x.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;u>a;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},now:Date.now,swap:function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=s[o];return i}}),x.ready.promise=function(t){return n||(n=x.Deferred(),"complete"===o.readyState?setTimeout(x.ready):(o.addEventListener("DOMContentLoaded",S,!1),e.addEventListener("load",S,!1))),n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function j(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}t=x(o),function(e,undefined){var t,n,r,i,o,s,a,u,l,c,p,f,h,d,g,m,y,v="sizzle"+-new Date,b=e.document,w=0,T=0,C=st(),k=st(),N=st(),E=!1,S=function(e,t){return e===t?(E=!0,0):0},j=typeof undefined,D=1<<31,A={}.hasOwnProperty,L=[],q=L.pop,H=L.push,O=L.push,F=L.slice,P=L.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",W="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",$=W.replace("w","w#"),B="\\["+M+"*("+W+")"+M+"*(?:([*^$|!~]?=)"+M+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+$+")|)|)"+M+"*\\]",I=":("+W+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+B.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=RegExp("^"+M+"*,"+M+"*"),X=RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=RegExp(M+"*[+~]"),Y=RegExp("="+M+"*([^\\]'\"]*)"+M+"*\\]","g"),V=RegExp(I),G=RegExp("^"+$+"$"),J={ID:RegExp("^#("+W+")"),CLASS:RegExp("^\\.("+W+")"),TAG:RegExp("^("+W.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:RegExp("^(?:"+R+")$","i"),needsContext:RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/^(?:input|select|textarea|button)$/i,et=/^h\d$/i,tt=/'|\\/g,nt=RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),rt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{O.apply(L=F.call(b.childNodes),b.childNodes),L[b.childNodes.length].nodeType}catch(it){O={apply:L.length?function(e,t){H.apply(e,F.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function ot(e,t,r,i){var o,s,a,u,l,f,g,m,x,w;if((t?t.ownerDocument||t:b)!==p&&c(t),t=t||p,r=r||[],!e||"string"!=typeof e)return r;if(1!==(u=t.nodeType)&&9!==u)return[];if(h&&!i){if(o=K.exec(e))if(a=o[1]){if(9===u){if(s=t.getElementById(a),!s||!s.parentNode)return r;if(s.id===a)return r.push(s),r}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(a))&&y(t,s)&&s.id===a)return r.push(s),r}else{if(o[2])return O.apply(r,t.getElementsByTagName(e)),r;if((a=o[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&(!d||!d.test(e))){if(m=g=v,x=t,w=9===u&&e,1===u&&"object"!==t.nodeName.toLowerCase()){f=gt(e),(g=t.getAttribute("id"))?m=g.replace(tt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",l=f.length;while(l--)f[l]=m+mt(f[l]);x=U.test(e)&&t.parentNode||t,w=f.join(",")}if(w)try{return O.apply(r,x.querySelectorAll(w)),r}catch(T){}finally{g||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,r,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>i.cacheLength&&delete t[e.shift()],t[n]=r}return t}function at(e){return e[v]=!0,e}function ut(e){var t=p.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),r=e.length;while(r--)i.attrHandle[n[r]]=t}function ct(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return at(function(t){return t=+t,at(function(n,r){var i,o=e([],n.length,t),s=o.length;while(s--)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}s=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},n=ot.support={},c=ot.setDocument=function(e){var t=e?e.ownerDocument||e:b,r=t.defaultView;return t!==p&&9===t.nodeType&&t.documentElement?(p=t,f=t.documentElement,h=!s(t),r&&r.attachEvent&&r!==r.top&&r.attachEvent("onbeforeunload",function(){c()}),n.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ut(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),n.getById=ut(function(e){return f.appendChild(e).id=v,!t.getElementsByName||!t.getElementsByName(v).length}),n.getById?(i.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=n.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==j?t.getElementsByTagName(e):undefined}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==j&&h?t.getElementsByClassName(e):undefined},g=[],d=[],(n.qsa=Q.test(t.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll(":checked").length||d.push(":checked")}),ut(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&d.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||d.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),d.push(",.*:")})),(n.matchesSelector=Q.test(m=f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ut(function(e){n.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",I)}),d=d.length&&RegExp(d.join("|")),g=g.length&&RegExp(g.join("|")),y=Q.test(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},S=f.compareDocumentPosition?function(e,r){if(e===r)return E=!0,0;var i=r.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(r);return i?1&i||!n.sortDetached&&r.compareDocumentPosition(e)===i?e===t||y(b,e)?-1:r===t||y(b,r)?1:l?P.call(l,e)-P.call(l,r):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,o=e.parentNode,s=n.parentNode,a=[e],u=[n];if(e===n)return E=!0,0;if(!o||!s)return e===t?-1:n===t?1:o?-1:s?1:l?P.call(l,e)-P.call(l,n):0;if(o===s)return ct(e,n);r=e;while(r=r.parentNode)a.unshift(r);r=n;while(r=r.parentNode)u.unshift(r);while(a[i]===u[i])i++;return i?ct(a[i],u[i]):a[i]===b?-1:u[i]===b?1:0},t):p},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Y,"='$1']"),!(!n.matchesSelector||!h||g&&g.test(t)||d&&d.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return ot(t,p,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},ot.attr=function(e,t){(e.ownerDocument||e)!==p&&c(e);var r=i.attrHandle[t.toLowerCase()],o=r&&A.call(i.attrHandle,t.toLowerCase())?r(e,t,!h):undefined;return o===undefined?n.attributes||!h?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null:o},ot.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,r=[],i=0,o=0;if(E=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(S),E){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return e},o=ot.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=ot.selectors={cacheLength:50,createPseudo:at,match:J,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(nt,rt),e[3]=(e[4]||e[5]||"").replace(nt,rt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return J.CHILD.test(e[0])?null:(e[3]&&e[4]!==undefined?e[2]=e[4]:n&&V.test(n)&&(t=gt(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(nt,rt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,h,d,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,y=a&&t.nodeName.toLowerCase(),x=!u&&!a;if(m){if(o){while(g){p=t;while(p=p[g])if(a?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&x){c=m[v]||(m[v]={}),l=c[e]||[],h=l[0]===w&&l[1],f=l[0]===w&&l[2],p=h&&m.childNodes[h];while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[w,h,f];break}}else if(x&&(l=(t[v]||(t[v]={}))[e])&&l[0]===w)f=l[1];else while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if((a?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(x&&((p[v]||(p[v]={}))[e]=[w,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return r[v]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var i,o=r(e,t),s=o.length;while(s--)i=P.call(e,o[s]),e[i]=!(n[i]=o[s])}):function(e){return r(e,0,n)}):r}},pseudos:{not:at(function(e){var t=[],n=[],r=a(e.replace(z,"$1"));return r[v]?at(function(e,t,n,i){var o,s=r(e,null,i,[]),a=e.length;while(a--)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:at(function(e){return G.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(nt,rt).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return et.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},i.pseudos.nth=i.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=pt(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=ft(t);function dt(){}dt.prototype=i.filters=i.pseudos,i.setFilters=new dt;function gt(e,t){var n,r,o,s,a,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);a=e,u=[],l=i.preFilter;while(a){(!n||(r=_.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),u.push(o=[])),n=!1,(r=X.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(z," ")}),a=a.slice(n.length));for(s in i.filter)!(r=J[s].exec(a))||l[s]&&!(r=l[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ot.error(e):k(e,u).slice(0)}function mt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function yt(e,t,n){var i=t.dir,o=n&&"parentNode"===i,s=T++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,a){var u,l,c,p=w+" "+s;if(a){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,a))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[v]||(t[v]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,a)||r,l[1]===!0)return!0}}function vt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,s=[],a=0,u=e.length,l=null!=t;for(;u>a;a++)(o=e[a])&&(!n||n(o,r,i))&&(s.push(o),l&&t.push(a));return s}function bt(e,t,n,r,i,o){return r&&!r[v]&&(r=bt(r)),i&&!i[v]&&(i=bt(i,o)),at(function(o,s,a,u){var l,c,p,f=[],h=[],d=s.length,g=o||Ct(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:xt(g,f,e,a,u),y=n?i||(o?e:d||r)?[]:s:m;if(n&&n(m,y,a,u),r){l=xt(y,h),r(l,[],a,u),c=l.length;while(c--)(p=l[c])&&(y[h[c]]=!(m[h[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?P.call(o,p):f[c])>-1&&(o[l]=!(s[l]=p))}}else y=xt(y===s?y.splice(d,y.length):y),i?i(null,s,y,u):O.apply(s,y)})}function wt(e){var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,c=yt(function(e){return e===t},a,!0),p=yt(function(e){return P.call(t,e)>-1},a,!0),f=[function(e,n,r){return!s&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>l;l++)if(n=i.relative[e[l].type])f=[yt(vt(f),n)];else{if(n=i.filter[e[l].type].apply(null,e[l].matches),n[v]){for(r=++l;o>r;r++)if(i.relative[e[r].type])break;return bt(l>1&&vt(f),l>1&&mt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&wt(e.slice(l,r)),o>r&&wt(e=e.slice(r)),o>r&&mt(e))}f.push(n)}return vt(f)}function Tt(e,t){var n=0,o=t.length>0,s=e.length>0,a=function(a,l,c,f,h){var d,g,m,y=[],v=0,x="0",b=a&&[],T=null!=h,C=u,k=a||s&&i.find.TAG("*",h&&l.parentNode||l),N=w+=null==C?1:Math.random()||.1;for(T&&(u=l!==p&&l,r=n);null!=(d=k[x]);x++){if(s&&d){g=0;while(m=e[g++])if(m(d,l,c)){f.push(d);break}T&&(w=N,r=++n)}o&&((d=!m&&d)&&v--,a&&b.push(d))}if(v+=x,o&&x!==v){g=0;while(m=t[g++])m(b,y,l,c);if(a){if(v>0)while(x--)b[x]||y[x]||(y[x]=q.call(f));y=xt(y)}O.apply(f,y),T&&!a&&y.length>0&&v+t.length>1&&ot.uniqueSort(f)}return T&&(w=N,u=C),b};return o?at(a):a}a=ot.compile=function(e,t){var n,r=[],i=[],o=N[e+" "];if(!o){t||(t=gt(e)),n=t.length;while(n--)o=wt(t[n]),o[v]?r.push(o):i.push(o);o=N(e,Tt(i,r))}return o};function Ct(e,t,n){var r=0,i=t.length;for(;i>r;r++)ot(e,t[r],n);return n}function kt(e,t,r,o){var s,u,l,c,p,f=gt(e);if(!o&&1===f.length){if(u=f[0]=f[0].slice(0),u.length>2&&"ID"===(l=u[0]).type&&n.getById&&9===t.nodeType&&h&&i.relative[u[1].type]){if(t=(i.find.ID(l.matches[0].replace(nt,rt),t)||[])[0],!t)return r;e=e.slice(u.shift().value.length)}s=J.needsContext.test(e)?0:u.length;while(s--){if(l=u[s],i.relative[c=l.type])break;if((p=i.find[c])&&(o=p(l.matches[0].replace(nt,rt),U.test(u[0].type)&&t.parentNode||t))){if(u.splice(s,1),e=o.length&&mt(u),!e)return O.apply(r,o),r;break}}}return a(e,f)(o,t,!h,r,U.test(e)),r}n.sortStable=v.split("").sort(S).join("")===v,n.detectDuplicates=E,c(),n.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(p.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||lt("type|href|height|width",function(e,t,n){return n?undefined:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||lt("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?undefined:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||lt(R,function(e,t,n){var r;return n?undefined:(r=e.getAttributeNode(t))&&r.specified?r.value:e[t]===!0?t.toLowerCase():null}),x.find=ot,x.expr=ot.selectors,x.expr[":"]=x.expr.pseudos,x.unique=ot.uniqueSort,x.text=ot.getText,x.isXMLDoc=ot.isXML,x.contains=ot.contains}(e);var D={};function A(e){var t=D[e]={};return x.each(e.match(w)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?D[e]||A(e):x.extend({},e);var t,n,r,i,o,s,a=[],u=!e.once&&[],l=function(p){for(t=e.memory&&p,n=!0,s=i||0,i=0,o=a.length,r=!0;a&&o>s;s++)if(a[s].apply(p[0],p[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,a&&(u?u.length&&l(u.shift()):t?a=[]:c.disable())},c={add:function(){if(a){var n=a.length;(function s(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==r&&s(n)})})(arguments),r?o=a.length:t&&(i=n,l(t))}return this},remove:function(){return a&&x.each(arguments,function(e,t){var n;while((n=x.inArray(t,a,n))>-1)a.splice(n,1),r&&(o>=n&&o--,s>=n&&s--)}),this},has:function(e){return e?x.inArray(e,a)>-1:!(!a||!a.length)},empty:function(){return a=[],o=0,this},disable:function(){return a=u=t=undefined,this},disabled:function(){return!a},lock:function(){return u=undefined,t||c.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!a||n&&!u||(t=t||[],t=[e,t.slice?t.slice():t],r?u.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var s=o[0],a=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=d.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),s=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?d.call(arguments):r,n===a?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},a,u,l;if(r>1)for(a=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(s(t,l,n)).fail(o.reject).progress(s(t,u,a)):--i;return i||o.resolveWith(l,n),o.promise()}}),x.support=function(t){var n=o.createElement("input"),r=o.createDocumentFragment(),i=o.createElement("div"),s=o.createElement("select"),a=s.appendChild(o.createElement("option"));return n.type?(n.type="checkbox",t.checkOn=""!==n.value,t.optSelected=a.selected,t.reliableMarginRight=!0,t.boxSizingReliable=!0,t.pixelPosition=!1,n.checked=!0,t.noCloneChecked=n.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!a.disabled,n=o.createElement("input"),n.value="t",n.type="radio",t.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),r.appendChild(n),t.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,t.focusinBubbles="onfocusin"in e,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===i.style.backgroundClip,x(function(){var n,r,s="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",a=o.getElementsByTagName("body")[0];a&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(i),i.innerHTML="",i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",x.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===i.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,r=i.appendChild(o.createElement("div")),r.style.cssText=i.style.cssText=s,r.style.marginRight=r.style.width="0",i.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),a.removeChild(n))}),t):t}({});var L,q,H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,O=/([A-Z])/g;function F(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=x.expando+Math.random()}F.uid=1,F.accepts=function(e){return e.nodeType?1===e.nodeType||9===e.nodeType:!0},F.prototype={key:function(e){if(!F.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=F.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,x.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(x.isEmptyObject(o))x.extend(this.cache[i],t);else for(r in t)o[r]=t[r];return o},get:function(e,t){var n=this.cache[this.key(e)];return t===undefined?n:n[t]},access:function(e,t,n){var r;return t===undefined||t&&"string"==typeof t&&n===undefined?(r=this.get(e,t),r!==undefined?r:this.get(e,x.camelCase(t))):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r,i,o=this.key(e),s=this.cache[o];if(t===undefined)this.cache[o]={};else{x.isArray(t)?r=t.concat(t.map(x.camelCase)):(i=x.camelCase(t),t in s?r=[t,i]:(r=i,r=r in s?[r]:r.match(w)||[])),n=r.length;while(n--)delete s[r[n]]}},hasData:function(e){return!x.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}},L=new F,q=new F,x.extend({acceptData:F.accepts,hasData:function(e){return L.hasData(e)||q.hasData(e)},data:function(e,t,n){return L.access(e,t,n)},removeData:function(e,t){L.remove(e,t)},_data:function(e,t,n){return q.access(e,t,n)},_removeData:function(e,t){q.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i=this[0],o=0,s=null;if(e===undefined){if(this.length&&(s=L.get(i),1===i.nodeType&&!q.get(i,"hasDataAttrs"))){for(n=i.attributes;n.length>o;o++)r=n[o].name,0===r.indexOf("data-")&&(r=x.camelCase(r.slice(5)),P(i,r,s[r]));q.set(i,"hasDataAttrs",!0)}return s}return"object"==typeof e?this.each(function(){L.set(this,e)}):x.access(this,function(t){var n,r=x.camelCase(e);if(i&&t===undefined){if(n=L.get(i,e),n!==undefined)return n;if(n=L.get(i,r),n!==undefined)return n;if(n=P(i,r,undefined),n!==undefined)return n}else this.each(function(){var n=L.get(this,r);L.set(this,r,t),-1!==e.indexOf("-")&&n!==undefined&&L.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){L.remove(this,e)})}});function P(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(O,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:H.test(n)?JSON.parse(n):n}catch(i){}L.set(e,t,n)}else n=undefined;return n}x.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=q.get(e,t),n&&(!r||x.isArray(n)?r=q.access(e,t,x.makeArray(n)):r.push(n)),r||[]):undefined},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),s=function(){x.dequeue(e,t) | ||
| 5 | };"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return q.get(e,n)||q.access(e,n,{empty:x.Callbacks("once memory").add(function(){q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),n>arguments.length?x.queue(this[0],e):t===undefined?this:this.each(function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=undefined),e=e||"fx";while(s--)n=q.get(o[s],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var R,M,W=/[\t\r\n\f]/g,$=/\r/g,B=/^(?:input|select|textarea|button)$/i;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})},addClass:function(e){var t,n,r,i,o,s=0,a=this.length,u="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,s=0,a=this.length,u=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,i=0,o=x(this),s=e.match(w)||[];while(t=s[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===r||"boolean"===n)&&(this.className&&q.set(this,"__className__",this.className),this.className=this.className||e===!1?"":q.get(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(W," ").indexOf(t)>=0)return!0;return!1},val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=x.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,x(this).val()):e,null==i?i="":"number"==typeof i?i+="":x.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,i,"value")!==undefined||(this.value=i))});if(i)return t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,"string"==typeof n?n.replace($,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,s=o?null:[],a=o?i+1:r.length,u=0>i?a:o?i:0;for(;a>u;u++)if(n=r[u],!(!n.selected&&u!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),s=i.length;while(s--)r=i[s],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===r?x.prop(e,t,n):(1===s&&x.isXMLDoc(e)||(t=t.toLowerCase(),i=x.attrHooks[t]||(x.expr.match.bool.test(t)?M:R)),n===undefined?i&&"get"in i&&null!==(o=i.get(e,t))?o:(o=x.find.attr(e,t),null==o?undefined:o):null!==n?i&&"set"in i&&(o=i.set(e,n,t))!==undefined?o:(e.setAttribute(t,n+""),n):(x.removeAttr(e,t),undefined))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return o=1!==s||!x.isXMLDoc(e),o&&(t=x.propFix[t]||t,i=x.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||B.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),M={set:function(e,t,n){return t===!1?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=x.expr.attrHandle[t]||x.find.attr;x.expr.attrHandle[t]=function(e,t,r){var i=x.expr.attrHandle[t],o=r?undefined:(x.expr.attrHandle[t]=undefined)!=n(e,t,r)?t.toLowerCase():null;return x.expr.attrHandle[t]=i,o}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){return x.isArray(t)?e.checked=x.inArray(x(e).val(),t)>=0:undefined}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var I=/^key/,z=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function U(){return!0}function Y(){return!1}function V(){try{return o.activeElement}catch(e){}}x.event={global:{},add:function(e,t,n,i,o){var s,a,u,l,c,p,f,h,d,g,m,y=q.get(e);if(y){n.handler&&(s=n,n=s.handler,o=s.selector),n.guid||(n.guid=x.guid++),(l=y.events)||(l=y.events={}),(a=y.handle)||(a=y.handle=function(e){return typeof x===r||e&&x.event.triggered===e.type?undefined:x.event.dispatch.apply(a.elem,arguments)},a.elem=e),t=(t||"").match(w)||[""],c=t.length;while(c--)u=X.exec(t[c])||[],d=m=u[1],g=(u[2]||"").split(".").sort(),d&&(f=x.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=x.event.special[d]||{},p=x.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:g.join(".")},s),(h=l[d])||(h=l[d]=[],h.delegateCount=0,f.setup&&f.setup.call(e,i,g,a)!==!1||e.addEventListener&&e.addEventListener(d,a,!1)),f.add&&(f.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,p):h.push(p),x.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,s,a,u,l,c,p,f,h,d,g,m=q.hasData(e)&&q.get(e);if(m&&(u=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(a=X.exec(t[l])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h){p=x.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,f=u[h]||[],a=a[2]&&RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;while(o--)c=f[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&p.teardown.call(e,d,m.handle)!==!1||x.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)x.event.remove(e,h+t[l],n,r,!0);x.isEmptyObject(u)&&(delete m.handle,q.remove(e,"events"))}},trigger:function(t,n,r,i){var s,a,u,l,c,p,f,h=[r||o],d=y.call(t,"type")?t.type:t,g=y.call(t,"namespace")?t.namespace.split("."):[];if(a=u=r=r||o,3!==r.nodeType&&8!==r.nodeType&&!_.test(d+x.event.triggered)&&(d.indexOf(".")>=0&&(g=d.split("."),d=g.shift(),g.sort()),c=0>d.indexOf(":")&&"on"+d,t=t[x.expando]?t:new x.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=null==n?[t]:x.makeArray(n,[t]),f=x.event.special[d]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!x.isWindow(r)){for(l=f.delegateType||d,_.test(l+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(r.ownerDocument||o)&&h.push(u.defaultView||u.parentWindow||e)}s=0;while((a=h[s++])&&!t.isPropagationStopped())t.type=s>1?l:f.bindType||d,p=(q.get(a,"events")||{})[t.type]&&q.get(a,"handle"),p&&p.apply(a,n),p=c&&a[c],p&&x.acceptData(a)&&p.apply&&p.apply(a,n)===!1&&t.preventDefault();return t.type=d,i||t.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),n)!==!1||!x.acceptData(r)||c&&x.isFunction(r[d])&&!x.isWindow(r)&&(u=r[c],u&&(r[c]=null),x.event.triggered=d,r[d](),x.event.triggered=undefined,u&&(r[c]=u)),t.result}},dispatch:function(e){e=x.event.fix(e);var t,n,r,i,o,s=[],a=d.call(arguments),u=(q.get(this,"events")||{})[e.type]||[],l=x.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),t=0;while((i=s[t++])&&!e.isPropagationStopped()){e.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,r=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),r!==undefined&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==e.type){for(r=[],n=0;a>n;n++)o=t[n],i=o.selector+" ",r[i]===undefined&&(r[i]=o.needsContext?x(i,this).index(u)>=0:x.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return t.length>a&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,s=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||o,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||s===undefined||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,s=e,a=this.fixHooks[i];a||(this.fixHooks[i]=a=z.test(i)?this.mouseHooks:I.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new x.Event(s),t=r.length;while(t--)n=r[t],e[n]=s[n];return e.target||(e.target=o),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,s):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==V()&&this.focus?(this.focus(),!1):undefined},delegateType:"focusin"},blur:{trigger:function(){return this===V()&&this.blur?(this.blur(),!1):undefined},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&x.nodeName(this,"input")?(this.click(),!1):undefined},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},x.Event=function(e,t){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.getPreventDefault&&e.getPreventDefault()?U:Y):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,undefined):new x.Event(e,t)},x.Event.prototype={isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=U,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=U,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=U,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,t,n,r,i){var o,s;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=undefined);for(s in e)this.on(s,t,n,e[s],i);return this}if(null==n&&null==r?(r=t,n=t=undefined):null==r&&("string"==typeof t?(r=n,n=undefined):(r=n,n=t,t=undefined)),r===!1)r=Y;else if(!r)return this;return 1===i&&(o=r,r=function(e){return x().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=x.guid++)),this.each(function(){x.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=undefined),n===!1&&(n=Y),this.each(function(){x.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?x.event.trigger(e,t,n,!0):undefined}});var G=/^.[^:#\[\.,]*$/,J=/^(?:parents|prev(?:Until|All))/,Q=x.expr.match.needsContext,K={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){var e=0;for(;n>e;e++)if(x.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(et(this,e||[],!0))},filter:function(e){return this.pushStack(et(this,e||[],!1))},is:function(e){return!!et(this,"string"==typeof e&&Q.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],s=Q.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(s?s.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?g.call(x(e),this[0]):g.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function Z(e,t){while((e=e[t])&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return Z(e,"nextSibling")},prev:function(e){return Z(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return e.contentDocument||x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(K[e]||x.unique(i),J.test(e)&&i.reverse()),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){var r=[],i=n!==undefined;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function et(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(G.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return g.call(t,e)>=0!==n})}var tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,nt=/<([\w:]+)/,rt=/<|&#?\w+;/,it=/<(?:script|style|link)/i,ot=/^(?:checkbox|radio)$/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^$|\/(?:java|ecma)script/i,ut=/^true\/(.*)/,lt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ct={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ct.optgroup=ct.option,ct.tbody=ct.tfoot=ct.colgroup=ct.caption=ct.thead,ct.th=ct.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===undefined?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(mt(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&dt(mt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(mt(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!it.test(e)&&!ct[(nt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(tt,"<$1></$2>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(x.cleanData(mt(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=f.apply([],e);var r,i,o,s,a,u,l=0,c=this.length,p=this,h=c-1,d=e[0],g=x.isFunction(d);if(g||!(1>=c||"string"!=typeof d||x.support.checkClone)&&st.test(d))return this.each(function(r){var i=p.eq(r);g&&(e[0]=d.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(r=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=r.firstChild,1===r.childNodes.length&&(r=i),i)){for(o=x.map(mt(r,"script"),ft),s=o.length;c>l;l++)a=r,l!==h&&(a=x.clone(a,!0,!0),s&&x.merge(o,mt(a,"script"))),t.call(this[l],a,l);if(s)for(u=o[o.length-1].ownerDocument,x.map(o,ht),l=0;s>l;l++)a=o[l],at.test(a.type||"")&&!q.access(a,"globalEval")&&x.contains(u,a)&&(a.src?x._evalUrl(a.src):x.globalEval(a.textContent.replace(lt,"")))}return this}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=[],i=x(e),o=i.length-1,s=0;for(;o>=s;s++)n=s===o?this:this.clone(!0),x(i[s])[t](n),h.apply(r,n.get());return this.pushStack(r)}}),x.extend({clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=x.contains(e.ownerDocument,e);if(!(x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(s=mt(a),o=mt(e),r=0,i=o.length;i>r;r++)yt(o[r],s[r]);if(t)if(n)for(o=o||mt(e),s=s||mt(a),r=0,i=o.length;i>r;r++)gt(o[r],s[r]);else gt(e,a);return s=mt(a,"script"),s.length>0&&dt(s,!u&&mt(e,"script")),a},buildFragment:function(e,t,n,r){var i,o,s,a,u,l,c=0,p=e.length,f=t.createDocumentFragment(),h=[];for(;p>c;c++)if(i=e[c],i||0===i)if("object"===x.type(i))x.merge(h,i.nodeType?[i]:i);else if(rt.test(i)){o=o||f.appendChild(t.createElement("div")),s=(nt.exec(i)||["",""])[1].toLowerCase(),a=ct[s]||ct._default,o.innerHTML=a[1]+i.replace(tt,"<$1></$2>")+a[2],l=a[0];while(l--)o=o.lastChild;x.merge(h,o.childNodes),o=f.firstChild,o.textContent=""}else h.push(t.createTextNode(i));f.textContent="",c=0;while(i=h[c++])if((!r||-1===x.inArray(i,r))&&(u=x.contains(i.ownerDocument,i),o=mt(f.appendChild(i),"script"),u&&dt(o),n)){l=0;while(i=o[l++])at.test(i.type||"")&&n.push(i)}return f},cleanData:function(e){var t,n,r,i,o,s,a=x.event.special,u=0;for(;(n=e[u])!==undefined;u++){if(F.accepts(n)&&(o=n[q.expando],o&&(t=q.cache[o]))){if(r=Object.keys(t.events||{}),r.length)for(s=0;(i=r[s])!==undefined;s++)a[i]?x.event.remove(n,i):x.removeEvent(n,i,t.handle);q.cache[o]&&delete q.cache[o]}delete L.cache[n[L.expando]]}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}});function pt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ft(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ht(e){var t=ut.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function dt(e,t){var n=e.length,r=0;for(;n>r;r++)q.set(e[r],"globalEval",!t||q.get(t[r],"globalEval"))}function gt(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(q.hasData(e)&&(o=q.access(e),s=q.set(t,o),l=o.events)){delete s.handle,s.events={};for(i in l)for(n=0,r=l[i].length;r>n;n++)x.event.add(t,i,l[i][n])}L.hasData(e)&&(a=L.access(e),u=x.extend({},a),L.set(t,u))}}function mt(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return t===undefined||t&&x.nodeName(e,t)?x.merge([e],n):n}function yt(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ot.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}x.fn.extend({wrapAll:function(e){var t;return x.isFunction(e)?this.each(function(t){x(this).wrapAll(e.call(this,t))}):(this[0]&&(t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var vt,xt,bt=/^(none|table(?!-c[ea]).+)/,wt=/^margin/,Tt=RegExp("^("+b+")(.*)$","i"),Ct=RegExp("^("+b+")(?!px)[a-z%]+$","i"),kt=RegExp("^([+-])=("+b+")","i"),Nt={BODY:"block"},Et={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:0,fontWeight:400},jt=["Top","Right","Bottom","Left"],Dt=["Webkit","O","Moz","ms"];function At(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Dt.length;while(i--)if(t=Dt[i]+n,t in e)return t;return r}function Lt(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function qt(t){return e.getComputedStyle(t,null)}function Ht(e,t){var n,r,i,o=[],s=0,a=e.length;for(;a>s;s++)r=e[s],r.style&&(o[s]=q.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Lt(r)&&(o[s]=q.access(r,"olddisplay",Rt(r.nodeName)))):o[s]||(i=Lt(r),(n&&"none"!==n||!i)&&q.set(r,"olddisplay",i?n:x.css(r,"display"))));for(s=0;a>s;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}x.fn.extend({css:function(e,t){return x.access(this,function(e,t,n){var r,i,o={},s=0;if(x.isArray(t)){for(r=qt(e),i=t.length;i>s;s++)o[t[s]]=x.css(e,t[s],!1,r);return o}return n!==undefined?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)},show:function(){return Ht(this,!0)},hide:function(){return Ht(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Lt(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=x.camelCase(t),u=e.style;return t=x.cssProps[a]||(x.cssProps[a]=At(u,a)),s=x.cssHooks[t]||x.cssHooks[a],n===undefined?s&&"get"in s&&(i=s.get(e,!1,r))!==undefined?i:u[t]:(o=typeof n,"string"===o&&(i=kt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(x.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||x.cssNumber[a]||(n+="px"),x.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&(n=s.set(e,n,r))===undefined||(u[t]=n)),undefined)}},css:function(e,t,n,r){var i,o,s,a=x.camelCase(t);return t=x.cssProps[a]||(x.cssProps[a]=At(e.style,a)),s=x.cssHooks[t]||x.cssHooks[a],s&&"get"in s&&(i=s.get(e,!0,n)),i===undefined&&(i=vt(e,t,r)),"normal"===i&&t in St&&(i=St[t]),""===n||n?(o=parseFloat(i),n===!0||x.isNumeric(o)?o||0:i):i}}),vt=function(e,t,n){var r,i,o,s=n||qt(e),a=s?s.getPropertyValue(t)||s[t]:undefined,u=e.style;return s&&(""!==a||x.contains(e.ownerDocument,e)||(a=x.style(e,t)),Ct.test(a)&&wt.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=s.width,u.width=r,u.minWidth=i,u.maxWidth=o)),a};function Ot(e,t,n){var r=Tt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ft(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;for(;4>o;o+=2)"margin"===n&&(s+=x.css(e,n+jt[o],!0,i)),r?("content"===n&&(s-=x.css(e,"padding"+jt[o],!0,i)),"margin"!==n&&(s-=x.css(e,"border"+jt[o]+"Width",!0,i))):(s+=x.css(e,"padding"+jt[o],!0,i),"padding"!==n&&(s+=x.css(e,"border"+jt[o]+"Width",!0,i)));return s}function Pt(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=qt(e),s=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=vt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Ct.test(i))return i;r=s&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+Ft(e,t,n||(s?"border":"content"),r,o)+"px"}function Rt(e){var t=o,n=Nt[e];return n||(n=Mt(e,t),"none"!==n&&n||(xt=(xt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(xt[0].contentWindow||xt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=Mt(e,t),xt.detach()),Nt[e]=n),n}function Mt(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&bt.test(x.css(e,"display"))?x.swap(e,Et,function(){return Pt(e,t,r)}):Pt(e,t,r):undefined},set:function(e,n,r){var i=r&&qt(e);return Ot(e,n,r?Ft(e,t,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,t){return t?x.swap(e,{display:"inline-block"},vt,[e,"marginRight"]):undefined}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,t){x.cssHooks[t]={get:function(e,n){return n?(n=vt(e,t),Ct.test(n)?x(e).position()[t]+"px":n):undefined}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+jt[r]+t]=o[r]||o[r-2]||o[0];return i}},wt.test(e)||(x.cssHooks[e+t].set=Ot)});var Wt=/%20/g,$t=/\[\]$/,Bt=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&zt.test(this.nodeName)&&!It.test(e)&&(this.checked||!ot.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(Bt,"\r\n")}}):{name:t.name,value:n.replace(Bt,"\r\n")}}).get()}}),x.param=function(e,t){var n,r=[],i=function(e,t){t=x.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===undefined&&(t=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)_t(n,e[n],t,i);return r.join("&").replace(Wt,"+")};function _t(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||$t.test(e)?r(e,i):_t(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)_t(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t) | ||
| 6 | },delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var Xt,Ut,Yt=x.now(),Vt=/\?/,Gt=/#.*$/,Jt=/([?&])_=[^&]*/,Qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Kt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Zt=/^(?:GET|HEAD)$/,en=/^\/\//,tn=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,nn=x.fn.load,rn={},on={},sn="*/".concat("*");try{Ut=i.href}catch(an){Ut=o.createElement("a"),Ut.href="",Ut=Ut.href}Xt=tn.exec(Ut.toLowerCase())||[];function un(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(w)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ln(e,t,n,r){var i={},o=e===on;function s(a){var u;return i[a]=!0,x.each(e[a]||[],function(e,a){var l=a(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):undefined:(t.dataTypes.unshift(l),s(l),!1)}),u}return s(t.dataTypes[0])||!i["*"]&&s("*")}function cn(e,t){var n,r,i=x.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,t,n){if("string"!=typeof e&&nn)return nn.apply(this,arguments);var r,i,o,s=this,a=e.indexOf(" ");return a>=0&&(r=e.slice(a),e=e.slice(0,a)),x.isFunction(t)?(n=t,t=undefined):t&&"object"==typeof t&&(i="POST"),s.length>0&&x.ajax({url:e,type:i,dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){s.each(n,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ut,type:"GET",isLocal:Kt.test(Xt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":sn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?cn(cn(e,x.ajaxSettings),t):cn(x.ajaxSettings,e)},ajaxPrefilter:un(rn),ajaxTransport:un(on),ajax:function(e,t){"object"==typeof e&&(t=e,e=undefined),t=t||{};var n,r,i,o,s,a,u,l,c=x.ajaxSetup({},t),p=c.context||c,f=c.context&&(p.nodeType||p.jquery)?x(p):x.event,h=x.Deferred(),d=x.Callbacks("once memory"),g=c.statusCode||{},m={},y={},v=0,b="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===v){if(!o){o={};while(t=Qt.exec(i))o[t[1].toLowerCase()]=t[2]}t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===v?i:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return v||(e=y[n]=y[n]||e,m[e]=t),this},overrideMimeType:function(e){return v||(c.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>v)for(t in e)g[t]=[g[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||b;return n&&n.abort(t),k(0,t),this}};if(h.promise(T).complete=d.add,T.success=T.done,T.error=T.fail,c.url=((e||c.url||Ut)+"").replace(Gt,"").replace(en,Xt[1]+"//"),c.type=t.method||t.type||c.method||c.type,c.dataTypes=x.trim(c.dataType||"*").toLowerCase().match(w)||[""],null==c.crossDomain&&(a=tn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===Xt[1]&&a[2]===Xt[2]&&(a[3]||("http:"===a[1]?"80":"443"))===(Xt[3]||("http:"===Xt[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=x.param(c.data,c.traditional)),ln(rn,c,t,T),2===v)return T;u=c.global,u&&0===x.active++&&x.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!Zt.test(c.type),r=c.url,c.hasContent||(c.data&&(r=c.url+=(Vt.test(r)?"&":"?")+c.data,delete c.data),c.cache===!1&&(c.url=Jt.test(r)?r.replace(Jt,"$1_="+Yt++):r+(Vt.test(r)?"&":"?")+"_="+Yt++)),c.ifModified&&(x.lastModified[r]&&T.setRequestHeader("If-Modified-Since",x.lastModified[r]),x.etag[r]&&T.setRequestHeader("If-None-Match",x.etag[r])),(c.data&&c.hasContent&&c.contentType!==!1||t.contentType)&&T.setRequestHeader("Content-Type",c.contentType),T.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+sn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)T.setRequestHeader(l,c.headers[l]);if(c.beforeSend&&(c.beforeSend.call(p,T,c)===!1||2===v))return T.abort();b="abort";for(l in{success:1,error:1,complete:1})T[l](c[l]);if(n=ln(on,c,t,T)){T.readyState=1,u&&f.trigger("ajaxSend",[T,c]),c.async&&c.timeout>0&&(s=setTimeout(function(){T.abort("timeout")},c.timeout));try{v=1,n.send(m,k)}catch(C){if(!(2>v))throw C;k(-1,C)}}else k(-1,"No Transport");function k(e,t,o,a){var l,m,y,b,w,C=t;2!==v&&(v=2,s&&clearTimeout(s),n=undefined,i=a||"",T.readyState=e>0?4:0,l=e>=200&&300>e||304===e,o&&(b=pn(c,T,o)),b=fn(c,b,T,l),l?(c.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(x.lastModified[r]=w),w=T.getResponseHeader("etag"),w&&(x.etag[r]=w)),204===e||"HEAD"===c.type?C="nocontent":304===e?C="notmodified":(C=b.state,m=b.data,y=b.error,l=!y)):(y=C,(e||!C)&&(C="error",0>e&&(e=0))),T.status=e,T.statusText=(t||C)+"",l?h.resolveWith(p,[m,C,T]):h.rejectWith(p,[T,C,y]),T.statusCode(g),g=undefined,u&&f.trigger(l?"ajaxSuccess":"ajaxError",[T,c,l?m:y]),d.fireWith(p,[T,C]),u&&(f.trigger("ajaxComplete",[T,c]),--x.active||x.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,undefined,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,r,i){return x.isFunction(n)&&(i=i||r,r=n,n=undefined),x.ajax({url:e,type:t,dataType:i,data:n,success:r})}});function pn(e,t,n){var r,i,o,s,a=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),r===undefined&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}return o?(o!==u[0]&&u.unshift(o),n[o]):undefined}function fn(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=l[u+" "+o]||l["* "+o],!s)for(i in l)if(a=i.split(" "),a[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){s===!0?s=l[i]:l[i]!==!0&&(o=a[0],c.unshift(a[1]));break}if(s!==!0)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(p){return{state:"parsererror",error:s?p:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=x("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),o.head.appendChild(t[0])},abort:function(){n&&n()}}}});var hn=[],dn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=hn.pop()||x.expando+"_"+Yt++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,s,a=t.jsonp!==!1&&(dn.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&dn.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=x.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(dn,"$1"+i):t.jsonp!==!1&&(t.url+=(Vt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||x.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){s=arguments},r.always(function(){e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,hn.push(i)),s&&x.isFunction(o)&&o(s[0]),s=o=undefined}),"script"):undefined}),x.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var gn=x.ajaxSettings.xhr(),mn={0:200,1223:204},yn=0,vn={};e.ActiveXObject&&x(e).on("unload",function(){for(var e in vn)vn[e]();vn=undefined}),x.support.cors=!!gn&&"withCredentials"in gn,x.support.ajax=gn=!!gn,x.ajaxTransport(function(e){var t;return x.support.cors||gn&&!e.crossDomain?{send:function(n,r){var i,o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)s[i]=e.xhrFields[i];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)s.setRequestHeader(i,n[i]);t=function(e){return function(){t&&(delete vn[o],t=s.onload=s.onerror=null,"abort"===e?s.abort():"error"===e?r(s.status||404,s.statusText):r(mn[s.status]||s.status,s.statusText,"string"==typeof s.responseText?{text:s.responseText}:undefined,s.getAllResponseHeaders()))}},s.onload=t(),s.onerror=t("error"),t=vn[o=yn++]=t("abort"),s.send(e.hasContent&&e.data||null)},abort:function(){t&&t()}}:undefined});var xn,bn,wn=/^(?:toggle|show|hide)$/,Tn=RegExp("^(?:([+-])=|)("+b+")([a-z%]*)$","i"),Cn=/queueHooks$/,kn=[An],Nn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Tn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),s=(x.cssNumber[e]||"px"!==o&&+r)&&Tn.exec(x.css(n.elem,e)),a=1,u=20;if(s&&s[3]!==o){o=o||s[3],i=i||[],s=+r||1;do a=a||".5",s/=a,x.style(n.elem,e,s+o);while(a!==(a=n.cur()/r)&&1!==a&&--u)}return i&&(s=n.start=+s||+r||0,n.unit=o,n.end=i[1]?s+(i[1]+1)*i[2]:+i[2]),n}]};function En(){return setTimeout(function(){xn=undefined}),xn=x.now()}function Sn(e,t,n){var r,i=(Nn[t]||[]).concat(Nn["*"]),o=0,s=i.length;for(;s>o;o++)if(r=i[o].call(n,t,e))return r}function jn(e,t,n){var r,i,o=0,s=kn.length,a=x.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;var t=xn||En(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,s=0,u=l.tweens.length;for(;u>s;s++)l.tweens[s].run(o);return a.notifyWith(e,[l,o,n]),1>o&&u?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:xn||En(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?a.resolveWith(e,[l,t]):a.rejectWith(e,[l,t]),this}}),c=l.props;for(Dn(c,l.opts.specialEasing);s>o;o++)if(r=kn[o].call(l,e,c,l.opts))return r;return x.map(c,Sn,l),x.isFunction(l.opts.start)&&l.opts.start.call(e,l),x.fx.timer(x.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function Dn(e,t){var n,r,i,o,s;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),s=x.cssHooks[r],s&&"expand"in s){o=s.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(jn,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Nn[n]=Nn[n]||[],Nn[n].unshift(t)},prefilter:function(e,t){t?kn.unshift(e):kn.push(e)}});function An(e,t,n){var r,i,o,s,a,u,l=this,c={},p=e.style,f=e.nodeType&&Lt(e),h=q.get(e,"fxshow");n.queue||(a=x._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,l.always(function(){l.always(function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",l.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],wn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show")){if("show"!==i||!h||h[r]===undefined)continue;f=!0}c[r]=h&&h[r]||x.style(e,r)}if(!x.isEmptyObject(c)){h?"hidden"in h&&(f=h.hidden):h=q.access(e,"fxshow",{}),o&&(h.hidden=!f),f?x(e).show():l.done(function(){x(e).hide()}),l.done(function(){var t;q.remove(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)s=Sn(f?h[r]:0,r,l),r in h||(h[r]=s.start,f&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}}function Ln(e,t,n,r,i){return new Ln.prototype.init(e,t,n,r,i)}x.Tween=Ln,Ln.prototype={constructor:Ln,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=Ln.propHooks[this.prop];return e&&e.get?e.get(this):Ln.propHooks._default.get(this)},run:function(e){var t,n=Ln.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ln.propHooks._default.set(this),this}},Ln.prototype.init.prototype=Ln.prototype,Ln.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ln.propHooks.scrollTop=Ln.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(qn(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Lt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),s=function(){var t=jn(this,x.extend({},e),o);(i||q.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=undefined),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=x.timers,s=q.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&Cn.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=q.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,s=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;s>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function qn(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=jt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:qn("show"),slideUp:qn("hide"),slideToggle:qn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=Ln.prototype.init,x.fx.tick=function(){var e,t=x.timers,n=0;for(xn=x.now();t.length>n;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||x.fx.stop(),xn=undefined},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){bn||(bn=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(bn),bn=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===undefined?this:this.each(function(t){x.offset.setOffset(this,e,t)});var t,n,i=this[0],o={top:0,left:0},s=i&&i.ownerDocument;if(s)return t=s.documentElement,x.contains(t,i)?(typeof i.getBoundingClientRect!==r&&(o=i.getBoundingClientRect()),n=Hn(s),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o},x.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,l,c=x.css(e,"position"),p=x(e),f={};"static"===c&&(e.style.position="relative"),a=p.offset(),o=x.css(e,"top"),u=x.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=p.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),x.isFunction(t)&&(t=t.call(e,n,a)),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+i),"using"in t?t.using.call(e,f):p.css(f)}},x.fn.extend({position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===x.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(r=e.offset()),r.top+=x.css(e[0],"borderTopWidth",!0),r.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-x.css(n,"marginTop",!0),left:t.left-r.left-x.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var r="pageYOffset"===n;x.fn[t]=function(i){return x.access(this,function(t,i,o){var s=Hn(t);return o===undefined?s?s[n]:t[i]:(s?s.scrollTo(r?e.pageXOffset:o,r?o:e.pageYOffset):t[i]=o,undefined)},t,i,arguments.length,null)}});function Hn(e){return x.isWindow(e)?e:9===e.nodeType&&e.defaultView}x.each({Height:"height",Width:"width"},function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){x.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),s=n||(r===!0||i===!0?"margin":"border");return x.access(this,function(t,n,r){var i;return x.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):r===undefined?x.css(t,n,s):x.style(t,n,r,s)},t,o?r:undefined,o,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}),"object"==typeof e&&"object"==typeof e.document&&(e.jQuery=e.$=x)})(window); | ||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_base.html b/bitbake/lib/toaster/bldviewer/templates/simple_base.html deleted file mode 100644 index 2d63dcdd10..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_base.html +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | {% load static %} | ||
| 3 | <html> | ||
| 4 | <head> | ||
| 5 | <title>Toaster Simple Explorer</title> | ||
| 6 | <script src="{% static 'js/jquery-2.0.3.js' %}"> | ||
| 7 | </script> | ||
| 8 | <script src="{% static 'js/bootstrap.js' %}"> | ||
| 9 | </script> | ||
| 10 | <link href="{% static 'css/bootstrap.css' %}" rel="stylesheet" type="text/css"> | ||
| 11 | </head> | ||
| 12 | |||
| 13 | <body style="height: 100%"> | ||
| 14 | <div style="width:100%; height: 100%; position:absolute"> | ||
| 15 | <div style="width: 100%; height: 3em" class="nav"> | ||
| 16 | <ul class="nav nav-tabs"> | ||
| 17 | <li><a href="{% url "simple-all-builds" %}">All Builds</a></li> | ||
| 18 | <li><a href="{% url "simple-all-layers" %}">All Layers</a></li> | ||
| 19 | </ul> | ||
| 20 | </div> | ||
| 21 | |||
| 22 | <div style="overflow-y:scroll; width: 100%; position: absolute; top: 3em; bottom:70px "> | ||
| 23 | {% block pagecontent %} | ||
| 24 | {% endblock %} | ||
| 25 | </div> | ||
| 26 | <div class="navbar" style="position: absolute; bottom: 0; width:100%"><br/>About Toaster | Yocto Project </div> | ||
| 27 | </div> | ||
| 28 | </body> | ||
| 29 | </html> | ||
| 30 | |||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_basebuildpage.html b/bitbake/lib/toaster/bldviewer/templates/simple_basebuildpage.html deleted file mode 100644 index 6cdc31d198..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_basebuildpage.html +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | {% extends "simple_basetable.html" %} | ||
| 2 | |||
| 3 | {% block pagename %} | ||
| 4 | <ul class="nav nav-tabs" style="display: inline-block"> | ||
| 5 | <li><a>Build {{build.target_set.all|join:" "}} at {{build.started_on}} : </a></li> | ||
| 6 | <li><a href="{% url "simple-task" build.id %}"> Tasks </a></li> | ||
| 7 | <li><a href="{% url "simple-bpackage" build.id %}"> Build Packages </a></li> | ||
| 8 | {% for t in build.target_set.all %} | ||
| 9 | {% if t.is_image %} | ||
| 10 | <li><a href="{% url "simple-tpackage" build.id t.pk %}"> Packages for {{t.target}} </a> </li> | ||
| 11 | {% endif %} | ||
| 12 | {% endfor %} | ||
| 13 | <li><a href="{% url "simple-configuration" build.id %}"> Configuration </a> </li> | ||
| 14 | </ul> | ||
| 15 | <h1>Toaster - Build {% block pagetitle %} {% endblock %}</h1> | ||
| 16 | {% endblock %} | ||
| 17 | |||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_basetable.html b/bitbake/lib/toaster/bldviewer/templates/simple_basetable.html deleted file mode 100644 index 762d78629c..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_basetable.html +++ /dev/null | |||
| @@ -1,64 +0,0 @@ | |||
| 1 | {% extends "simple_base.html" %} | ||
| 2 | |||
| 3 | {% block pagecontent %} | ||
| 4 | <script> | ||
| 5 | function showhideTableColumn(i, sh) { | ||
| 6 | if (sh) | ||
| 7 | $('td:nth-child('+i+'),th:nth-child('+i+')').show(); | ||
| 8 | else | ||
| 9 | $('td:nth-child('+i+'),th:nth-child('+i+')').hide(); | ||
| 10 | } | ||
| 11 | |||
| 12 | |||
| 13 | function filterTableRows(test) { | ||
| 14 | if (test.length > 0) { | ||
| 15 | var r = test.split(/[ ,]+/).map(function (e) { return new RegExp(e, 'i') }); | ||
| 16 | $('tr.data').map( function (i, el) { | ||
| 17 | (! r.map(function (j) { return j.test($(el).html())}).reduce(function (c, p) { return c && p;} )) ? $(el).hide() : $(el).show(); | ||
| 18 | }); | ||
| 19 | } else | ||
| 20 | { | ||
| 21 | $('tr.data').show(); | ||
| 22 | } | ||
| 23 | } | ||
| 24 | </script> | ||
| 25 | <div style="margin-bottom: 0.5em"> | ||
| 26 | |||
| 27 | {% block pagename %} | ||
| 28 | {% endblock %} | ||
| 29 | <div align="left" style="display:inline-block; width: 40%; margin-left: 2em"> Filter: <input type="search" id="filterstring" style="width: 80%" onkeyup="filterTableRows($('#filterstring').val())" autocomplete="off"> | ||
| 30 | </div> | ||
| 31 | {% if hideshowcols %} | ||
| 32 | <div align="right" style="display: inline-block; width: 40%">Show/Hide columns: | ||
| 33 | {% for i in hideshowcols %} | ||
| 34 | <span>{{i.name}} <input type="checkbox" id="ct{{i.name}}" onchange="showhideTableColumn({{i.order}}, $('#ct{{i.name}}').is(':checked'))" checked autocomplete="off"></span> | | ||
| 35 | {% endfor %} | ||
| 36 | </div> | ||
| 37 | {% endif %} | ||
| 38 | </div> | ||
| 39 | |||
| 40 | <div style="display: block; float:right; margin-left: auto; margin-right:5em"><span class="pagination" style="vertical-align: top; margin-right: 3em">Showing {{objects.start_index}} to {{objects.end_index}} out of {{objects.paginator.count}} entries. </span> | ||
| 41 | <ul class="pagination" style="display: block-inline"> | ||
| 42 | {%if objects.has_previous %} | ||
| 43 | <li><a href="?page={{objects.previous_page_number}}">«</a></li> | ||
| 44 | {%else%} | ||
| 45 | <li class="disabled"><a href="#">«</a></li> | ||
| 46 | {%endif%} | ||
| 47 | {% for i in objects.page_range %} | ||
| 48 | <li{%if i == objects.number %} class="active" {%endif%}><a href="?page={{i}}">{{i}}</a></li> | ||
| 49 | {% endfor %} | ||
| 50 | {%if objects.has_next%} | ||
| 51 | <li><a href="?page={{objects.next_page_number}}">»</a></li> | ||
| 52 | {%else%} | ||
| 53 | <li class="disabled"><a href="#">»</a></li> | ||
| 54 | {%endif%} | ||
| 55 | </ul> | ||
| 56 | </div> | ||
| 57 | |||
| 58 | <table class="table table-striped table-condensed" style="width:95%"> | ||
| 59 | {% block pagetable %} | ||
| 60 | {% endblock %} | ||
| 61 | </table> | ||
| 62 | </div> | ||
| 63 | |||
| 64 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_bfile.html b/bitbake/lib/toaster/bldviewer/templates/simple_bfile.html deleted file mode 100644 index cd1e553508..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_bfile.html +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | {% extends "simple_basebuildpage.html" %} | ||
| 2 | |||
| 3 | {% block pagetitle %}Files for package {{objects.0.bpackage.name}} {% endblock %} | ||
| 4 | {% block pagetable %} | ||
| 5 | {% if not objects %} | ||
| 6 | <p>No files were recorded for this package!</p> | ||
| 7 | {% else %} | ||
| 8 | |||
| 9 | <tr> | ||
| 10 | <th>Name</th> | ||
| 11 | <th>Size (Bytes)</th> | ||
| 12 | </tr> | ||
| 13 | |||
| 14 | {% for file in objects %} | ||
| 15 | |||
| 16 | <tr class="data"> | ||
| 17 | <td>{{file.path}}</td> | ||
| 18 | <td>{{file.size}}</td> | ||
| 19 | |||
| 20 | {% endfor %} | ||
| 21 | |||
| 22 | {% endif %} | ||
| 23 | |||
| 24 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_bpackage.html b/bitbake/lib/toaster/bldviewer/templates/simple_bpackage.html deleted file mode 100644 index b7892f860a..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_bpackage.html +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | {% extends "simple_basebuildpage.html" %} | ||
| 2 | |||
| 3 | {% block pagetitle %}Packages{% endblock %} | ||
| 4 | {% block pagetable %} | ||
| 5 | {% if not objects %} | ||
| 6 | <p>No packages were recorded for this target!</p> | ||
| 7 | {% else %} | ||
| 8 | |||
| 9 | <tr> | ||
| 10 | <th>Name</th> | ||
| 11 | <th>Version</th> | ||
| 12 | <th>Recipe</th> | ||
| 13 | <th>Summary</th> | ||
| 14 | <th>Section</th> | ||
| 15 | <th>Description</th> | ||
| 16 | <th>Size on host disk (Bytes)</th> | ||
| 17 | <th>License</th> | ||
| 18 | <th>Dependencies List (all)</th> | ||
| 19 | </tr> | ||
| 20 | |||
| 21 | {% for package in objects %} | ||
| 22 | |||
| 23 | <tr class="data"> | ||
| 24 | <td><a name="#{{package.name}}" href="{% url "simple-bfile" build.pk package.pk %}">{{package.name}} ({{package.filelist_bpackage.count}} files)</a></td> | ||
| 25 | <td>{{package.version}}-{{package.revision}}</td> | ||
| 26 | <td>{%if package.recipe%}<a href="{% url "simple-layer_versions_recipes" package.recipe.layer_version_id %}#{{package.recipe.name}}">{{package.recipe.name}}</a>{{package.package_name}}</a>{%endif%}</td> | ||
| 27 | |||
| 28 | <td>{{package.summary}}</td> | ||
| 29 | <td>{{package.section}}</td> | ||
| 30 | <td>{{package.description}}</td> | ||
| 31 | <td>{{package.size}}</td> | ||
| 32 | <td>{{package.license}}</td> | ||
| 33 | <td> | ||
| 34 | <div style="height: 3em; overflow:auto"> | ||
| 35 | {% for bpd in package.package_dependencies_source.all %} | ||
| 36 | {{bpd.dep_type}}: {{bpd.depends_on.name}} <br/> | ||
| 37 | {% endfor %} | ||
| 38 | </div> | ||
| 39 | </td> | ||
| 40 | {% endfor %} | ||
| 41 | |||
| 42 | {% endif %} | ||
| 43 | |||
| 44 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_build.html b/bitbake/lib/toaster/bldviewer/templates/simple_build.html deleted file mode 100644 index 230e7c21ca..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_build.html +++ /dev/null | |||
| @@ -1,43 +0,0 @@ | |||
| 1 | {% extends "simple_basetable.html" %} | ||
| 2 | |||
| 3 | {% block pagename %} | ||
| 4 | <h1>Toaster - Builds</h1> | ||
| 5 | {% endblock %} | ||
| 6 | |||
| 7 | {% block pagetable %} | ||
| 8 | |||
| 9 | {% load simple_projecttags %} | ||
| 10 | <tr> | ||
| 11 | <th>Outcome</th> | ||
| 12 | <th>Started On</th> | ||
| 13 | <th>Completed On</th> | ||
| 14 | <th>Target</th> | ||
| 15 | <th>Machine</th> | ||
| 16 | <th>Time</th> | ||
| 17 | <th>Errors</th> | ||
| 18 | <th>Warnings</th> | ||
| 19 | <th>Output</th> | ||
| 20 | <th>Log</th> | ||
| 21 | <th>Bitbake Version</th> | ||
| 22 | <th>Build Name</th> | ||
| 23 | </tr> | ||
| 24 | {% for build in objects %} | ||
| 25 | <tr class="data"> | ||
| 26 | <td><a href="{% url "simple-configuration" build.id %}">{{build.get_outcome_display}}</a></td> | ||
| 27 | <td>{{build.started_on}}</td> | ||
| 28 | <td>{{build.completed_on}}</td> | ||
| 29 | <td>{% for t in build.target_set.all %}{%if t.is_image %}<a href="{% url "simple-tpackage" build.id t.id %}">{% endif %}{{t.target}}{% if t.is_image %}</a>{% endif %}<br/>{% endfor %}</td> | ||
| 30 | <td>{{build.machine}}</td> | ||
| 31 | <td>{% time_difference build.started_on build.completed_on %}</td> | ||
| 32 | <td>{{build.errors_no}}:{% if build.errors_no %}{% for error in logs %}{% if error.build == build %}{% if error.level == 2 %}<p>{{error.message}}</p>{% endif %}{% endif %}{% endfor %}{% else %}None{% endif %}</td> | ||
| 33 | <td>{{build.warnings_no}}:{% if build.warnings_no %}{% for warning in logs %}{% if warning.build == build %}{% if warning.level == 1 %}<p>{{warning.message}}</p>{% endif %}{% endif %}{% endfor %}{% else %}None{% endif %}</td> | ||
| 34 | <td>TBD: determine image file list</td> | ||
| 35 | <td>{{build.cooker_log_path}}</td> | ||
| 36 | <td>{{build.bitbake_version}}</td> | ||
| 37 | <td>{{build.build_name}}</td> | ||
| 38 | </tr> | ||
| 39 | |||
| 40 | {% endfor %} | ||
| 41 | {% endblock %} | ||
| 42 | |||
| 43 | |||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_configuration.html b/bitbake/lib/toaster/bldviewer/templates/simple_configuration.html deleted file mode 100644 index c5fe20d82e..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_configuration.html +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | {% extends "simple_basebuildpage.html" %} | ||
| 2 | |||
| 3 | {% block pagetitle %}Configuration{% endblock %} | ||
| 4 | {% block pagetable %} | ||
| 5 | |||
| 6 | <tr> | ||
| 7 | <th>Name</th> | ||
| 8 | <th>Description</th> | ||
| 9 | <th>Definition history</th> | ||
| 10 | <th>Value</th> | ||
| 11 | </tr> | ||
| 12 | |||
| 13 | {% for variable in objects %} | ||
| 14 | |||
| 15 | <tr class="data"> | ||
| 16 | <td>{{variable.variable_name}}</td> | ||
| 17 | <td>{% if variable.description %}{{variable.description}}{% endif %}</td> | ||
| 18 | <td>{% for vh in variable.variablehistory_set.all %}{{vh.operation}} in {{vh.file_name}}:{{vh.line_number}}<br/>{%endfor%}</td> | ||
| 19 | <td>{{variable.variable_value}}</td> | ||
| 20 | {% endfor %} | ||
| 21 | |||
| 22 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_layer.html b/bitbake/lib/toaster/bldviewer/templates/simple_layer.html deleted file mode 100644 index 25e7bf818e..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_layer.html +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | {% extends "simple_basetable.html" %} | ||
| 2 | |||
| 3 | {% block pagename %} | ||
| 4 | <h1>Toaster - Layers</h1> | ||
| 5 | {% endblock %} | ||
| 6 | |||
| 7 | {% block pagetable %} | ||
| 8 | {% load simple_projecttags %} | ||
| 9 | |||
| 10 | <tr> | ||
| 11 | <th>Name</th> | ||
| 12 | <th>Local Path</th> | ||
| 13 | <th>Layer Index URL</th> | ||
| 14 | <th>Known Versions</th> | ||
| 15 | </tr> | ||
| 16 | |||
| 17 | {% for layer in objects %} | ||
| 18 | |||
| 19 | <tr class="data"> | ||
| 20 | <td>{{layer.name}}</td> | ||
| 21 | <td>{{layer.local_path}}</td> | ||
| 22 | <td><a href='{{layer.layer_index_url}}'>{{layer.layer_index_url}}</a></td> | ||
| 23 | <td><table> | ||
| 24 | {% for lv in layer.versions %} | ||
| 25 | <tr><td> | ||
| 26 | <a href="{% url "simple-layer_versions_recipes" lv.id %}">({{lv.priority}}){{lv.branch}}:{{lv.commit}} ({{lv.count}} recipes)</a> | ||
| 27 | </td></tr> | ||
| 28 | {% endfor %} | ||
| 29 | </table></td> | ||
| 30 | </tr> | ||
| 31 | |||
| 32 | {% endfor %} | ||
| 33 | |||
| 34 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_package.html b/bitbake/lib/toaster/bldviewer/templates/simple_package.html deleted file mode 100644 index 2ac5d6616c..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_package.html +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | {% extends "simple_basebuildpage.html" %} | ||
| 2 | |||
| 3 | {% block pagetable %} | ||
| 4 | {% if not objects %} | ||
| 5 | <p>No packages were recorded for this target!</p> | ||
| 6 | {% else %} | ||
| 7 | |||
| 8 | <tr> | ||
| 9 | <th>Name</th> | ||
| 10 | <th>Version</th> | ||
| 11 | <th>Size (Bytes)</th> | ||
| 12 | <th>Recipe</th> | ||
| 13 | <th>Depends on</th> | ||
| 14 | </tr> | ||
| 15 | |||
| 16 | {% for package in objects %} | ||
| 17 | |||
| 18 | <tr class="data"> | ||
| 19 | <td><a name="#{{package.name}}">{{package.name}}</a></td> | ||
| 20 | <td>{{package.version}}</td> | ||
| 21 | <td>{{package.size}}</td> | ||
| 22 | <td>{%if package.recipe %}<a name="{{package.recipe.name}}.{{package.package_name}}"> | ||
| 23 | <a href="{% url "simple-layer_versions_recipes" package.recipe.layer_version_id %}#{{package.recipe.name}}">{{package.recipe.name}}</a>{{package.package_name}}</a>{%endif%}</td> | ||
| 24 | <td> | ||
| 25 | <div style="height: 4em; overflow:auto"> | ||
| 26 | {% for d in package.package_dependencies_source.all %} | ||
| 27 | <a href="#{{d.name}}">{{d.depends_on.name}}</a><br/> | ||
| 28 | {% endfor %} | ||
| 29 | </div> | ||
| 30 | </td> | ||
| 31 | |||
| 32 | {% endfor %} | ||
| 33 | |||
| 34 | {% endif %} | ||
| 35 | |||
| 36 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_recipe.html b/bitbake/lib/toaster/bldviewer/templates/simple_recipe.html deleted file mode 100644 index 3bff3b9a25..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_recipe.html +++ /dev/null | |||
| @@ -1,50 +0,0 @@ | |||
| 1 | {% extends "simple_basetable.html" %} | ||
| 2 | |||
| 3 | {% block pagename %} | ||
| 4 | <ul class="nav nav-tabs" style="display: inline-block"> | ||
| 5 | <li><a>Layer {{layer_version.layer.name}} : {{layer_version.branch}} : {{layer_version.commit}} : {{layer_version.priority}}</a></li> | ||
| 6 | </ul> | ||
| 7 | <h1>Toaster - Recipes for a Layer</h1> | ||
| 8 | {% endblock %} | ||
| 9 | |||
| 10 | {% block pagetable %} | ||
| 11 | {% load simple_projecttags %} | ||
| 12 | |||
| 13 | <tr> | ||
| 14 | </tr> | ||
| 15 | <th>Name</th> | ||
| 16 | <th>Version</th> | ||
| 17 | <th>Summary</th> | ||
| 18 | <th>Description</th> | ||
| 19 | <th>Section</th> | ||
| 20 | <th>License</th> | ||
| 21 | <th>Homepage</th> | ||
| 22 | <th>Bugtracker</th> | ||
| 23 | <th>File_path</th> | ||
| 24 | <th style="width: 30em">Recipe Dependency</th> | ||
| 25 | |||
| 26 | |||
| 27 | {% for recipe in objects %} | ||
| 28 | |||
| 29 | <tr class="data"> | ||
| 30 | <td><a name="{{recipe.name}}">{{recipe.name}}</a></td> | ||
| 31 | <td>{{recipe.version}}</td> | ||
| 32 | <td>{{recipe.summary}}</td> | ||
| 33 | <td>{{recipe.description}}</td> | ||
| 34 | <td>{{recipe.section}}</td> | ||
| 35 | <td>{{recipe.license}}</td> | ||
| 36 | <td>{{recipe.homepage}}</td> | ||
| 37 | <td>{{recipe.bugtracker}}</td> | ||
| 38 | <td>{{recipe.file_path}}</td> | ||
| 39 | <td> | ||
| 40 | <div style="height: 5em; overflow:auto"> | ||
| 41 | {% for rr in recipe.r_dependencies_recipe.all %} | ||
| 42 | <a href="#{{rr.depends_on.name}}">{{rr.depends_on.name}}</a><br/> | ||
| 43 | {% endfor %} | ||
| 44 | </div> | ||
| 45 | </td> | ||
| 46 | </tr> | ||
| 47 | |||
| 48 | {% endfor %} | ||
| 49 | |||
| 50 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_task.html b/bitbake/lib/toaster/bldviewer/templates/simple_task.html deleted file mode 100644 index a5ed5295ea..0000000000 --- a/bitbake/lib/toaster/bldviewer/templates/simple_task.html +++ /dev/null | |||
| @@ -1,71 +0,0 @@ | |||
| 1 | {% extends "simple_basebuildpage.html" %} | ||
| 2 | |||
| 3 | {% block pagetitle %}Tasks{% endblock %} | ||
| 4 | {% block pagetable %} | ||
| 5 | {% if not objects %} | ||
| 6 | <p>No tasks were executed in this build!</p> | ||
| 7 | {% else %} | ||
| 8 | |||
| 9 | <tr> | ||
| 10 | <th>Order</th> | ||
| 11 | <th>Task</th> | ||
| 12 | <th>Recipe Version</th> | ||
| 13 | <th>Task Type</th> | ||
| 14 | <th>Checksum</th> | ||
| 15 | <th>Outcome</th> | ||
| 16 | <th>Message</th> | ||
| 17 | <th>Time</th> | ||
| 18 | <th>CPU usage</th> | ||
| 19 | <th>Disk I/O</th> | ||
| 20 | <th>Script type</th> | ||
| 21 | <th>Filesystem</th> | ||
| 22 | <th>Depends</th> | ||
| 23 | </tr> | ||
| 24 | |||
| 25 | {% for task in objects %} | ||
| 26 | |||
| 27 | <tr class="data"> | ||
| 28 | <td>{{task.order}}</td> | ||
| 29 | <td><a name="{{task.recipe.name}}.{{task.task_name}}"> | ||
| 30 | <a href="{% url "simple-layer_versions_recipes" task.recipe.layer_version_id %}#{{task.recipe.name}}">{{task.recipe.name}}</a>.{{task.task_name}}</a></td> | ||
| 31 | <td>{{task.recipe.version}}</td> | ||
| 32 | |||
| 33 | {% if task.task_executed %} | ||
| 34 | <td>Executed</td> | ||
| 35 | {% else %} | ||
| 36 | <td>Not Executed</td> | ||
| 37 | {% endif %} | ||
| 38 | |||
| 39 | <td>{{task.sstate_checksum}}</td> | ||
| 40 | <td>{{task.get_outcome_display}}{% if task.provider %}</br>(by <a href="#{{task.provider.recipe.name}}.{{task.provider.task_name}}">{{task.provider.recipe.name}}.{{task.provider.task_name}}</a>){% endif %} | ||
| 41 | {% if task.outcome == task.OUTCOME_CACHED %}{% for t in task.get_related_setscene %} | ||
| 42 | <br/>({{t.task_name}} {{t.get_outcome_display}}) | ||
| 43 | {% endfor %}{%endif%} | ||
| 44 | </td> | ||
| 45 | <td><p>{{task.message}}</td> | ||
| 46 | <td>{{task.elapsed_time}}</td> | ||
| 47 | <td>{{task.cpu_usage}}</td> | ||
| 48 | <td>{{task.disk_io}}</td> | ||
| 49 | <td>{{task.get_script_type_display}}</td> | ||
| 50 | <td> <table> | ||
| 51 | <tr><td> Recipe</td><td><a target="_fileview" href="file:///{{task.recipe.file_path}}">{{task.recipe.file_path}}</a></td></tr> | ||
| 52 | <tr><td> Source</td><td><a target="_fileview" href="file:///{{task.file_name}}">{{task.file_name}}:{{task.line_number}}</a></td></tr> | ||
| 53 | <tr><td> Workdir</td><td><a target="_fileview" href="file:///{{task.work_directory}}">{{task.work_directory}}</a></td></tr> | ||
| 54 | <tr><td> Log</td><td><a target="_fileview" href="file:///{{task.logfile}}">{{task.logfile}}</a><br/></td></tr> | ||
| 55 | </table> | ||
| 56 | </td> | ||
| 57 | <td> | ||
| 58 | <div style="height: 3em; overflow:auto"> | ||
| 59 | {% for tt in task.task_dependencies_task.all %} | ||
| 60 | <a href="#{{tt.depends_on.recipe.name}}.{{tt.depends_on.task_name}}"> | ||
| 61 | {{tt.depends_on.recipe.name}}.{{tt.depends_on.task_name}}</a><br/> | ||
| 62 | {% endfor %} | ||
| 63 | </div> | ||
| 64 | </td> | ||
| 65 | </tr> | ||
| 66 | |||
| 67 | {% endfor %} | ||
| 68 | |||
| 69 | {% endif %} | ||
| 70 | |||
| 71 | {% endblock %} | ||
diff --git a/bitbake/lib/toaster/bldviewer/templatetags/__init__.py b/bitbake/lib/toaster/bldviewer/templatetags/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 --- a/bitbake/lib/toaster/bldviewer/templatetags/__init__.py +++ /dev/null | |||
diff --git a/bitbake/lib/toaster/bldviewer/templatetags/simple_projecttags.py b/bitbake/lib/toaster/bldviewer/templatetags/simple_projecttags.py deleted file mode 100644 index 1b8953c69d..0000000000 --- a/bitbake/lib/toaster/bldviewer/templatetags/simple_projecttags.py +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | # | ||
| 2 | # ex:ts=4:sw=4:sts=4:et | ||
| 3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
| 4 | # | ||
| 5 | # BitBake Toaster Implementation | ||
| 6 | # | ||
| 7 | # Copyright (C) 2013 Intel Corporation | ||
| 8 | # | ||
| 9 | # This program is free software; you can redistribute it and/or modify | ||
| 10 | # it under the terms of the GNU General Public License version 2 as | ||
| 11 | # published by the Free Software Foundation. | ||
| 12 | # | ||
| 13 | # This program is distributed in the hope that it will be useful, | ||
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | # GNU General Public License for more details. | ||
| 17 | # | ||
| 18 | # You should have received a copy of the GNU General Public License along | ||
| 19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
| 20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 21 | |||
| 22 | from datetime import datetime | ||
| 23 | from django import template | ||
| 24 | |||
| 25 | register = template.Library() | ||
| 26 | |||
| 27 | @register.simple_tag | ||
| 28 | def time_difference(start_time, end_time): | ||
| 29 | return end_time - start_time | ||
diff --git a/bitbake/lib/toaster/bldviewer/tests.py b/bitbake/lib/toaster/bldviewer/tests.py deleted file mode 100644 index 5be0b8bb9e..0000000000 --- a/bitbake/lib/toaster/bldviewer/tests.py +++ /dev/null | |||
| @@ -1,345 +0,0 @@ | |||
| 1 | """ | ||
| 2 | This file demonstrates writing tests using the unittest module. These will pass | ||
| 3 | when you run "manage.py test". | ||
| 4 | |||
| 5 | Replace this with more appropriate tests for your application. | ||
| 6 | """ | ||
| 7 | from django.test import TestCase | ||
| 8 | from django.test.client import Client | ||
| 9 | from django.db.models import Count, Q | ||
| 10 | from orm.models import Target, Recipe, Recipe_Dependency, Layer_Version, Target_Installed_Package | ||
| 11 | from orm.models import Build, Task, Layer, Package, Package_File, LogMessage, Variable, VariableHistory | ||
| 12 | import json, os, re, urllib, shlex | ||
| 13 | |||
| 14 | |||
| 15 | class Tests(TestCase): | ||
| 16 | # fixtures = ['orm_views_testdata.json'] | ||
| 17 | |||
| 18 | def setUp(self): | ||
| 19 | raise Exception("The %s test data is not longer valid, tests disabled" % __name__) | ||
| 20 | |||
| 21 | def test_builds(self): | ||
| 22 | client = Client() | ||
| 23 | resp = client.get('http://localhost:8000/api/1.0/builds') | ||
| 24 | self.assertEqual(resp.status_code, 200) | ||
| 25 | response = json.loads(resp.content) | ||
| 26 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 27 | for item in json.loads(response['list']): | ||
| 28 | fields = item['fields'] | ||
| 29 | self.assertTrue(fields["machine"] == "qemux86") | ||
| 30 | self.assertTrue(fields["distro"] == "poky") | ||
| 31 | self.assertTrue(fields["image_fstypes"] == "tar.bz2 ext3") | ||
| 32 | self.assertTrue(fields["bitbake_version"] == "1.21.1") | ||
| 33 | self.assertTrue("1.5+snapshot-" in fields["distro_version"]) | ||
| 34 | self.assertEqual(fields["outcome"], 0) | ||
| 35 | self.assertEqual(fields["errors_no"], 0) | ||
| 36 | log_path = "/tmp/log/cooker/qemux86/" | ||
| 37 | self.assertTrue(log_path in fields["cooker_log_path"]) | ||
| 38 | self.assertTrue(".log" in fields["cooker_log_path"]) | ||
| 39 | |||
| 40 | def test_targets(self): | ||
| 41 | client = Client() | ||
| 42 | resp = client.get('http://localhost:8000/api/1.0/targets') | ||
| 43 | self.assertEqual(resp.status_code, 200) | ||
| 44 | response = json.loads(resp.content) | ||
| 45 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 46 | for item in json.loads(response['list']): | ||
| 47 | fields = item['fields'] | ||
| 48 | self.assertTrue(fields["is_image"] == True) | ||
| 49 | self.assertTrue(fields["target"] == "core-image-minimal") | ||
| 50 | |||
| 51 | def test_tasks(self): | ||
| 52 | client = Client() | ||
| 53 | resp = client.get('http://localhost:8000/api/1.0/tasks') | ||
| 54 | self.assertEqual(resp.status_code, 200) | ||
| 55 | response = json.loads(resp.content) | ||
| 56 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 57 | recipe_id = self.get_recipes_id("pseudo-native") | ||
| 58 | print recipe_id | ||
| 59 | for item in json.loads(response['list']): | ||
| 60 | fields = item['fields'] | ||
| 61 | if fields["build"] == 1 and fields["task_name"] == "do_populate_lic_setscene" and fields["recipe"] == recipe_id and fields["task_executed"] == True: | ||
| 62 | self.assertTrue(fields["message"] == "recipe pseudo-native-1.5.1-r4: task do_populate_lic_setscene: Succeeded") | ||
| 63 | self.assertTrue(fields["cpu_usage"] == "6.3") | ||
| 64 | self.assertTrue(fields["disk_io"] == 124) | ||
| 65 | self.assertTrue(fields["script_type"] == 2) | ||
| 66 | self.assertTrue(fields["path_to_sstate_obj"] == "") | ||
| 67 | self.assertTrue(fields["elapsed_time"] == "0.103494") | ||
| 68 | self.assertTrue("tmp/work/i686-linux/pseudo-native/1.5.1-r4/temp/log.do_populate_lic_setscene.5867" in fields["logfile"]) | ||
| 69 | self.assertTrue(fields["sstate_result"] == 0) | ||
| 70 | self.assertTrue(fields["outcome"] == 0) | ||
| 71 | if fields["build"] == 1 and fields["task_name"] == "do_populate_lic" and fields["recipe"] == recipe_id and fields["task_executed"] == True: | ||
| 72 | self.assertTrue(fields["cpu_usage"] == None) | ||
| 73 | self.assertTrue(fields["disk_io"] == None) | ||
| 74 | self.assertTrue(fields["script_type"] == 2) | ||
| 75 | self.assertTrue(fields["path_to_sstate_obj"] == "") | ||
| 76 | self.assertTrue(fields["elapsed_time"] == "0") | ||
| 77 | self.assertTrue(fields["logfile"], None) | ||
| 78 | self.assertTrue(fields["sstate_result"] == 3) | ||
| 79 | self.assertTrue(fields["outcome"] == 2) | ||
| 80 | |||
| 81 | def test_layers(self): | ||
| 82 | client = Client() | ||
| 83 | resp = client.get('http://localhost:8000/api/1.0/layers') | ||
| 84 | self.assertEqual(resp.status_code, 200) | ||
| 85 | response = json.loads(resp.content) | ||
| 86 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 87 | for item in json.loads(response['list']): | ||
| 88 | fields = item['fields'] | ||
| 89 | if fields["name"] == "meta-yocto-bsp": | ||
| 90 | self.assertTrue(fields["local_path"].endswith("meta-yocto-bsp")) | ||
| 91 | self.assertTrue(fields["layer_index_url"] == "http://layers.openembedded.org/layerindex/layer/meta-yocto-bsp/") | ||
| 92 | elif fields["name"] == "meta": | ||
| 93 | self.assertTrue(fields["local_path"].endswith("/meta")) | ||
| 94 | self.assertTrue(fields["layer_index_url"] == "http://layers.openembedded.org/layerindex/layer/openembedded-core/") | ||
| 95 | elif fields["name"] == "meta-yocto": | ||
| 96 | self.assertTrue(fields["local_path"].endswith("/meta-yocto")) | ||
| 97 | self.assertTrue(fields["layer_index_url"] == "http://layers.openembedded.org/layerindex/layer/meta-yocto/") | ||
| 98 | |||
| 99 | def test_layerversions(self): | ||
| 100 | client = Client() | ||
| 101 | resp = client.get('http://localhost:8000/api/1.0/layerversions') | ||
| 102 | self.assertEqual(resp.status_code, 200) | ||
| 103 | response = json.loads(resp.content) | ||
| 104 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 105 | layer_id = self.get_layer_id("meta") | ||
| 106 | find = False | ||
| 107 | for item in json.loads(response['list']): | ||
| 108 | fields = item['fields'] | ||
| 109 | if fields["layer"] == layer_id: | ||
| 110 | find = True | ||
| 111 | self.assertTrue(fields["build"] == 1) | ||
| 112 | self.assertTrue(fields["priority"] == 5) | ||
| 113 | self.assertTrue(fields["branch"] == "master") | ||
| 114 | self.assertTrue(find == True) | ||
| 115 | |||
| 116 | def test_recipes(self): | ||
| 117 | client = Client() | ||
| 118 | resp = client.get('http://localhost:8000/api/1.0/recipes') | ||
| 119 | self.assertEqual(resp.status_code, 200) | ||
| 120 | response = json.loads(resp.content) | ||
| 121 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 122 | find = False | ||
| 123 | for item in json.loads(response['list']): | ||
| 124 | fields = item['fields'] | ||
| 125 | if fields["name"] == "busybox": | ||
| 126 | find = True | ||
| 127 | self.assertTrue(fields["version"] == "1.21.1-r0") | ||
| 128 | self.assertTrue(fields["license"] == "GPLv2 & bzip2") | ||
| 129 | self.assertTrue(fields["file_path"].endswith("/meta/recipes-core/busybox/busybox_1.21.1.bb")) | ||
| 130 | self.assertTrue(fields["summary"] == "Tiny versions of many common UNIX utilities in a single small executable.") | ||
| 131 | self.assertTrue(fields["description"] == "BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete POSIX environment for any small or embedded system.") | ||
| 132 | self.assertTrue(fields["bugtracker"] == "https://bugs.busybox.net/") | ||
| 133 | self.assertTrue(fields["homepage"] == "http://www.busybox.net") | ||
| 134 | self.assertTrue(fields["section"] == "base") | ||
| 135 | self.assertTrue(find == True) | ||
| 136 | |||
| 137 | def test_task_dependencies(self): | ||
| 138 | client = Client() | ||
| 139 | resp = client.get('http://localhost:8000/api/1.0/task_dependencies') | ||
| 140 | self.assertEqual(resp.status_code, 200) | ||
| 141 | response = json.loads(resp.content) | ||
| 142 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 143 | ids = self.get_task_id() | ||
| 144 | do_install = ids["do_install"] | ||
| 145 | do_compile = ids["do_compile"] | ||
| 146 | entry = False | ||
| 147 | for item in json.loads(response['list']): | ||
| 148 | fields = item['fields'] | ||
| 149 | if fields["task"] == do_install and fields["depends_on"] == do_compile: | ||
| 150 | entry = True | ||
| 151 | self.assertTrue(entry == True) | ||
| 152 | |||
| 153 | def test_target_installed_package(self): | ||
| 154 | client = Client() | ||
| 155 | resp = client.get('http://localhost:8000/api/1.0/target_installed_packages') | ||
| 156 | self.assertEqual(resp.status_code, 200) | ||
| 157 | response = json.loads(resp.content) | ||
| 158 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 159 | package = self.get_package_id("udev-utils") | ||
| 160 | find = False | ||
| 161 | for item in json.loads(response['list']): | ||
| 162 | fields = item['fields'] | ||
| 163 | if fields["package"] == package: | ||
| 164 | self.assertTrue(fields["target"], 1) | ||
| 165 | find = True | ||
| 166 | self.assertTrue(find, True) | ||
| 167 | |||
| 168 | def test_packages(self): | ||
| 169 | client = Client() | ||
| 170 | resp = client.get('http://localhost:8000/api/1.0/packages') | ||
| 171 | self.assertEqual(resp.status_code, 200) | ||
| 172 | response = json.loads(resp.content) | ||
| 173 | self.assertTrue(response['count'] > 0) | ||
| 174 | for item in json.loads(response['list']): | ||
| 175 | fields = item['fields'] | ||
| 176 | if fields["name"] == "base-files-dev": | ||
| 177 | self.assertTrue(fields["license"] == "GPLv2") | ||
| 178 | self.assertTrue(fields["description"] == "The base-files package creates the basic system directory structure and provides a small set of key configuration files for the system. This package contains symbolic links, header files, and related items necessary for software development.") | ||
| 179 | self.assertTrue(fields["summary"] == "Miscellaneous files for the base system. - Development files") | ||
| 180 | self.assertTrue(fields["version"] == "3.0.14") | ||
| 181 | self.assertTrue(fields["build"] == 1) | ||
| 182 | self.assertTrue(fields["section"] == "devel") | ||
| 183 | self.assertTrue(fields["revision"] == "r73") | ||
| 184 | self.assertTrue(fields["size"] == 0) | ||
| 185 | self.assertTrue(fields["installed_size"] == 0) | ||
| 186 | self.assertTrue(self.get_recipe_name(fields["recipe"]) == "base-files") | ||
| 187 | |||
| 188 | def test_package_dependencies(self): | ||
| 189 | client = Client() | ||
| 190 | resp = client.get('http://localhost:8000/api/1.0/package_dependencies') | ||
| 191 | self.assertEqual(resp.status_code, 200) | ||
| 192 | response = json.loads(resp.content) | ||
| 193 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 194 | build_package = self.get_package_id("busybox") | ||
| 195 | build_package_id = self.get_package_id("busybox-syslog") | ||
| 196 | entry = False | ||
| 197 | for item in json.loads(response['list']): | ||
| 198 | fields = item['fields'] | ||
| 199 | self.assertTrue(fields["target"] == 1) | ||
| 200 | if fields["package"] == build_package and fields["dep_type"] == 7 and fields["depends_on"] == build_package_id: | ||
| 201 | entry = True | ||
| 202 | self.assertTrue(entry == True) | ||
| 203 | |||
| 204 | def test_recipe_dependencies(self): | ||
| 205 | client = Client() | ||
| 206 | resp = client.get('http://localhost:8000/api/1.0/recipe_dependencies') | ||
| 207 | self.assertEqual(resp.status_code, 200) | ||
| 208 | response = json.loads(resp.content) | ||
| 209 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 210 | depends_on = self.get_recipes_id("autoconf-native") | ||
| 211 | recipe = self.get_recipes_id("ncurses") | ||
| 212 | entry = False | ||
| 213 | for item in json.loads(response['list']): | ||
| 214 | fields = item['fields'] | ||
| 215 | if fields["recipe"] == recipe and fields["depends_on"] == depends_on and fields["dep_type"] == 0: | ||
| 216 | entry = True | ||
| 217 | self.assertTrue(entry == True) | ||
| 218 | |||
| 219 | def test_package_files(self): | ||
| 220 | client = Client() | ||
| 221 | resp = client.get('http://localhost:8000/api/1.0/package_files') | ||
| 222 | self.assertEqual(resp.status_code, 200) | ||
| 223 | response = json.loads(resp.content) | ||
| 224 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 225 | build_package = self.get_package_id("base-files") | ||
| 226 | entry = False | ||
| 227 | for item in json.loads(response['list']): | ||
| 228 | fields = item['fields'] | ||
| 229 | if fields["path"] == "/etc/motd" and fields["package"] == build_package and fields["size"] == 0: | ||
| 230 | entry = True | ||
| 231 | self.assertTrue(entry == True) | ||
| 232 | |||
| 233 | def test_Variable(self): | ||
| 234 | client = Client() | ||
| 235 | resp = client.get('http://localhost:8000/api/1.0/variables') | ||
| 236 | self.assertEqual(resp.status_code, 200) | ||
| 237 | response = json.loads(resp.content) | ||
| 238 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 239 | for item in json.loads(response['list']): | ||
| 240 | fields = item['fields'] | ||
| 241 | self.assertTrue(fields["build"] == 1) | ||
| 242 | if fields["variable_name"] == "USRBINPATH": | ||
| 243 | self.assertTrue(fields["variable_value"] == "/usr/bin") | ||
| 244 | self.assertTrue(fields["changed"] == False) | ||
| 245 | self.assertTrue(fields["description"] == "") | ||
| 246 | if fields["variable_name"] == "PREFERRED_PROVIDER_virtual/libx11": | ||
| 247 | self.assertTrue(fields["variable_value"] == "libx11") | ||
| 248 | self.assertTrue(fields["changed"] == False) | ||
| 249 | self.assertTrue(fields["description"] == "If multiple recipes provide an item, this variable determines which recipe should be given preference.") | ||
| 250 | if fields["variable_name"] == "base_libdir_nativesdk": | ||
| 251 | self.assertTrue(fields["variable_value"] == "/lib") | ||
| 252 | |||
| 253 | def test_VariableHistory(self): | ||
| 254 | client = Client() | ||
| 255 | resp = client.get('http://localhost:8000/api/1.0/variableshistory') | ||
| 256 | self.assertEqual(resp.status_code, 200) | ||
| 257 | response = json.loads(resp.content) | ||
| 258 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 259 | variable_id = self.get_variable_id("STAGING_INCDIR_NATIVE") | ||
| 260 | find = False | ||
| 261 | for item in json.loads(response['list']): | ||
| 262 | fields = item['fields'] | ||
| 263 | if fields["variable"] == variable_id: | ||
| 264 | find = True | ||
| 265 | self.assertTrue(fields["file_name"] == "conf/bitbake.conf") | ||
| 266 | self.assertTrue(fields["operation"] == "set") | ||
| 267 | self.assertTrue(fields["line_number"] == 358) | ||
| 268 | self.assertTrue(find == True) | ||
| 269 | |||
| 270 | def get_task_id(self): | ||
| 271 | client = Client() | ||
| 272 | resp = client.get('http://localhost:8000/api/1.0/tasks') | ||
| 273 | self.assertEqual(resp.status_code, 200) | ||
| 274 | response = json.loads(resp.content) | ||
| 275 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 276 | for item in json.loads(response['list']): | ||
| 277 | fields = item['fields'] | ||
| 278 | if fields["recipe"] == 7 and fields["task_name"] == "do_install": | ||
| 279 | do_install = item["pk"] | ||
| 280 | if fields["recipe"] == 7 and fields["task_name"] == "do_compile": | ||
| 281 | do_compile = item["pk"] | ||
| 282 | result = {} | ||
| 283 | result["do_install"] = do_install | ||
| 284 | result["do_compile"] = do_compile | ||
| 285 | return result | ||
| 286 | |||
| 287 | def get_recipes_id(self, value): | ||
| 288 | client = Client() | ||
| 289 | resp = client.get('http://localhost:8000/api/1.0/recipes') | ||
| 290 | self.assertEqual(resp.status_code, 200) | ||
| 291 | response = json.loads(resp.content) | ||
| 292 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 293 | for item in json.loads(response['list']): | ||
| 294 | fields = item['fields'] | ||
| 295 | if fields["name"] == value: | ||
| 296 | return item["pk"] | ||
| 297 | return None | ||
| 298 | |||
| 299 | def get_recipe_name(self, value): | ||
| 300 | client = Client() | ||
| 301 | resp = client.get('http://localhost:8000/api/1.0/recipes') | ||
| 302 | self.assertEqual(resp.status_code, 200) | ||
| 303 | response = json.loads(resp.content) | ||
| 304 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 305 | for item in json.loads(response['list']): | ||
| 306 | fields = item['fields'] | ||
| 307 | if item["pk"] == value: | ||
| 308 | return fields["name"] | ||
| 309 | return None | ||
| 310 | |||
| 311 | def get_layer_id(self, value): | ||
| 312 | client = Client() | ||
| 313 | resp = client.get('http://localhost:8000/api/1.0/layers') | ||
| 314 | self.assertEqual(resp.status_code, 200) | ||
| 315 | response = json.loads(resp.content) | ||
| 316 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 317 | for item in json.loads(response['list']): | ||
| 318 | fields = item['fields'] | ||
| 319 | if fields["name"] == value: | ||
| 320 | return item["pk"] | ||
| 321 | return None | ||
| 322 | |||
| 323 | def get_package_id(self, field): | ||
| 324 | client = Client() | ||
| 325 | resp = client.get('http://localhost:8000/api/1.0/packages') | ||
| 326 | self.assertEqual(resp.status_code, 200) | ||
| 327 | response = json.loads(resp.content) | ||
| 328 | self.assertTrue(response['count'] > 0) | ||
| 329 | for item in json.loads(response['list']): | ||
| 330 | fields = item['fields'] | ||
| 331 | if fields["name"] == field: | ||
| 332 | return item["pk"] | ||
| 333 | return None | ||
| 334 | |||
| 335 | def get_variable_id(self, field): | ||
| 336 | client = Client() | ||
| 337 | resp = client.get('http://localhost:8000/api/1.0/variables') | ||
| 338 | self.assertEqual(resp.status_code, 200) | ||
| 339 | response = json.loads(resp.content) | ||
| 340 | self.assertTrue(len(json.loads(response['list'])) > 0) | ||
| 341 | for item in json.loads(response['list']): | ||
| 342 | fields = item['fields'] | ||
| 343 | if fields["variable_name"] == field: | ||
| 344 | return item["pk"] | ||
| 345 | return None | ||
diff --git a/bitbake/lib/toaster/bldviewer/urls.py b/bitbake/lib/toaster/bldviewer/urls.py deleted file mode 100644 index 24c3017059..0000000000 --- a/bitbake/lib/toaster/bldviewer/urls.py +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | # | ||
| 2 | # ex:ts=4:sw=4:sts=4:et | ||
| 3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
| 4 | # | ||
| 5 | # BitBake Toaster Implementation | ||
| 6 | # | ||
| 7 | # Copyright (C) 2013 Intel Corporation | ||
| 8 | # | ||
| 9 | # This program is free software; you can redistribute it and/or modify | ||
| 10 | # it under the terms of the GNU General Public License version 2 as | ||
| 11 | # published by the Free Software Foundation. | ||
| 12 | # | ||
| 13 | # This program is distributed in the hope that it will be useful, | ||
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | # GNU General Public License for more details. | ||
| 17 | # | ||
| 18 | # You should have received a copy of the GNU General Public License along | ||
| 19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
| 20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 21 | |||
| 22 | from django.conf.urls import patterns, include, url | ||
| 23 | from django.views.generic import RedirectView | ||
| 24 | |||
| 25 | urlpatterns = patterns('bldviewer.views', | ||
| 26 | url(r'^builds/$', 'build', name='simple-all-builds'), | ||
| 27 | url(r'^build/(?P<build_id>\d+)/task/$', 'task', name='simple-task'), | ||
| 28 | url(r'^build/(?P<build_id>\d+)/packages/$', 'bpackage', name='simple-bpackage'), | ||
| 29 | url(r'^build/(?P<build_id>\d+)/package/(?P<package_id>\d+)/files/$', 'bfile', name='simple-bfile'), | ||
| 30 | url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/packages/$', 'tpackage', name='simple-tpackage'), | ||
| 31 | url(r'^build/(?P<build_id>\d+)/configuration/$', 'configuration', name='simple-configuration'), | ||
| 32 | url(r'^layers/$', 'layer', name='simple-all-layers'), | ||
| 33 | url(r'^layerversions/(?P<layerversion_id>\d+)/recipes/.*$', 'layer_versions_recipes', name='simple-layer_versions_recipes'), | ||
| 34 | url(r'^$', RedirectView.as_view( url= 'builds/')), | ||
| 35 | ) | ||
diff --git a/bitbake/lib/toaster/bldviewer/views.py b/bitbake/lib/toaster/bldviewer/views.py deleted file mode 100644 index c2e0c0c25d..0000000000 --- a/bitbake/lib/toaster/bldviewer/views.py +++ /dev/null | |||
| @@ -1,287 +0,0 @@ | |||
| 1 | # | ||
| 2 | # ex:ts=4:sw=4:sts=4:et | ||
| 3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
| 4 | # | ||
| 5 | # BitBake Toaster Implementation | ||
| 6 | # | ||
| 7 | # Copyright (C) 2013 Intel Corporation | ||
| 8 | # | ||
| 9 | # This program is free software; you can redistribute it and/or modify | ||
| 10 | # it under the terms of the GNU General Public License version 2 as | ||
| 11 | # published by the Free Software Foundation. | ||
| 12 | # | ||
| 13 | # This program is distributed in the hope that it will be useful, | ||
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | # GNU General Public License for more details. | ||
| 17 | # | ||
| 18 | # You should have received a copy of the GNU General Public License along | ||
| 19 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
| 20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 21 | |||
| 22 | import operator | ||
| 23 | |||
| 24 | from django.db.models import Q | ||
| 25 | from django.shortcuts import render | ||
| 26 | from orm.models import Build, Target, Task, Layer, Layer_Version, Recipe, LogMessage, Variable, Target_Installed_Package | ||
| 27 | from orm.models import Task_Dependency, Recipe_Dependency, Package, Package_File, Package_Dependency | ||
| 28 | from orm.models import Target_Installed_Package, VariableHistory, Target_Image_File, Target_File | ||
| 29 | from django.views.decorators.cache import cache_control | ||
| 30 | from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger | ||
| 31 | |||
| 32 | |||
| 33 | def _build_page_range(paginator, index = 1): | ||
| 34 | try: | ||
| 35 | page = paginator.page(index) | ||
| 36 | except PageNotAnInteger: | ||
| 37 | page = paginator.page(1) | ||
| 38 | except EmptyPage: | ||
| 39 | page = paginator.page(paginator.num_pages) | ||
| 40 | |||
| 41 | page.page_range = [page.number] | ||
| 42 | crt_range = 0 | ||
| 43 | for i in range(1,5): | ||
| 44 | if (page.number + i) <= paginator.num_pages: | ||
| 45 | page.page_range = page.page_range + [ page.number + i] | ||
| 46 | crt_range +=1 | ||
| 47 | if (page.number - i) > 0: | ||
| 48 | page.page_range = [page.number -i] + page.page_range | ||
| 49 | crt_range +=1 | ||
| 50 | if crt_range == 4: | ||
| 51 | break | ||
| 52 | return page | ||
| 53 | |||
| 54 | @cache_control(no_store=True) | ||
| 55 | def build(request): | ||
| 56 | template = 'simple_build.html' | ||
| 57 | logs = LogMessage.objects.all() | ||
| 58 | |||
| 59 | build_info = _build_page_range(Paginator(Build.objects.order_by("-id"), 10),request.GET.get('page', 1)) | ||
| 60 | |||
| 61 | context = {'objects': build_info, 'logs': logs , | ||
| 62 | 'hideshowcols' : [ | ||
| 63 | {'name': 'Output', 'order':10}, | ||
| 64 | {'name': 'Log', 'order':11}, | ||
| 65 | ]} | ||
| 66 | |||
| 67 | return render(request, template, context) | ||
| 68 | |||
| 69 | |||
| 70 | def _find_task_revdep(task): | ||
| 71 | tp = [] | ||
| 72 | for p in Task_Dependency.objects.filter(depends_on=task): | ||
| 73 | tp.append(p.task); | ||
| 74 | return tp | ||
| 75 | |||
| 76 | def _find_task_provider(task): | ||
| 77 | task_revdeps = _find_task_revdep(task) | ||
| 78 | for tr in task_revdeps: | ||
| 79 | if tr.outcome != Task.OUTCOME_COVERED: | ||
| 80 | return tr | ||
| 81 | for tr in task_revdeps: | ||
| 82 | trc = _find_task_provider(tr) | ||
| 83 | if trc is not None: | ||
| 84 | return trc | ||
| 85 | return None | ||
| 86 | |||
| 87 | def task(request, build_id): | ||
| 88 | template = 'simple_task.html' | ||
| 89 | |||
| 90 | tasks = _build_page_range(Paginator(Task.objects.filter(build=build_id, order__gt=0), 100),request.GET.get('page', 1)) | ||
| 91 | |||
| 92 | for t in tasks: | ||
| 93 | if t.outcome == Task.OUTCOME_COVERED: | ||
| 94 | t.provider = _find_task_provider(t) | ||
| 95 | |||
| 96 | context = {'build': Build.objects.filter(pk=build_id)[0], 'objects': tasks} | ||
| 97 | |||
| 98 | return render(request, template, context) | ||
| 99 | |||
| 100 | def configuration(request, build_id): | ||
| 101 | template = 'simple_configuration.html' | ||
| 102 | variables = _build_page_range(Paginator(Variable.objects.filter(build=build_id), 50), request.GET.get('page', 1)) | ||
| 103 | context = {'build': Build.objects.filter(pk=build_id)[0], 'objects' : variables} | ||
| 104 | return render(request, template, context) | ||
| 105 | |||
| 106 | def bpackage(request, build_id): | ||
| 107 | template = 'simple_bpackage.html' | ||
| 108 | packages = Package.objects.filter(build = build_id) | ||
| 109 | context = {'build': Build.objects.filter(pk=build_id)[0], 'objects' : packages} | ||
| 110 | return render(request, template, context) | ||
| 111 | |||
| 112 | def bfile(request, build_id, package_id): | ||
| 113 | template = 'simple_bfile.html' | ||
| 114 | files = Package_File.objects.filter(package = package_id) | ||
| 115 | context = {'build': Build.objects.filter(pk=build_id)[0], 'objects' : files} | ||
| 116 | return render(request, template, context) | ||
| 117 | |||
| 118 | def tpackage(request, build_id, target_id): | ||
| 119 | template = 'simple_package.html' | ||
| 120 | packages = map(lambda x: x.package, list(Target_Installed_Package.objects.filter(target=target_id))) | ||
| 121 | context = {'build': Build.objects.filter(pk=build_id)[0], 'objects' : packages} | ||
| 122 | return render(request, template, context) | ||
| 123 | |||
| 124 | def layer(request): | ||
| 125 | template = 'simple_layer.html' | ||
| 126 | layer_info = Layer.objects.all() | ||
| 127 | |||
| 128 | for li in layer_info: | ||
| 129 | li.versions = Layer_Version.objects.filter(layer = li) | ||
| 130 | for liv in li.versions: | ||
| 131 | liv.count = Recipe.objects.filter(layer_version__id = liv.id).count() | ||
| 132 | |||
| 133 | context = {'objects': layer_info} | ||
| 134 | |||
| 135 | return render(request, template, context) | ||
| 136 | |||
| 137 | |||
| 138 | def layer_versions_recipes(request, layerversion_id): | ||
| 139 | template = 'simple_recipe.html' | ||
| 140 | recipes = Recipe.objects.filter(layer_version__id = layerversion_id) | ||
| 141 | |||
| 142 | context = {'objects': recipes, | ||
| 143 | 'layer_version' : Layer_Version.objects.filter( id = layerversion_id )[0] | ||
| 144 | } | ||
| 145 | |||
| 146 | return render(request, template, context) | ||
| 147 | |||
| 148 | #### API | ||
| 149 | |||
| 150 | import json | ||
| 151 | from django.core import serializers | ||
| 152 | from django.http import HttpResponse, HttpResponseBadRequest | ||
| 153 | |||
| 154 | |||
| 155 | def model_explorer(request, model_name): | ||
| 156 | |||
| 157 | DESCENDING = 'desc' | ||
| 158 | response_data = {} | ||
| 159 | model_mapping = { | ||
| 160 | 'build': Build, | ||
| 161 | 'target': Target, | ||
| 162 | 'target_file': Target_File, | ||
| 163 | 'target_image_file': Target_Image_File, | ||
| 164 | 'task': Task, | ||
| 165 | 'task_dependency': Task_Dependency, | ||
| 166 | 'package': Package, | ||
| 167 | 'layer': Layer, | ||
| 168 | 'layerversion': Layer_Version, | ||
| 169 | 'recipe': Recipe, | ||
| 170 | 'recipe_dependency': Recipe_Dependency, | ||
| 171 | 'package': Package, | ||
| 172 | 'package_dependency': Package_Dependency, | ||
| 173 | 'target_installed_package': Target_Installed_Package, | ||
| 174 | 'build_file': Package_File, | ||
| 175 | 'variable': Variable, | ||
| 176 | 'variablehistory': VariableHistory, | ||
| 177 | 'logmessage': LogMessage, | ||
| 178 | } | ||
| 179 | |||
| 180 | if model_name not in model_mapping.keys(): | ||
| 181 | return HttpResponseBadRequest() | ||
| 182 | |||
| 183 | model = model_mapping[model_name] | ||
| 184 | |||
| 185 | try: | ||
| 186 | limit = int(request.GET.get('limit', 0)) | ||
| 187 | except ValueError: | ||
| 188 | limit = 0 | ||
| 189 | |||
| 190 | try: | ||
| 191 | offset = int(request.GET.get('offset', 0)) | ||
| 192 | except ValueError: | ||
| 193 | offset = 0 | ||
| 194 | |||
| 195 | ordering_string, invalid = _validate_input(request.GET.get('orderby', ''), | ||
| 196 | model) | ||
| 197 | if invalid: | ||
| 198 | return HttpResponseBadRequest() | ||
| 199 | |||
| 200 | filter_string, invalid = _validate_input(request.GET.get('filter', ''), | ||
| 201 | model) | ||
| 202 | if invalid: | ||
| 203 | return HttpResponseBadRequest() | ||
| 204 | |||
| 205 | search_term = request.GET.get('search', '') | ||
| 206 | |||
| 207 | if filter_string: | ||
| 208 | filter_terms = _get_filtering_terms(filter_string) | ||
| 209 | try: | ||
| 210 | queryset = model.objects.filter(**filter_terms) | ||
| 211 | except ValueError: | ||
| 212 | queryset = [] | ||
| 213 | else: | ||
| 214 | queryset = model.objects.all() | ||
| 215 | |||
| 216 | if search_term: | ||
| 217 | queryset = _get_search_results(search_term, queryset, model) | ||
| 218 | |||
| 219 | if ordering_string and queryset: | ||
| 220 | column, order = ordering_string.split(':') | ||
| 221 | if order.lower() == DESCENDING: | ||
| 222 | queryset = queryset.order_by('-' + column) | ||
| 223 | else: | ||
| 224 | queryset = queryset.order_by(column) | ||
| 225 | |||
| 226 | if offset and limit: | ||
| 227 | queryset = queryset[offset:(offset+limit)] | ||
| 228 | elif offset: | ||
| 229 | queryset = queryset[offset:] | ||
| 230 | elif limit: | ||
| 231 | queryset = queryset[:limit] | ||
| 232 | |||
| 233 | if queryset: | ||
| 234 | response_data['count'] = queryset.count() | ||
| 235 | else: | ||
| 236 | response_data['count'] = 0 | ||
| 237 | |||
| 238 | response_data['list'] = serializers.serialize('json', queryset) | ||
| 239 | |||
| 240 | return HttpResponse(json.dumps(response_data), | ||
| 241 | content_type='application/json') | ||
| 242 | |||
| 243 | def _get_filtering_terms(filter_string): | ||
| 244 | |||
| 245 | search_terms = filter_string.split(":") | ||
| 246 | keys = search_terms[0].split(',') | ||
| 247 | values = search_terms[1].split(',') | ||
| 248 | |||
| 249 | return dict(zip(keys, values)) | ||
| 250 | |||
| 251 | def _validate_input(input, model): | ||
| 252 | |||
| 253 | invalid = 0 | ||
| 254 | |||
| 255 | if input: | ||
| 256 | input_list = input.split(":") | ||
| 257 | |||
| 258 | # Check we have only one colon | ||
| 259 | if len(input_list) != 2: | ||
| 260 | invalid = 1 | ||
| 261 | return None, invalid | ||
| 262 | |||
| 263 | # Check we have an equal number of terms both sides of the colon | ||
| 264 | if len(input_list[0].split(',')) != len(input_list[1].split(',')): | ||
| 265 | invalid = 1 | ||
| 266 | return None, invalid | ||
| 267 | |||
| 268 | # Check we are looking for a valid field | ||
| 269 | valid_fields = model._meta.get_all_field_names() | ||
| 270 | for field in input_list[0].split(','): | ||
| 271 | if field not in valid_fields: | ||
| 272 | invalid = 1 | ||
| 273 | return None, invalid | ||
| 274 | |||
| 275 | return input, invalid | ||
| 276 | |||
| 277 | def _get_search_results(search_term, queryset, model): | ||
| 278 | search_objects = [] | ||
| 279 | for st in search_term.split(" "): | ||
| 280 | q_map = map(lambda x: Q(**{x+'__icontains': st}), | ||
| 281 | model.search_allowed_fields) | ||
| 282 | |||
| 283 | search_objects.append(reduce(operator.or_, q_map)) | ||
| 284 | search_object = reduce(operator.and_, search_objects) | ||
| 285 | queryset = queryset.filter(search_object) | ||
| 286 | |||
| 287 | return queryset | ||
diff --git a/bitbake/lib/toaster/toastermain/urls.py b/bitbake/lib/toaster/toastermain/urls.py index 395c4e8c34..26ad3a2620 100644 --- a/bitbake/lib/toaster/toastermain/urls.py +++ b/bitbake/lib/toaster/toastermain/urls.py | |||
| @@ -32,8 +32,6 @@ from django.contrib import admin | |||
| 32 | admin.autodiscover() | 32 | admin.autodiscover() |
| 33 | 33 | ||
| 34 | urlpatterns = patterns('', | 34 | urlpatterns = patterns('', |
| 35 | # the api-s are not auto-discoverable | ||
| 36 | url(r'^api/1.0/', include('bldviewer.api')), | ||
| 37 | 35 | ||
| 38 | # Examples: | 36 | # Examples: |
| 39 | # url(r'^toaster/', include('toaster.foo.urls')), | 37 | # url(r'^toaster/', include('toaster.foo.urls')), |
