Click the links on the left to load the project module here.
69 |
To customize this example you need to modify two things. First, add your Behance API key to the first line of the behance.js file. Second, change the username to the username you want to load projects for. This is found in this file (simple.html) where it says var username = "adrian3".
70 |
If you want to see project thumbnail images on the right uncomment the line at the bottom of this file.
135 |
136 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "{}"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright {yyyy} {name of copyright owner}
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
203 |
--------------------------------------------------------------------------------
/css/bootstrap-theme.min.css:
--------------------------------------------------------------------------------
1 | .btn-default,.btn-primary,.btn-success,.btn-info,.btn-warning,.btn-danger{text-shadow:0 -1px 0 rgba(0,0,0,0.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,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,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn:active,.btn.active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-gradient(linear,left 0,left 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,0%,#e6e6e6,100%);background-image:-moz-linear-gradient(top,#fff 0,#e6e6e6 100%);background-image:linear-gradient(to bottom,#fff 0,#e6e6e6 100%);background-repeat:repeat-x;border-color:#e0e0e0;border-color:#ccc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0)}.btn-default:active,.btn-default.active{background-color:#e6e6e6;border-color:#e0e0e0}.btn-primary{background-image:-webkit-gradient(linear,left 0,left 100%,from(#428bca),to(#3071a9));background-image:-webkit-linear-gradient(top,#428bca,0%,#3071a9,100%);background-image:-moz-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;border-color:#2d6ca2;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff3071a9',GradientType=0)}.btn-primary:active,.btn-primary.active{background-color:#3071a9;border-color:#2d6ca2}.btn-success{background-image:-webkit-gradient(linear,left 0,left 100%,from(#5cb85c),to(#449d44));background-image:-webkit-linear-gradient(top,#5cb85c,0%,#449d44,100%);background-image:-moz-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;border-color:#419641;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c',endColorstr='#ff449d44',GradientType=0)}.btn-success:active,.btn-success.active{background-color:#449d44;border-color:#419641}.btn-warning{background-image:-webkit-gradient(linear,left 0,left 100%,from(#f0ad4e),to(#ec971f));background-image:-webkit-linear-gradient(top,#f0ad4e,0%,#ec971f,100%);background-image:-moz-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;border-color:#eb9316;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e',endColorstr='#ffec971f',GradientType=0)}.btn-warning:active,.btn-warning.active{background-color:#ec971f;border-color:#eb9316}.btn-danger{background-image:-webkit-gradient(linear,left 0,left 100%,from(#d9534f),to(#c9302c));background-image:-webkit-linear-gradient(top,#d9534f,0%,#c9302c,100%);background-image:-moz-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;border-color:#c12e2a;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f',endColorstr='#ffc9302c',GradientType=0)}.btn-danger:active,.btn-danger.active{background-color:#c9302c;border-color:#c12e2a}.btn-info{background-image:-webkit-gradient(linear,left 0,left 100%,from(#5bc0de),to(#31b0d5));background-image:-webkit-linear-gradient(top,#5bc0de,0%,#31b0d5,100%);background-image:-moz-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;border-color:#2aabd2;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff31b0d5',GradientType=0)}.btn-info:active,.btn-info.active{background-color:#31b0d5;border-color:#2aabd2}.thumbnail,.img-thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.075);box-shadow:0 1px 2px rgba(0,0,0,0.075)}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{background-color:#357ebd;background-image:-webkit-gradient(linear,left 0,left 100%,from(#428bca),to(#357ebd));background-image:-webkit-linear-gradient(top,#428bca,0%,#357ebd,100%);background-image:-moz-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff357ebd',GradientType=0)}.navbar{background-image:-webkit-gradient(linear,left 0,left 100%,from(#fff),to(#f8f8f8));background-image:-webkit-linear-gradient(top,#fff,0%,#f8f8f8,100%);background-image:-moz-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff8f8f8',GradientType=0);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px rgba(0,0,0,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px rgba(0,0,0,0.075)}.navbar .navbar-nav>.active>a{background-color:#f8f8f8}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,0.25)}.navbar-inverse{background-image:-webkit-gradient(linear,left 0,left 100%,from(#3c3c3c),to(#222));background-image:-webkit-linear-gradient(top,#3c3c3c,0%,#222,100%);background-image:-moz-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c',endColorstr='#ff222222',GradientType=0)}.navbar-inverse .navbar-nav>.active>a{background-color:#222}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,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,0.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),0 1px 2px rgba(0,0,0,0.05)}.alert-success{background-image:-webkit-gradient(linear,left 0,left 100%,from(#dff0d8),to(#c8e5bc));background-image:-webkit-linear-gradient(top,#dff0d8,0%,#c8e5bc,100%);background-image:-moz-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);background-repeat:repeat-x;border-color:#b2dba1;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8',endColorstr='#ffc8e5bc',GradientType=0)}.alert-info{background-image:-webkit-gradient(linear,left 0,left 100%,from(#d9edf7),to(#b9def0));background-image:-webkit-linear-gradient(top,#d9edf7,0%,#b9def0,100%);background-image:-moz-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7',endColorstr='#ffb9def0',GradientType=0)}.alert-warning{background-image:-webkit-gradient(linear,left 0,left 100%,from(#fcf8e3),to(#f8efc0));background-image:-webkit-linear-gradient(top,#fcf8e3,0%,#f8efc0,100%);background-image:-moz-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);background-repeat:repeat-x;border-color:#f5e79e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3',endColorstr='#fff8efc0',GradientType=0)}.alert-danger{background-image:-webkit-gradient(linear,left 0,left 100%,from(#f2dede),to(#e7c3c3));background-image:-webkit-linear-gradient(top,#f2dede,0%,#e7c3c3,100%);background-image:-moz-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);background-repeat:repeat-x;border-color:#dca7a7;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede',endColorstr='#ffe7c3c3',GradientType=0)}.progress{background-image:-webkit-gradient(linear,left 0,left 100%,from(#ebebeb),to(#f5f5f5));background-image:-webkit-linear-gradient(top,#ebebeb,0%,#f5f5f5,100%);background-image:-moz-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb',endColorstr='#fff5f5f5',GradientType=0)}.progress-bar{background-image:-webkit-gradient(linear,left 0,left 100%,from(#428bca),to(#3071a9));background-image:-webkit-linear-gradient(top,#428bca,0%,#3071a9,100%);background-image:-moz-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff3071a9',GradientType=0)}.progress-bar-success{background-image:-webkit-gradient(linear,left 0,left 100%,from(#5cb85c),to(#449d44));background-image:-webkit-linear-gradient(top,#5cb85c,0%,#449d44,100%);background-image:-moz-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c',endColorstr='#ff449d44',GradientType=0)}.progress-bar-info{background-image:-webkit-gradient(linear,left 0,left 100%,from(#5bc0de),to(#31b0d5));background-image:-webkit-linear-gradient(top,#5bc0de,0%,#31b0d5,100%);background-image:-moz-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff31b0d5',GradientType=0)}.progress-bar-warning{background-image:-webkit-gradient(linear,left 0,left 100%,from(#f0ad4e),to(#ec971f));background-image:-webkit-linear-gradient(top,#f0ad4e,0%,#ec971f,100%);background-image:-moz-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e',endColorstr='#ffec971f',GradientType=0)}.progress-bar-danger{background-image:-webkit-gradient(linear,left 0,left 100%,from(#d9534f),to(#c9302c));background-image:-webkit-linear-gradient(top,#d9534f,0%,#c9302c,100%);background-image:-moz-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f',endColorstr='#ffc9302c',GradientType=0)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.075);box-shadow:0 1px 2px rgba(0,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-gradient(linear,left 0,left 100%,from(#428bca),to(#3278b3));background-image:-webkit-linear-gradient(top,#428bca,0%,#3278b3,100%);background-image:-moz-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff3278b3',GradientType=0)}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.panel-default>.panel-heading{background-image:-webkit-gradient(linear,left 0,left 100%,from(#f5f5f5),to(#e8e8e8));background-image:-webkit-linear-gradient(top,#f5f5f5,0%,#e8e8e8,100%);background-image:-moz-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#ffe8e8e8',GradientType=0)}.panel-primary>.panel-heading{background-image:-webkit-gradient(linear,left 0,left 100%,from(#428bca),to(#357ebd));background-image:-webkit-linear-gradient(top,#428bca,0%,#357ebd,100%);background-image:-moz-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff357ebd',GradientType=0)}.panel-success>.panel-heading{background-image:-webkit-gradient(linear,left 0,left 100%,from(#dff0d8),to(#d0e9c6));background-image:-webkit-linear-gradient(top,#dff0d8,0%,#d0e9c6,100%);background-image:-moz-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8',endColorstr='#ffd0e9c6',GradientType=0)}.panel-info>.panel-heading{background-image:-webkit-gradient(linear,left 0,left 100%,from(#d9edf7),to(#c4e3f3));background-image:-webkit-linear-gradient(top,#d9edf7,0%,#c4e3f3,100%);background-image:-moz-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7',endColorstr='#ffc4e3f3',GradientType=0)}.panel-warning>.panel-heading{background-image:-webkit-gradient(linear,left 0,left 100%,from(#fcf8e3),to(#faf2cc));background-image:-webkit-linear-gradient(top,#fcf8e3,0%,#faf2cc,100%);background-image:-moz-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3',endColorstr='#fffaf2cc',GradientType=0)}.panel-danger>.panel-heading{background-image:-webkit-gradient(linear,left 0,left 100%,from(#f2dede),to(#ebcccc));background-image:-webkit-linear-gradient(top,#f2dede,0%,#ebcccc,100%);background-image:-moz-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede',endColorstr='#ffebcccc',GradientType=0)}.well{background-image:-webkit-gradient(linear,left 0,left 100%,from(#e8e8e8),to(#f5f5f5));background-image:-webkit-linear-gradient(top,#e8e8e8,0%,#f5f5f5,100%);background-image:-moz-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8',endColorstr='#fff5f5f5',GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.05),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 3px rgba(0,0,0,0.05),0 1px 0 rgba(255,255,255,0.1)}
--------------------------------------------------------------------------------
/css/bootstrap-theme.css:
--------------------------------------------------------------------------------
1 | .btn-default,
2 | .btn-primary,
3 | .btn-success,
4 | .btn-info,
5 | .btn-warning,
6 | .btn-danger {
7 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
8 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
9 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
10 | }
11 |
12 | .btn-default:active,
13 | .btn-primary:active,
14 | .btn-success:active,
15 | .btn-info:active,
16 | .btn-warning:active,
17 | .btn-danger:active,
18 | .btn-default.active,
19 | .btn-primary.active,
20 | .btn-success.active,
21 | .btn-info.active,
22 | .btn-warning.active,
23 | .btn-danger.active {
24 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
25 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
26 | }
27 |
28 | .btn:active,
29 | .btn.active {
30 | background-image: none;
31 | }
32 |
33 | .btn-default {
34 | text-shadow: 0 1px 0 #fff;
35 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6));
36 | background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%);
37 | background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
38 | background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
39 | background-repeat: repeat-x;
40 | border-color: #e0e0e0;
41 | border-color: #ccc;
42 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
43 | }
44 |
45 | .btn-default:active,
46 | .btn-default.active {
47 | background-color: #e6e6e6;
48 | border-color: #e0e0e0;
49 | }
50 |
51 | .btn-primary {
52 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9));
53 | background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%);
54 | background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%);
55 | background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
56 | background-repeat: repeat-x;
57 | border-color: #2d6ca2;
58 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
59 | }
60 |
61 | .btn-primary:active,
62 | .btn-primary.active {
63 | background-color: #3071a9;
64 | border-color: #2d6ca2;
65 | }
66 |
67 | .btn-success {
68 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
69 | background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
70 | background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
71 | background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
72 | background-repeat: repeat-x;
73 | border-color: #419641;
74 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
75 | }
76 |
77 | .btn-success:active,
78 | .btn-success.active {
79 | background-color: #449d44;
80 | border-color: #419641;
81 | }
82 |
83 | .btn-warning {
84 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f));
85 | background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%);
86 | background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
87 | background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
88 | background-repeat: repeat-x;
89 | border-color: #eb9316;
90 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
91 | }
92 |
93 | .btn-warning:active,
94 | .btn-warning.active {
95 | background-color: #ec971f;
96 | border-color: #eb9316;
97 | }
98 |
99 | .btn-danger {
100 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c));
101 | background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%);
102 | background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%);
103 | background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
104 | background-repeat: repeat-x;
105 | border-color: #c12e2a;
106 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
107 | }
108 |
109 | .btn-danger:active,
110 | .btn-danger.active {
111 | background-color: #c9302c;
112 | border-color: #c12e2a;
113 | }
114 |
115 | .btn-info {
116 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5));
117 | background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%);
118 | background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
119 | background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
120 | background-repeat: repeat-x;
121 | border-color: #2aabd2;
122 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
123 | }
124 |
125 | .btn-info:active,
126 | .btn-info.active {
127 | background-color: #31b0d5;
128 | border-color: #2aabd2;
129 | }
130 |
131 | .thumbnail,
132 | .img-thumbnail {
133 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
134 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
135 | }
136 |
137 | .dropdown-menu > li > a:hover,
138 | .dropdown-menu > li > a:focus,
139 | .dropdown-menu > .active > a,
140 | .dropdown-menu > .active > a:hover,
141 | .dropdown-menu > .active > a:focus {
142 | background-color: #357ebd;
143 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
144 | background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
145 | background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
146 | background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
147 | background-repeat: repeat-x;
148 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
149 | }
150 |
151 | .navbar {
152 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#f8f8f8));
153 | background-image: -webkit-linear-gradient(top, #ffffff, 0%, #f8f8f8, 100%);
154 | background-image: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
155 | background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
156 | background-repeat: repeat-x;
157 | border-radius: 4px;
158 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
159 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
160 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
161 | }
162 |
163 | .navbar .navbar-nav > .active > a {
164 | background-color: #f8f8f8;
165 | }
166 |
167 | .navbar-brand,
168 | .navbar-nav > li > a {
169 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
170 | }
171 |
172 | .navbar-inverse {
173 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#3c3c3c), to(#222222));
174 | background-image: -webkit-linear-gradient(top, #3c3c3c, 0%, #222222, 100%);
175 | background-image: -moz-linear-gradient(top, #3c3c3c 0%, #222222 100%);
176 | background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);
177 | background-repeat: repeat-x;
178 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
179 | }
180 |
181 | .navbar-inverse .navbar-nav > .active > a {
182 | background-color: #222222;
183 | }
184 |
185 | .navbar-inverse .navbar-brand,
186 | .navbar-inverse .navbar-nav > li > a {
187 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
188 | }
189 |
190 | .navbar-static-top,
191 | .navbar-fixed-top,
192 | .navbar-fixed-bottom {
193 | border-radius: 0;
194 | }
195 |
196 | .alert {
197 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
198 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
199 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
200 | }
201 |
202 | .alert-success {
203 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#c8e5bc));
204 | background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #c8e5bc, 100%);
205 | background-image: -moz-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
206 | background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
207 | background-repeat: repeat-x;
208 | border-color: #b2dba1;
209 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
210 | }
211 |
212 | .alert-info {
213 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#b9def0));
214 | background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #b9def0, 100%);
215 | background-image: -moz-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
216 | background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
217 | background-repeat: repeat-x;
218 | border-color: #9acfea;
219 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
220 | }
221 |
222 | .alert-warning {
223 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#f8efc0));
224 | background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #f8efc0, 100%);
225 | background-image: -moz-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
226 | background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
227 | background-repeat: repeat-x;
228 | border-color: #f5e79e;
229 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
230 | }
231 |
232 | .alert-danger {
233 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#e7c3c3));
234 | background-image: -webkit-linear-gradient(top, #f2dede, 0%, #e7c3c3, 100%);
235 | background-image: -moz-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
236 | background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
237 | background-repeat: repeat-x;
238 | border-color: #dca7a7;
239 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
240 | }
241 |
242 | .progress {
243 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ebebeb), to(#f5f5f5));
244 | background-image: -webkit-linear-gradient(top, #ebebeb, 0%, #f5f5f5, 100%);
245 | background-image: -moz-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
246 | background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
247 | background-repeat: repeat-x;
248 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
249 | }
250 |
251 | .progress-bar {
252 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9));
253 | background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%);
254 | background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%);
255 | background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
256 | background-repeat: repeat-x;
257 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
258 | }
259 |
260 | .progress-bar-success {
261 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
262 | background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
263 | background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
264 | background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
265 | background-repeat: repeat-x;
266 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
267 | }
268 |
269 | .progress-bar-info {
270 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5));
271 | background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%);
272 | background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
273 | background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
274 | background-repeat: repeat-x;
275 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
276 | }
277 |
278 | .progress-bar-warning {
279 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f));
280 | background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%);
281 | background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
282 | background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
283 | background-repeat: repeat-x;
284 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
285 | }
286 |
287 | .progress-bar-danger {
288 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c));
289 | background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%);
290 | background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%);
291 | background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
292 | background-repeat: repeat-x;
293 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
294 | }
295 |
296 | .list-group {
297 | border-radius: 4px;
298 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
299 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
300 | }
301 |
302 | .list-group-item.active,
303 | .list-group-item.active:hover,
304 | .list-group-item.active:focus {
305 | text-shadow: 0 -1px 0 #3071a9;
306 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3278b3));
307 | background-image: -webkit-linear-gradient(top, #428bca, 0%, #3278b3, 100%);
308 | background-image: -moz-linear-gradient(top, #428bca 0%, #3278b3 100%);
309 | background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
310 | background-repeat: repeat-x;
311 | border-color: #3278b3;
312 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
313 | }
314 |
315 | .panel {
316 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
317 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
318 | }
319 |
320 | .panel-default > .panel-heading {
321 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8));
322 | background-image: -webkit-linear-gradient(top, #f5f5f5, 0%, #e8e8e8, 100%);
323 | background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
324 | background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
325 | background-repeat: repeat-x;
326 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
327 | }
328 |
329 | .panel-primary > .panel-heading {
330 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
331 | background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
332 | background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
333 | background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
334 | background-repeat: repeat-x;
335 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
336 | }
337 |
338 | .panel-success > .panel-heading {
339 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#d0e9c6));
340 | background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #d0e9c6, 100%);
341 | background-image: -moz-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
342 | background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
343 | background-repeat: repeat-x;
344 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
345 | }
346 |
347 | .panel-info > .panel-heading {
348 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#c4e3f3));
349 | background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #c4e3f3, 100%);
350 | background-image: -moz-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
351 | background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
352 | background-repeat: repeat-x;
353 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
354 | }
355 |
356 | .panel-warning > .panel-heading {
357 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#faf2cc));
358 | background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #faf2cc, 100%);
359 | background-image: -moz-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
360 | background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
361 | background-repeat: repeat-x;
362 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
363 | }
364 |
365 | .panel-danger > .panel-heading {
366 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#ebcccc));
367 | background-image: -webkit-linear-gradient(top, #f2dede, 0%, #ebcccc, 100%);
368 | background-image: -moz-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
369 | background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
370 | background-repeat: repeat-x;
371 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
372 | }
373 |
374 | .well {
375 | background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e8e8e8), to(#f5f5f5));
376 | background-image: -webkit-linear-gradient(top, #e8e8e8, 0%, #f5f5f5, 100%);
377 | background-image: -moz-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
378 | background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
379 | background-repeat: repeat-x;
380 | border-color: #dcdcdc;
381 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
382 | -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
383 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
384 | }
--------------------------------------------------------------------------------
/js/bootstrap.min.js:
--------------------------------------------------------------------------------
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");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(window.jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(window.jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i').appendTo(document.body),this.$element.on("click.dismiss.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.modal;a.fn.modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(window.jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focus",i="hover"==g?"mouseleave":"blur";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show),void 0):c.show()},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide),void 0):c.hide()},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(b),b.isDefaultPrevented())return;var c=this.tip();this.setContent(),this.options.animation&&c.addClass("fade");var d="function"==typeof this.options.placement?this.options.placement.call(this,c[0],this.$element[0]):this.options.placement,e=/\s?auto?\s?/i,f=e.test(d);f&&(d=d.replace(e,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var g=this.getPosition(),h=c[0].offsetWidth,i=c[0].offsetHeight;if(f){var j=this.$element.parent(),k=d,l=document.documentElement.scrollTop||document.body.scrollTop,m="body"==this.options.container?window.innerWidth:j.outerWidth(),n="body"==this.options.container?window.innerHeight:j.outerHeight(),o="body"==this.options.container?0:j.offset().left;d="bottom"==d&&g.top+g.height+i-l>n?"top":"top"==d&&g.top-l-i<0?"bottom":"right"==d&&g.right+h>m?"left":"left"==d&&g.left-h'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery);
--------------------------------------------------------------------------------
/fonts/glyphicons-halflings-regular.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/js/bootstrap.js:
--------------------------------------------------------------------------------
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 | , wrap: true
318 | }
319 |
320 | Carousel.prototype.cycle = function (e) {
321 | e || (this.paused = false)
322 |
323 | this.interval && clearInterval(this.interval)
324 |
325 | this.options.interval
326 | && !this.paused
327 | && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
328 |
329 | return this
330 | }
331 |
332 | Carousel.prototype.getActiveIndex = function () {
333 | this.$active = this.$element.find('.item.active')
334 | this.$items = this.$active.parent().children()
335 |
336 | return this.$items.index(this.$active)
337 | }
338 |
339 | Carousel.prototype.to = function (pos) {
340 | var that = this
341 | var activeIndex = this.getActiveIndex()
342 |
343 | if (pos > (this.$items.length - 1) || pos < 0) return
344 |
345 | if (this.sliding) return this.$element.one('slid', function () { that.to(pos) })
346 | if (activeIndex == pos) return this.pause().cycle()
347 |
348 | return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
349 | }
350 |
351 | Carousel.prototype.pause = function (e) {
352 | e || (this.paused = true)
353 |
354 | if (this.$element.find('.next, .prev').length && $.support.transition.end) {
355 | this.$element.trigger($.support.transition.end)
356 | this.cycle(true)
357 | }
358 |
359 | this.interval = clearInterval(this.interval)
360 |
361 | return this
362 | }
363 |
364 | Carousel.prototype.next = function () {
365 | if (this.sliding) return
366 | return this.slide('next')
367 | }
368 |
369 | Carousel.prototype.prev = function () {
370 | if (this.sliding) return
371 | return this.slide('prev')
372 | }
373 |
374 | Carousel.prototype.slide = function (type, next) {
375 | var $active = this.$element.find('.item.active')
376 | var $next = next || $active[type]()
377 | var isCycling = this.interval
378 | var direction = type == 'next' ? 'left' : 'right'
379 | var fallback = type == 'next' ? 'first' : 'last'
380 | var that = this
381 |
382 | if (!$next.length) {
383 | if (!this.options.wrap) return
384 | $next = this.$element.find('.item')[fallback]()
385 | }
386 |
387 | this.sliding = true
388 |
389 | isCycling && this.pause()
390 |
391 | var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })
392 |
393 | if ($next.hasClass('active')) return
394 |
395 | if (this.$indicators.length) {
396 | this.$indicators.find('.active').removeClass('active')
397 | this.$element.one('slid', function () {
398 | var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
399 | $nextIndicator && $nextIndicator.addClass('active')
400 | })
401 | }
402 |
403 | if ($.support.transition && this.$element.hasClass('slide')) {
404 | this.$element.trigger(e)
405 | if (e.isDefaultPrevented()) return
406 | $next.addClass(type)
407 | $next[0].offsetWidth // force reflow
408 | $active.addClass(direction)
409 | $next.addClass(direction)
410 | $active
411 | .one($.support.transition.end, function () {
412 | $next.removeClass([type, direction].join(' ')).addClass('active')
413 | $active.removeClass(['active', direction].join(' '))
414 | that.sliding = false
415 | setTimeout(function () { that.$element.trigger('slid') }, 0)
416 | })
417 | .emulateTransitionEnd(600)
418 | } else {
419 | this.$element.trigger(e)
420 | if (e.isDefaultPrevented()) return
421 | $active.removeClass('active')
422 | $next.addClass('active')
423 | this.sliding = false
424 | this.$element.trigger('slid')
425 | }
426 |
427 | isCycling && this.cycle()
428 |
429 | return this
430 | }
431 |
432 |
433 | // CAROUSEL PLUGIN DEFINITION
434 | // ==========================
435 |
436 | var old = $.fn.carousel
437 |
438 | $.fn.carousel = function (option) {
439 | return this.each(function () {
440 | var $this = $(this)
441 | var data = $this.data('bs.carousel')
442 | var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
443 | var action = typeof option == 'string' ? option : options.slide
444 |
445 | if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
446 | if (typeof option == 'number') data.to(option)
447 | else if (action) data[action]()
448 | else if (options.interval) data.pause().cycle()
449 | })
450 | }
451 |
452 | $.fn.carousel.Constructor = Carousel
453 |
454 |
455 | // CAROUSEL NO CONFLICT
456 | // ====================
457 |
458 | $.fn.carousel.noConflict = function () {
459 | $.fn.carousel = old
460 | return this
461 | }
462 |
463 |
464 | // CAROUSEL DATA-API
465 | // =================
466 |
467 | $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
468 | var $this = $(this), href
469 | var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
470 | var options = $.extend({}, $target.data(), $this.data())
471 | var slideIndex = $this.attr('data-slide-to')
472 | if (slideIndex) options.interval = false
473 |
474 | $target.carousel(options)
475 |
476 | if (slideIndex = $this.attr('data-slide-to')) {
477 | $target.data('bs.carousel').to(slideIndex)
478 | }
479 |
480 | e.preventDefault()
481 | })
482 |
483 | $(window).on('load', function () {
484 | $('[data-ride="carousel"]').each(function () {
485 | var $carousel = $(this)
486 | $carousel.carousel($carousel.data())
487 | })
488 | })
489 |
490 | }(window.jQuery);
491 |
492 | /* ========================================================================
493 | * Bootstrap: collapse.js v3.0.0
494 | * http://twbs.github.com/bootstrap/javascript.html#collapse
495 | * ========================================================================
496 | * Copyright 2012 Twitter, Inc.
497 | *
498 | * Licensed under the Apache License, Version 2.0 (the "License");
499 | * you may not use this file except in compliance with the License.
500 | * You may obtain a copy of the License at
501 | *
502 | * http://www.apache.org/licenses/LICENSE-2.0
503 | *
504 | * Unless required by applicable law or agreed to in writing, software
505 | * distributed under the License is distributed on an "AS IS" BASIS,
506 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
507 | * See the License for the specific language governing permissions and
508 | * limitations under the License.
509 | * ======================================================================== */
510 |
511 |
512 | +function ($) { "use strict";
513 |
514 | // COLLAPSE PUBLIC CLASS DEFINITION
515 | // ================================
516 |
517 | var Collapse = function (element, options) {
518 | this.$element = $(element)
519 | this.options = $.extend({}, Collapse.DEFAULTS, options)
520 | this.transitioning = null
521 |
522 | if (this.options.parent) this.$parent = $(this.options.parent)
523 | if (this.options.toggle) this.toggle()
524 | }
525 |
526 | Collapse.DEFAULTS = {
527 | toggle: true
528 | }
529 |
530 | Collapse.prototype.dimension = function () {
531 | var hasWidth = this.$element.hasClass('width')
532 | return hasWidth ? 'width' : 'height'
533 | }
534 |
535 | Collapse.prototype.show = function () {
536 | if (this.transitioning || this.$element.hasClass('in')) return
537 |
538 | var startEvent = $.Event('show.bs.collapse')
539 | this.$element.trigger(startEvent)
540 | if (startEvent.isDefaultPrevented()) return
541 |
542 | var actives = this.$parent && this.$parent.find('> .panel > .in')
543 |
544 | if (actives && actives.length) {
545 | var hasData = actives.data('bs.collapse')
546 | if (hasData && hasData.transitioning) return
547 | actives.collapse('hide')
548 | hasData || actives.data('bs.collapse', null)
549 | }
550 |
551 | var dimension = this.dimension()
552 |
553 | this.$element
554 | .removeClass('collapse')
555 | .addClass('collapsing')
556 | [dimension](0)
557 |
558 | this.transitioning = 1
559 |
560 | var complete = function () {
561 | this.$element
562 | .removeClass('collapsing')
563 | .addClass('in')
564 | [dimension]('auto')
565 | this.transitioning = 0
566 | this.$element.trigger('shown.bs.collapse')
567 | }
568 |
569 | if (!$.support.transition) return complete.call(this)
570 |
571 | var scrollSize = $.camelCase(['scroll', dimension].join('-'))
572 |
573 | this.$element
574 | .one($.support.transition.end, $.proxy(complete, this))
575 | .emulateTransitionEnd(350)
576 | [dimension](this.$element[0][scrollSize])
577 | }
578 |
579 | Collapse.prototype.hide = function () {
580 | if (this.transitioning || !this.$element.hasClass('in')) return
581 |
582 | var startEvent = $.Event('hide.bs.collapse')
583 | this.$element.trigger(startEvent)
584 | if (startEvent.isDefaultPrevented()) return
585 |
586 | var dimension = this.dimension()
587 |
588 | this.$element
589 | [dimension](this.$element[dimension]())
590 | [0].offsetHeight
591 |
592 | this.$element
593 | .addClass('collapsing')
594 | .removeClass('collapse')
595 | .removeClass('in')
596 |
597 | this.transitioning = 1
598 |
599 | var complete = function () {
600 | this.transitioning = 0
601 | this.$element
602 | .trigger('hidden.bs.collapse')
603 | .removeClass('collapsing')
604 | .addClass('collapse')
605 | }
606 |
607 | if (!$.support.transition) return complete.call(this)
608 |
609 | this.$element
610 | [dimension](0)
611 | .one($.support.transition.end, $.proxy(complete, this))
612 | .emulateTransitionEnd(350)
613 | }
614 |
615 | Collapse.prototype.toggle = function () {
616 | this[this.$element.hasClass('in') ? 'hide' : 'show']()
617 | }
618 |
619 |
620 | // COLLAPSE PLUGIN DEFINITION
621 | // ==========================
622 |
623 | var old = $.fn.collapse
624 |
625 | $.fn.collapse = function (option) {
626 | return this.each(function () {
627 | var $this = $(this)
628 | var data = $this.data('bs.collapse')
629 | var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
630 |
631 | if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
632 | if (typeof option == 'string') data[option]()
633 | })
634 | }
635 |
636 | $.fn.collapse.Constructor = Collapse
637 |
638 |
639 | // COLLAPSE NO CONFLICT
640 | // ====================
641 |
642 | $.fn.collapse.noConflict = function () {
643 | $.fn.collapse = old
644 | return this
645 | }
646 |
647 |
648 | // COLLAPSE DATA-API
649 | // =================
650 |
651 | $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
652 | var $this = $(this), href
653 | var target = $this.attr('data-target')
654 | || e.preventDefault()
655 | || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
656 | var $target = $(target)
657 | var data = $target.data('bs.collapse')
658 | var option = data ? 'toggle' : $this.data()
659 | var parent = $this.attr('data-parent')
660 | var $parent = parent && $(parent)
661 |
662 | if (!data || !data.transitioning) {
663 | if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
664 | $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
665 | }
666 |
667 | $target.collapse(option)
668 | })
669 |
670 | }(window.jQuery);
671 |
672 | /* ========================================================================
673 | * Bootstrap: dropdown.js v3.0.0
674 | * http://twbs.github.com/bootstrap/javascript.html#dropdowns
675 | * ========================================================================
676 | * Copyright 2012 Twitter, Inc.
677 | *
678 | * Licensed under the Apache License, Version 2.0 (the "License");
679 | * you may not use this file except in compliance with the License.
680 | * You may obtain a copy of the License at
681 | *
682 | * http://www.apache.org/licenses/LICENSE-2.0
683 | *
684 | * Unless required by applicable law or agreed to in writing, software
685 | * distributed under the License is distributed on an "AS IS" BASIS,
686 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
687 | * See the License for the specific language governing permissions and
688 | * limitations under the License.
689 | * ======================================================================== */
690 |
691 |
692 | +function ($) { "use strict";
693 |
694 | // DROPDOWN CLASS DEFINITION
695 | // =========================
696 |
697 | var backdrop = '.dropdown-backdrop'
698 | var toggle = '[data-toggle=dropdown]'
699 | var Dropdown = function (element) {
700 | var $el = $(element).on('click.bs.dropdown', this.toggle)
701 | }
702 |
703 | Dropdown.prototype.toggle = function (e) {
704 | var $this = $(this)
705 |
706 | if ($this.is('.disabled, :disabled')) return
707 |
708 | var $parent = getParent($this)
709 | var isActive = $parent.hasClass('open')
710 |
711 | clearMenus()
712 |
713 | if (!isActive) {
714 | if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
715 | // if mobile we we use a backdrop because click events don't delegate
716 | $('').insertAfter($(this)).on('click', clearMenus)
717 | }
718 |
719 | $parent.trigger(e = $.Event('show.bs.dropdown'))
720 |
721 | if (e.isDefaultPrevented()) return
722 |
723 | $parent
724 | .toggleClass('open')
725 | .trigger('shown.bs.dropdown')
726 |
727 | $this.focus()
728 | }
729 |
730 | return false
731 | }
732 |
733 | Dropdown.prototype.keydown = function (e) {
734 | if (!/(38|40|27)/.test(e.keyCode)) return
735 |
736 | var $this = $(this)
737 |
738 | e.preventDefault()
739 | e.stopPropagation()
740 |
741 | if ($this.is('.disabled, :disabled')) return
742 |
743 | var $parent = getParent($this)
744 | var isActive = $parent.hasClass('open')
745 |
746 | if (!isActive || (isActive && e.keyCode == 27)) {
747 | if (e.which == 27) $parent.find(toggle).focus()
748 | return $this.click()
749 | }
750 |
751 | var $items = $('[role=menu] li:not(.divider):visible a', $parent)
752 |
753 | if (!$items.length) return
754 |
755 | var index = $items.index($items.filter(':focus'))
756 |
757 | if (e.keyCode == 38 && index > 0) index-- // up
758 | if (e.keyCode == 40 && index < $items.length - 1) index++ // down
759 | if (!~index) index=0
760 |
761 | $items.eq(index).focus()
762 | }
763 |
764 | function clearMenus() {
765 | $(backdrop).remove()
766 | $(toggle).each(function (e) {
767 | var $parent = getParent($(this))
768 | if (!$parent.hasClass('open')) return
769 | $parent.trigger(e = $.Event('hide.bs.dropdown'))
770 | if (e.isDefaultPrevented()) return
771 | $parent.removeClass('open').trigger('hidden.bs.dropdown')
772 | })
773 | }
774 |
775 | function getParent($this) {
776 | var selector = $this.attr('data-target')
777 |
778 | if (!selector) {
779 | selector = $this.attr('href')
780 | selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
781 | }
782 |
783 | var $parent = selector && $(selector)
784 |
785 | return $parent && $parent.length ? $parent : $this.parent()
786 | }
787 |
788 |
789 | // DROPDOWN PLUGIN DEFINITION
790 | // ==========================
791 |
792 | var old = $.fn.dropdown
793 |
794 | $.fn.dropdown = function (option) {
795 | return this.each(function () {
796 | var $this = $(this)
797 | var data = $this.data('dropdown')
798 |
799 | if (!data) $this.data('dropdown', (data = new Dropdown(this)))
800 | if (typeof option == 'string') data[option].call($this)
801 | })
802 | }
803 |
804 | $.fn.dropdown.Constructor = Dropdown
805 |
806 |
807 | // DROPDOWN NO CONFLICT
808 | // ====================
809 |
810 | $.fn.dropdown.noConflict = function () {
811 | $.fn.dropdown = old
812 | return this
813 | }
814 |
815 |
816 | // APPLY TO STANDARD DROPDOWN ELEMENTS
817 | // ===================================
818 |
819 | $(document)
820 | .on('click.bs.dropdown.data-api', clearMenus)
821 | .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
822 | .on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
823 | .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
824 |
825 | }(window.jQuery);
826 |
827 | /* ========================================================================
828 | * Bootstrap: modal.js v3.0.0
829 | * http://twbs.github.com/bootstrap/javascript.html#modals
830 | * ========================================================================
831 | * Copyright 2012 Twitter, Inc.
832 | *
833 | * Licensed under the Apache License, Version 2.0 (the "License");
834 | * you may not use this file except in compliance with the License.
835 | * You may obtain a copy of the License at
836 | *
837 | * http://www.apache.org/licenses/LICENSE-2.0
838 | *
839 | * Unless required by applicable law or agreed to in writing, software
840 | * distributed under the License is distributed on an "AS IS" BASIS,
841 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
842 | * See the License for the specific language governing permissions and
843 | * limitations under the License.
844 | * ======================================================================== */
845 |
846 |
847 | +function ($) { "use strict";
848 |
849 | // MODAL CLASS DEFINITION
850 | // ======================
851 |
852 | var Modal = function (element, options) {
853 | this.options = options
854 | this.$element = $(element)
855 | this.$backdrop =
856 | this.isShown = null
857 |
858 | if (this.options.remote) this.$element.load(this.options.remote)
859 | }
860 |
861 | Modal.DEFAULTS = {
862 | backdrop: true
863 | , keyboard: true
864 | , show: true
865 | }
866 |
867 | Modal.prototype.toggle = function (_relatedTarget) {
868 | return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
869 | }
870 |
871 | Modal.prototype.show = function (_relatedTarget) {
872 | var that = this
873 | var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
874 |
875 | this.$element.trigger(e)
876 |
877 | if (this.isShown || e.isDefaultPrevented()) return
878 |
879 | this.isShown = true
880 |
881 | this.escape()
882 |
883 | this.$element.on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
884 |
885 | this.backdrop(function () {
886 | var transition = $.support.transition && that.$element.hasClass('fade')
887 |
888 | if (!that.$element.parent().length) {
889 | that.$element.appendTo(document.body) // don't move modals dom position
890 | }
891 |
892 | that.$element.show()
893 |
894 | if (transition) {
895 | that.$element[0].offsetWidth // force reflow
896 | }
897 |
898 | that.$element
899 | .addClass('in')
900 | .attr('aria-hidden', false)
901 |
902 | that.enforceFocus()
903 |
904 | var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
905 |
906 | transition ?
907 | that.$element.find('.modal-dialog') // wait for modal to slide in
908 | .one($.support.transition.end, function () {
909 | that.$element.focus().trigger(e)
910 | })
911 | .emulateTransitionEnd(300) :
912 | that.$element.focus().trigger(e)
913 | })
914 | }
915 |
916 | Modal.prototype.hide = function (e) {
917 | if (e) e.preventDefault()
918 |
919 | e = $.Event('hide.bs.modal')
920 |
921 | this.$element.trigger(e)
922 |
923 | if (!this.isShown || e.isDefaultPrevented()) return
924 |
925 | this.isShown = false
926 |
927 | this.escape()
928 |
929 | $(document).off('focusin.bs.modal')
930 |
931 | this.$element
932 | .removeClass('in')
933 | .attr('aria-hidden', true)
934 | .off('click.dismiss.modal')
935 |
936 | $.support.transition && this.$element.hasClass('fade') ?
937 | this.$element
938 | .one($.support.transition.end, $.proxy(this.hideModal, this))
939 | .emulateTransitionEnd(300) :
940 | this.hideModal()
941 | }
942 |
943 | Modal.prototype.enforceFocus = function () {
944 | $(document)
945 | .off('focusin.bs.modal') // guard against infinite focus loop
946 | .on('focusin.bs.modal', $.proxy(function (e) {
947 | if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
948 | this.$element.focus()
949 | }
950 | }, this))
951 | }
952 |
953 | Modal.prototype.escape = function () {
954 | if (this.isShown && this.options.keyboard) {
955 | this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
956 | e.which == 27 && this.hide()
957 | }, this))
958 | } else if (!this.isShown) {
959 | this.$element.off('keyup.dismiss.bs.modal')
960 | }
961 | }
962 |
963 | Modal.prototype.hideModal = function () {
964 | var that = this
965 | this.$element.hide()
966 | this.backdrop(function () {
967 | that.removeBackdrop()
968 | that.$element.trigger('hidden.bs.modal')
969 | })
970 | }
971 |
972 | Modal.prototype.removeBackdrop = function () {
973 | this.$backdrop && this.$backdrop.remove()
974 | this.$backdrop = null
975 | }
976 |
977 | Modal.prototype.backdrop = function (callback) {
978 | var that = this
979 | var animate = this.$element.hasClass('fade') ? 'fade' : ''
980 |
981 | if (this.isShown && this.options.backdrop) {
982 | var doAnimate = $.support.transition && animate
983 |
984 | this.$backdrop = $('')
985 | .appendTo(document.body)
986 |
987 | this.$element.on('click.dismiss.modal', $.proxy(function (e) {
988 | if (e.target !== e.currentTarget) return
989 | this.options.backdrop == 'static'
990 | ? this.$element[0].focus.call(this.$element[0])
991 | : this.hide.call(this)
992 | }, this))
993 |
994 | if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
995 |
996 | this.$backdrop.addClass('in')
997 |
998 | if (!callback) return
999 |
1000 | doAnimate ?
1001 | this.$backdrop
1002 | .one($.support.transition.end, callback)
1003 | .emulateTransitionEnd(150) :
1004 | callback()
1005 |
1006 | } else if (!this.isShown && this.$backdrop) {
1007 | this.$backdrop.removeClass('in')
1008 |
1009 | $.support.transition && this.$element.hasClass('fade')?
1010 | this.$backdrop
1011 | .one($.support.transition.end, callback)
1012 | .emulateTransitionEnd(150) :
1013 | callback()
1014 |
1015 | } else if (callback) {
1016 | callback()
1017 | }
1018 | }
1019 |
1020 |
1021 | // MODAL PLUGIN DEFINITION
1022 | // =======================
1023 |
1024 | var old = $.fn.modal
1025 |
1026 | $.fn.modal = function (option, _relatedTarget) {
1027 | return this.each(function () {
1028 | var $this = $(this)
1029 | var data = $this.data('bs.modal')
1030 | var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
1031 |
1032 | if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
1033 | if (typeof option == 'string') data[option](_relatedTarget)
1034 | else if (options.show) data.show(_relatedTarget)
1035 | })
1036 | }
1037 |
1038 | $.fn.modal.Constructor = Modal
1039 |
1040 |
1041 | // MODAL NO CONFLICT
1042 | // =================
1043 |
1044 | $.fn.modal.noConflict = function () {
1045 | $.fn.modal = old
1046 | return this
1047 | }
1048 |
1049 |
1050 | // MODAL DATA-API
1051 | // ==============
1052 |
1053 | $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
1054 | var $this = $(this)
1055 | var href = $this.attr('href')
1056 | var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
1057 | var option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
1058 |
1059 | e.preventDefault()
1060 |
1061 | $target
1062 | .modal(option, this)
1063 | .one('hide', function () {
1064 | $this.is(':visible') && $this.focus()
1065 | })
1066 | })
1067 |
1068 | $(document)
1069 | .on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
1070 | .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
1071 |
1072 | }(window.jQuery);
1073 |
1074 | /* ========================================================================
1075 | * Bootstrap: tooltip.js v3.0.0
1076 | * http://twbs.github.com/bootstrap/javascript.html#tooltip
1077 | * Inspired by the original jQuery.tipsy by Jason Frame
1078 | * ========================================================================
1079 | * Copyright 2012 Twitter, Inc.
1080 | *
1081 | * Licensed under the Apache License, Version 2.0 (the "License");
1082 | * you may not use this file except in compliance with the License.
1083 | * You may obtain a copy of the License at
1084 | *
1085 | * http://www.apache.org/licenses/LICENSE-2.0
1086 | *
1087 | * Unless required by applicable law or agreed to in writing, software
1088 | * distributed under the License is distributed on an "AS IS" BASIS,
1089 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1090 | * See the License for the specific language governing permissions and
1091 | * limitations under the License.
1092 | * ======================================================================== */
1093 |
1094 |
1095 | +function ($) { "use strict";
1096 |
1097 | // TOOLTIP PUBLIC CLASS DEFINITION
1098 | // ===============================
1099 |
1100 | var Tooltip = function (element, options) {
1101 | this.type =
1102 | this.options =
1103 | this.enabled =
1104 | this.timeout =
1105 | this.hoverState =
1106 | this.$element = null
1107 |
1108 | this.init('tooltip', element, options)
1109 | }
1110 |
1111 | Tooltip.DEFAULTS = {
1112 | animation: true
1113 | , placement: 'top'
1114 | , selector: false
1115 | , template: '