Reorganize templates (#595)
- mv *.tpl in site/templates - manage external javascripts with bower - mv the rest in site/staticenvironments/ppa-mbqj77/deployments/1
@ -1,442 +0,0 @@ |
|||||||
/*! |
|
||||||
* Bootstrap v3.2.0 (http://getbootstrap.com) |
|
||||||
* Copyright 2011-2014 Twitter, Inc. |
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) |
|
||||||
*/ |
|
||||||
|
|
||||||
.btn-default, |
|
||||||
.btn-primary, |
|
||||||
.btn-success, |
|
||||||
.btn-info, |
|
||||||
.btn-warning, |
|
||||||
.btn-danger { |
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); |
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); |
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); |
|
||||||
} |
|
||||||
.btn-default:active, |
|
||||||
.btn-primary:active, |
|
||||||
.btn-success:active, |
|
||||||
.btn-info:active, |
|
||||||
.btn-warning:active, |
|
||||||
.btn-danger:active, |
|
||||||
.btn-default.active, |
|
||||||
.btn-primary.active, |
|
||||||
.btn-success.active, |
|
||||||
.btn-info.active, |
|
||||||
.btn-warning.active, |
|
||||||
.btn-danger.active { |
|
||||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); |
|
||||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); |
|
||||||
} |
|
||||||
.btn:active, |
|
||||||
.btn.active { |
|
||||||
background-image: none; |
|
||||||
} |
|
||||||
.btn-default { |
|
||||||
text-shadow: 0 1px 0 #fff; |
|
||||||
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%); |
|
||||||
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0)); |
|
||||||
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #dbdbdb; |
|
||||||
border-color: #ccc; |
|
||||||
} |
|
||||||
.btn-default:hover, |
|
||||||
.btn-default:focus { |
|
||||||
background-color: #e0e0e0; |
|
||||||
background-position: 0 -15px; |
|
||||||
} |
|
||||||
.btn-default:active, |
|
||||||
.btn-default.active { |
|
||||||
background-color: #e0e0e0; |
|
||||||
border-color: #dbdbdb; |
|
||||||
} |
|
||||||
.btn-default:disabled, |
|
||||||
.btn-default[disabled] { |
|
||||||
background-color: #e0e0e0; |
|
||||||
background-image: none; |
|
||||||
} |
|
||||||
.btn-primary { |
|
||||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%); |
|
||||||
background-image: -o-linear-gradient(top, #428bca 0%, #2d6ca2 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#2d6ca2)); |
|
||||||
background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #2b669a; |
|
||||||
} |
|
||||||
.btn-primary:hover, |
|
||||||
.btn-primary:focus { |
|
||||||
background-color: #2d6ca2; |
|
||||||
background-position: 0 -15px; |
|
||||||
} |
|
||||||
.btn-primary:active, |
|
||||||
.btn-primary.active { |
|
||||||
background-color: #2d6ca2; |
|
||||||
border-color: #2b669a; |
|
||||||
} |
|
||||||
.btn-primary:disabled, |
|
||||||
.btn-primary[disabled] { |
|
||||||
background-color: #2d6ca2; |
|
||||||
background-image: none; |
|
||||||
} |
|
||||||
.btn-success { |
|
||||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%); |
|
||||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641)); |
|
||||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #3e8f3e; |
|
||||||
} |
|
||||||
.btn-success:hover, |
|
||||||
.btn-success:focus { |
|
||||||
background-color: #419641; |
|
||||||
background-position: 0 -15px; |
|
||||||
} |
|
||||||
.btn-success:active, |
|
||||||
.btn-success.active { |
|
||||||
background-color: #419641; |
|
||||||
border-color: #3e8f3e; |
|
||||||
} |
|
||||||
.btn-success:disabled, |
|
||||||
.btn-success[disabled] { |
|
||||||
background-color: #419641; |
|
||||||
background-image: none; |
|
||||||
} |
|
||||||
.btn-info { |
|
||||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); |
|
||||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2)); |
|
||||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #28a4c9; |
|
||||||
} |
|
||||||
.btn-info:hover, |
|
||||||
.btn-info:focus { |
|
||||||
background-color: #2aabd2; |
|
||||||
background-position: 0 -15px; |
|
||||||
} |
|
||||||
.btn-info:active, |
|
||||||
.btn-info.active { |
|
||||||
background-color: #2aabd2; |
|
||||||
border-color: #28a4c9; |
|
||||||
} |
|
||||||
.btn-info:disabled, |
|
||||||
.btn-info[disabled] { |
|
||||||
background-color: #2aabd2; |
|
||||||
background-image: none; |
|
||||||
} |
|
||||||
.btn-warning { |
|
||||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); |
|
||||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316)); |
|
||||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #e38d13; |
|
||||||
} |
|
||||||
.btn-warning:hover, |
|
||||||
.btn-warning:focus { |
|
||||||
background-color: #eb9316; |
|
||||||
background-position: 0 -15px; |
|
||||||
} |
|
||||||
.btn-warning:active, |
|
||||||
.btn-warning.active { |
|
||||||
background-color: #eb9316; |
|
||||||
border-color: #e38d13; |
|
||||||
} |
|
||||||
.btn-warning:disabled, |
|
||||||
.btn-warning[disabled] { |
|
||||||
background-color: #eb9316; |
|
||||||
background-image: none; |
|
||||||
} |
|
||||||
.btn-danger { |
|
||||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%); |
|
||||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a)); |
|
||||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #b92c28; |
|
||||||
} |
|
||||||
.btn-danger:hover, |
|
||||||
.btn-danger:focus { |
|
||||||
background-color: #c12e2a; |
|
||||||
background-position: 0 -15px; |
|
||||||
} |
|
||||||
.btn-danger:active, |
|
||||||
.btn-danger.active { |
|
||||||
background-color: #c12e2a; |
|
||||||
border-color: #b92c28; |
|
||||||
} |
|
||||||
.btn-danger:disabled, |
|
||||||
.btn-danger[disabled] { |
|
||||||
background-color: #c12e2a; |
|
||||||
background-image: none; |
|
||||||
} |
|
||||||
.thumbnail, |
|
||||||
.img-thumbnail { |
|
||||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); |
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075); |
|
||||||
} |
|
||||||
.dropdown-menu > li > a:hover, |
|
||||||
.dropdown-menu > li > a:focus { |
|
||||||
background-color: #e8e8e8; |
|
||||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); |
|
||||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); |
|
||||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.dropdown-menu > .active > a, |
|
||||||
.dropdown-menu > .active > a:hover, |
|
||||||
.dropdown-menu > .active > a:focus { |
|
||||||
background-color: #357ebd; |
|
||||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%); |
|
||||||
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd)); |
|
||||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.navbar-default { |
|
||||||
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%); |
|
||||||
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8)); |
|
||||||
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-radius: 4px; |
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); |
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); |
|
||||||
} |
|
||||||
.navbar-default .navbar-nav > .active > a { |
|
||||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%); |
|
||||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f3f3f3)); |
|
||||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); |
|
||||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); |
|
||||||
} |
|
||||||
.navbar-brand, |
|
||||||
.navbar-nav > li > a { |
|
||||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .25); |
|
||||||
} |
|
||||||
.navbar-inverse { |
|
||||||
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%); |
|
||||||
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222)); |
|
||||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.navbar-inverse .navbar-nav > .active > a { |
|
||||||
background-image: -webkit-linear-gradient(top, #222 0%, #282828 100%); |
|
||||||
background-image: -o-linear-gradient(top, #222 0%, #282828 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#222), to(#282828)); |
|
||||||
background-image: linear-gradient(to bottom, #222 0%, #282828 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); |
|
||||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); |
|
||||||
} |
|
||||||
.navbar-inverse .navbar-brand, |
|
||||||
.navbar-inverse .navbar-nav > li > a { |
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); |
|
||||||
} |
|
||||||
.navbar-static-top, |
|
||||||
.navbar-fixed-top, |
|
||||||
.navbar-fixed-bottom { |
|
||||||
border-radius: 0; |
|
||||||
} |
|
||||||
.alert { |
|
||||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .2); |
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); |
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); |
|
||||||
} |
|
||||||
.alert-success { |
|
||||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); |
|
||||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc)); |
|
||||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #b2dba1; |
|
||||||
} |
|
||||||
.alert-info { |
|
||||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%); |
|
||||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0)); |
|
||||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #9acfea; |
|
||||||
} |
|
||||||
.alert-warning { |
|
||||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); |
|
||||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0)); |
|
||||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #f5e79e; |
|
||||||
} |
|
||||||
.alert-danger { |
|
||||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); |
|
||||||
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3)); |
|
||||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #dca7a7; |
|
||||||
} |
|
||||||
.progress { |
|
||||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); |
|
||||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5)); |
|
||||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.progress-bar { |
|
||||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%); |
|
||||||
background-image: -o-linear-gradient(top, #428bca 0%, #3071a9 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3071a9)); |
|
||||||
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.progress-bar-success { |
|
||||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%); |
|
||||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44)); |
|
||||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.progress-bar-info { |
|
||||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); |
|
||||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5)); |
|
||||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.progress-bar-warning { |
|
||||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); |
|
||||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f)); |
|
||||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.progress-bar-danger { |
|
||||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%); |
|
||||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c)); |
|
||||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.progress-bar-striped { |
|
||||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); |
|
||||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); |
|
||||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); |
|
||||||
} |
|
||||||
.list-group { |
|
||||||
border-radius: 4px; |
|
||||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); |
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075); |
|
||||||
} |
|
||||||
.list-group-item.active, |
|
||||||
.list-group-item.active:hover, |
|
||||||
.list-group-item.active:focus { |
|
||||||
text-shadow: 0 -1px 0 #3071a9; |
|
||||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%); |
|
||||||
background-image: -o-linear-gradient(top, #428bca 0%, #3278b3 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3278b3)); |
|
||||||
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #3278b3; |
|
||||||
} |
|
||||||
.panel { |
|
||||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05); |
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .05); |
|
||||||
} |
|
||||||
.panel-default > .panel-heading { |
|
||||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); |
|
||||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); |
|
||||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.panel-primary > .panel-heading { |
|
||||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%); |
|
||||||
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd)); |
|
||||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.panel-success > .panel-heading { |
|
||||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); |
|
||||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6)); |
|
||||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.panel-info > .panel-heading { |
|
||||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); |
|
||||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3)); |
|
||||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.panel-warning > .panel-heading { |
|
||||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); |
|
||||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc)); |
|
||||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.panel-danger > .panel-heading { |
|
||||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%); |
|
||||||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc)); |
|
||||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
} |
|
||||||
.well { |
|
||||||
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); |
|
||||||
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); |
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5)); |
|
||||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%); |
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); |
|
||||||
background-repeat: repeat-x; |
|
||||||
border-color: #dcdcdc; |
|
||||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); |
|
||||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); |
|
||||||
} |
|
||||||
/*# sourceMappingURL=bootstrap-theme.css.map */ |
|
Before Width: | Height: | Size: 62 KiB |
@ -1,142 +0,0 @@ |
|||||||
|
|
||||||
/** |
|
||||||
* jQuery BASE64 functions |
|
||||||
*
|
|
||||||
* <code> |
|
||||||
* Encodes the given data with base64.
|
|
||||||
* String $.base64Encode ( String str ) |
|
||||||
* <br /> |
|
||||||
* Decodes a base64 encoded data. |
|
||||||
* String $.base64Decode ( String str ) |
|
||||||
* </code> |
|
||||||
*
|
|
||||||
* Encodes and Decodes the given data in base64. |
|
||||||
* This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies. |
|
||||||
* Base64-encoded data takes about 33% more space than the original data.
|
|
||||||
* This javascript code is used to encode / decode data using base64 (this encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean). Script is fully compatible with UTF-8 encoding. You can use base64 encoded data as simple encryption mechanism. |
|
||||||
* If you plan using UTF-8 encoding in your project don't forget to set the page encoding to UTF-8 (Content-Type meta tag).
|
|
||||||
* This function orginally get from the WebToolkit and rewrite for using as the jQuery plugin. |
|
||||||
*
|
|
||||||
* Example |
|
||||||
* Code |
|
||||||
* <code> |
|
||||||
* $.base64Encode("I'm Persian.");
|
|
||||||
* </code> |
|
||||||
* Result |
|
||||||
* <code> |
|
||||||
* "SSdtIFBlcnNpYW4u" |
|
||||||
* </code> |
|
||||||
* Code |
|
||||||
* <code> |
|
||||||
* $.base64Decode("SSdtIFBlcnNpYW4u"); |
|
||||||
* </code> |
|
||||||
* Result |
|
||||||
* <code> |
|
||||||
* "I'm Persian." |
|
||||||
* </code> |
|
||||||
*
|
|
||||||
* @alias Muhammad Hussein Fattahizadeh < muhammad [AT] semnanweb [DOT] com > |
|
||||||
* @link http://www.semnanweb.com/jquery-plugin/base64.html
|
|
||||||
* @see http://www.webtoolkit.info/
|
|
||||||
* @license http://www.gnu.org/licenses/gpl.html [GNU General Public License]
|
|
||||||
* @param {jQuery} {base64Encode:function(input)) |
|
||||||
* @param {jQuery} {base64Decode:function(input)) |
|
||||||
* @return string |
|
||||||
*/ |
|
||||||
|
|
||||||
(function($){ |
|
||||||
|
|
||||||
var keyString = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; |
|
||||||
|
|
||||||
var uTF8Encode = function(string) { |
|
||||||
string = string.replace(/\x0d\x0a/g, "\x0a"); |
|
||||||
var output = ""; |
|
||||||
for (var n = 0; n < string.length; n++) { |
|
||||||
var c = string.charCodeAt(n); |
|
||||||
if (c < 128) { |
|
||||||
output += String.fromCharCode(c); |
|
||||||
} else if ((c > 127) && (c < 2048)) { |
|
||||||
output += String.fromCharCode((c >> 6) | 192); |
|
||||||
output += String.fromCharCode((c & 63) | 128); |
|
||||||
} else { |
|
||||||
output += String.fromCharCode((c >> 12) | 224); |
|
||||||
output += String.fromCharCode(((c >> 6) & 63) | 128); |
|
||||||
output += String.fromCharCode((c & 63) | 128); |
|
||||||
} |
|
||||||
} |
|
||||||
return output; |
|
||||||
}; |
|
||||||
|
|
||||||
var uTF8Decode = function(input) { |
|
||||||
var string = ""; |
|
||||||
var i = 0; |
|
||||||
var c = c1 = c2 = 0; |
|
||||||
while ( i < input.length ) { |
|
||||||
c = input.charCodeAt(i); |
|
||||||
if (c < 128) { |
|
||||||
string += String.fromCharCode(c); |
|
||||||
i++; |
|
||||||
} else if ((c > 191) && (c < 224)) { |
|
||||||
c2 = input.charCodeAt(i+1); |
|
||||||
string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); |
|
||||||
i += 2; |
|
||||||
} else { |
|
||||||
c2 = input.charCodeAt(i+1); |
|
||||||
c3 = input.charCodeAt(i+2); |
|
||||||
string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); |
|
||||||
i += 3; |
|
||||||
} |
|
||||||
} |
|
||||||
return string; |
|
||||||
} |
|
||||||
|
|
||||||
$.extend({ |
|
||||||
base64Encode: function(input) { |
|
||||||
var output = ""; |
|
||||||
var chr1, chr2, chr3, enc1, enc2, enc3, enc4; |
|
||||||
var i = 0; |
|
||||||
input = uTF8Encode(input); |
|
||||||
while (i < input.length) { |
|
||||||
chr1 = input.charCodeAt(i++); |
|
||||||
chr2 = input.charCodeAt(i++); |
|
||||||
chr3 = input.charCodeAt(i++); |
|
||||||
enc1 = chr1 >> 2; |
|
||||||
enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); |
|
||||||
enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); |
|
||||||
enc4 = chr3 & 63; |
|
||||||
if (isNaN(chr2)) { |
|
||||||
enc3 = enc4 = 64; |
|
||||||
} else if (isNaN(chr3)) { |
|
||||||
enc4 = 64; |
|
||||||
} |
|
||||||
output = output + keyString.charAt(enc1) + keyString.charAt(enc2) + keyString.charAt(enc3) + keyString.charAt(enc4); |
|
||||||
} |
|
||||||
return output; |
|
||||||
}, |
|
||||||
base64Decode: function(input) { |
|
||||||
var output = ""; |
|
||||||
var chr1, chr2, chr3; |
|
||||||
var enc1, enc2, enc3, enc4; |
|
||||||
var i = 0; |
|
||||||
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); |
|
||||||
while (i < input.length) { |
|
||||||
enc1 = keyString.indexOf(input.charAt(i++)); |
|
||||||
enc2 = keyString.indexOf(input.charAt(i++)); |
|
||||||
enc3 = keyString.indexOf(input.charAt(i++)); |
|
||||||
enc4 = keyString.indexOf(input.charAt(i++)); |
|
||||||
chr1 = (enc1 << 2) | (enc2 >> 4); |
|
||||||
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); |
|
||||||
chr3 = ((enc3 & 3) << 6) | enc4; |
|
||||||
output = output + String.fromCharCode(chr1); |
|
||||||
if (enc3 != 64) { |
|
||||||
output = output + String.fromCharCode(chr2); |
|
||||||
} |
|
||||||
if (enc4 != 64) { |
|
||||||
output = output + String.fromCharCode(chr3); |
|
||||||
} |
|
||||||
} |
|
||||||
output = uTF8Decode(output); |
|
||||||
return output; |
|
||||||
} |
|
||||||
}); |
|
||||||
})(jQuery); |
|
@ -1 +0,0 @@ |
|||||||
(function(c){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var d=function(f){f=f.replace(/\x0d\x0a/g,"\x0a");var e="";for(var h=0;h<f.length;h++){var g=f.charCodeAt(h);if(g<128){e+=String.fromCharCode(g)}else{if((g>127)&&(g<2048)){e+=String.fromCharCode((g>>6)|192);e+=String.fromCharCode((g&63)|128)}else{e+=String.fromCharCode((g>>12)|224);e+=String.fromCharCode(((g>>6)&63)|128);e+=String.fromCharCode((g&63)|128)}}}return e};var a=function(e){var f="";var g=0;var h=c1=c2=0;while(g<e.length){h=e.charCodeAt(g);if(h<128){f+=String.fromCharCode(h);g++}else{if((h>191)&&(h<224)){c2=e.charCodeAt(g+1);f+=String.fromCharCode(((h&31)<<6)|(c2&63));g+=2}else{c2=e.charCodeAt(g+1);c3=e.charCodeAt(g+2);f+=String.fromCharCode(((h&15)<<12)|((c2&63)<<6)|(c3&63));g+=3}}}return f};c.extend({base64Encode:function(g){var e="";var o,m,k,n,l,j,h;var f=0;g=d(g);while(f<g.length){o=g.charCodeAt(f++);m=g.charCodeAt(f++);k=g.charCodeAt(f++);n=o>>2;l=((o&3)<<4)|(m>>4);j=((m&15)<<2)|(k>>6);h=k&63;if(isNaN(m)){j=h=64}else{if(isNaN(k)){h=64}}e=e+b.charAt(n)+b.charAt(l)+b.charAt(j)+b.charAt(h)}return e},base64Decode:function(g){var e="";var o,m,k;var n,l,j,h;var f=0;g=g.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(f<g.length){n=b.indexOf(g.charAt(f++));l=b.indexOf(g.charAt(f++));j=b.indexOf(g.charAt(f++));h=b.indexOf(g.charAt(f++));o=(n<<2)|(l>>4);m=((l&15)<<4)|(j>>2);k=((j&3)<<6)|h;e=e+String.fromCharCode(o);if(j!=64){e=e+String.fromCharCode(m)}if(h!=64){e=e+String.fromCharCode(k)}}e=a(e);return e}})})(jQuery); |
|
@ -1,96 +0,0 @@ |
|||||||
/** |
|
||||||
* Cookie plugin |
|
||||||
* |
|
||||||
* Copyright (c) 2006 Klaus Hartl (stilbuero.de) |
|
||||||
* Dual licensed under the MIT and GPL licenses: |
|
||||||
* http://www.opensource.org/licenses/mit-license.php
|
|
||||||
* http://www.gnu.org/licenses/gpl.html
|
|
||||||
* |
|
||||||
*/ |
|
||||||
|
|
||||||
/** |
|
||||||
* Create a cookie with the given name and value and other optional parameters. |
|
||||||
* |
|
||||||
* @example $.cookie('the_cookie', 'the_value'); |
|
||||||
* @desc Set the value of a cookie. |
|
||||||
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true }); |
|
||||||
* @desc Create a cookie with all available options. |
|
||||||
* @example $.cookie('the_cookie', 'the_value'); |
|
||||||
* @desc Create a session cookie. |
|
||||||
* @example $.cookie('the_cookie', null); |
|
||||||
* @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain |
|
||||||
* used when the cookie was set. |
|
||||||
* |
|
||||||
* @param String name The name of the cookie. |
|
||||||
* @param String value The value of the cookie. |
|
||||||
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes. |
|
||||||
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. |
|
||||||
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted. |
|
||||||
* If set to null or omitted, the cookie will be a session cookie and will not be retained |
|
||||||
* when the the browser exits. |
|
||||||
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie). |
|
||||||
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie). |
|
||||||
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will |
|
||||||
* require a secure protocol (like HTTPS). |
|
||||||
* @type undefined |
|
||||||
* |
|
||||||
* @name $.cookie |
|
||||||
* @cat Plugins/Cookie |
|
||||||
* @author Klaus Hartl/klaus.hartl@stilbuero.de |
|
||||||
*/ |
|
||||||
|
|
||||||
/** |
|
||||||
* Get the value of a cookie with the given name. |
|
||||||
* |
|
||||||
* @example $.cookie('the_cookie'); |
|
||||||
* @desc Get the value of a cookie. |
|
||||||
* |
|
||||||
* @param String name The name of the cookie. |
|
||||||
* @return The value of the cookie. |
|
||||||
* @type String |
|
||||||
* |
|
||||||
* @name $.cookie |
|
||||||
* @cat Plugins/Cookie |
|
||||||
* @author Klaus Hartl/klaus.hartl@stilbuero.de |
|
||||||
*/ |
|
||||||
jQuery.cookie = function(name, value, options) { |
|
||||||
if (typeof value != 'undefined') { // name and value given, set cookie
|
|
||||||
options = options || {}; |
|
||||||
if (value === null) { |
|
||||||
value = ''; |
|
||||||
options.expires = -1; |
|
||||||
} |
|
||||||
var expires = ''; |
|
||||||
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { |
|
||||||
var date; |
|
||||||
if (typeof options.expires == 'number') { |
|
||||||
date = new Date(); |
|
||||||
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); |
|
||||||
} else { |
|
||||||
date = options.expires; |
|
||||||
} |
|
||||||
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
|
|
||||||
} |
|
||||||
// CAUTION: Needed to parenthesize options.path and options.domain
|
|
||||||
// in the following expressions, otherwise they evaluate to undefined
|
|
||||||
// in the packed version for some reason...
|
|
||||||
var path = options.path ? '; path=' + (options.path) : ''; |
|
||||||
var domain = options.domain ? '; domain=' + (options.domain) : ''; |
|
||||||
var secure = options.secure ? '; secure' : ''; |
|
||||||
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); |
|
||||||
} else { // only name given, get cookie
|
|
||||||
var cookieValue = null; |
|
||||||
if (document.cookie && document.cookie != '') { |
|
||||||
var cookies = document.cookie.split(';'); |
|
||||||
for (var i = 0; i < cookies.length; i++) { |
|
||||||
var cookie = jQuery.trim(cookies[i]); |
|
||||||
// Does this cookie string begin with the name we want?
|
|
||||||
if (cookie.substring(0, name.length + 1) == (name + '=')) { |
|
||||||
cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); |
|
||||||
break; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
return cookieValue; |
|
||||||
} |
|
||||||
}; |
|
@ -1 +0,0 @@ |
|||||||
jQuery.cookie=function(b,j,m){if(typeof j!="undefined"){m=m||{};if(j===null){j="";m.expires=-1}var e="";if(m.expires&&(typeof m.expires=="number"||m.expires.toUTCString)){var f;if(typeof m.expires=="number"){f=new Date();f.setTime(f.getTime()+(m.expires*24*60*60*1000))}else{f=m.expires}e="; expires="+f.toUTCString()}var l=m.path?"; path="+(m.path):"";var g=m.domain?"; domain="+(m.domain):"";var a=m.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(j),e,l,g,a].join("")}else{var d=null;if(document.cookie&&document.cookie!=""){var k=document.cookie.split(";");for(var h=0;h<k.length;h++){var c=jQuery.trim(k[h]);if(c.substring(0,b.length+1)==(b+"=")){d=decodeURIComponent(c.substring(b.length+1));break}}}return d}}; |
|
@ -0,0 +1,117 @@ |
|||||||
|
/*! |
||||||
|
* jQuery Cookie Plugin v1.4.1 |
||||||
|
* https://github.com/carhartl/jquery-cookie
|
||||||
|
* |
||||||
|
* Copyright 2013 Klaus Hartl |
||||||
|
* Released under the MIT license |
||||||
|
*/ |
||||||
|
(function (factory) { |
||||||
|
if (typeof define === 'function' && define.amd) { |
||||||
|
// AMD
|
||||||
|
define(['jquery'], factory); |
||||||
|
} else if (typeof exports === 'object') { |
||||||
|
// CommonJS
|
||||||
|
factory(require('jquery')); |
||||||
|
} else { |
||||||
|
// Browser globals
|
||||||
|
factory(jQuery); |
||||||
|
} |
||||||
|
}(function ($) { |
||||||
|
|
||||||
|
var pluses = /\+/g; |
||||||
|
|
||||||
|
function encode(s) { |
||||||
|
return config.raw ? s : encodeURIComponent(s); |
||||||
|
} |
||||||
|
|
||||||
|
function decode(s) { |
||||||
|
return config.raw ? s : decodeURIComponent(s); |
||||||
|
} |
||||||
|
|
||||||
|
function stringifyCookieValue(value) { |
||||||
|
return encode(config.json ? JSON.stringify(value) : String(value)); |
||||||
|
} |
||||||
|
|
||||||
|
function parseCookieValue(s) { |
||||||
|
if (s.indexOf('"') === 0) { |
||||||
|
// This is a quoted cookie as according to RFC2068, unescape...
|
||||||
|
s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); |
||||||
|
} |
||||||
|
|
||||||
|
try { |
||||||
|
// Replace server-side written pluses with spaces.
|
||||||
|
// If we can't decode the cookie, ignore it, it's unusable.
|
||||||
|
// If we can't parse the cookie, ignore it, it's unusable.
|
||||||
|
s = decodeURIComponent(s.replace(pluses, ' ')); |
||||||
|
return config.json ? JSON.parse(s) : s; |
||||||
|
} catch(e) {} |
||||||
|
} |
||||||
|
|
||||||
|
function read(s, converter) { |
||||||
|
var value = config.raw ? s : parseCookieValue(s); |
||||||
|
return $.isFunction(converter) ? converter(value) : value; |
||||||
|
} |
||||||
|
|
||||||
|
var config = $.cookie = function (key, value, options) { |
||||||
|
|
||||||
|
// Write
|
||||||
|
|
||||||
|
if (value !== undefined && !$.isFunction(value)) { |
||||||
|
options = $.extend({}, config.defaults, options); |
||||||
|
|
||||||
|
if (typeof options.expires === 'number') { |
||||||
|
var days = options.expires, t = options.expires = new Date(); |
||||||
|
t.setTime(+t + days * 864e+5); |
||||||
|
} |
||||||
|
|
||||||
|
return (document.cookie = [ |
||||||
|
encode(key), '=', stringifyCookieValue(value), |
||||||
|
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
|
||||||
|
options.path ? '; path=' + options.path : '', |
||||||
|
options.domain ? '; domain=' + options.domain : '', |
||||||
|
options.secure ? '; secure' : '' |
||||||
|
].join('')); |
||||||
|
} |
||||||
|
|
||||||
|
// Read
|
||||||
|
|
||||||
|
var result = key ? undefined : {}; |
||||||
|
|
||||||
|
// To prevent the for loop in the first place assign an empty array
|
||||||
|
// in case there are no cookies at all. Also prevents odd result when
|
||||||
|
// calling $.cookie().
|
||||||
|
var cookies = document.cookie ? document.cookie.split('; ') : []; |
||||||
|
|
||||||
|
for (var i = 0, l = cookies.length; i < l; i++) { |
||||||
|
var parts = cookies[i].split('='); |
||||||
|
var name = decode(parts.shift()); |
||||||
|
var cookie = parts.join('='); |
||||||
|
|
||||||
|
if (key && key === name) { |
||||||
|
// If second argument (value) is a function it's a converter...
|
||||||
|
result = read(cookie, value); |
||||||
|
break; |
||||||
|
} |
||||||
|
|
||||||
|
// Prevent storing a cookie that we couldn't decode.
|
||||||
|
if (!key && (cookie = read(cookie)) !== undefined) { |
||||||
|
result[name] = cookie; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
return result; |
||||||
|
}; |
||||||
|
|
||||||
|
config.defaults = {}; |
||||||
|
|
||||||
|
$.removeCookie = function (key, options) { |
||||||
|
if ($.cookie(key) === undefined) { |
||||||
|
return false; |
||||||
|
} |
||||||
|
|
||||||
|
// Must not alter options, thus extending a fresh object...
|
||||||
|
$.cookie(key, '', $.extend({}, options, { expires: -1 })); |
||||||
|
return !$.cookie(key); |
||||||
|
}; |
||||||
|
|
||||||
|
})); |
@ -0,0 +1,8 @@ |
|||||||
|
/* |
||||||
|
* jQuery Cookie Plugin v1.4.1 |
||||||
|
* https://github.com/carhartl/jquery-cookie
|
||||||
|
* |
||||||
|
* Copyright 2013 Klaus Hartl |
||||||
|
* Released under the MIT license |
||||||
|
*/ |
||||||
|
(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports==="object"){a(require("jquery"))}else{a(jQuery)}}}(function(f){var a=/\+/g;function d(i){return b.raw?i:encodeURIComponent(i)}function g(i){return b.raw?i:decodeURIComponent(i)}function h(i){return d(b.json?JSON.stringify(i):String(i))}function c(i){if(i.indexOf('"')===0){i=i.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{i=decodeURIComponent(i.replace(a," "));return b.json?JSON.parse(i):i}catch(j){}}function e(j,i){var k=b.raw?j:c(j);return f.isFunction(i)?i(k):k}var b=f.cookie=function(q,p,v){if(p!==undefined&&!f.isFunction(p)){v=f.extend({},b.defaults,v);if(typeof v.expires==="number"){var r=v.expires,u=v.expires=new Date();u.setTime(+u+r*86400000)}return(document.cookie=[d(q),"=",h(p),v.expires?"; expires="+v.expires.toUTCString():"",v.path?"; path="+v.path:"",v.domain?"; domain="+v.domain:"",v.secure?"; secure":""].join(""))}var w=q?undefined:{};var s=document.cookie?document.cookie.split("; "):[];for(var o=0,m=s.length;o<m;o++){var n=s[o].split("=");var j=g(n.shift());var k=n.join("=");if(q&&q===j){w=e(k,p);break}if(!q&&(k=e(k))!==undefined){w[j]=k}}return w};b.defaults={};f.removeCookie=function(j,i){if(f.cookie(j)===undefined){return false}f.cookie(j,"",f.extend({},i,{expires:-1}));return !f.cookie(j)}})); |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 781 B After Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 209 KiB |
Before Width: | Height: | Size: 472 KiB After Width: | Height: | Size: 472 KiB |
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 379 KiB After Width: | Height: | Size: 379 KiB |
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 410 B After Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 572 B After Width: | Height: | Size: 572 B |
Before Width: | Height: | Size: 587 B After Width: | Height: | Size: 587 B |
Before Width: | Height: | Size: 688 B After Width: | Height: | Size: 688 B |
Before Width: | Height: | Size: 641 B After Width: | Height: | Size: 641 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 612 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 328 B |
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 797 B |
Before Width: | Height: | Size: 748 B After Width: | Height: | Size: 748 B |
Before Width: | Height: | Size: 775 B After Width: | Height: | Size: 775 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |