Easy Bootstrap Shortcode - Version 2.4.0

Version Description

  • [Update] Updated to Twitter Bootstrap 3.0.3.
  • [Update] Choose custom color option for icon in Icons Shortcode.
  • [Update] Choose font size option for icon in Icons Shortcode.
  • [Update] Choose custom color option for icon in Icon Heading Shortcode.
  • [Update] Choose custom color option for icon in Button Shortcode.
Download this release

Release Info

Developer oscitas
Plugin Icon 128x128 Easy Bootstrap Shortcode
Version 2.4.0
Comparing to
See all releases

Code changes from version 3.7 to 2.4.0

Files changed (77) hide show
  1. License.txt +281 -281
  2. README.txt +41 -8
  3. ebs_settings.php +110 -82
  4. filters.php +83 -0
  5. fonts/glyphicons-halflings-regular.svg +227 -227
  6. images/Thumbs.db +0 -0
  7. images/content.png +0 -0
  8. images/dropdown.png +0 -0
  9. images/elements.png +0 -0
  10. images/icon.png +0 -0
  11. images/icon_dropdown.png +0 -0
  12. images/icons.png +0 -0
  13. images/interaction.png +0 -0
  14. images/misc.png +0 -0
  15. images/select.png +0 -0
  16. images/select2.png +0 -0
  17. images/slider.png +0 -0
  18. js/bootstrap.min.js +7 -9
  19. js/colorpicker.js +484 -0
  20. js/ebs_main.js +75 -0
  21. js/oscitas_main_dropdown.js +102 -0
  22. js/respond.min.js +6 -0
  23. osc_bootstrap_shortcode.php +227 -211
  24. shortcode/btngrp/btngrp_plugin.js +200 -230
  25. shortcode/btngrp/plugin_shortcode.php +24 -24
  26. shortcode/btngrptool/btngrptool_plugin.js +25 -26
  27. shortcode/btngrptool/plugin_shortcode.php +17 -17
  28. shortcode/buttons/buttons_plugin.js +397 -422
  29. shortcode/buttons/plugin_shortcode.php +42 -38
  30. shortcode/deslist/deslist_plugin.js +79 -109
  31. shortcode/deslist/plugin_shortcode.php +24 -24
  32. shortcode/dropdown/dropdown_plugin.js +160 -190
  33. shortcode/dropdown/plugin_shortcode.php +76 -76
  34. shortcode/functions.php +69 -59
  35. shortcode/icon/icon_plugin.js +296 -318
  36. shortcode/icon/plugin_shortcode.php +25 -17
  37. shortcode/iconhead/iconhead_plugin.js +306 -332
  38. shortcode/iconhead/iconhead_plugin.min.js +0 -6
  39. shortcode/iconhead/plugin_shortcode.php +26 -22
  40. shortcode/image/image_plugin.js +94 -124
  41. shortcode/image/plugin_shortcode.php +22 -22
  42. shortcode/labels/labels_plugin.js +68 -97
  43. shortcode/labels/plugin_shortcode.php +20 -20
  44. shortcode/lists/lists_plugin.js +86 -115
  45. shortcode/lists/plugin_shortcode.php +26 -26
  46. shortcode/notifications/notifications_plugin.js +81 -106
  47. shortcode/notifications/plugin_shortcode.php +28 -28
  48. shortcode/oscpopover/oscpopover_plugin.js +137 -166
  49. shortcode/oscpopover/plugin_shortcode.php +27 -27
  50. shortcode/panel/panel_plugin.js +70 -99
  51. shortcode/panel/plugin_shortcode.php +44 -44
  52. shortcode/popover/icon.png +0 -0
  53. shortcode/popover/plugin_shortcode.php +0 -28
  54. shortcode/popover/popover_plugin.js +0 -166
  55. shortcode/progressbar/plugin_shortcode.php +26 -26
  56. shortcode/progressbar/progressbar_plugin.js +115 -151
  57. shortcode/tables/plugin_shortcode.php +61 -61
  58. shortcode/tables/tables_plugin.js +121 -151
  59. shortcode/tabs/plugin_shortcode.php +48 -48
  60. shortcode/tabs/tabs_plugin.js +26 -26
  61. shortcode/thumbnail/plugin_shortcode.php +34 -37
  62. shortcode/thumbnail/thumbnail_plugin.js +102 -132
  63. shortcode/toggles/plugin_shortcode.php +55 -55
  64. shortcode/toggles/toggles_plugin.js +26 -26
  65. shortcode/tooltip/plugin_shortcode.php +36 -36
  66. shortcode/tooltip/tooltip_plugin.js +115 -145
  67. shortcode/well/plugin_shortcode.php +20 -20
  68. shortcode/well/well_plugin.js +65 -94
  69. shortcode/wpcolumns/plugin_shortcode.php +569 -569
  70. shortcode/wpcolumns/wpcolumns_plugin.js +347 -384
  71. styles/bootstrap-icon.css +853 -0
  72. styles/bootstrap.min.css +7 -9
  73. styles/bootstrap_admin.css +235 -0
  74. styles/bootstrap_admin.min.css +1 -1
  75. styles/colorpicker.css +161 -0
  76. styles/ebs-setting.css +56 -0
  77. styles/ebs-setting.min.css +1 -1
License.txt CHANGED
@@ -1,281 +1,281 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
- Everyone is permitted to copy and distribute verbatim copies
7
- of this license document, but changing it is not allowed.
8
-
9
- Preamble
10
-
11
- The licenses for most software are designed to take away your
12
- freedom to share and change it. By contrast, the GNU General Public
13
- License is intended to guarantee your freedom to share and change free
14
- software--to make sure the software is free for all its users. This
15
- General Public License applies to most of the Free Software
16
- Foundation's software and to any other program whose authors commit to
17
- using it. (Some other Free Software Foundation software is covered by
18
- the GNU Lesser General Public License instead.) You can apply it to
19
- your programs, too.
20
-
21
- When we speak of free software, we are referring to freedom, not
22
- price. Our General Public Licenses are designed to make sure that you
23
- have the freedom to distribute copies of free software (and charge for
24
- this service if you wish), that you receive source code or can get it
25
- if you want it, that you can change the software or use pieces of it
26
- in new free programs; and that you know you can do these things.
27
-
28
- To protect your rights, we need to make restrictions that forbid
29
- anyone to deny you these rights or to ask you to surrender the rights.
30
- These restrictions translate to certain responsibilities for you if you
31
- distribute copies of the software, or if you modify it.
32
-
33
- For example, if you distribute copies of such a program, whether
34
- gratis or for a fee, you must give the recipients all the rights that
35
- you have. You must make sure that they, too, receive or can get the
36
- source code. And you must show them these terms so they know their
37
- rights.
38
-
39
- We protect your rights with two steps: (1) copyright the software, and
40
- (2) offer you this license which gives you legal permission to copy,
41
- distribute and/or modify the software.
42
-
43
- Also, for each author's protection and ours, we want to make certain
44
- that everyone understands that there is no warranty for this free
45
- software. If the software is modified by someone else and passed on, we
46
- want its recipients to know that what they have is not the original, so
47
- that any problems introduced by others will not reflect on the original
48
- authors' reputations.
49
-
50
- Finally, any free program is threatened constantly by software
51
- patents. We wish to avoid the danger that redistributors of a free
52
- program will individually obtain patent licenses, in effect making the
53
- program proprietary. To prevent this, we have made it clear that any
54
- patent must be licensed for everyone's free use or not licensed at all.
55
-
56
- The precise terms and conditions for copying, distribution and
57
- modification follow.
58
-
59
- GNU GENERAL PUBLIC LICENSE
60
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
-
62
- 0. This License applies to any program or other work which contains
63
- a notice placed by the copyright holder saying it may be distributed
64
- under the terms of this General Public License. The "Program", below,
65
- refers to any such program or work, and a "work based on the Program"
66
- means either the Program or any derivative work under copyright law:
67
- that is to say, a work containing the Program or a portion of it,
68
- either verbatim or with modifications and/or translated into another
69
- language. (Hereinafter, translation is included without limitation in
70
- the term "modification".) Each licensee is addressed as "you".
71
-
72
- Activities other than copying, distribution and modification are not
73
- covered by this License; they are outside its scope. The act of
74
- running the Program is not restricted, and the output from the Program
75
- is covered only if its contents constitute a work based on the
76
- Program (independent of having been made by running the Program).
77
- Whether that is true depends on what the Program does.
78
-
79
- 1. You may copy and distribute verbatim copies of the Program's
80
- source code as you receive it, in any medium, provided that you
81
- conspicuously and appropriately publish on each copy an appropriate
82
- copyright notice and disclaimer of warranty; keep intact all the
83
- notices that refer to this License and to the absence of any warranty;
84
- and give any other recipients of the Program a copy of this License
85
- along with the Program.
86
-
87
- You may charge a fee for the physical act of transferring a copy, and
88
- you may at your option offer warranty protection in exchange for a fee.
89
-
90
- 2. You may modify your copy or copies of the Program or any portion
91
- of it, thus forming a work based on the Program, and copy and
92
- distribute such modifications or work under the terms of Section 1
93
- above, provided that you also meet all of these conditions:
94
-
95
- a) You must cause the modified files to carry prominent notices
96
- stating that you changed the files and the date of any change.
97
-
98
- b) You must cause any work that you distribute or publish, that in
99
- whole or in part contains or is derived from the Program or any
100
- part thereof, to be licensed as a whole at no charge to all third
101
- parties under the terms of this License.
102
-
103
- c) If the modified program normally reads commands interactively
104
- when run, you must cause it, when started running for such
105
- interactive use in the most ordinary way, to print or display an
106
- announcement including an appropriate copyright notice and a
107
- notice that there is no warranty (or else, saying that you provide
108
- a warranty) and that users may redistribute the program under
109
- these conditions, and telling the user how to view a copy of this
110
- License. (Exception: if the Program itself is interactive but
111
- does not normally print such an announcement, your work based on
112
- the Program is not required to print an announcement.)
113
-
114
- These requirements apply to the modified work as a whole. If
115
- identifiable sections of that work are not derived from the Program,
116
- and can be reasonably considered independent and separate works in
117
- themselves, then this License, and its terms, do not apply to those
118
- sections when you distribute them as separate works. But when you
119
- distribute the same sections as part of a whole which is a work based
120
- on the Program, the distribution of the whole must be on the terms of
121
- this License, whose permissions for other licensees extend to the
122
- entire whole, and thus to each and every part regardless of who wrote it.
123
-
124
- Thus, it is not the intent of this section to claim rights or contest
125
- your rights to work written entirely by you; rather, the intent is to
126
- exercise the right to control the distribution of derivative or
127
- collective works based on the Program.
128
-
129
- In addition, mere aggregation of another work not based on the Program
130
- with the Program (or with a work based on the Program) on a volume of
131
- a storage or distribution medium does not bring the other work under
132
- the scope of this License.
133
-
134
- 3. You may copy and distribute the Program (or a work based on it,
135
- under Section 2) in object code or executable form under the terms of
136
- Sections 1 and 2 above provided that you also do one of the following:
137
-
138
- a) Accompany it with the complete corresponding machine-readable
139
- source code, which must be distributed under the terms of Sections
140
- 1 and 2 above on a medium customarily used for software interchange; or,
141
-
142
- b) Accompany it with a written offer, valid for at least three
143
- years, to give any third party, for a charge no more than your
144
- cost of physically performing source distribution, a complete
145
- machine-readable copy of the corresponding source code, to be
146
- distributed under the terms of Sections 1 and 2 above on a medium
147
- customarily used for software interchange; or,
148
-
149
- c) Accompany it with the information you received as to the offer
150
- to distribute corresponding source code. (This alternative is
151
- allowed only for noncommercial distribution and only if you
152
- received the program in object code or executable form with such
153
- an offer, in accord with Subsection b above.)
154
-
155
- The source code for a work means the preferred form of the work for
156
- making modifications to it. For an executable work, complete source
157
- code means all the source code for all modules it contains, plus any
158
- associated interface definition files, plus the scripts used to
159
- control compilation and installation of the executable. However, as a
160
- special exception, the source code distributed need not include
161
- anything that is normally distributed (in either source or binary
162
- form) with the major components (compiler, kernel, and so on) of the
163
- operating system on which the executable runs, unless that component
164
- itself accompanies the executable.
165
-
166
- If distribution of executable or object code is made by offering
167
- access to copy from a designated place, then offering equivalent
168
- access to copy the source code from the same place counts as
169
- distribution of the source code, even though third parties are not
170
- compelled to copy the source along with the object code.
171
-
172
- 4. You may not copy, modify, sublicense, or distribute the Program
173
- except as expressly provided under this License. Any attempt
174
- otherwise to copy, modify, sublicense or distribute the Program is
175
- void, and will automatically terminate your rights under this License.
176
- However, parties who have received copies, or rights, from you under
177
- this License will not have their licenses terminated so long as such
178
- parties remain in full compliance.
179
-
180
- 5. You are not required to accept this License, since you have not
181
- signed it. However, nothing else grants you permission to modify or
182
- distribute the Program or its derivative works. These actions are
183
- prohibited by law if you do not accept this License. Therefore, by
184
- modifying or distributing the Program (or any work based on the
185
- Program), you indicate your acceptance of this License to do so, and
186
- all its terms and conditions for copying, distributing or modifying
187
- the Program or works based on it.
188
-
189
- 6. Each time you redistribute the Program (or any work based on the
190
- Program), the recipient automatically receives a license from the
191
- original licensor to copy, distribute or modify the Program subject to
192
- these terms and conditions. You may not impose any further
193
- restrictions on the recipients' exercise of the rights granted herein.
194
- You are not responsible for enforcing compliance by third parties to
195
- this License.
196
-
197
- 7. If, as a consequence of a court judgment or allegation of patent
198
- infringement or for any other reason (not limited to patent issues),
199
- conditions are imposed on you (whether by court order, agreement or
200
- otherwise) that contradict the conditions of this License, they do not
201
- excuse you from the conditions of this License. If you cannot
202
- distribute so as to satisfy simultaneously your obligations under this
203
- License and any other pertinent obligations, then as a consequence you
204
- may not distribute the Program at all. For example, if a patent
205
- license would not permit royalty-free redistribution of the Program by
206
- all those who receive copies directly or indirectly through you, then
207
- the only way you could satisfy both it and this License would be to
208
- refrain entirely from distribution of the Program.
209
-
210
- If any portion of this section is held invalid or unenforceable under
211
- any particular circumstance, the balance of the section is intended to
212
- apply and the section as a whole is intended to apply in other
213
- circumstances.
214
-
215
- It is not the purpose of this section to induce you to infringe any
216
- patents or other property right claims or to contest validity of any
217
- such claims; this section has the sole purpose of protecting the
218
- integrity of the free software distribution system, which is
219
- implemented by public license practices. Many people have made
220
- generous contributions to the wide range of software distributed
221
- through that system in reliance on consistent application of that
222
- system; it is up to the author/donor to decide if he or she is willing
223
- to distribute software through any other system and a licensee cannot
224
- impose that choice.
225
-
226
- This section is intended to make thoroughly clear what is believed to
227
- be a consequence of the rest of this License.
228
-
229
- 8. If the distribution and/or use of the Program is restricted in
230
- certain countries either by patents or by copyrighted interfaces, the
231
- original copyright holder who places the Program under this License
232
- may add an explicit geographical distribution limitation excluding
233
- those countries, so that distribution is permitted only in or among
234
- countries not thus excluded. In such case, this License incorporates
235
- the limitation as if written in the body of this License.
236
-
237
- 9. The Free Software Foundation may publish revised and/or new versions
238
- of the General Public License from time to time. Such new versions will
239
- be similar in spirit to the present version, but may differ in detail to
240
- address new problems or concerns.
241
-
242
- Each version is given a distinguishing version number. If the Program
243
- specifies a version number of this License which applies to it and "any
244
- later version", you have the option of following the terms and conditions
245
- either of that version or of any later version published by the Free
246
- Software Foundation. If the Program does not specify a version number of
247
- this License, you may choose any version ever published by the Free Software
248
- Foundation.
249
-
250
- 10. If you wish to incorporate parts of the Program into other free
251
- programs whose distribution conditions are different, write to the author
252
- to ask for permission. For software which is copyrighted by the Free
253
- Software Foundation, write to the Free Software Foundation; we sometimes
254
- make exceptions for this. Our decision will be guided by the two goals
255
- of preserving the free status of all derivatives of our free software and
256
- of promoting the sharing and reuse of software generally.
257
-
258
- NO WARRANTY
259
-
260
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
- REPAIR OR CORRECTION.
269
-
270
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
- POSSIBILITY OF SUCH DAMAGES.
279
-
280
- END OF TERMS AND CONDITIONS
281
-
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Lesser General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
README.txt CHANGED
@@ -3,16 +3,16 @@ Contributors: oscitas
3
  Link: http://www.osCitasthemes.com
4
  Tags: Wordpress Shortcodes, Wordpress Bootstrap, Wordpress Bootstrap Shortcode, Bootstrap, Responsive pages, Editor plugin, Bootstrap Shortcode, TinyMCE
5
  Requires at least: 3.0
6
- Tested up to: 3.6.1
7
- Stable tag: 3.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Easy Bootstrap Shortcode enable you to add bootstrap 3.0 styles in your pages, post and custom post in simplest manner.
12
 
13
  == Description ==
14
 
15
- Easy Bootstrap Shortcode is bootstrap 3.0 compatible plugin which add icons to wordpress editor (tinyMCE Shortcode Buttons) and one can add bootstrap style to their website just by clicking on tinyMCE editor icon.
16
 
17
  http://www.youtube.com/watch?v=8T0IC1PsdTw
18
 
@@ -33,15 +33,13 @@ Looking for parallax slider, check this [Easy Wordpress Parallax Slider](http://
33
 
34
  Want to implement responsive tabs to your pages, check this [Easy Responsive Tabs](http://wordpress.org/plugins/easy-responsive-tabs/)
35
 
36
- Follow us [@Twitter](https://twitter.com/oscitasthemes), [@facebook](https://www.facebook.com/oscitasthemes), [@google+](https://plus.google.com/109122908951553852347/posts)
37
-
38
- = For best results use with bootstrap 3.0 responsive theme =
39
 
40
  = Features: =
41
 
42
  * simplest bootstrap style plugin ever.
43
  * IE 6+ compatible
44
- * Bootstrap 3.0 compatible.
45
  * No need to paste shortcode in editor.
46
  * Add icons to editor.
47
  * Shortcode added to editor by clicking on icon.
@@ -171,6 +169,7 @@ And to give use the custom css for admin
171
 
172
  If you'd like to contribute to this plugin, you can find it [hosted on GitHub](https://github.com/oscitasthemes/Easy-Bootstrap-Shortcode).
173
 
 
174
 
175
 
176
 
@@ -205,6 +204,38 @@ It's that simple ... just what the name suggests
205
 
206
  == Changelog ==
207
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
 
209
  = 2.4.0 =
210
 
@@ -214,10 +245,12 @@ It's that simple ... just what the name suggests
214
  * [Update] Choose custom color option for icon in Icon Heading Shortcode.
215
  * [Update] Choose custom color option for icon in Button Shortcode.
216
 
 
217
  = 2.3.6 =
218
 
219
  * [fixed] Button Group, Button Group Toolbar, Description List icon issues fixed.
220
 
 
221
  = 2.3.5 =
222
 
223
  * [update] Banner of Easy Bootstrap Shortcodes PRO Version in settings page.
3
  Link: http://www.osCitasthemes.com
4
  Tags: Wordpress Shortcodes, Wordpress Bootstrap, Wordpress Bootstrap Shortcode, Bootstrap, Responsive pages, Editor plugin, Bootstrap Shortcode, TinyMCE
5
  Requires at least: 3.0
6
+ Tested up to: 3.8
7
+ Stable tag: 2.4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Easy Bootstrap Shortcode enable you to add bootstrap 3.0.3 styles in your pages, post and custom post in simplest manner.
12
 
13
  == Description ==
14
 
15
+ Easy Bootstrap Shortcode is bootstrap 3.0.3 compatible plugin which add icons to wordpress editor (tinyMCE Shortcode Buttons) and one can add bootstrap style to their website just by clicking on tinyMCE editor icon.
16
 
17
  http://www.youtube.com/watch?v=8T0IC1PsdTw
18
 
33
 
34
  Want to implement responsive tabs to your pages, check this [Easy Responsive Tabs](http://wordpress.org/plugins/easy-responsive-tabs/)
35
 
36
+ = For best results use with bootstrap 3.0.3 responsive theme =
 
 
37
 
38
  = Features: =
39
 
40
  * simplest bootstrap style plugin ever.
41
  * IE 6+ compatible
42
+ * Bootstrap 3.0.3 compatible.
43
  * No need to paste shortcode in editor.
44
  * Add icons to editor.
45
  * Shortcode added to editor by clicking on icon.
169
 
170
  If you'd like to contribute to this plugin, you can find it [hosted on GitHub](https://github.com/oscitasthemes/Easy-Bootstrap-Shortcode).
171
 
172
+ Follow us [@Twitter](https://twitter.com/oscitasthemes), [@facebook](https://www.facebook.com/oscitasthemes), [@google+](https://plus.google.com/109122908951553852347/posts)
173
 
174
 
175
 
204
 
205
  == Changelog ==
206
 
207
+ = 2.4.8 =
208
+
209
+ * [Fixed] CSS file priority order change.
210
+
211
+ = 2.4.7 =
212
+
213
+ * [Fixed] Image issue resolved for setting page.
214
+
215
+ = 2.4.6 =
216
+
217
+ * Add Icons for new Dropdown menu in TinyMCE Editor.
218
+
219
+ = 2.4.5 =
220
+
221
+ * Add New Dropdown Menu Option in TinyMCE Editor.
222
+
223
+ = 2.4.4 =
224
+
225
+ * [Fixed] css for admin popups.
226
+
227
+ = 2.4.3 =
228
+
229
+ * [Fixed] Few js issues.
230
+ * [Fixed] css for admin popups.
231
+
232
+ = 2.4.2 =
233
+
234
+ * [Fixed] Resolved the image upload issue in Thumbnail and Image Shortcodes.
235
+
236
+ = 2.4.1 =
237
+
238
+ * [Fixed] Removed the Fancybox.
239
 
240
  = 2.4.0 =
241
 
245
  * [Update] Choose custom color option for icon in Icon Heading Shortcode.
246
  * [Update] Choose custom color option for icon in Button Shortcode.
247
 
248
+
249
  = 2.3.6 =
250
 
251
  * [fixed] Button Group, Button Group Toolbar, Description List icon issues fixed.
252
 
253
+
254
  = 2.3.5 =
255
 
256
  * [update] Banner of Easy Bootstrap Shortcodes PRO Version in settings page.
ebs_settings.php CHANGED
@@ -1,83 +1,111 @@
1
- <div class="ebs_page_settings">
2
- <h1>Easy Bootstrap Shortcodes Settings for js/css files</h1><form name="ebs_setting" id="ebs_setting" method="post" action="">
3
- <div class="ebs_details">
4
- <label class="ebs_setting_label">bootstrap.js file</label>
5
- <p>
6
- <input type="radio" name="b_js" id="b_js_plugin" class="check_cdn" value="1" <?php echo ($js == 1) ? 'checked=checked' : '' ?>>
7
- <label for="b_js_plugin">Use from EBS Plugin</label>
8
- <input type="radio" name="b_js" id="b_js_theme" class="check_cdn" value="2" <?php echo ($js == 2) ? 'checked=checked' : '' ?>><label for="b_js_theme">Use from theme or any other plugin</label>
9
- <input type="radio" name="b_js" class="check_cdn" id="b_js_cdn" <?php echo ($js == 3) ? 'checked=checked' : '' ?> value="3"><label for="b_js_cdn">Load from CDN</label>
10
- </div>
11
- <div class="ebs_details show_cdn" ><label class="ebs_setting_label">bootstrap.js CDN Path</label><input type="text" name="cdn_path" id="cdn_path" value="<?php echo $cdn; ?>">
12
- </p>
13
- </div>
14
- <div class="ebs_details">
15
- <label class="ebs_setting_label">respond.js file for IE6+ compatible </label>
16
- <p>
17
- <input type="radio" name="respond_js" id="respond_js_plugin" class="respond_cdn" value="1" <?php echo ($respond == 1) ? 'checked=checked' : '' ?>>
18
- <label for="respond_js_plugin">Use from EBS Plugin</label>
19
- <input type="radio" name="respond_js" id="respond_js_theme" class="respond_cdn" value="2" <?php echo ($respond == 2) ? 'checked=checked' : '' ?>><label for="respond_js_theme">Use from theme or any other plugin</label>
20
- <input type="radio" name="respond_js" class="respond_cdn" id="respond_js_cdn" <?php echo ($respond == 3) ? 'checked=checked' : '' ?> value="3"><label for="respond_js_cdn">Load from CDN</label>
21
- </div>
22
- <div class="ebs_details respond_show_cdn" ><label class="ebs_setting_label">respond.js CDN Path</label><input type="text" name="respond_cdn_path" id="respond_cdn_path" value="<?php echo $respondcdn; ?>">
23
- </p>
24
- </div>
25
- <div class="ebs_details">
26
-
27
- <label class="ebs_setting_label">bootstrap.css file</label>
28
- <p><input type="radio" name="b_css" id="b_css_plugin" value="1" <?php echo ($css == 1) ? 'checked=checked' : '' ?>>
29
- <label for="b_css_plugin" >Use from EBS Plugin</label>
30
- <input type="radio" name="b_css" id="b_css_theme" value="2" <?php echo ($css == 2) ? 'checked=checked' : '' ?>><label for="b_css_theme">Use from theme or any other plugin</label>
31
- </p>
32
- </div>
33
- <div class="ebs_btn"><input type="submit" name="ebs_submit" value="Update Settings"></div>
34
- <div style="clear: both;"></div>
35
- <br /><br /><br />
36
- <b>CDN Links for bootstrap.js, you can use any of these</b>
37
- <ul>
38
- <li>
39
- //netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js
40
- </li>
41
- <li>
42
- //cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js
43
- </li>
44
- </ul>
45
- <br/>
46
- <b>CDN Links for respond.js, you can use any of these</b>
47
- <ul>
48
- <li>
49
- //cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js
50
- </li>
51
- </ul>
52
- </form>
53
- <br />
54
- <a href="http://oscitasthemes.com/products/easy-bootstrap-shortcodes-pro/" target="_blank">
55
- <img style="border: 0px;" src="<?php echo plugins_url("images/ebs-pro.jpg", __FILE__); ?>">
56
- </a>
57
- </div>
58
- <script type="text/javascript">
59
- function show_cdn(){
60
- if(jQuery('#b_js_cdn').prop('checked')){
61
- jQuery('.show_cdn').show();
62
- } else{
63
- jQuery('.show_cdn').hide();
64
- }
65
- }
66
- function show_respond_cdn(){
67
- if(jQuery('#respond_js_cdn').prop('checked')){
68
- jQuery('.respond_show_cdn').show();
69
- } else{
70
- jQuery('.respond_show_cdn').hide();
71
- }
72
- }
73
- jQuery(document).ready(function(){
74
- show_cdn();
75
- show_respond_cdn();
76
- jQuery('.check_cdn').click(function(){
77
- show_cdn();
78
- })
79
- jQuery('.respond_cdn').click(function(){
80
- show_respond_cdn();
81
- })
82
- })
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  </script>
1
+ <div class="ebs_page_settings">
2
+ <h1>Easy Bootstrap Shortcode Settings for js/css files</h1><form name="ebs_setting" id="ebs_setting" method="post" action="">
3
+ <?php if(!apply_filters('plugin_oscitas_theme_check',false)){ ?><div class="ebs_details">
4
+ <label class="ebs_setting_label">bootstrap.js file</label>
5
+ <p>
6
+ <input type="radio" name="b_js" id="b_js_plugin" class="check_cdn" value="1" <?php echo ($js == 1) ? 'checked=checked' : '' ?>>
7
+ <label for="b_js_plugin">Use from EBS Plugin</label>
8
+ <input type="radio" name="b_js" id="b_js_theme" class="check_cdn" value="2" <?php echo ($js == 2) ? 'checked=checked' : '' ?>><label for="b_js_theme">Use from theme or any other plugin</label>
9
+ <input type="radio" name="b_js" class="check_cdn" id="b_js_cdn" <?php echo ($js == 3) ? 'checked=checked' : '' ?> value="3"><label for="b_js_cdn">Load from CDN</label>
10
+ </div>
11
+ <div class="ebs_details show_cdn" ><label class="ebs_setting_label">bootstrap.js CDN Path</label><input type="text" name="cdn_path" id="cdn_path" value="<?php echo $cdn; ?>">
12
+ </p>
13
+ </div>
14
+ <div class="ebs_details">
15
+ <label class="ebs_setting_label">respond.js file for IE6+ compatible </label>
16
+ <p>
17
+ <input type="radio" name="respond_js" id="respond_js_plugin" class="respond_cdn" value="1" <?php echo ($respond == 1) ? 'checked=checked' : '' ?>>
18
+ <label for="respond_js_plugin">Use from EBS Plugin</label>
19
+ <input type="radio" name="respond_js" id="respond_js_theme" class="respond_cdn" value="2" <?php echo ($respond == 2) ? 'checked=checked' : '' ?>><label for="respond_js_theme">Use from theme or any other plugin</label>
20
+ <input type="radio" name="respond_js" class="respond_cdn" id="respond_js_cdn" <?php echo ($respond == 3) ? 'checked=checked' : '' ?> value="3"><label for="respond_js_cdn">Load from CDN</label>
21
+ </div>
22
+ <div class="ebs_details respond_show_cdn" ><label class="ebs_setting_label">respond.js CDN Path</label><input type="text" name="respond_cdn_path" id="respond_cdn_path" value="<?php echo $respondcdn; ?>">
23
+ </p>
24
+ </div>
25
+ <div class="ebs_details">
26
+
27
+ <label class="ebs_setting_label">bootstrap.css file</label>
28
+ <p><input type="radio" name="b_css" id="b_css_plugin" value="1" <?php echo ($css == 1) ? 'checked=checked' : '' ?>>
29
+ <label for="b_css_plugin" >Use from EBS Plugin</label>
30
+ <input type="radio" name="b_css" id="b_css_theme" value="2" <?php echo ($css == 2) ? 'checked=checked' : '' ?>><label for="b_css_theme">Use from theme or any other plugin</label>
31
+ </p>
32
+ </div>
33
+ <?php } ?>
34
+ <div class="ebs_details">
35
+ <label class="ebs_setting_label">Editor Button Style</label>
36
+ <p>
37
+ <label for="ebsp_icon" class="ebs_editor_label" title="Icons"><input type="radio" name="ebsp_editor_opt" id="ebsp_icon" value="icon" <?php echo ($ebsp_editor_opt == 'icon') ? 'checked=checked' : '' ?> style="display: none" class="ebs_editor_style"><img src="<?php echo EBS_PLUGIN_URL.'images/icons.png'?>"></label>
38
+
39
+ <label for="ebsp_dropdown" class="ebs_editor_label" title="Dropdown"><input type="radio" name="ebsp_editor_opt" id="ebsp_dropdown" value="dropdown" <?php echo ($ebsp_editor_opt == 'dropdown') ? 'checked=checked' : '' ?> style="display: none" class="ebs_editor_style"><img src="<?php echo EBS_PLUGIN_URL.'images/dropdown.png'?>"></label>
40
+
41
+ </p>
42
+ </div>
43
+ <div class="ebs_btn"><input type="submit" name="ebs_submit" class="button-primary" value="Update Settings"></div>
44
+ <?php if(!apply_filters('plugin_oscitas_theme_check',false)){ ?><div style="clear: both;"></div>
45
+ <br /><br /><br />
46
+ <b>CDN Links for bootstrap.js, you can use any of these</b>
47
+ <ul>
48
+ <li>
49
+ //netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js
50
+ </li>
51
+ <li>
52
+ //cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js
53
+ </li>
54
+ </ul>
55
+ <br/>
56
+ <b>CDN Links for respond.js, you can use any of these</b>
57
+ <ul>
58
+ <li>
59
+ //cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js
60
+ </li>
61
+ </ul>
62
+ <?php } ?>
63
+ </form>
64
+ <br />
65
+ <a href="http://oscitasthemes.com/products/easy-bootstrap-shortcodes-pro/" target="_blank">
66
+ <img style="border: 0px;" src="<?php echo plugins_url("images/ebs-pro.jpg", __FILE__); ?>">
67
+ </a>
68
+ </div>
69
+ <script type="text/javascript">
70
+ function show_cdn(){
71
+ if(jQuery('#b_js_cdn').prop('checked')){
72
+ jQuery('.show_cdn').show();
73
+ } else{
74
+ jQuery('.show_cdn').hide();
75
+ }
76
+ }
77
+ function show_respond_cdn(){
78
+ if(jQuery('#respond_js_cdn').prop('checked')){
79
+ jQuery('.respond_show_cdn').show();
80
+ } else{
81
+ jQuery('.respond_show_cdn').hide();
82
+ }
83
+ }
84
+ jQuery(document).ready(function(){
85
+ show_cdn();
86
+ show_respond_cdn();
87
+ jQuery('.check_cdn').click(function(){
88
+ show_cdn();
89
+ })
90
+ jQuery('.respond_cdn').click(function(){
91
+ show_respond_cdn();
92
+ })
93
+ })
94
+ </script>
95
+ <script type="text/javascript">
96
+ function show_editor_style(){
97
+ jQuery('.ebs_editor_label').removeClass('val_selected');
98
+ if(jQuery('#ebsp_icon').prop('checked')){
99
+ jQuery('#ebsp_icon').parent().addClass('val_selected');
100
+ } else if(jQuery('#ebsp_dropdown').prop('checked')){
101
+ jQuery('#ebsp_dropdown').parent().addClass('val_selected');
102
+ }
103
+ }
104
+ jQuery(document).ready(function(){
105
+ show_editor_style();
106
+ jQuery('.ebs_editor_style').click(function(){
107
+ show_editor_style();
108
+ })
109
+ });
110
+
111
  </script>
filters.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /****************************************************************
3
+ * Write these filter into your theme's functions.php to make plugin
4
+ * compatible to your theme, You can use all of selective filters
5
+ * according to your need.
6
+ *****************************************************************/
7
+
8
+ /*
9
+ * Filter for Custom options
10
+ */
11
+ function apply_ebs_custom_option( $prevent ) {
12
+ return true;
13
+ }
14
+ add_filter( 'ebs_custom_option', 'apply_ebs_custom_option' );
15
+
16
+
17
+
18
+ /*
19
+ *Filter for bootstrap_admin.css
20
+ */
21
+ function apply_ebs_custom_bootstrap_admin_css( $prevent ) {
22
+ return true;
23
+ }
24
+ add_filter( 'ebs_custom_bootstrap_admin_css', 'apply_ebs_custom_bootstrap_admin_css' );
25
+
26
+
27
+ /*
28
+ * Filter for bootstrap.min.js url this filter is only applicable if you selected js inclusion from plugin in EBS Settings
29
+ */
30
+
31
+ function apply_ebs_bootstrap_js_url( $url ) {
32
+ $ebs_js_url='';// write your desired bootstrap.min.js url here
33
+ return $ebs_js_url;
34
+ }
35
+ add_filter( 'ebs_bootstrap_js_url', 'apply_ebs_bootstrap_js_url' );
36
+
37
+
38
+ /*
39
+ * Filter for bootstrap.min.js CDN path this filter is only applicable if you selected js inclusion from CDN in EBS Settings
40
+ */
41
+
42
+ function apply_ebs_bootstrap_js_cdn( $url ) {
43
+ $ebs_cdn_url='';// write your bootstrap.min.js cdn path here
44
+ return $ebs_cdn_url;
45
+ }
46
+ add_filter( 'ebs_bootstrap_js_cdn', 'apply_ebs_bootstrap_js_cdn' );
47
+
48
+ function apply_ebs_bootstrap_respond_url( $url ) {
49
+ $ebs_respond_url='';// write your desired bootstrap.min.js url here
50
+ return $ebs_respond_url;
51
+ }
52
+ add_filter( 'ebs_bootstrap_respond_url', 'apply_ebs_bootstrap_respond_url' );
53
+
54
+ /*
55
+ * Filter for respond.min.js CDN path this filter is only applicable if you selected js inclusion from CDN in EBS Settings
56
+ */
57
+
58
+ function apply_ebs_bootstrap_respond_cdn( $url ) {
59
+ $ebs_respond_cdn_url='';// write your bootstrap.min.js cdn path here
60
+ return $ebs_respond_cdn_url;
61
+ }
62
+ add_filter( 'ebs_bootstrap_respond_cdn', 'apply_ebs_bootstrap_respond_cdn' );
63
+
64
+ /*
65
+ * Filter for bootstrap.min.css urlthis filter is only applicable if you selected css inclusion from plugin in EBS Settings
66
+ */
67
+
68
+ function apply_ebs_bootstrap_css_url( $url ) {
69
+ $ebs_css_url='';// write your bootstrap.min.css url here
70
+ return $ebs_css_url;
71
+ }
72
+ add_filter( 'ebs_bootstrap_css_url', 'apply_ebs_bootstrap_css_url' );
73
+
74
+ /*
75
+ * Filter for bootstrap-icon.min.css url this filter is only applicable if you selected css inclusion from plugin or theme in EBS Settings
76
+ */
77
+
78
+ function apply_ebs_bootstrap_icon_css_url( $url ) {
79
+ $ebs_icon_url='';// write your bootstrap-icon.min.css url here
80
+ return $ebs_icon_url;
81
+ }
82
+ add_filter( 'ebs_bootstrap_icon_css_url', 'apply_ebs_bootstrap_icon_css_url' );
83
+ ?>
fonts/glyphicons-halflings-regular.svg CHANGED
@@ -1,228 +1,228 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata></metadata>
5
- <defs>
6
- <font id="glyphicons_halflingsregular" horiz-adv-x="1200" >
7
- <font-face units-per-em="1200" ascent="960" descent="-240" />
8
- <missing-glyph horiz-adv-x="500" />
9
- <glyph />
10
- <glyph />
11
- <glyph unicode=" " />
12
- <glyph unicode="*" d="M1100 500h-259l183 -183l-141 -141l-183 183v-259h-200v259l-183 -183l-141 141l183 183h-259v200h259l-183 183l141 141l183 -183v259h200v-259l183 183l141 -141l-183 -183h259v-200z" />
13
- <glyph unicode="+" d="M1100 400h-400v-400h-300v400h-400v300h400v400h300v-400h400v-300z" />
14
- <glyph unicode="&#xa0;" />
15
- <glyph unicode="&#x2000;" horiz-adv-x="652" />
16
- <glyph unicode="&#x2001;" horiz-adv-x="1304" />
17
- <glyph unicode="&#x2002;" horiz-adv-x="652" />
18
- <glyph unicode="&#x2003;" horiz-adv-x="1304" />
19
- <glyph unicode="&#x2004;" horiz-adv-x="434" />
20
- <glyph unicode="&#x2005;" horiz-adv-x="326" />
21
- <glyph unicode="&#x2006;" horiz-adv-x="217" />
22
- <glyph unicode="&#x2007;" horiz-adv-x="217" />
23
- <glyph unicode="&#x2008;" horiz-adv-x="163" />
24
- <glyph unicode="&#x2009;" horiz-adv-x="260" />
25
- <glyph unicode="&#x200a;" horiz-adv-x="72" />
26
- <glyph unicode="&#x202f;" horiz-adv-x="260" />
27
- <glyph unicode="&#x205f;" horiz-adv-x="326" />
28
- <glyph unicode="&#x20ac;" d="M800 500h-300q9 -74 33 -132t52.5 -91t62 -54.5t59 -29t46.5 -7.5q29 0 66 13t75 37t63.5 67.5t25.5 96.5h174q-31 -172 -128 -278q-107 -117 -274 -117q-205 0 -324 158q-36 46 -69 131.5t-45 205.5h-217l100 100h113q0 47 5 100h-218l100 100h135q37 167 112 257 q117 141 297 141q242 0 354 -189q60 -103 66 -209h-181q0 55 -25.5 99t-63.5 68t-75 36.5t-67 12.5q-24 0 -52.5 -10t-62.5 -32t-65.5 -67t-50.5 -107h379l-100 -100h-300q-6 -46 -6 -100h406z" />
29
- <glyph unicode="&#x2212;" d="M1100 700h-900v-300h900v300z" />
30
- <glyph unicode="&#x2601;" d="M178 300h750q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5q0 -80 56.5 -137t135.5 -57z" />
31
- <glyph unicode="&#x2709;" d="M1200 1100h-1200l600 -603zM300 600l-300 -300v600zM1200 900v-600l-300 300zM800 500l400 -400h-1200l400 400l200 -200z" />
32
- <glyph unicode="&#x270f;" d="M1101 889l99 92q13 13 13 32.5t-13 33.5l-153 153q-15 13 -33 13t-33 -13l-94 -97zM401 189l614 614l-214 214l-614 -614zM-13 -13l333 112l-223 223z" />
33
- <glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
34
- <glyph unicode="&#xe001;" d="M700 100h300v-100h-800v100h300v550l-500 550h1200l-500 -550v-550z" />
35
- <glyph unicode="&#xe002;" d="M1000 934v-521q-64 16 -138 -7q-79 -26 -122.5 -83t-25.5 -111q17 -55 85.5 -75.5t147.5 4.5q70 23 111.5 63.5t41.5 95.5v881q0 10 -7 15.5t-17 2.5l-752 -193q-10 -3 -17 -12.5t-7 -19.5v-689q-64 17 -138 -7q-79 -25 -122.5 -82t-25.5 -112t86 -75.5t147 5.5 q65 21 109 69t44 90v606z" />
36
- <glyph unicode="&#xe003;" d="M913 432l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342t142 342t342 142t342 -142t142 -342q0 -142 -78 -261zM176 693q0 -136 97 -233t234 -97t233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5 t-234 -97t-97 -233z" />
37
- <glyph unicode="&#xe005;" d="M649 949q48 69 109.5 105t121.5 38t118.5 -20.5t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-149.5 152.5t-126.5 127.5t-94 124.5t-33.5 117.5q0 64 28 123t73 100.5t104.5 64t119 20.5 t120 -38.5t104.5 -104.5z" />
38
- <glyph unicode="&#xe006;" d="M791 522l145 -449l-384 275l-382 -275l146 447l-388 280h479l146 400h2l146 -400h472zM168 71l2 1z" />
39
- <glyph unicode="&#xe007;" d="M791 522l145 -449l-384 275l-382 -275l146 447l-388 280h479l146 400h2l146 -400h472zM747 331l-74 229l193 140h-235l-77 211l-78 -211h-239l196 -142l-73 -226l192 140zM168 71l2 1z" />
40
- <glyph unicode="&#xe008;" d="M1200 143v-143h-1200v143l400 257v100q-37 0 -68.5 74.5t-31.5 125.5v200q0 124 88 212t212 88t212 -88t88 -212v-200q0 -51 -31.5 -125.5t-68.5 -74.5v-100z" />
41
- <glyph unicode="&#xe009;" d="M1200 1100v-1100h-1200v1100h1200zM200 1000h-100v-100h100v100zM900 1000h-600v-400h600v400zM1100 1000h-100v-100h100v100zM200 800h-100v-100h100v100zM1100 800h-100v-100h100v100zM200 600h-100v-100h100v100zM1100 600h-100v-100h100v100zM900 500h-600v-400h600 v400zM200 400h-100v-100h100v100zM1100 400h-100v-100h100v100zM200 200h-100v-100h100v100zM1100 200h-100v-100h100v100z" />
42
- <glyph unicode="&#xe010;" d="M500 1050v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5zM1100 1050v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h400 q21 0 35.5 -14.5t14.5 -35.5zM500 450v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5zM1100 450v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5z" />
43
- <glyph unicode="&#xe011;" d="M300 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM700 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200 q21 0 35.5 -14.5t14.5 -35.5zM1100 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM300 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM700 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1100 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM300 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM700 250v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1100 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5 t14.5 -35.5z" />
44
- <glyph unicode="&#xe012;" d="M300 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1200 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h700 q21 0 35.5 -14.5t14.5 -35.5zM300 450v200q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-200q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5zM1200 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5zM300 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1200 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5z" />
45
- <glyph unicode="&#xe013;" d="M448 34l818 820l-212 212l-607 -607l-206 207l-212 -212z" />
46
- <glyph unicode="&#xe014;" d="M882 106l-282 282l-282 -282l-212 212l282 282l-282 282l212 212l282 -282l282 282l212 -212l-282 -282l282 -282z" />
47
- <glyph unicode="&#xe015;" d="M913 432l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342t142 342t342 142t342 -142t142 -342q0 -142 -78 -261zM507 363q137 0 233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5t-234 -97t-97 -233 t97 -233t234 -97zM600 800h100v-200h-100v-100h-200v100h-100v200h100v100h200v-100z" />
48
- <glyph unicode="&#xe016;" d="M913 432l300 -299q7 -7 7 -18t-7 -18l-109 -109q-8 -8 -18 -8t-18 8l-300 299q-120 -77 -261 -77q-200 0 -342 142t-142 342t142 342t342 142t342 -142t142 -342q0 -141 -78 -262zM176 694q0 -136 97 -233t234 -97t233.5 97t96.5 233t-96.5 233t-233.5 97t-234 -97 t-97 -233zM300 801v-200h400v200h-400z" />
49
- <glyph unicode="&#xe017;" d="M700 750v400q0 21 -14.5 35.5t-35.5 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-400q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5zM800 975v166q167 -62 272 -210t105 -331q0 -118 -45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123 t-123 184t-45.5 224.5q0 183 105 331t272 210v-166q-103 -55 -165 -155t-62 -220q0 -177 125 -302t302 -125t302 125t125 302q0 120 -62 220t-165 155z" />
50
- <glyph unicode="&#xe018;" d="M1200 1h-200v1200h200v-1200zM900 1h-200v800h200v-800zM600 1h-200v500h200v-500zM300 301h-200v-300h200v300z" />
51
- <glyph unicode="&#xe019;" d="M488 183l38 -151q40 -5 74 -5q27 0 74 5l38 151l6 2q46 13 93 39l5 3l134 -81q56 44 104 105l-80 134l3 5q24 44 39 93l1 6l152 38q5 40 5 74q0 28 -5 73l-152 38l-1 6q-16 51 -39 93l-3 5l80 134q-44 58 -104 105l-134 -81l-5 3q-45 25 -93 39l-6 1l-38 152q-40 5 -74 5 q-27 0 -74 -5l-38 -152l-5 -1q-50 -14 -94 -39l-5 -3l-133 81q-59 -47 -105 -105l80 -134l-3 -5q-25 -47 -38 -93l-2 -6l-151 -38q-6 -48 -6 -73q0 -33 6 -74l151 -38l2 -6q14 -49 38 -93l3 -5l-80 -134q45 -59 105 -105l133 81l5 -3q45 -26 94 -39zM600 815q89 0 152 -63 t63 -151q0 -89 -63 -152t-152 -63t-152 63t-63 152q0 88 63 151t152 63z" />
52
- <glyph unicode="&#xe020;" d="M900 1100h275q10 0 17.5 -7.5t7.5 -17.5v-50q0 -11 -7 -18t-18 -7h-1050q-11 0 -18 7t-7 18v50q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5v-100zM800 1100v100h-300v-100h300zM200 900h900v-800q0 -41 -29.5 -71 t-70.5 -30h-700q-41 0 -70.5 30t-29.5 71v800zM300 100h100v700h-100v-700zM500 100h100v700h-100v-700zM700 100h100v700h-100v-700zM900 100h100v700h-100v-700z" />
53
- <glyph unicode="&#xe021;" d="M1301 601h-200v-600h-300v400h-300v-400h-300v600h-200l656 644z" />
54
- <glyph unicode="&#xe022;" d="M600 700h400v-675q0 -11 -7 -18t-18 -7h-850q-11 0 -18 7t-7 18v1150q0 11 7 18t18 7h475v-500zM1000 800h-300v300z" />
55
- <glyph unicode="&#xe023;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM600 600h200 v-100h-300v400h100v-300z" />
56
- <glyph unicode="&#xe024;" d="M721 400h-242l-40 -400h-539l431 1200h209l-21 -300h162l-20 300h208l431 -1200h-538zM712 500l-27 300h-170l-27 -300h224z" />
57
- <glyph unicode="&#xe025;" d="M1100 400v-400h-1100v400h490l-290 300h200v500h300v-500h200l-290 -300h490zM988 300h-175v-100h175v100z" />
58
- <glyph unicode="&#xe026;" d="M600 1199q122 0 233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233t47.5 233t127.5 191t191 127.5t233 47.5zM600 1012q-170 0 -291 -121t-121 -291t121 -291t291 -121t291 121 t121 291t-121 291t-291 121zM700 600h150l-250 -300l-250 300h150v300h200v-300z" />
59
- <glyph unicode="&#xe027;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM850 600h-150 v-300h-200v300h-150l250 300z" />
60
- <glyph unicode="&#xe028;" d="M0 500l200 700h800q199 -700 200 -700v-475q0 -11 -7 -18t-18 -7h-1150q-11 0 -18 7t-7 18v475zM903 1000h-606l-97 -500h200l50 -200h300l50 200h200z" />
61
- <glyph unicode="&#xe029;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5zM797 598 l-297 -201v401z" />
62
- <glyph unicode="&#xe030;" d="M1177 600h-150q0 -177 -125 -302t-302 -125t-302 125t-125 302t125 302t302 125q136 0 246 -81l-146 -146h400v400l-145 -145q-157 122 -355 122q-118 0 -224.5 -45.5t-184 -123t-123 -184t-45.5 -224.5t45.5 -224.5t123 -184t184 -123t224.5 -45.5t224.5 45.5t184 123 t123 184t45.5 224.5z" />
63
- <glyph unicode="&#xe031;" d="M700 800l147 147q-112 80 -247 80q-177 0 -302 -125t-125 -302h-150q0 118 45.5 224.5t123 184t184 123t224.5 45.5q198 0 355 -122l145 145v-400h-400zM500 400l-147 -147q112 -80 247 -80q177 0 302 125t125 302h150q0 -118 -45.5 -224.5t-123 -184t-184 -123 t-224.5 -45.5q-198 0 -355 122l-145 -145v400h400z" />
64
- <glyph unicode="&#xe032;" d="M100 1200v-1200h1100v1200h-1100zM1100 100h-900v900h900v-900zM400 800h-100v100h100v-100zM1000 800h-500v100h500v-100zM400 600h-100v100h100v-100zM1000 600h-500v100h500v-100zM400 400h-100v100h100v-100zM1000 400h-500v100h500v-100zM400 200h-100v100h100v-100 zM1000 300h-500v-100h500v100z" />
65
- <glyph unicode="&#xe034;" d="M200 0h-100v1100h100v-1100zM1100 600v500q-40 -81 -101.5 -115.5t-127.5 -29.5t-138 25t-139.5 40t-125.5 25t-103 -29.5t-65 -115.5v-500q60 60 127.5 84t127.5 17.5t122 -23t119 -30t110 -11t103 42t91 120.5z" />
66
- <glyph unicode="&#xe035;" d="M1200 275v300q0 116 -49.5 227t-131 192.5t-192.5 131t-227 49.5t-227 -49.5t-192.5 -131t-131 -192.5t-49.5 -227v-300q0 -11 7 -18t18 -7h50q11 0 18 7t7 18v300q0 127 70.5 231.5t184.5 161.5t245 57t245 -57t184.5 -161.5t70.5 -231.5v-300q0 -11 7 -18t18 -7h50 q11 0 18 7t7 18zM400 480v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14zM1000 480v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14z" />
67
- <glyph unicode="&#xe036;" d="M0 800v-400h300l300 -200v800l-300 -200h-300zM971 600l141 -141l-71 -71l-141 141l-141 -141l-71 71l141 141l-141 141l71 71l141 -141l141 141l71 -71z" />
68
- <glyph unicode="&#xe037;" d="M0 800v-400h300l300 -200v800l-300 -200h-300zM700 857l69 53q111 -135 111 -310q0 -169 -106 -302l-67 54q86 110 86 248q0 146 -93 257z" />
69
- <glyph unicode="&#xe038;" d="M974 186l6 8q142 178 142 405q0 230 -144 408l-6 8l-83 -64l7 -8q123 -151 123 -344q0 -189 -119 -339l-7 -8zM300 801l300 200v-800l-300 200h-300v400h300zM702 858l69 53q111 -135 111 -310q0 -170 -106 -303l-67 55q86 110 86 248q0 145 -93 257z" />
70
- <glyph unicode="&#xe039;" d="M100 700h400v100h100v100h-100v300h-500v-600h100v100zM1200 700v500h-600v-200h100v-300h200v-300h300v200h-200v100h200zM100 1100h300v-300h-300v300zM800 800v300h300v-300h-300zM200 900h100v100h-100v-100zM900 1000h100v-100h-100v100zM300 600h-100v-100h-200 v-500h500v500h-200v100zM900 200v-100h-200v100h-100v100h100v200h-200v100h300v-300h200v-100h-100zM400 400v-300h-300v300h300zM300 200h-100v100h100v-100zM1100 300h100v-100h-100v100zM600 100h100v-100h-100v100zM1200 100v-100h-300v100h300z" />
71
- <glyph unicode="&#xe040;" d="M100 1200h-100v-1000h100v1000zM300 200h-100v1000h100v-1000zM700 200h-200v1000h200v-1000zM900 200h-100v1000h100v-1000zM1200 1200v-1000h-200v1000h200zM400 100v-100h-300v100h300zM500 91h100v-91h-100v91zM700 91h100v-91h-100v91zM1100 91v-91h-200v91h200z " />
72
- <glyph unicode="&#xe041;" d="M1200 500l-500 -500l-699 700v475q0 10 7.5 17.5t17.5 7.5h474zM320 882q29 29 29 71t-29 71q-30 30 -71.5 30t-71.5 -30q-29 -29 -29 -71t29 -71q30 -30 71.5 -30t71.5 30z" />
73
- <glyph unicode="&#xe042;" d="M1201 500l-500 -500l-699 700v475q0 11 7 18t18 7h474zM1501 500l-500 -500l-50 50l450 450l-700 700h100zM320 882q30 29 30 71t-30 71q-29 30 -71 30t-71 -30q-30 -29 -30 -71t30 -71q29 -30 71 -30t71 30z" />
74
- <glyph unicode="&#xe043;" d="M1200 1200v-1000l-100 -100v1000h-750l-100 -100h750v-1000h-900v1025l175 175h925z" />
75
- <glyph unicode="&#xe045;" d="M947 829l-94 346q-2 11 -10 18t-18 7h-450q-10 0 -18 -7t-10 -18l-94 -346l40 -124h592zM1200 800v-700h-200v200h-800v-200h-200v700h200l100 -200h600l100 200h200zM881 176l38 -152q2 -10 -3.5 -17t-15.5 -7h-600q-10 0 -15.5 7t-3.5 17l38 152q2 10 11.5 17t19.5 7 h500q10 0 19.5 -7t11.5 -17z" />
76
- <glyph unicode="&#xe047;" d="M1200 0v66q-34 1 -74 43q-18 19 -33 42t-21 37l-6 13l-385 998h-93l-399 -1006q-24 -48 -52 -75q-12 -12 -33 -25t-36 -20l-15 -7v-66h365v66q-41 0 -72 11t-49 38t1 71l92 234h391l82 -222q16 -45 -5.5 -88.5t-74.5 -43.5v-66h417zM416 521l178 457l46 -140l116 -317 h-340z" />
77
- <glyph unicode="&#xe048;" d="M100 1199h471q120 0 213 -88t93 -228q0 -55 -11.5 -101.5t-28 -74t-33.5 -47.5t-28 -28l-12 -7q8 -3 21.5 -9t48 -31.5t60.5 -58t47.5 -91.5t21.5 -129q0 -84 -59 -156.5t-142 -111t-162 -38.5h-500v89q41 7 70.5 32.5t29.5 65.5v827q0 28 -1 39.5t-5.5 26t-15.5 21 t-29 14t-49 14.5v70zM400 1079v-379h139q76 0 130 61.5t54 138.5q0 82 -84 130.5t-239 48.5zM400 200h161q89 0 153 48.5t64 132.5q0 90 -62.5 154.5t-156.5 64.5h-159v-400z" />
78
- <glyph unicode="&#xe049;" d="M877 1200l2 -57q-33 -8 -62 -25.5t-46 -37t-29.5 -38t-17.5 -30.5l-5 -12l-128 -825q-10 -52 14 -82t95 -36v-57h-500v57q77 7 134.5 40.5t65.5 80.5l173 849q10 56 -10 74t-91 37q-6 1 -10.5 2.5t-9.5 2.5v57h425z" />
79
- <glyph unicode="&#xe050;" d="M1150 1200h150v-300h-50q0 29 -8 48.5t-18.5 30t-33.5 15t-39.5 5.5t-50.5 1h-200v-850l100 -50v-100h-400v100l100 50v850h-200q-34 0 -50.5 -1t-40 -5.5t-33.5 -15t-18.5 -30t-8.5 -48.5h-49v300h150h700zM100 1000v-800h75l-125 -167l-125 167h75v800h-75l125 167 l125 -167h-75z" />
80
- <glyph unicode="&#xe051;" d="M950 1201h150v-300h-50q0 29 -8 48.5t-18 30t-33.5 15t-40 5.5t-50.5 1h-200v-650l100 -50v-100h-400v100l100 50v650h-200q-34 0 -50.5 -1t-39.5 -5.5t-33.5 -15t-18.5 -30t-8 -48.5h-50v300h150h700zM200 101h800v75l167 -125l-167 -125v75h-800v-75l-167 125l167 125 v-75z" />
81
- <glyph unicode="&#xe052;" d="M700 950v100q0 21 -14.5 35.5t-35.5 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h600q21 0 35.5 15t14.5 35zM1100 650v100q0 21 -14.5 35.5t-35.5 14.5h-1000q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h1000 q21 0 35.5 15t14.5 35zM900 350v100q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35zM1200 50v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35 t35.5 -15h1100q21 0 35.5 15t14.5 35z" />
82
- <glyph unicode="&#xe053;" d="M1000 950v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35zM1200 650v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h1100 q21 0 35.5 15t14.5 35zM1000 350v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35zM1200 50v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35 t35.5 -15h1100q21 0 35.5 15t14.5 35z" />
83
- <glyph unicode="&#xe054;" d="M500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-600q-21 0 -35.5 15t-14.5 35zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1000q-21 0 -35.5 15 t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100 q-21 0 -35.5 15t-14.5 35z" />
84
- <glyph unicode="&#xe055;" d="M0 950v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15 t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100 q-21 0 -35.5 15t-14.5 35z" />
85
- <glyph unicode="&#xe056;" d="M0 950v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 950v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15 t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 650v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800 q-21 0 -35.5 15t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15 h-800q-21 0 -35.5 15t-14.5 35zM0 50v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 50v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15 h-800q-21 0 -35.5 15t-14.5 35z" />
86
- <glyph unicode="&#xe057;" d="M400 1100h-100v-1100h100v1100zM700 950v100q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35zM1100 650v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15 h500q20 0 35 15t15 35zM100 425v75h-201v100h201v75l166 -125zM900 350v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35zM1200 50v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5 v-100q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35z" />
87
- <glyph unicode="&#xe058;" d="M201 950v100q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35zM801 1100h100v-1100h-100v1100zM601 650v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15 h500q20 0 35 15t15 35zM1101 425v75h200v100h-200v75l-167 -125zM401 350v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35zM701 50v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5 v-100q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35z" />
88
- <glyph unicode="&#xe059;" d="M900 925v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53v650q0 31 22 53t53 22h750q31 0 53 -22t22 -53zM1200 300l-300 300l300 300v-600z" />
89
- <glyph unicode="&#xe060;" d="M1200 1056v-1012q0 -18 -12.5 -31t-31.5 -13h-1112q-18 0 -31 13t-13 31v1012q0 18 13 31t31 13h1112q19 0 31.5 -13t12.5 -31zM1100 1000h-1000v-737l247 182l298 -131l-74 156l293 318l236 -288v500zM476 750q0 -56 -39 -95t-95 -39t-95 39t-39 95t39 95t95 39t95 -39 t39 -95z" />
90
- <glyph unicode="&#xe062;" d="M600 1213q123 0 227 -63t164.5 -169.5t60.5 -229.5t-73 -272q-73 -114 -166.5 -237t-150.5 -189l-57 -66q-10 9 -27 26t-66.5 70.5t-96 109t-104 135.5t-100.5 155q-63 139 -63 262q0 124 60.5 231.5t165 172t226.5 64.5zM599 514q107 0 182.5 75.5t75.5 182.5t-75.5 182 t-182.5 75t-182 -75.5t-75 -181.5q0 -107 75.5 -182.5t181.5 -75.5z" />
91
- <glyph unicode="&#xe063;" d="M600 1199q122 0 233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233t47.5 233t127.5 191t191 127.5t233 47.5zM600 173v854q-176 0 -301.5 -125t-125.5 -302t125.5 -302t301.5 -125z " />
92
- <glyph unicode="&#xe064;" d="M554 1295q21 -71 57.5 -142.5t76 -130.5t83 -118.5t82 -117t70 -116t50 -125.5t18.5 -136q0 -89 -39 -165.5t-102 -126.5t-140 -79.5t-156 -33.5q-114 6 -211.5 53t-161.5 138.5t-64 210.5q0 94 34 186t88.5 172.5t112 159t115 177t87.5 194.5zM455 296q-7 6 -18 17 t-34 48t-33 77q-15 73 -14 143.5t10 122.5l9 51q-92 -110 -119.5 -185t-12.5 -156q14 -82 59.5 -136t136.5 -80z" />
93
- <glyph unicode="&#xe065;" d="M1108 902l113 113l-21 85l-92 28l-113 -113zM1100 625v-225q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5q366 -6 397 -14l-186 -186h-311q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5 t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v125zM436 341l161 50l412 412l-114 113l-405 -405z" />
94
- <glyph unicode="&#xe066;" d="M1100 453v-53q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5h261l2 -80q-133 -32 -218 -120h-145q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5z M813 431l360 324l-359 318v-216q-7 0 -19 -1t-48 -8t-69.5 -18.5t-76.5 -37t-76.5 -59t-62 -88t-39.5 -121.5q30 38 81.5 64t103 35.5t99 14t77.5 3.5l29 -1v-209z" />
95
- <glyph unicode="&#xe067;" d="M1100 569v-169q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5h300q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69z M625 348l566 567l-136 137l-430 -431l-147 147l-136 -136z" />
96
- <glyph unicode="&#xe068;" d="M900 303v198h-200v-200h195l-295 -300l-300 300h200v200h-200v-198l-300 300l300 296v-198h200v200h-200l300 300l295 -300h-195v-200h200v198l300 -296z" />
97
- <glyph unicode="&#xe069;" d="M900 0l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-1100z" />
98
- <glyph unicode="&#xe070;" d="M1200 0l-500 488v-488l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-487l500 487v-1100z" />
99
- <glyph unicode="&#xe071;" d="M1200 0l-500 488v-488l-564 550l564 550v-487l500 487v-1100z" />
100
- <glyph unicode="&#xe072;" d="M1100 550l-900 550v-1100z" />
101
- <glyph unicode="&#xe073;" d="M500 150v800q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-800q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5zM900 150v800q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-800q0 -21 14.5 -35.5t35.5 -14.5h200 q21 0 35.5 14.5t14.5 35.5z" />
102
- <glyph unicode="&#xe074;" d="M1100 150v800q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5v-800q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35z" />
103
- <glyph unicode="&#xe075;" d="M500 0v488l-500 -488v1100l500 -487v487l564 -550z" />
104
- <glyph unicode="&#xe076;" d="M1050 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-500 -488v488l-500 -488v1100l500 -487v487l500 -487v437q0 21 14.5 35.5t35.5 14.5z" />
105
- <glyph unicode="&#xe077;" d="M850 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-500 -488v1100l500 -487v437q0 21 14.5 35.5t35.5 14.5z" />
106
- <glyph unicode="&#xe078;" d="M650 1064l-550 -564h1100zM1200 350v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5z" />
107
- <glyph unicode="&#xe079;" d="M777 7l240 240l-353 353l353 353l-240 240l-592 -594z" />
108
- <glyph unicode="&#xe080;" d="M513 -46l-241 240l353 353l-353 353l241 240l572 -571l21 -22l-1 -1v-1z" />
109
- <glyph unicode="&#xe081;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM500 900v-200h-200v-200h200v-200h200v200h200v200h-200v200h-200z" />
110
- <glyph unicode="&#xe082;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM300 700v-200h600v200h-600z" />
111
- <glyph unicode="&#xe083;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM247 741l141 -141l-142 -141l213 -213l141 142l141 -142l213 213l-142 141l142 141l-213 212l-141 -141 l-141 142z" />
112
- <glyph unicode="&#xe084;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM546 623l-102 102l-174 -174l276 -277l411 411l-175 174z" />
113
- <glyph unicode="&#xe085;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM500 500h200q5 3 14 8t31.5 25.5t39.5 45.5t31 69t14 94q0 51 -17.5 89t-42 58t-58.5 32t-58.5 15t-51.5 3 q-105 0 -172 -56t-67 -183h144q4 0 11.5 -1t11 -1t6.5 3t3 9t1 11t3.5 8.5t3.5 6t5.5 4t6.5 2.5t9 1.5t9 0.5h11.5h12.5q19 0 30 -10t11 -26q0 -22 -4 -28t-27 -22q-5 -1 -12.5 -3t-27 -13.5t-34 -27t-26.5 -46t-11 -68.5zM500 400v-100h200v100h-200z" />
114
- <glyph unicode="&#xe086;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM500 900v-100h200v100h-200zM400 700v-100h100v-200h-100v-100h400v100h-100v300h-300z" />
115
- <glyph unicode="&#xe087;" d="M1200 700v-200h-203q-25 -102 -116.5 -186t-180.5 -117v-197h-200v197q-140 27 -208 102.5t-98 200.5h-194v200h194q15 60 36 104.5t55.5 86t88 69t126.5 40.5v200h200v-200q54 -20 113 -60t112.5 -105.5t71.5 -134.5h203zM700 500v-206q149 48 201 206h-201v200h200 q-25 74 -76 127.5t-124 76.5v-204h-200v203q-75 -24 -130 -77.5t-79 -125.5h209v-200h-210q24 -73 79.5 -127.5t130.5 -78.5v206h200z" />
116
- <glyph unicode="&#xe088;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM844 735 l-135 -135l135 -135l-109 -109l-135 135l-135 -135l-109 109l135 135l-135 135l109 109l135 -135l135 135z" />
117
- <glyph unicode="&#xe089;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM896 654 l-346 -345l-228 228l141 141l87 -87l204 205z" />
118
- <glyph unicode="&#xe090;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM248 385l568 567q-100 62 -216 62q-171 0 -292.5 -121.5t-121.5 -292.5q0 -115 62 -215zM955 809l-564 -564q97 -59 209 -59q171 0 292.5 121.5 t121.5 292.5q0 112 -59 209z" />
119
- <glyph unicode="&#xe091;" d="M1200 400h-600v-301l-600 448l600 453v-300h600v-300z" />
120
- <glyph unicode="&#xe092;" d="M600 400h-600v300h600v300l600 -453l-600 -448v301z" />
121
- <glyph unicode="&#xe093;" d="M1098 600h-298v-600h-300v600h-296l450 600z" />
122
- <glyph unicode="&#xe094;" d="M998 600l-449 -600l-445 600h296v600h300v-600h298z" />
123
- <glyph unicode="&#xe095;" d="M600 199v301q-95 -2 -183 -20t-170 -52t-147 -92.5t-100 -135.5q6 132 41 238.5t103.5 193t184 138t271.5 59.5v271l600 -453z" />
124
- <glyph unicode="&#xe096;" d="M1200 1200h-400l129 -129l-294 -294l142 -142l294 294l129 -129v400zM565 423l-294 -294l129 -129h-400v400l129 -129l294 294z" />
125
- <glyph unicode="&#xe097;" d="M871 730l129 -130h-400v400l129 -129l295 295l142 -141zM200 600h400v-400l-129 130l-295 -295l-142 141l295 295z" />
126
- <glyph unicode="&#xe101;" d="M600 1177q118 0 224.5 -45.5t184 -123t123 -184t45.5 -224.5t-45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123t-123 184t-45.5 224.5t45.5 224.5t123 184t184 123t224.5 45.5zM686 549l58 302q4 20 -8 34.5t-33 14.5h-207q-20 0 -32 -14.5t-8 -34.5 l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5zM700 400h-200v-100h200v100z" />
127
- <glyph unicode="&#xe102;" d="M1200 900h-111v6t-1 15t-3 18l-34 172q-11 39 -41.5 63t-69.5 24q-32 0 -61 -17l-239 -144q-22 -13 -40 -35q-19 24 -40 36l-238 144q-33 18 -62 18q-39 0 -69.5 -23t-40.5 -61l-35 -177q-2 -8 -3 -18t-1 -15v-6h-111v-100h100v-200h400v300h200v-300h400v200h100v100z M731 900l202 197q5 -12 12 -32.5t23 -64t25 -72t7 -28.5h-269zM481 900h-281q-3 0 14 48t35 96l18 47zM100 0h400v400h-400v-400zM700 400h400v-400h-400v400z" />
128
- <glyph unicode="&#xe103;" d="M0 121l216 193q-9 53 -13 83t-5.5 94t9 113t38.5 114t74 124q47 60 99.5 102.5t103 68t127.5 48t145.5 37.5t184.5 43.5t220 58.5q0 -189 -22 -343t-59 -258t-89 -181.5t-108.5 -120t-122 -68t-125.5 -30t-121.5 -1.5t-107.5 12.5t-87.5 17t-56.5 7.5l-99 -55l-201 -202 v143zM692 611q70 38 118.5 69.5t102 79t99 111.5t86.5 148q22 50 24 60t-6 19q-7 5 -17 5t-26.5 -14.5t-33.5 -39.5q-35 -51 -113.5 -108.5t-139.5 -89.5l-61 -32q-369 -197 -458 -401q-48 -111 -28.5 -117.5t86.5 76.5q55 66 367 234z" />
129
- <glyph unicode="&#xe105;" d="M1261 600l-26 -40q-6 -10 -20 -30t-49 -63.5t-74.5 -85.5t-97 -90t-116.5 -83.5t-132.5 -59t-145.5 -23.5t-145.5 23.5t-132.5 59t-116.5 83.5t-97 90t-74.5 85.5t-49 63.5t-20 30l-26 40l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5 t145.5 -23.5t132.5 -59t116.5 -83.5t97 -90t74.5 -85.5t49 -63.5t20 -30zM600 240q64 0 123.5 20t100.5 45.5t85.5 71.5t66.5 75.5t58 81.5t47 66q-1 1 -28.5 37.5t-42 55t-43.5 53t-57.5 63.5t-58.5 54q49 -74 49 -163q0 -124 -88 -212t-212 -88t-212 88t-88 212 q0 85 46 158q-102 -87 -226 -258q7 -10 40.5 -58t56 -78.5t68 -77.5t87.5 -75t103 -49.5t125 -21.5zM484 762l-107 -106q49 -124 154 -191l105 105q-37 24 -75 72t-57 84z" />
130
- <glyph unicode="&#xe106;" d="M906 1200l-314 -1200h-148l37 143q-82 21 -165 71.5t-140 102t-109.5 112t-72 88.5t-29.5 43l-26 40l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5q61 0 121 -17l37 142h148zM1261 600l-26 -40q-7 -12 -25.5 -38t-63.5 -79.5t-95.5 -102.5 t-124 -100t-146.5 -79l38 145q22 15 44.5 34t46 44t40.5 44t41 50.5t33.5 43.5t33 44t24.5 34q-97 127 -140 175l39 146q67 -54 131.5 -125.5t87.5 -103.5t36 -52zM513 264l37 141q-107 18 -178.5 101.5t-71.5 193.5q0 85 46 158q-102 -87 -226 -258q210 -282 393 -336z M484 762l-107 -106q49 -124 154 -191l47 47l23 87q-30 28 -59 69t-44 68z" />
131
- <glyph unicode="&#xe107;" d="M-47 0h1294q37 0 50.5 35.5t-7.5 67.5l-642 1056q-20 33 -48 36t-48 -29l-642 -1066q-21 -32 -7.5 -66t50.5 -34zM700 200v100h-200v-100h-345l445 723l445 -723h-345zM700 700h-200v-100l100 -300l100 300v100z" />
132
- <glyph unicode="&#xe108;" d="M800 711l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -91 100 -113v-64q0 -21 -13 -29t-32 1l-94 78h-222l-94 -78q-19 -9 -32 -1t-13 29v64q0 22 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5v41q0 20 11 44.5t26 38.5 l363 325v339q0 62 44 106t106 44t106 -44t44 -106v-339z" />
133
- <glyph unicode="&#xe110;" d="M941 800l-600 -600h-341v200h259l600 600h241v198l300 -295l-300 -300v197h-159zM381 678l141 142l-181 180h-341v-200h259zM1100 598l300 -295l-300 -300v197h-241l-181 181l141 142l122 -123h159v198z" />
134
- <glyph unicode="&#xe111;" d="M100 1100h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5z" />
135
- <glyph unicode="&#xe112;" d="M400 900h-300v300h300v-300zM1100 900h-300v300h300v-300zM1100 800v-200q0 -42 -3 -83t-15 -104t-31.5 -116t-58 -109.5t-89 -96.5t-129 -65.5t-174.5 -25.5t-174.5 25.5t-129 65.5t-89 96.5t-58 109.5t-31.5 116t-15 104t-3 83v200h300v-250q0 -113 6 -145 q17 -92 102 -117q39 -11 92 -11q37 0 66.5 5.5t50 15.5t36 24t24 31.5t14 37.5t7 42t2.5 45t0 47v25v250h300z" />
136
- <glyph unicode="&#xe113;" d="M902 184l226 227l-578 579l-580 -579l227 -227l352 353z" />
137
- <glyph unicode="&#xe114;" d="M650 218l578 579l-226 227l-353 -353l-352 353l-227 -227z" />
138
- <glyph unicode="&#xe115;" d="M1198 400v600h-796l215 -200h381v-400h-198l299 -283l299 283h-200zM-198 700l299 283l300 -283h-203v-400h385l215 -200h-800v600h-196z" />
139
- <glyph unicode="&#xe116;" d="M1050 1200h94q20 0 35 -14.5t15 -35.5t-15 -35.5t-35 -14.5h-54l-201 -961q-2 -4 -6 -10.5t-19 -17.5t-33 -11h-31v-50q0 -20 -14.5 -35t-35.5 -15t-35.5 15t-14.5 35v50h-300v-50q0 -20 -14.5 -35t-35.5 -15t-35.5 15t-14.5 35v50h-50q-21 0 -35.5 15t-14.5 35 q0 21 14.5 35.5t35.5 14.5h535l48 200h-633q-32 0 -54.5 21t-27.5 43l-100 475q-5 24 10 42q14 19 39 19h896l38 162q5 17 18.5 27.5t30.5 10.5z" />
140
- <glyph unicode="&#xe117;" d="M1200 1000v-100h-1200v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500zM0 800h1200v-800h-1200v800z" />
141
- <glyph unicode="&#xe118;" d="M201 800l-200 -400v600h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500v-200h-1000zM1501 700l-300 -700h-1200l300 700h1200z" />
142
- <glyph unicode="&#xe119;" d="M302 300h198v600h-198l298 300l298 -300h-198v-600h198l-298 -300z" />
143
- <glyph unicode="&#xe120;" d="M900 303v197h-600v-197l-300 297l300 298v-198h600v198l300 -298z" />
144
- <glyph unicode="&#xe121;" d="M31 400l172 739q5 22 23 41.5t38 19.5h672q19 0 37.5 -22.5t23.5 -45.5l172 -732h-1138zM100 300h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM900 200h-100v-100h100v100z M1100 200h-100v-100h100v100z" />
145
- <glyph unicode="&#xe122;" d="M1100 200v850q0 21 14.5 35.5t35.5 14.5q20 0 35 -14.5t15 -35.5v-850q0 -20 -15 -35t-35 -15q-21 0 -35.5 15t-14.5 35zM325 800l675 250v-850l-675 200h-38l47 -276q2 -12 -3 -17.5t-11 -6t-21 -0.5h-8h-83q-20 0 -34.5 14t-18.5 35q-56 337 -56 351v250v5 q0 13 0.5 18.5t2.5 13t8 10.5t15 3h200zM-101 600v50q0 24 25 49t50 38l25 13v-250l-11 5.5t-24 14t-30 21.5t-24 27.5t-11 31.5z" />
146
- <glyph unicode="&#xe124;" d="M445 1180l-45 -233l-224 78l78 -225l-233 -44l179 -156l-179 -155l233 -45l-78 -224l224 78l45 -233l155 179l155 -179l45 233l224 -78l-78 224l234 45l-180 155l180 156l-234 44l78 225l-224 -78l-45 233l-155 -180z" />
147
- <glyph unicode="&#xe125;" d="M700 1200h-50q-27 0 -51 -20t-38 -48l-96 -198l-145 -196q-20 -26 -20 -63v-400q0 -75 100 -75h61q123 -100 139 -100h250q46 0 83 57l238 344q29 31 29 74v100q0 44 -30.5 84.5t-69.5 40.5h-328q28 118 28 125v150q0 44 -30.5 84.5t-69.5 40.5zM700 925l-50 -225h450 v-125l-250 -375h-214l-136 100h-100v375l150 212l100 213h50v-175zM0 800v-600h200v600h-200z" />
148
- <glyph unicode="&#xe126;" d="M700 0h-50q-27 0 -51 20t-38 48l-96 198l-145 196q-20 26 -20 63v400q0 75 100 75h61q123 100 139 100h250q46 0 83 -57l238 -344q29 -31 29 -74v-100q0 -44 -30.5 -84.5t-69.5 -40.5h-328q28 -118 28 -125v-150q0 -44 -30.5 -84.5t-69.5 -40.5zM200 400h-200v600h200 v-600zM700 275l-50 225h450v125l-250 375h-214l-136 -100h-100v-375l150 -212l100 -213h50v175z" />
149
- <glyph unicode="&#xe127;" d="M364 873l362 230q14 6 25 6q17 0 29 -12l109 -112q14 -14 14 -34q0 -18 -11 -32l-85 -121h302q85 0 138.5 -38t53.5 -110t-54.5 -111t-138.5 -39h-107l-130 -339q-7 -22 -20.5 -41.5t-28.5 -19.5h-341q-7 0 -90 81t-83 94v525q0 17 14 35.5t28 28.5zM408 792v-503 l100 -89h293l131 339q6 21 19.5 41t28.5 20h203q16 0 25 15t9 36q0 20 -9 34.5t-25 14.5h-457h-6.5h-7.5t-6.5 0.5t-6 1t-5 1.5t-5.5 2.5t-4 4t-4 5.5q-5 12 -5 20q0 14 10 27l147 183l-86 83zM208 200h-200v600h200v-600z" />
150
- <glyph unicode="&#xe128;" d="M475 1104l365 -230q7 -4 16.5 -10.5t26 -26t16.5 -36.5v-526q0 -13 -85.5 -93.5t-93.5 -80.5h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-84 0 -139 39t-55 111t54 110t139 37h302l-85 121q-11 16 -11 32q0 21 14 34l109 113q13 12 29 12q11 0 25 -6zM370 946 l145 -184q10 -11 10 -26q0 -11 -5 -20q-1 -3 -3.5 -5.5l-4 -4t-5 -2.5t-5.5 -1.5t-6.5 -1t-6.5 -0.5h-7.5h-6.5h-476v-100h222q15 0 28.5 -20.5t19.5 -40.5l131 -339h293l106 89v502l-342 237zM1199 201h-200v600h200v-600z" />
151
- <glyph unicode="&#xe129;" d="M1100 473v342q0 15 -20 28.5t-41 19.5l-339 131v106q0 84 -39 139t-111 55t-110 -53.5t-38 -138.5v-302l-121 84q-15 12 -33.5 11.5t-32.5 -13.5l-112 -110q-22 -22 -6 -53l230 -363q4 -6 10.5 -15.5t26 -25t36.5 -15.5h525q13 0 94 83t81 90zM911 400h-503l-236 339 l83 86l183 -146q22 -18 47 -5q3 1 5.5 3.5l4 4t2.5 5t1.5 5.5t1 6.5t0.5 6v7.5v7v456q0 22 25 31t50 -0.5t25 -30.5v-202q0 -16 20 -29.5t41 -19.5l339 -130v-294zM1000 200v-200h-600v200h600z" />
152
- <glyph unicode="&#xe130;" d="M305 1104v200h600v-200h-600zM605 310l339 131q20 6 40.5 19.5t20.5 28.5v342q0 7 -81 90t-94 83h-525q-17 0 -35.5 -14t-28.5 -28l-10 -15l-230 -362q-15 -31 7 -53l112 -110q13 -13 32 -13.5t34 10.5l121 85l-1 -302q0 -84 38.5 -138t110.5 -54t111 55t39 139v106z M905 804v-294l-340 -130q-20 -6 -40 -20t-20 -29v-202q0 -22 -25 -31t-50 0t-25 31v456v14.5t-1.5 11.5t-5 12t-9.5 7q-24 13 -46 -5l-184 -146l-83 86l237 339h503z" />
153
- <glyph unicode="&#xe131;" d="M603 1195q162 0 299.5 -80t217.5 -218t80 -300t-80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM598 701h-298v-201h300l-2 -194l402 294l-402 298v-197z" />
154
- <glyph unicode="&#xe132;" d="M597 1195q122 0 232.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-218 -217.5t-300 -80t-299.5 80t-217.5 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t231.5 47.5zM200 600l400 -294v194h302v201h-300v197z" />
155
- <glyph unicode="&#xe133;" d="M603 1195q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM300 600h200v-300h200v300h200l-300 400z" />
156
- <glyph unicode="&#xe134;" d="M603 1195q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM500 900v-300h-200l300 -400l300 400h-200v300h-200z" />
157
- <glyph unicode="&#xe135;" d="M603 1195q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM627 1101q-15 -12 -36.5 -21t-34.5 -12t-44 -8t-39 -6 q-15 -3 -45.5 0.5t-45.5 -2.5q-21 -7 -52 -26.5t-34 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -90.5t-29.5 -79.5q-8 -33 5.5 -92.5t7.5 -87.5q0 -9 17 -44t16 -60q12 0 23 -5.5t23 -15t20 -13.5q24 -12 108 -42q22 -8 53 -31.5t59.5 -38.5t57.5 -11q8 -18 -15 -55 t-20 -57q42 -71 87 -80q0 -6 -3 -15.5t-3.5 -14.5t4.5 -17q102 -2 221 112q30 29 47 47t34.5 49t20.5 62q-14 9 -37 9.5t-36 7.5q-14 7 -49 15t-52 19q-9 0 -39.5 -0.5t-46.5 -1.5t-39 -6.5t-39 -16.5q-50 -35 -66 -12q-4 2 -3.5 25.5t0.5 25.5q-6 13 -26.5 17t-24.5 7 q2 22 -2 41t-16.5 28t-38.5 -20q-23 -25 -42 4q-19 28 -8 58q6 16 22 22q6 -1 26 -1.5t33.5 -4t19.5 -13.5q12 -19 32 -37.5t34 -27.5l14 -8q0 3 9.5 39.5t5.5 57.5q-4 23 14.5 44.5t22.5 31.5q5 14 10 35t8.5 31t15.5 22.5t34 21.5q-6 18 10 37q8 0 23.5 -1.5t24.5 -1.5 t20.5 4.5t20.5 15.5q-10 23 -30.5 42.5t-38 30t-49 26.5t-43.5 23q11 41 1 44q31 -13 58.5 -14.5t39.5 3.5l11 4q6 36 -17 53.5t-64 28.5t-56 23q-19 -3 -37 0zM613 994q0 -18 8 -42.5t16.5 -44t9.5 -23.5q-9 2 -31 5t-36 5t-32 8t-30 14q3 12 16 30t16 25q10 -10 18.5 -10 t14 6t14.5 14.5t16 12.5z" />
158
- <glyph unicode="&#xe137;" horiz-adv-x="1220" d="M100 1196h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 1096h-200v-100h200v100zM100 796h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 696h-500v-100h500v100zM100 396h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 296h-300v-100h300v100z " />
159
- <glyph unicode="&#xe138;" d="M1100 1200v-100h-1000v100h1000zM150 1000h900l-350 -500v-300l-200 -200v500z" />
160
- <glyph unicode="&#xe140;" d="M329 729l142 142l-200 200l129 129h-400v-400l129 129zM1200 1200v-400l-129 129l-200 -200l-142 142l200 200l-129 129h400zM271 129l129 -129h-400v400l129 -129l200 200l142 -142zM1071 271l129 129v-400h-400l129 129l-200 200l142 142z" />
161
- <glyph unicode="&#xe141;" d="M596 1192q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM596 1010q-171 0 -292.5 -121.5t-121.5 -292.5q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5zM455 905 q22 0 38 -16t16 -39t-16 -39t-38 -16q-23 0 -39 16.5t-16 38.5t16 38.5t39 16.5zM708 821l1 1q-9 14 -9 28q0 22 16 38.5t39 16.5q22 0 38 -16t16 -39t-16 -39t-38 -16q-14 0 -29 10l-55 -145q17 -22 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5t-61.5 25.5t-25.5 61.5 q0 32 20.5 56.5t51.5 29.5zM855 709q23 0 38.5 -15.5t15.5 -38.5t-16 -39t-38 -16q-23 0 -39 16t-16 39q0 22 16 38t39 16zM345 709q23 0 39 -16t16 -38q0 -23 -16 -39t-39 -16q-22 0 -38 16t-16 39t15.5 38.5t38.5 15.5z" />
162
- <glyph unicode="&#xe143;" d="M649 54l-16 22q-90 125 -293 323q-71 70 -104.5 105.5t-77 89.5t-61 99t-17.5 91q0 131 98.5 229.5t230.5 98.5q143 0 241 -129q103 129 246 129q129 0 226 -98.5t97 -229.5q0 -46 -17.5 -91t-61 -99t-77 -89.5t-104.5 -105.5q-203 -198 -293 -323zM844 524l12 12 q64 62 97.5 97t64.5 79t31 72q0 71 -48 119t-105 48q-74 0 -132 -82l-118 -171l-114 174q-51 79 -123 79q-60 0 -109.5 -49t-49.5 -118q0 -27 30.5 -70t61.5 -75.5t95 -94.5l22 -22q93 -90 190 -201q82 92 195 203z" />
163
- <glyph unicode="&#xe144;" d="M476 406l19 -17l105 105l-212 212l389 389l247 -247l-95 -96l18 -18q46 -46 77 -99l29 29q35 35 62.5 88t27.5 96q0 93 -66 159l-141 141q-66 66 -159 66q-95 0 -159 -66l-283 -283q-66 -64 -66 -159q0 -93 66 -159zM123 193l141 -141q66 -66 159 -66q95 0 159 66 l283 283q66 66 66 159t-66 159l-141 141q-12 12 -19 17l-105 -105l212 -212l-389 -389l-247 248l95 95l-18 18q-46 45 -75 101l-55 -55q-66 -66 -66 -159q0 -94 66 -160z" />
164
- <glyph unicode="&#xe145;" d="M200 100v953q0 21 30 46t81 48t129 38t163 15t162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5zM900 1000h-600v-700h600v700zM600 46q43 0 73.5 30.5t30.5 73.5t-30.5 73.5t-73.5 30.5t-73.5 -30.5t-30.5 -73.5 t30.5 -73.5t73.5 -30.5z" />
165
- <glyph unicode="&#xe148;" d="M700 1029v-307l64 -14q34 -7 64 -16.5t70 -31.5t67.5 -52t47.5 -80.5t20 -112.5q0 -139 -89 -224t-244 -96v-77h-100v78q-152 17 -237 104q-40 40 -52.5 93.5t-15.5 139.5h139q5 -77 48.5 -126.5t117.5 -64.5v335l-27 7q-46 14 -79 26.5t-72 36t-62.5 52t-40 72.5 t-16.5 99q0 92 44 159.5t109 101t144 40.5v78h100v-79q38 -4 72.5 -13.5t75.5 -31.5t71 -53.5t51.5 -84t24.5 -118.5h-159q-8 72 -35 109.5t-101 50.5zM600 755v274q-61 -8 -97.5 -37.5t-36.5 -102.5q0 -29 8 -51t16.5 -34t29.5 -22.5t31 -13.5t38 -10q7 -2 11 -3zM700 548 v-311q170 18 170 151q0 64 -44 99.5t-126 60.5z" />
166
- <glyph unicode="&#xe149;" d="M866 300l50 -147q-41 -25 -80.5 -36.5t-59 -13t-61.5 -1.5q-23 0 -128 33t-155 29q-39 -4 -82 -17t-66 -25l-24 -11l-55 145l16.5 11t15.5 10t13.5 9.5t14.5 12t14.5 14t17.5 18.5q48 55 54 126.5t-30 142.5h-221v100h166q-24 49 -44 104q-10 26 -14.5 55.5t-3 72.5 t25 90t68.5 87q97 88 263 88q129 0 230 -89t101 -208h-153q0 52 -34 89.5t-74 51.5t-76 14q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -11 2.5 -24.5t5.5 -24t9.5 -26.5t10.5 -25t14 -27.5t14 -25.5t15.5 -27t13.5 -24h242v-100h-197q8 -50 -2.5 -115t-31.5 -94 q-41 -59 -99 -113q35 11 84 18t70 7q32 1 102 -16t104 -17q76 0 136 30z" />
167
- <glyph unicode="&#xe150;" d="M300 0l298 300h-198v900h-200v-900h-198zM900 1200l298 -300h-198v-900h-200v900h-198z" />
168
- <glyph unicode="&#xe151;" d="M400 300h198l-298 -300l-298 300h198v900h200v-900zM1000 1200v-500h-100v100h-100v-100h-100v500h300zM901 1100h-100v-200h100v200zM700 500h300v-200h-99v-100h-100v100h99v100h-200v100zM800 100h200v-100h-300v200h100v-100z" />
169
- <glyph unicode="&#xe152;" d="M400 300h198l-298 -300l-298 300h198v900h200v-900zM1000 1200v-200h-99v-100h-100v100h99v100h-200v100h300zM800 800h200v-100h-300v200h100v-100zM700 500h300v-500h-100v100h-100v-100h-100v500zM801 200h100v200h-100v-200z" />
170
- <glyph unicode="&#xe153;" d="M300 0l298 300h-198v900h-200v-900h-198zM900 1100h-100v100h200v-500h-100v400zM1100 500v-500h-100v100h-200v400h300zM1001 400h-100v-200h100v200z" />
171
- <glyph unicode="&#xe154;" d="M300 0l298 300h-198v900h-200v-900h-198zM1100 1200v-500h-100v100h-200v400h300zM1001 1100h-100v-200h100v200zM900 400h-100v100h200v-500h-100v400z" />
172
- <glyph unicode="&#xe155;" d="M300 0l298 300h-198v900h-200v-900h-198zM900 1000h-200v200h200v-200zM1000 700h-300v200h300v-200zM1100 400h-400v200h400v-200zM1200 100h-500v200h500v-200z" />
173
- <glyph unicode="&#xe156;" d="M300 0l298 300h-198v900h-200v-900h-198zM1200 1000h-500v200h500v-200zM1100 700h-400v200h400v-200zM1000 400h-300v200h300v-200zM900 100h-200v200h200v-200z" />
174
- <glyph unicode="&#xe157;" d="M400 1100h300q162 0 281 -118.5t119 -281.5v-300q0 -165 -118.5 -282.5t-281.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5 t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5z" />
175
- <glyph unicode="&#xe158;" d="M700 0h-300q-163 0 -281.5 117.5t-118.5 282.5v300q0 163 119 281.5t281 118.5h300q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5 t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5zM400 800v-500l333 250z" />
176
- <glyph unicode="&#xe159;" d="M0 400v300q0 163 117.5 281.5t282.5 118.5h300q163 0 281.5 -119t118.5 -281v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5zM900 300v500q0 41 -29.5 70.5t-70.5 29.5h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5 t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5zM800 700h-500l250 -333z" />
177
- <glyph unicode="&#xe160;" d="M1100 700v-300q0 -162 -118.5 -281t-281.5 -119h-300q-165 0 -282.5 118.5t-117.5 281.5v300q0 165 117.5 282.5t282.5 117.5h300q165 0 282.5 -117.5t117.5 -282.5zM900 300v500q0 41 -29.5 70.5t-70.5 29.5h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5 t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5zM550 733l-250 -333h500z" />
178
- <glyph unicode="&#xe161;" d="M500 1100h400q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-400v200h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-500v200zM700 550l-400 -350v200h-300v300h300v200z" />
179
- <glyph unicode="&#xe162;" d="M403 2l9 -1q13 0 26 16l538 630q15 19 6 36q-8 18 -32 16h-300q1 4 78 219.5t79 227.5q2 17 -6 27l-8 8h-9q-16 0 -25 -15q-4 -5 -98.5 -111.5t-228 -257t-209.5 -238.5q-17 -19 -7 -40q10 -19 32 -19h302q-155 -438 -160 -458q-5 -21 4 -32z" />
180
- <glyph unicode="&#xe163;" d="M800 200h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h500v185q-14 4 -114 7.5t-193 5.5l-93 2q-165 0 -282.5 -117.5t-117.5 -282.5v-300q0 -165 117.5 -282.5t282.5 -117.5h300q47 0 100 15v185zM900 200v200h-300v300h300v200l400 -350z" />
181
- <glyph unicode="&#xe164;" d="M1200 700l-149 149l-342 -353l-213 213l353 342l-149 149h500v-500zM1022 571l-122 -123v-148q0 -41 -29.5 -70.5t-70.5 -29.5h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h156l118 122l-74 78h-100q-165 0 -282.5 -117.5t-117.5 -282.5v-300 q0 -165 117.5 -282.5t282.5 -117.5h300q163 0 281.5 117.5t118.5 282.5v98z" />
182
- <glyph unicode="&#xe165;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM600 794 q80 0 137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137t57 137t137 57z" />
183
- <glyph unicode="&#xe166;" d="M700 800v400h-300v-400h-300l445 -500l450 500h-295zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
184
- <glyph unicode="&#xe167;" d="M400 700v-300h300v300h295l-445 500l-450 -500h300zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
185
- <glyph unicode="&#xe168;" d="M405 400l596 596l-154 155l-442 -442l-150 151l-155 -155zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
186
- <glyph unicode="&#xe169;" d="M409 1103l-97 97l-212 -212l97 -98zM650 861l-149 149l-212 -212l149 -149l-238 -248h700v699zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
187
- <glyph unicode="&#xe170;" d="M539 950l-149 -149l212 -212l149 148l248 -237v700h-699zM297 709l-97 -97l212 -212l98 97zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
188
- <glyph unicode="&#xe171;" d="M1200 1199v-1079l-475 272l-310 -393v416h-392zM1166 1148l-672 -712v-226z" />
189
- <glyph unicode="&#xe172;" d="M1100 1000v-850q0 -21 -15 -35.5t-35 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1200h-100v-200h100v200z" />
190
- <glyph unicode="&#xe173;" d="M578 500h-378v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-218l-276 -275l-120 120zM700 1200h-100v-200h100v200zM1300 538l-475 -476l-244 244l123 123l120 -120l353 352z" />
191
- <glyph unicode="&#xe174;" d="M529 500h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-269l-103 -103l-170 170zM700 1200h-100v-200h100v200zM1167 6l-170 170l-170 -170l-127 127l170 170l-170 170l127 127l170 -170l170 170l127 -128 l-170 -169l170 -170z" />
192
- <glyph unicode="&#xe175;" d="M700 500h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-300h-400v-200zM700 1000h-100v200h100v-200zM1000 600h-200v-300h-200l300 -300l300 300h-200v300z" />
193
- <glyph unicode="&#xe176;" d="M602 500h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-402l-200 200zM700 1000h-100v200h100v-200zM1000 300h200l-300 300l-300 -300h200v-300h200v300z" />
194
- <glyph unicode="&#xe177;" d="M1200 900v150q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-150h1200zM0 800v-550q0 -21 14.5 -35.5t35.5 -14.5h1100q21 0 35.5 14.5t14.5 35.5v550h-1200zM100 500h400v-200h-400v200z" />
195
- <glyph unicode="&#xe178;" d="M500 1000h400v198l300 -298l-300 -298v198h-400v200zM100 800v200h100v-200h-100zM400 800h-100v200h100v-200zM700 300h-400v-198l-300 298l300 298v-198h400v-200zM800 500h100v-200h-100v200zM1000 500v-200h100v200h-100z" />
196
- <glyph unicode="&#xe179;" d="M1200 50v1106q0 31 -18 40.5t-44 -7.5l-276 -117q-25 -16 -43.5 -50.5t-18.5 -65.5v-359q0 -29 10.5 -55.5t25 -43t29 -28.5t25.5 -18l10 -5v-397q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5zM550 1200l50 -100v-400l-100 -203v-447q0 -21 -14.5 -35.5 t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447l-100 203v400l50 100l50 -100v-300h100v300l50 100l50 -100v-300h100v300z" />
197
- <glyph unicode="&#xe180;" d="M1100 106v888q0 22 25 34.5t50 13.5l25 2v56h-400v-56q75 0 87.5 -6t12.5 -44v-394h-500v394q0 38 12.5 44t87.5 6v56h-400v-56q4 0 11 -0.5t24 -3t30 -7t24 -15t11 -24.5v-888q0 -22 -25 -34.5t-50 -13.5l-25 -2v-56h400v56q-75 0 -87.5 6t-12.5 44v394h500v-394 q0 -38 -12.5 -44t-87.5 -6v-56h400v56q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5z" />
198
- <glyph unicode="&#xe181;" d="M675 1000l-100 100h-375l-100 -100h400l200 -200v-98l295 98h105v200h-425zM500 300v500q0 41 -29.5 70.5t-70.5 29.5h-300q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h300q41 0 70.5 29.5t29.5 70.5zM100 800h300v-200h-300v200zM700 565l400 133 v-163l-400 -133v163zM100 500h300v-200h-300v200zM805 300l295 98v-298h-425l-100 -100h-375l-100 100h400l200 200h105z" />
199
- <glyph unicode="&#xe182;" d="M179 1169l-162 -162q-1 -11 -0.5 -32.5t16 -90t46.5 -140t104 -177.5t175 -208q103 -103 207.5 -176t180 -103.5t137 -47t92.5 -16.5l31 1l163 162q16 17 13 40.5t-22 37.5l-192 136q-19 14 -45 12t-42 -19l-119 -118q-143 103 -267 227q-126 126 -227 268l118 118 q17 17 20 41.5t-11 44.5l-139 194q-14 19 -36.5 22t-40.5 -14z" />
200
- <glyph unicode="&#xe183;" d="M1200 712v200q-6 8 -19 20.5t-63 45t-112 57t-171 45t-235 20.5q-92 0 -175 -10.5t-141.5 -27t-108.5 -36.5t-81.5 -40t-53.5 -36.5t-31 -27.5l-9 -10v-200q0 -21 14.5 -33.5t34.5 -8.5l202 33q20 4 34.5 21t14.5 38v146q141 24 300 24t300 -24v-146q0 -21 14.5 -38 t34.5 -21l202 -33q20 -4 34.5 8.5t14.5 33.5zM800 650l365 -303q14 -14 24.5 -39.5t10.5 -45.5v-212q0 -21 -15 -35.5t-35 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v212q0 20 10.5 45.5t24.5 39.5l365 303v50q0 4 1 10.5t12 22.5t30 28.5t60 23t97 10.5t97 -10t60 -23.5 t30 -27.5t12 -24l1 -10v-50z" />
201
- <glyph unicode="&#xe184;" d="M175 200h950l-125 150v250l100 100v400h-100v-200h-100v200h-200v-200h-100v200h-200v-200h-100v200h-100v-400l100 -100v-250zM1200 100v-100h-1100v100h1100z" />
202
- <glyph unicode="&#xe185;" d="M600 1100h100q41 0 70.5 -29.5t29.5 -70.5v-1000h-300v1000q0 41 29.5 70.5t70.5 29.5zM1000 800h100q41 0 70.5 -29.5t29.5 -70.5v-700h-300v700q0 41 29.5 70.5t70.5 29.5zM400 0v400q0 41 -29.5 70.5t-70.5 29.5h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-400h300z" />
203
- <glyph unicode="&#xe186;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM200 800v-300h200v-100h-200v-100h300v300h-200v100h200v100h-300zM800 800h-200v-500h200v100h100v300h-100 v100zM800 700v-300h-100v300h100z" />
204
- <glyph unicode="&#xe187;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM400 600h-100v200h-100v-500h100v200h100v-200h100v500h-100v-200zM800 800h-200v-500h200v100h100v300h-100 v100zM800 700v-300h-100v300h100z" />
205
- <glyph unicode="&#xe188;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM200 800v-500h300v100h-200v300h200v100h-300zM600 800v-500h300v100h-200v300h200v100h-300z" />
206
- <glyph unicode="&#xe189;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM500 700l-300 -150l300 -150v300zM600 400l300 150l-300 150v-300z" />
207
- <glyph unicode="&#xe190;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM900 800v-500h-700v500h700zM300 400h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130v-300zM800 700h-130 q-38 0 -66.5 -43t-28.5 -108t27 -107t68 -42h130v300z" />
208
- <glyph unicode="&#xe191;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM200 800v-300h200v-100h-200v-100h300v300h-200v100h200v100h-300zM800 300h100v500h-200v-100h100v-400z M601 300h100v100h-100v-100z" />
209
- <glyph unicode="&#xe192;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM300 700v100h-100v-500h300v400h-200zM800 300h100v500h-200v-100h100v-400zM401 400h-100v200h100v-200z M601 300h100v100h-100v-100z" />
210
- <glyph unicode="&#xe193;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM1000 900h-900v-700h900v700zM400 700h-200v100h300v-300h-99v-100h-100v100h99v200zM800 700h-100v100h200v-500h-100v400zM201 400h100v-100 h-100v100zM701 300h-100v100h100v-100z" />
211
- <glyph unicode="&#xe194;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM800 700h-300 v-200h300v-100h-300l-100 100v200l100 100h300v-100z" />
212
- <glyph unicode="&#xe195;" d="M596 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM596 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM800 700v-100 h-100v100h-200v-100h200v-100h-200v-100h-100v400h300zM800 400h-100v100h100v-100z" />
213
- <glyph unicode="&#xe197;" d="M800 300h128q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5q0 -80 56.5 -137t135.5 -57h222v300h400v-300zM700 200h200l-300 -300 l-300 300h200v300h200v-300z" />
214
- <glyph unicode="&#xe198;" d="M600 714l403 -403q94 26 154.5 104t60.5 178q0 121 -85 207.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5q0 -80 56.5 -137t135.5 -57h8zM700 -100h-200v300h-200l300 300 l300 -300h-200v-300z" />
215
- <glyph unicode="&#xe199;" d="M700 200h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170l-270 -300h400v-155l-75 -45h350l-75 45v155z" />
216
- <glyph unicode="&#xe200;" d="M700 45v306q46 -30 100 -30q74 0 126.5 52.5t52.5 126.5q0 24 -9 55q50 32 79.5 83t29.5 112q0 90 -61.5 155.5t-150.5 71.5q-26 89 -99.5 145.5t-167.5 56.5q-116 0 -197.5 -81.5t-81.5 -197.5q0 -4 1 -12t1 -11q-14 2 -23 2q-74 0 -126.5 -52.5t-52.5 -126.5 q0 -53 28.5 -97t75.5 -65q-4 -16 -4 -38q0 -74 52.5 -126.5t126.5 -52.5q56 0 100 30v-306l-75 -45h350z" />
217
- <glyph unicode="&#x1f4bc;" d="M800 1000h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5h200q41 0 70.5 -29.5t29.5 -70.5v-100zM500 1000h200v100h-200v-100zM1200 400v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v200h1200z" />
218
- <glyph unicode="&#x1f4c5;" d="M1100 900v150q0 21 -14.5 35.5t-35.5 14.5h-150v100h-100v-100h-500v100h-100v-100h-150q-21 0 -35.5 -14.5t-14.5 -35.5v-150h1100zM0 800v-750q0 -20 14.5 -35t35.5 -15h1000q21 0 35.5 15t14.5 35v750h-1100zM100 600h100v-100h-100v100zM300 600h100v-100h-100v100z M500 600h100v-100h-100v100zM700 600h100v-100h-100v100zM900 600h100v-100h-100v100zM100 400h100v-100h-100v100zM300 400h100v-100h-100v100zM500 400h100v-100h-100v100zM700 400h100v-100h-100v100zM900 400h100v-100h-100v100zM100 200h100v-100h-100v100zM300 200 h100v-100h-100v100zM500 200h100v-100h-100v100zM700 200h100v-100h-100v100zM900 200h100v-100h-100v100z" />
219
- <glyph unicode="&#x1f4cc;" d="M902 1185l283 -282q15 -15 15 -36t-15 -35q-14 -15 -35 -15t-35 15l-36 35l-279 -267v-300l-212 210l-208 -207l-380 -303l303 380l207 208l-210 212h300l267 279l-35 36q-15 14 -15 35t15 35q14 15 35 15t35 -15z" />
220
- <glyph unicode="&#x1f4ce;" d="M518 119l69 -60l517 511q67 67 95 157t11 183q-16 87 -67 154t-130 103q-69 33 -152 33q-107 0 -197 -55q-40 -24 -111 -95l-512 -512q-68 -68 -81 -163t35 -173q35 -57 94 -89t129 -32q63 0 119 28q33 16 65 40.5t52.5 45.5t59.5 64q40 44 57 61l394 394q35 35 47 84 t-3 96q-27 87 -117 104q-20 2 -29 2q-46 0 -79.5 -17t-67.5 -51l-388 -396l-7 -7l69 -67l377 373q20 22 39 38q23 23 50 23q38 0 53 -36q16 -39 -20 -75l-547 -547q-52 -52 -125 -52q-55 0 -100 33t-54 96q-5 35 2.5 66t31.5 63t42 50t56 54q24 21 44 41l348 348 q52 52 82.5 79.5t84 54t107.5 26.5q25 0 48 -4q95 -17 154 -94.5t51 -175.5q-7 -101 -98 -192l-252 -249l-253 -256z" />
221
- <glyph unicode="&#x1f4f7;" d="M1200 200v600q0 41 -29.5 70.5t-70.5 29.5h-150q-4 8 -11.5 21.5t-33 48t-53 61t-69 48t-83.5 21.5h-200q-41 0 -82 -20.5t-70 -50t-52 -59t-34 -50.5l-12 -20h-150q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5z M1000 700h-100v100h100v-100zM844 500q0 -100 -72 -172t-172 -72t-172 72t-72 172t72 172t172 72t172 -72t72 -172zM706 500q0 44 -31 75t-75 31t-75 -31t-31 -75t31 -75t75 -31t75 31t31 75z" />
222
- <glyph unicode="&#x1f512;" d="M900 800h100q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-900q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5h100v200q0 82 59 141t141 59h300q82 0 141 -59t59 -141v-200zM400 800h300v150q0 21 -14.5 35.5t-35.5 14.5h-200 q-21 0 -35.5 -14.5t-14.5 -35.5v-150z" />
223
- <glyph unicode="&#x1f514;" d="M1062 400h17q20 0 33.5 -14.5t13.5 -35.5q0 -20 -13 -40t-31 -27q-22 -9 -63 -23t-167.5 -37t-251.5 -23t-245.5 20.5t-178.5 41.5l-58 20q-18 7 -31 27.5t-13 40.5q0 21 13.5 35.5t33.5 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3 32t29 13h94 q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327zM600 104q-54 0 -103 6q12 -49 40 -79.5t63 -30.5t63 30.5t39 79.5q-48 -6 -102 -6z" />
224
- <glyph unicode="&#x1f516;" d="M200 0l450 444l450 -443v1150q0 20 -14.5 35t-35.5 15h-800q-21 0 -35.5 -15t-14.5 -35v-1151z" />
225
- <glyph unicode="&#x1f525;" d="M400 755q2 -12 8 -41.5t8 -43t6 -39.5t3.5 -39.5t-1 -33.5t-6 -31.5t-13.5 -24t-21 -20.5t-31 -12q-38 -10 -67 13t-40.5 61.5t-15 81.5t10.5 75q-52 -46 -83.5 -101t-39 -107t-7.5 -85t5 -63q9 -56 44 -119.5t105 -108.5q31 -21 64 -16t62 23.5t57 49.5t48 61.5t35 60.5 q32 66 39 184.5t-13 157.5q79 -80 122 -164t26 -184q-5 -33 -20.5 -69.5t-37.5 -80.5q-10 -19 -14.5 -29t-12 -26t-9 -23.5t-3 -19t2.5 -15.5t11 -9.5t19.5 -5t30.5 2.5t42 8q57 20 91 34t87.5 44.5t87 64t65.5 88.5t47 122q38 172 -44.5 341.5t-246.5 278.5q22 -44 43 -129 q39 -159 -32 -154q-15 2 -33 9q-79 33 -120.5 100t-44 175.5t48.5 257.5q-13 -8 -34 -23.5t-72.5 -66.5t-88.5 -105.5t-60 -138t-8 -166.5z" />
226
- <glyph unicode="&#x1f527;" d="M948 778l251 126q13 -175 -151 -267q-123 -70 -253 -23l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5t15 37.5l600 599q-33 101 6 201.5t135 154.5q164 92 306 -9l-259 -138z" />
227
- </font>
228
  </defs></svg>
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata></metadata>
5
+ <defs>
6
+ <font id="glyphicons_halflingsregular" horiz-adv-x="1200" >
7
+ <font-face units-per-em="1200" ascent="960" descent="-240" />
8
+ <missing-glyph horiz-adv-x="500" />
9
+ <glyph />
10
+ <glyph />
11
+ <glyph unicode=" " />
12
+ <glyph unicode="*" d="M1100 500h-259l183 -183l-141 -141l-183 183v-259h-200v259l-183 -183l-141 141l183 183h-259v200h259l-183 183l141 141l183 -183v259h200v-259l183 183l141 -141l-183 -183h259v-200z" />
13
+ <glyph unicode="+" d="M1100 400h-400v-400h-300v400h-400v300h400v400h300v-400h400v-300z" />
14
+ <glyph unicode="&#xa0;" />
15
+ <glyph unicode="&#x2000;" horiz-adv-x="652" />
16
+ <glyph unicode="&#x2001;" horiz-adv-x="1304" />
17
+ <glyph unicode="&#x2002;" horiz-adv-x="652" />
18
+ <glyph unicode="&#x2003;" horiz-adv-x="1304" />
19
+ <glyph unicode="&#x2004;" horiz-adv-x="434" />
20
+ <glyph unicode="&#x2005;" horiz-adv-x="326" />
21
+ <glyph unicode="&#x2006;" horiz-adv-x="217" />
22
+ <glyph unicode="&#x2007;" horiz-adv-x="217" />
23
+ <glyph unicode="&#x2008;" horiz-adv-x="163" />
24
+ <glyph unicode="&#x2009;" horiz-adv-x="260" />
25
+ <glyph unicode="&#x200a;" horiz-adv-x="72" />
26
+ <glyph unicode="&#x202f;" horiz-adv-x="260" />
27
+ <glyph unicode="&#x205f;" horiz-adv-x="326" />
28
+ <glyph unicode="&#x20ac;" d="M800 500h-300q9 -74 33 -132t52.5 -91t62 -54.5t59 -29t46.5 -7.5q29 0 66 13t75 37t63.5 67.5t25.5 96.5h174q-31 -172 -128 -278q-107 -117 -274 -117q-205 0 -324 158q-36 46 -69 131.5t-45 205.5h-217l100 100h113q0 47 5 100h-218l100 100h135q37 167 112 257 q117 141 297 141q242 0 354 -189q60 -103 66 -209h-181q0 55 -25.5 99t-63.5 68t-75 36.5t-67 12.5q-24 0 -52.5 -10t-62.5 -32t-65.5 -67t-50.5 -107h379l-100 -100h-300q-6 -46 -6 -100h406z" />
29
+ <glyph unicode="&#x2212;" d="M1100 700h-900v-300h900v300z" />
30
+ <glyph unicode="&#x2601;" d="M178 300h750q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5q0 -80 56.5 -137t135.5 -57z" />
31
+ <glyph unicode="&#x2709;" d="M1200 1100h-1200l600 -603zM300 600l-300 -300v600zM1200 900v-600l-300 300zM800 500l400 -400h-1200l400 400l200 -200z" />
32
+ <glyph unicode="&#x270f;" d="M1101 889l99 92q13 13 13 32.5t-13 33.5l-153 153q-15 13 -33 13t-33 -13l-94 -97zM401 189l614 614l-214 214l-614 -614zM-13 -13l333 112l-223 223z" />
33
+ <glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
34
+ <glyph unicode="&#xe001;" d="M700 100h300v-100h-800v100h300v550l-500 550h1200l-500 -550v-550z" />
35
+ <glyph unicode="&#xe002;" d="M1000 934v-521q-64 16 -138 -7q-79 -26 -122.5 -83t-25.5 -111q17 -55 85.5 -75.5t147.5 4.5q70 23 111.5 63.5t41.5 95.5v881q0 10 -7 15.5t-17 2.5l-752 -193q-10 -3 -17 -12.5t-7 -19.5v-689q-64 17 -138 -7q-79 -25 -122.5 -82t-25.5 -112t86 -75.5t147 5.5 q65 21 109 69t44 90v606z" />
36
+ <glyph unicode="&#xe003;" d="M913 432l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342t142 342t342 142t342 -142t142 -342q0 -142 -78 -261zM176 693q0 -136 97 -233t234 -97t233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5 t-234 -97t-97 -233z" />
37
+ <glyph unicode="&#xe005;" d="M649 949q48 69 109.5 105t121.5 38t118.5 -20.5t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-149.5 152.5t-126.5 127.5t-94 124.5t-33.5 117.5q0 64 28 123t73 100.5t104.5 64t119 20.5 t120 -38.5t104.5 -104.5z" />
38
+ <glyph unicode="&#xe006;" d="M791 522l145 -449l-384 275l-382 -275l146 447l-388 280h479l146 400h2l146 -400h472zM168 71l2 1z" />
39
+ <glyph unicode="&#xe007;" d="M791 522l145 -449l-384 275l-382 -275l146 447l-388 280h479l146 400h2l146 -400h472zM747 331l-74 229l193 140h-235l-77 211l-78 -211h-239l196 -142l-73 -226l192 140zM168 71l2 1z" />
40
+ <glyph unicode="&#xe008;" d="M1200 143v-143h-1200v143l400 257v100q-37 0 -68.5 74.5t-31.5 125.5v200q0 124 88 212t212 88t212 -88t88 -212v-200q0 -51 -31.5 -125.5t-68.5 -74.5v-100z" />
41
+ <glyph unicode="&#xe009;" d="M1200 1100v-1100h-1200v1100h1200zM200 1000h-100v-100h100v100zM900 1000h-600v-400h600v400zM1100 1000h-100v-100h100v100zM200 800h-100v-100h100v100zM1100 800h-100v-100h100v100zM200 600h-100v-100h100v100zM1100 600h-100v-100h100v100zM900 500h-600v-400h600 v400zM200 400h-100v-100h100v100zM1100 400h-100v-100h100v100zM200 200h-100v-100h100v100zM1100 200h-100v-100h100v100z" />
42
+ <glyph unicode="&#xe010;" d="M500 1050v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5zM1100 1050v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h400 q21 0 35.5 -14.5t14.5 -35.5zM500 450v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5zM1100 450v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5z" />
43
+ <glyph unicode="&#xe011;" d="M300 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM700 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200 q21 0 35.5 -14.5t14.5 -35.5zM1100 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM300 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM700 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1100 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM300 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM700 250v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1100 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5 t14.5 -35.5z" />
44
+ <glyph unicode="&#xe012;" d="M300 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1200 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h700 q21 0 35.5 -14.5t14.5 -35.5zM300 450v200q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-200q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5zM1200 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5zM300 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1200 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5z" />
45
+ <glyph unicode="&#xe013;" d="M448 34l818 820l-212 212l-607 -607l-206 207l-212 -212z" />
46
+ <glyph unicode="&#xe014;" d="M882 106l-282 282l-282 -282l-212 212l282 282l-282 282l212 212l282 -282l282 282l212 -212l-282 -282l282 -282z" />
47
+ <glyph unicode="&#xe015;" d="M913 432l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342t142 342t342 142t342 -142t142 -342q0 -142 -78 -261zM507 363q137 0 233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5t-234 -97t-97 -233 t97 -233t234 -97zM600 800h100v-200h-100v-100h-200v100h-100v200h100v100h200v-100z" />
48
+ <glyph unicode="&#xe016;" d="M913 432l300 -299q7 -7 7 -18t-7 -18l-109 -109q-8 -8 -18 -8t-18 8l-300 299q-120 -77 -261 -77q-200 0 -342 142t-142 342t142 342t342 142t342 -142t142 -342q0 -141 -78 -262zM176 694q0 -136 97 -233t234 -97t233.5 97t96.5 233t-96.5 233t-233.5 97t-234 -97 t-97 -233zM300 801v-200h400v200h-400z" />
49
+ <glyph unicode="&#xe017;" d="M700 750v400q0 21 -14.5 35.5t-35.5 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-400q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5zM800 975v166q167 -62 272 -210t105 -331q0 -118 -45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123 t-123 184t-45.5 224.5q0 183 105 331t272 210v-166q-103 -55 -165 -155t-62 -220q0 -177 125 -302t302 -125t302 125t125 302q0 120 -62 220t-165 155z" />
50
+ <glyph unicode="&#xe018;" d="M1200 1h-200v1200h200v-1200zM900 1h-200v800h200v-800zM600 1h-200v500h200v-500zM300 301h-200v-300h200v300z" />
51
+ <glyph unicode="&#xe019;" d="M488 183l38 -151q40 -5 74 -5q27 0 74 5l38 151l6 2q46 13 93 39l5 3l134 -81q56 44 104 105l-80 134l3 5q24 44 39 93l1 6l152 38q5 40 5 74q0 28 -5 73l-152 38l-1 6q-16 51 -39 93l-3 5l80 134q-44 58 -104 105l-134 -81l-5 3q-45 25 -93 39l-6 1l-38 152q-40 5 -74 5 q-27 0 -74 -5l-38 -152l-5 -1q-50 -14 -94 -39l-5 -3l-133 81q-59 -47 -105 -105l80 -134l-3 -5q-25 -47 -38 -93l-2 -6l-151 -38q-6 -48 -6 -73q0 -33 6 -74l151 -38l2 -6q14 -49 38 -93l3 -5l-80 -134q45 -59 105 -105l133 81l5 -3q45 -26 94 -39zM600 815q89 0 152 -63 t63 -151q0 -89 -63 -152t-152 -63t-152 63t-63 152q0 88 63 151t152 63z" />
52
+ <glyph unicode="&#xe020;" d="M900 1100h275q10 0 17.5 -7.5t7.5 -17.5v-50q0 -11 -7 -18t-18 -7h-1050q-11 0 -18 7t-7 18v50q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5v-100zM800 1100v100h-300v-100h300zM200 900h900v-800q0 -41 -29.5 -71 t-70.5 -30h-700q-41 0 -70.5 30t-29.5 71v800zM300 100h100v700h-100v-700zM500 100h100v700h-100v-700zM700 100h100v700h-100v-700zM900 100h100v700h-100v-700z" />
53
+ <glyph unicode="&#xe021;" d="M1301 601h-200v-600h-300v400h-300v-400h-300v600h-200l656 644z" />
54
+ <glyph unicode="&#xe022;" d="M600 700h400v-675q0 -11 -7 -18t-18 -7h-850q-11 0 -18 7t-7 18v1150q0 11 7 18t18 7h475v-500zM1000 800h-300v300z" />
55
+ <glyph unicode="&#xe023;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM600 600h200 v-100h-300v400h100v-300z" />
56
+ <glyph unicode="&#xe024;" d="M721 400h-242l-40 -400h-539l431 1200h209l-21 -300h162l-20 300h208l431 -1200h-538zM712 500l-27 300h-170l-27 -300h224z" />
57
+ <glyph unicode="&#xe025;" d="M1100 400v-400h-1100v400h490l-290 300h200v500h300v-500h200l-290 -300h490zM988 300h-175v-100h175v100z" />
58
+ <glyph unicode="&#xe026;" d="M600 1199q122 0 233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233t47.5 233t127.5 191t191 127.5t233 47.5zM600 1012q-170 0 -291 -121t-121 -291t121 -291t291 -121t291 121 t121 291t-121 291t-291 121zM700 600h150l-250 -300l-250 300h150v300h200v-300z" />
59
+ <glyph unicode="&#xe027;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM850 600h-150 v-300h-200v300h-150l250 300z" />
60
+ <glyph unicode="&#xe028;" d="M0 500l200 700h800q199 -700 200 -700v-475q0 -11 -7 -18t-18 -7h-1150q-11 0 -18 7t-7 18v475zM903 1000h-606l-97 -500h200l50 -200h300l50 200h200z" />
61
+ <glyph unicode="&#xe029;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5zM797 598 l-297 -201v401z" />
62
+ <glyph unicode="&#xe030;" d="M1177 600h-150q0 -177 -125 -302t-302 -125t-302 125t-125 302t125 302t302 125q136 0 246 -81l-146 -146h400v400l-145 -145q-157 122 -355 122q-118 0 -224.5 -45.5t-184 -123t-123 -184t-45.5 -224.5t45.5 -224.5t123 -184t184 -123t224.5 -45.5t224.5 45.5t184 123 t123 184t45.5 224.5z" />
63
+ <glyph unicode="&#xe031;" d="M700 800l147 147q-112 80 -247 80q-177 0 -302 -125t-125 -302h-150q0 118 45.5 224.5t123 184t184 123t224.5 45.5q198 0 355 -122l145 145v-400h-400zM500 400l-147 -147q112 -80 247 -80q177 0 302 125t125 302h150q0 -118 -45.5 -224.5t-123 -184t-184 -123 t-224.5 -45.5q-198 0 -355 122l-145 -145v400h400z" />
64
+ <glyph unicode="&#xe032;" d="M100 1200v-1200h1100v1200h-1100zM1100 100h-900v900h900v-900zM400 800h-100v100h100v-100zM1000 800h-500v100h500v-100zM400 600h-100v100h100v-100zM1000 600h-500v100h500v-100zM400 400h-100v100h100v-100zM1000 400h-500v100h500v-100zM400 200h-100v100h100v-100 zM1000 300h-500v-100h500v100z" />
65
+ <glyph unicode="&#xe034;" d="M200 0h-100v1100h100v-1100zM1100 600v500q-40 -81 -101.5 -115.5t-127.5 -29.5t-138 25t-139.5 40t-125.5 25t-103 -29.5t-65 -115.5v-500q60 60 127.5 84t127.5 17.5t122 -23t119 -30t110 -11t103 42t91 120.5z" />
66
+ <glyph unicode="&#xe035;" d="M1200 275v300q0 116 -49.5 227t-131 192.5t-192.5 131t-227 49.5t-227 -49.5t-192.5 -131t-131 -192.5t-49.5 -227v-300q0 -11 7 -18t18 -7h50q11 0 18 7t7 18v300q0 127 70.5 231.5t184.5 161.5t245 57t245 -57t184.5 -161.5t70.5 -231.5v-300q0 -11 7 -18t18 -7h50 q11 0 18 7t7 18zM400 480v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14zM1000 480v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14z" />
67
+ <glyph unicode="&#xe036;" d="M0 800v-400h300l300 -200v800l-300 -200h-300zM971 600l141 -141l-71 -71l-141 141l-141 -141l-71 71l141 141l-141 141l71 71l141 -141l141 141l71 -71z" />
68
+ <glyph unicode="&#xe037;" d="M0 800v-400h300l300 -200v800l-300 -200h-300zM700 857l69 53q111 -135 111 -310q0 -169 -106 -302l-67 54q86 110 86 248q0 146 -93 257z" />
69
+ <glyph unicode="&#xe038;" d="M974 186l6 8q142 178 142 405q0 230 -144 408l-6 8l-83 -64l7 -8q123 -151 123 -344q0 -189 -119 -339l-7 -8zM300 801l300 200v-800l-300 200h-300v400h300zM702 858l69 53q111 -135 111 -310q0 -170 -106 -303l-67 55q86 110 86 248q0 145 -93 257z" />
70
+ <glyph unicode="&#xe039;" d="M100 700h400v100h100v100h-100v300h-500v-600h100v100zM1200 700v500h-600v-200h100v-300h200v-300h300v200h-200v100h200zM100 1100h300v-300h-300v300zM800 800v300h300v-300h-300zM200 900h100v100h-100v-100zM900 1000h100v-100h-100v100zM300 600h-100v-100h-200 v-500h500v500h-200v100zM900 200v-100h-200v100h-100v100h100v200h-200v100h300v-300h200v-100h-100zM400 400v-300h-300v300h300zM300 200h-100v100h100v-100zM1100 300h100v-100h-100v100zM600 100h100v-100h-100v100zM1200 100v-100h-300v100h300z" />
71
+ <glyph unicode="&#xe040;" d="M100 1200h-100v-1000h100v1000zM300 200h-100v1000h100v-1000zM700 200h-200v1000h200v-1000zM900 200h-100v1000h100v-1000zM1200 1200v-1000h-200v1000h200zM400 100v-100h-300v100h300zM500 91h100v-91h-100v91zM700 91h100v-91h-100v91zM1100 91v-91h-200v91h200z " />
72
+ <glyph unicode="&#xe041;" d="M1200 500l-500 -500l-699 700v475q0 10 7.5 17.5t17.5 7.5h474zM320 882q29 29 29 71t-29 71q-30 30 -71.5 30t-71.5 -30q-29 -29 -29 -71t29 -71q30 -30 71.5 -30t71.5 30z" />
73
+ <glyph unicode="&#xe042;" d="M1201 500l-500 -500l-699 700v475q0 11 7 18t18 7h474zM1501 500l-500 -500l-50 50l450 450l-700 700h100zM320 882q30 29 30 71t-30 71q-29 30 -71 30t-71 -30q-30 -29 -30 -71t30 -71q29 -30 71 -30t71 30z" />
74
+ <glyph unicode="&#xe043;" d="M1200 1200v-1000l-100 -100v1000h-750l-100 -100h750v-1000h-900v1025l175 175h925z" />
75
+ <glyph unicode="&#xe045;" d="M947 829l-94 346q-2 11 -10 18t-18 7h-450q-10 0 -18 -7t-10 -18l-94 -346l40 -124h592zM1200 800v-700h-200v200h-800v-200h-200v700h200l100 -200h600l100 200h200zM881 176l38 -152q2 -10 -3.5 -17t-15.5 -7h-600q-10 0 -15.5 7t-3.5 17l38 152q2 10 11.5 17t19.5 7 h500q10 0 19.5 -7t11.5 -17z" />
76
+ <glyph unicode="&#xe047;" d="M1200 0v66q-34 1 -74 43q-18 19 -33 42t-21 37l-6 13l-385 998h-93l-399 -1006q-24 -48 -52 -75q-12 -12 -33 -25t-36 -20l-15 -7v-66h365v66q-41 0 -72 11t-49 38t1 71l92 234h391l82 -222q16 -45 -5.5 -88.5t-74.5 -43.5v-66h417zM416 521l178 457l46 -140l116 -317 h-340z" />
77
+ <glyph unicode="&#xe048;" d="M100 1199h471q120 0 213 -88t93 -228q0 -55 -11.5 -101.5t-28 -74t-33.5 -47.5t-28 -28l-12 -7q8 -3 21.5 -9t48 -31.5t60.5 -58t47.5 -91.5t21.5 -129q0 -84 -59 -156.5t-142 -111t-162 -38.5h-500v89q41 7 70.5 32.5t29.5 65.5v827q0 28 -1 39.5t-5.5 26t-15.5 21 t-29 14t-49 14.5v70zM400 1079v-379h139q76 0 130 61.5t54 138.5q0 82 -84 130.5t-239 48.5zM400 200h161q89 0 153 48.5t64 132.5q0 90 -62.5 154.5t-156.5 64.5h-159v-400z" />
78
+ <glyph unicode="&#xe049;" d="M877 1200l2 -57q-33 -8 -62 -25.5t-46 -37t-29.5 -38t-17.5 -30.5l-5 -12l-128 -825q-10 -52 14 -82t95 -36v-57h-500v57q77 7 134.5 40.5t65.5 80.5l173 849q10 56 -10 74t-91 37q-6 1 -10.5 2.5t-9.5 2.5v57h425z" />
79
+ <glyph unicode="&#xe050;" d="M1150 1200h150v-300h-50q0 29 -8 48.5t-18.5 30t-33.5 15t-39.5 5.5t-50.5 1h-200v-850l100 -50v-100h-400v100l100 50v850h-200q-34 0 -50.5 -1t-40 -5.5t-33.5 -15t-18.5 -30t-8.5 -48.5h-49v300h150h700zM100 1000v-800h75l-125 -167l-125 167h75v800h-75l125 167 l125 -167h-75z" />
80
+ <glyph unicode="&#xe051;" d="M950 1201h150v-300h-50q0 29 -8 48.5t-18 30t-33.5 15t-40 5.5t-50.5 1h-200v-650l100 -50v-100h-400v100l100 50v650h-200q-34 0 -50.5 -1t-39.5 -5.5t-33.5 -15t-18.5 -30t-8 -48.5h-50v300h150h700zM200 101h800v75l167 -125l-167 -125v75h-800v-75l-167 125l167 125 v-75z" />
81
+ <glyph unicode="&#xe052;" d="M700 950v100q0 21 -14.5 35.5t-35.5 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h600q21 0 35.5 15t14.5 35zM1100 650v100q0 21 -14.5 35.5t-35.5 14.5h-1000q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h1000 q21 0 35.5 15t14.5 35zM900 350v100q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35zM1200 50v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35 t35.5 -15h1100q21 0 35.5 15t14.5 35z" />
82
+ <glyph unicode="&#xe053;" d="M1000 950v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35zM1200 650v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h1100 q21 0 35.5 15t14.5 35zM1000 350v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35zM1200 50v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35 t35.5 -15h1100q21 0 35.5 15t14.5 35z" />
83
+ <glyph unicode="&#xe054;" d="M500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-600q-21 0 -35.5 15t-14.5 35zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1000q-21 0 -35.5 15 t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100 q-21 0 -35.5 15t-14.5 35z" />
84
+ <glyph unicode="&#xe055;" d="M0 950v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15 t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100 q-21 0 -35.5 15t-14.5 35z" />
85
+ <glyph unicode="&#xe056;" d="M0 950v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 950v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15 t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 650v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800 q-21 0 -35.5 15t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15 h-800q-21 0 -35.5 15t-14.5 35zM0 50v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 50v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15 h-800q-21 0 -35.5 15t-14.5 35z" />
86
+ <glyph unicode="&#xe057;" d="M400 1100h-100v-1100h100v1100zM700 950v100q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35zM1100 650v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15 h500q20 0 35 15t15 35zM100 425v75h-201v100h201v75l166 -125zM900 350v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35zM1200 50v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5 v-100q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35z" />
87
+ <glyph unicode="&#xe058;" d="M201 950v100q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35zM801 1100h100v-1100h-100v1100zM601 650v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15 h500q20 0 35 15t15 35zM1101 425v75h200v100h-200v75l-167 -125zM401 350v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35zM701 50v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5 v-100q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35z" />
88
+ <glyph unicode="&#xe059;" d="M900 925v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53v650q0 31 22 53t53 22h750q31 0 53 -22t22 -53zM1200 300l-300 300l300 300v-600z" />
89
+ <glyph unicode="&#xe060;" d="M1200 1056v-1012q0 -18 -12.5 -31t-31.5 -13h-1112q-18 0 -31 13t-13 31v1012q0 18 13 31t31 13h1112q19 0 31.5 -13t12.5 -31zM1100 1000h-1000v-737l247 182l298 -131l-74 156l293 318l236 -288v500zM476 750q0 -56 -39 -95t-95 -39t-95 39t-39 95t39 95t95 39t95 -39 t39 -95z" />
90
+ <glyph unicode="&#xe062;" d="M600 1213q123 0 227 -63t164.5 -169.5t60.5 -229.5t-73 -272q-73 -114 -166.5 -237t-150.5 -189l-57 -66q-10 9 -27 26t-66.5 70.5t-96 109t-104 135.5t-100.5 155q-63 139 -63 262q0 124 60.5 231.5t165 172t226.5 64.5zM599 514q107 0 182.5 75.5t75.5 182.5t-75.5 182 t-182.5 75t-182 -75.5t-75 -181.5q0 -107 75.5 -182.5t181.5 -75.5z" />
91
+ <glyph unicode="&#xe063;" d="M600 1199q122 0 233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233t47.5 233t127.5 191t191 127.5t233 47.5zM600 173v854q-176 0 -301.5 -125t-125.5 -302t125.5 -302t301.5 -125z " />
92
+ <glyph unicode="&#xe064;" d="M554 1295q21 -71 57.5 -142.5t76 -130.5t83 -118.5t82 -117t70 -116t50 -125.5t18.5 -136q0 -89 -39 -165.5t-102 -126.5t-140 -79.5t-156 -33.5q-114 6 -211.5 53t-161.5 138.5t-64 210.5q0 94 34 186t88.5 172.5t112 159t115 177t87.5 194.5zM455 296q-7 6 -18 17 t-34 48t-33 77q-15 73 -14 143.5t10 122.5l9 51q-92 -110 -119.5 -185t-12.5 -156q14 -82 59.5 -136t136.5 -80z" />
93
+ <glyph unicode="&#xe065;" d="M1108 902l113 113l-21 85l-92 28l-113 -113zM1100 625v-225q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5q366 -6 397 -14l-186 -186h-311q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5 t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v125zM436 341l161 50l412 412l-114 113l-405 -405z" />
94
+ <glyph unicode="&#xe066;" d="M1100 453v-53q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5h261l2 -80q-133 -32 -218 -120h-145q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5z M813 431l360 324l-359 318v-216q-7 0 -19 -1t-48 -8t-69.5 -18.5t-76.5 -37t-76.5 -59t-62 -88t-39.5 -121.5q30 38 81.5 64t103 35.5t99 14t77.5 3.5l29 -1v-209z" />
95
+ <glyph unicode="&#xe067;" d="M1100 569v-169q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5h300q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69z M625 348l566 567l-136 137l-430 -431l-147 147l-136 -136z" />
96
+ <glyph unicode="&#xe068;" d="M900 303v198h-200v-200h195l-295 -300l-300 300h200v200h-200v-198l-300 300l300 296v-198h200v200h-200l300 300l295 -300h-195v-200h200v198l300 -296z" />
97
+ <glyph unicode="&#xe069;" d="M900 0l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-1100z" />
98
+ <glyph unicode="&#xe070;" d="M1200 0l-500 488v-488l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-487l500 487v-1100z" />
99
+ <glyph unicode="&#xe071;" d="M1200 0l-500 488v-488l-564 550l564 550v-487l500 487v-1100z" />
100
+ <glyph unicode="&#xe072;" d="M1100 550l-900 550v-1100z" />
101
+ <glyph unicode="&#xe073;" d="M500 150v800q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-800q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5zM900 150v800q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-800q0 -21 14.5 -35.5t35.5 -14.5h200 q21 0 35.5 14.5t14.5 35.5z" />
102
+ <glyph unicode="&#xe074;" d="M1100 150v800q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5v-800q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35z" />
103
+ <glyph unicode="&#xe075;" d="M500 0v488l-500 -488v1100l500 -487v487l564 -550z" />
104
+ <glyph unicode="&#xe076;" d="M1050 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-500 -488v488l-500 -488v1100l500 -487v487l500 -487v437q0 21 14.5 35.5t35.5 14.5z" />
105
+ <glyph unicode="&#xe077;" d="M850 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-500 -488v1100l500 -487v437q0 21 14.5 35.5t35.5 14.5z" />
106
+ <glyph unicode="&#xe078;" d="M650 1064l-550 -564h1100zM1200 350v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5z" />
107
+ <glyph unicode="&#xe079;" d="M777 7l240 240l-353 353l353 353l-240 240l-592 -594z" />
108
+ <glyph unicode="&#xe080;" d="M513 -46l-241 240l353 353l-353 353l241 240l572 -571l21 -22l-1 -1v-1z" />
109
+ <glyph unicode="&#xe081;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM500 900v-200h-200v-200h200v-200h200v200h200v200h-200v200h-200z" />
110
+ <glyph unicode="&#xe082;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM300 700v-200h600v200h-600z" />
111
+ <glyph unicode="&#xe083;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM247 741l141 -141l-142 -141l213 -213l141 142l141 -142l213 213l-142 141l142 141l-213 212l-141 -141 l-141 142z" />
112
+ <glyph unicode="&#xe084;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM546 623l-102 102l-174 -174l276 -277l411 411l-175 174z" />
113
+ <glyph unicode="&#xe085;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM500 500h200q5 3 14 8t31.5 25.5t39.5 45.5t31 69t14 94q0 51 -17.5 89t-42 58t-58.5 32t-58.5 15t-51.5 3 q-105 0 -172 -56t-67 -183h144q4 0 11.5 -1t11 -1t6.5 3t3 9t1 11t3.5 8.5t3.5 6t5.5 4t6.5 2.5t9 1.5t9 0.5h11.5h12.5q19 0 30 -10t11 -26q0 -22 -4 -28t-27 -22q-5 -1 -12.5 -3t-27 -13.5t-34 -27t-26.5 -46t-11 -68.5zM500 400v-100h200v100h-200z" />
114
+ <glyph unicode="&#xe086;" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM500 900v-100h200v100h-200zM400 700v-100h100v-200h-100v-100h400v100h-100v300h-300z" />
115
+ <glyph unicode="&#xe087;" d="M1200 700v-200h-203q-25 -102 -116.5 -186t-180.5 -117v-197h-200v197q-140 27 -208 102.5t-98 200.5h-194v200h194q15 60 36 104.5t55.5 86t88 69t126.5 40.5v200h200v-200q54 -20 113 -60t112.5 -105.5t71.5 -134.5h203zM700 500v-206q149 48 201 206h-201v200h200 q-25 74 -76 127.5t-124 76.5v-204h-200v203q-75 -24 -130 -77.5t-79 -125.5h209v-200h-210q24 -73 79.5 -127.5t130.5 -78.5v206h200z" />
116
+ <glyph unicode="&#xe088;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM844 735 l-135 -135l135 -135l-109 -109l-135 135l-135 -135l-109 109l135 135l-135 135l109 109l135 -135l135 135z" />
117
+ <glyph unicode="&#xe089;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM896 654 l-346 -345l-228 228l141 141l87 -87l204 205z" />
118
+ <glyph unicode="&#xe090;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM248 385l568 567q-100 62 -216 62q-171 0 -292.5 -121.5t-121.5 -292.5q0 -115 62 -215zM955 809l-564 -564q97 -59 209 -59q171 0 292.5 121.5 t121.5 292.5q0 112 -59 209z" />
119
+ <glyph unicode="&#xe091;" d="M1200 400h-600v-301l-600 448l600 453v-300h600v-300z" />
120
+ <glyph unicode="&#xe092;" d="M600 400h-600v300h600v300l600 -453l-600 -448v301z" />
121
+ <glyph unicode="&#xe093;" d="M1098 600h-298v-600h-300v600h-296l450 600z" />
122
+ <glyph unicode="&#xe094;" d="M998 600l-449 -600l-445 600h296v600h300v-600h298z" />
123
+ <glyph unicode="&#xe095;" d="M600 199v301q-95 -2 -183 -20t-170 -52t-147 -92.5t-100 -135.5q6 132 41 238.5t103.5 193t184 138t271.5 59.5v271l600 -453z" />
124
+ <glyph unicode="&#xe096;" d="M1200 1200h-400l129 -129l-294 -294l142 -142l294 294l129 -129v400zM565 423l-294 -294l129 -129h-400v400l129 -129l294 294z" />
125
+ <glyph unicode="&#xe097;" d="M871 730l129 -130h-400v400l129 -129l295 295l142 -141zM200 600h400v-400l-129 130l-295 -295l-142 141l295 295z" />
126
+ <glyph unicode="&#xe101;" d="M600 1177q118 0 224.5 -45.5t184 -123t123 -184t45.5 -224.5t-45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123t-123 184t-45.5 224.5t45.5 224.5t123 184t184 123t224.5 45.5zM686 549l58 302q4 20 -8 34.5t-33 14.5h-207q-20 0 -32 -14.5t-8 -34.5 l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5zM700 400h-200v-100h200v100z" />
127
+ <glyph unicode="&#xe102;" d="M1200 900h-111v6t-1 15t-3 18l-34 172q-11 39 -41.5 63t-69.5 24q-32 0 -61 -17l-239 -144q-22 -13 -40 -35q-19 24 -40 36l-238 144q-33 18 -62 18q-39 0 -69.5 -23t-40.5 -61l-35 -177q-2 -8 -3 -18t-1 -15v-6h-111v-100h100v-200h400v300h200v-300h400v200h100v100z M731 900l202 197q5 -12 12 -32.5t23 -64t25 -72t7 -28.5h-269zM481 900h-281q-3 0 14 48t35 96l18 47zM100 0h400v400h-400v-400zM700 400h400v-400h-400v400z" />
128
+ <glyph unicode="&#xe103;" d="M0 121l216 193q-9 53 -13 83t-5.5 94t9 113t38.5 114t74 124q47 60 99.5 102.5t103 68t127.5 48t145.5 37.5t184.5 43.5t220 58.5q0 -189 -22 -343t-59 -258t-89 -181.5t-108.5 -120t-122 -68t-125.5 -30t-121.5 -1.5t-107.5 12.5t-87.5 17t-56.5 7.5l-99 -55l-201 -202 v143zM692 611q70 38 118.5 69.5t102 79t99 111.5t86.5 148q22 50 24 60t-6 19q-7 5 -17 5t-26.5 -14.5t-33.5 -39.5q-35 -51 -113.5 -108.5t-139.5 -89.5l-61 -32q-369 -197 -458 -401q-48 -111 -28.5 -117.5t86.5 76.5q55 66 367 234z" />
129
+ <glyph unicode="&#xe105;" d="M1261 600l-26 -40q-6 -10 -20 -30t-49 -63.5t-74.5 -85.5t-97 -90t-116.5 -83.5t-132.5 -59t-145.5 -23.5t-145.5 23.5t-132.5 59t-116.5 83.5t-97 90t-74.5 85.5t-49 63.5t-20 30l-26 40l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5 t145.5 -23.5t132.5 -59t116.5 -83.5t97 -90t74.5 -85.5t49 -63.5t20 -30zM600 240q64 0 123.5 20t100.5 45.5t85.5 71.5t66.5 75.5t58 81.5t47 66q-1 1 -28.5 37.5t-42 55t-43.5 53t-57.5 63.5t-58.5 54q49 -74 49 -163q0 -124 -88 -212t-212 -88t-212 88t-88 212 q0 85 46 158q-102 -87 -226 -258q7 -10 40.5 -58t56 -78.5t68 -77.5t87.5 -75t103 -49.5t125 -21.5zM484 762l-107 -106q49 -124 154 -191l105 105q-37 24 -75 72t-57 84z" />
130
+ <glyph unicode="&#xe106;" d="M906 1200l-314 -1200h-148l37 143q-82 21 -165 71.5t-140 102t-109.5 112t-72 88.5t-29.5 43l-26 40l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5q61 0 121 -17l37 142h148zM1261 600l-26 -40q-7 -12 -25.5 -38t-63.5 -79.5t-95.5 -102.5 t-124 -100t-146.5 -79l38 145q22 15 44.5 34t46 44t40.5 44t41 50.5t33.5 43.5t33 44t24.5 34q-97 127 -140 175l39 146q67 -54 131.5 -125.5t87.5 -103.5t36 -52zM513 264l37 141q-107 18 -178.5 101.5t-71.5 193.5q0 85 46 158q-102 -87 -226 -258q210 -282 393 -336z M484 762l-107 -106q49 -124 154 -191l47 47l23 87q-30 28 -59 69t-44 68z" />
131
+ <glyph unicode="&#xe107;" d="M-47 0h1294q37 0 50.5 35.5t-7.5 67.5l-642 1056q-20 33 -48 36t-48 -29l-642 -1066q-21 -32 -7.5 -66t50.5 -34zM700 200v100h-200v-100h-345l445 723l445 -723h-345zM700 700h-200v-100l100 -300l100 300v100z" />
132
+ <glyph unicode="&#xe108;" d="M800 711l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -91 100 -113v-64q0 -21 -13 -29t-32 1l-94 78h-222l-94 -78q-19 -9 -32 -1t-13 29v64q0 22 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5v41q0 20 11 44.5t26 38.5 l363 325v339q0 62 44 106t106 44t106 -44t44 -106v-339z" />
133
+ <glyph unicode="&#xe110;" d="M941 800l-600 -600h-341v200h259l600 600h241v198l300 -295l-300 -300v197h-159zM381 678l141 142l-181 180h-341v-200h259zM1100 598l300 -295l-300 -300v197h-241l-181 181l141 142l122 -123h159v198z" />
134
+ <glyph unicode="&#xe111;" d="M100 1100h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5z" />
135
+ <glyph unicode="&#xe112;" d="M400 900h-300v300h300v-300zM1100 900h-300v300h300v-300zM1100 800v-200q0 -42 -3 -83t-15 -104t-31.5 -116t-58 -109.5t-89 -96.5t-129 -65.5t-174.5 -25.5t-174.5 25.5t-129 65.5t-89 96.5t-58 109.5t-31.5 116t-15 104t-3 83v200h300v-250q0 -113 6 -145 q17 -92 102 -117q39 -11 92 -11q37 0 66.5 5.5t50 15.5t36 24t24 31.5t14 37.5t7 42t2.5 45t0 47v25v250h300z" />
136
+ <glyph unicode="&#xe113;" d="M902 184l226 227l-578 579l-580 -579l227 -227l352 353z" />
137
+ <glyph unicode="&#xe114;" d="M650 218l578 579l-226 227l-353 -353l-352 353l-227 -227z" />
138
+ <glyph unicode="&#xe115;" d="M1198 400v600h-796l215 -200h381v-400h-198l299 -283l299 283h-200zM-198 700l299 283l300 -283h-203v-400h385l215 -200h-800v600h-196z" />
139
+ <glyph unicode="&#xe116;" d="M1050 1200h94q20 0 35 -14.5t15 -35.5t-15 -35.5t-35 -14.5h-54l-201 -961q-2 -4 -6 -10.5t-19 -17.5t-33 -11h-31v-50q0 -20 -14.5 -35t-35.5 -15t-35.5 15t-14.5 35v50h-300v-50q0 -20 -14.5 -35t-35.5 -15t-35.5 15t-14.5 35v50h-50q-21 0 -35.5 15t-14.5 35 q0 21 14.5 35.5t35.5 14.5h535l48 200h-633q-32 0 -54.5 21t-27.5 43l-100 475q-5 24 10 42q14 19 39 19h896l38 162q5 17 18.5 27.5t30.5 10.5z" />
140
+ <glyph unicode="&#xe117;" d="M1200 1000v-100h-1200v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500zM0 800h1200v-800h-1200v800z" />
141
+ <glyph unicode="&#xe118;" d="M201 800l-200 -400v600h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500v-200h-1000zM1501 700l-300 -700h-1200l300 700h1200z" />
142
+ <glyph unicode="&#xe119;" d="M302 300h198v600h-198l298 300l298 -300h-198v-600h198l-298 -300z" />
143
+ <glyph unicode="&#xe120;" d="M900 303v197h-600v-197l-300 297l300 298v-198h600v198l300 -298z" />
144
+ <glyph unicode="&#xe121;" d="M31 400l172 739q5 22 23 41.5t38 19.5h672q19 0 37.5 -22.5t23.5 -45.5l172 -732h-1138zM100 300h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM900 200h-100v-100h100v100z M1100 200h-100v-100h100v100z" />
145
+ <glyph unicode="&#xe122;" d="M1100 200v850q0 21 14.5 35.5t35.5 14.5q20 0 35 -14.5t15 -35.5v-850q0 -20 -15 -35t-35 -15q-21 0 -35.5 15t-14.5 35zM325 800l675 250v-850l-675 200h-38l47 -276q2 -12 -3 -17.5t-11 -6t-21 -0.5h-8h-83q-20 0 -34.5 14t-18.5 35q-56 337 -56 351v250v5 q0 13 0.5 18.5t2.5 13t8 10.5t15 3h200zM-101 600v50q0 24 25 49t50 38l25 13v-250l-11 5.5t-24 14t-30 21.5t-24 27.5t-11 31.5z" />
146
+ <glyph unicode="&#xe124;" d="M445 1180l-45 -233l-224 78l78 -225l-233 -44l179 -156l-179 -155l233 -45l-78 -224l224 78l45 -233l155 179l155 -179l45 233l224 -78l-78 224l234 45l-180 155l180 156l-234 44l78 225l-224 -78l-45 233l-155 -180z" />
147
+ <glyph unicode="&#xe125;" d="M700 1200h-50q-27 0 -51 -20t-38 -48l-96 -198l-145 -196q-20 -26 -20 -63v-400q0 -75 100 -75h61q123 -100 139 -100h250q46 0 83 57l238 344q29 31 29 74v100q0 44 -30.5 84.5t-69.5 40.5h-328q28 118 28 125v150q0 44 -30.5 84.5t-69.5 40.5zM700 925l-50 -225h450 v-125l-250 -375h-214l-136 100h-100v375l150 212l100 213h50v-175zM0 800v-600h200v600h-200z" />
148
+ <glyph unicode="&#xe126;" d="M700 0h-50q-27 0 -51 20t-38 48l-96 198l-145 196q-20 26 -20 63v400q0 75 100 75h61q123 100 139 100h250q46 0 83 -57l238 -344q29 -31 29 -74v-100q0 -44 -30.5 -84.5t-69.5 -40.5h-328q28 -118 28 -125v-150q0 -44 -30.5 -84.5t-69.5 -40.5zM200 400h-200v600h200 v-600zM700 275l-50 225h450v125l-250 375h-214l-136 -100h-100v-375l150 -212l100 -213h50v175z" />
149
+ <glyph unicode="&#xe127;" d="M364 873l362 230q14 6 25 6q17 0 29 -12l109 -112q14 -14 14 -34q0 -18 -11 -32l-85 -121h302q85 0 138.5 -38t53.5 -110t-54.5 -111t-138.5 -39h-107l-130 -339q-7 -22 -20.5 -41.5t-28.5 -19.5h-341q-7 0 -90 81t-83 94v525q0 17 14 35.5t28 28.5zM408 792v-503 l100 -89h293l131 339q6 21 19.5 41t28.5 20h203q16 0 25 15t9 36q0 20 -9 34.5t-25 14.5h-457h-6.5h-7.5t-6.5 0.5t-6 1t-5 1.5t-5.5 2.5t-4 4t-4 5.5q-5 12 -5 20q0 14 10 27l147 183l-86 83zM208 200h-200v600h200v-600z" />
150
+ <glyph unicode="&#xe128;" d="M475 1104l365 -230q7 -4 16.5 -10.5t26 -26t16.5 -36.5v-526q0 -13 -85.5 -93.5t-93.5 -80.5h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-84 0 -139 39t-55 111t54 110t139 37h302l-85 121q-11 16 -11 32q0 21 14 34l109 113q13 12 29 12q11 0 25 -6zM370 946 l145 -184q10 -11 10 -26q0 -11 -5 -20q-1 -3 -3.5 -5.5l-4 -4t-5 -2.5t-5.5 -1.5t-6.5 -1t-6.5 -0.5h-7.5h-6.5h-476v-100h222q15 0 28.5 -20.5t19.5 -40.5l131 -339h293l106 89v502l-342 237zM1199 201h-200v600h200v-600z" />
151
+ <glyph unicode="&#xe129;" d="M1100 473v342q0 15 -20 28.5t-41 19.5l-339 131v106q0 84 -39 139t-111 55t-110 -53.5t-38 -138.5v-302l-121 84q-15 12 -33.5 11.5t-32.5 -13.5l-112 -110q-22 -22 -6 -53l230 -363q4 -6 10.5 -15.5t26 -25t36.5 -15.5h525q13 0 94 83t81 90zM911 400h-503l-236 339 l83 86l183 -146q22 -18 47 -5q3 1 5.5 3.5l4 4t2.5 5t1.5 5.5t1 6.5t0.5 6v7.5v7v456q0 22 25 31t50 -0.5t25 -30.5v-202q0 -16 20 -29.5t41 -19.5l339 -130v-294zM1000 200v-200h-600v200h600z" />
152
+ <glyph unicode="&#xe130;" d="M305 1104v200h600v-200h-600zM605 310l339 131q20 6 40.5 19.5t20.5 28.5v342q0 7 -81 90t-94 83h-525q-17 0 -35.5 -14t-28.5 -28l-10 -15l-230 -362q-15 -31 7 -53l112 -110q13 -13 32 -13.5t34 10.5l121 85l-1 -302q0 -84 38.5 -138t110.5 -54t111 55t39 139v106z M905 804v-294l-340 -130q-20 -6 -40 -20t-20 -29v-202q0 -22 -25 -31t-50 0t-25 31v456v14.5t-1.5 11.5t-5 12t-9.5 7q-24 13 -46 -5l-184 -146l-83 86l237 339h503z" />
153
+ <glyph unicode="&#xe131;" d="M603 1195q162 0 299.5 -80t217.5 -218t80 -300t-80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM598 701h-298v-201h300l-2 -194l402 294l-402 298v-197z" />
154
+ <glyph unicode="&#xe132;" d="M597 1195q122 0 232.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-218 -217.5t-300 -80t-299.5 80t-217.5 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t231.5 47.5zM200 600l400 -294v194h302v201h-300v197z" />
155
+ <glyph unicode="&#xe133;" d="M603 1195q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM300 600h200v-300h200v300h200l-300 400z" />
156
+ <glyph unicode="&#xe134;" d="M603 1195q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM500 900v-300h-200l300 -400l300 400h-200v300h-200z" />
157
+ <glyph unicode="&#xe135;" d="M603 1195q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM627 1101q-15 -12 -36.5 -21t-34.5 -12t-44 -8t-39 -6 q-15 -3 -45.5 0.5t-45.5 -2.5q-21 -7 -52 -26.5t-34 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -90.5t-29.5 -79.5q-8 -33 5.5 -92.5t7.5 -87.5q0 -9 17 -44t16 -60q12 0 23 -5.5t23 -15t20 -13.5q24 -12 108 -42q22 -8 53 -31.5t59.5 -38.5t57.5 -11q8 -18 -15 -55 t-20 -57q42 -71 87 -80q0 -6 -3 -15.5t-3.5 -14.5t4.5 -17q102 -2 221 112q30 29 47 47t34.5 49t20.5 62q-14 9 -37 9.5t-36 7.5q-14 7 -49 15t-52 19q-9 0 -39.5 -0.5t-46.5 -1.5t-39 -6.5t-39 -16.5q-50 -35 -66 -12q-4 2 -3.5 25.5t0.5 25.5q-6 13 -26.5 17t-24.5 7 q2 22 -2 41t-16.5 28t-38.5 -20q-23 -25 -42 4q-19 28 -8 58q6 16 22 22q6 -1 26 -1.5t33.5 -4t19.5 -13.5q12 -19 32 -37.5t34 -27.5l14 -8q0 3 9.5 39.5t5.5 57.5q-4 23 14.5 44.5t22.5 31.5q5 14 10 35t8.5 31t15.5 22.5t34 21.5q-6 18 10 37q8 0 23.5 -1.5t24.5 -1.5 t20.5 4.5t20.5 15.5q-10 23 -30.5 42.5t-38 30t-49 26.5t-43.5 23q11 41 1 44q31 -13 58.5 -14.5t39.5 3.5l11 4q6 36 -17 53.5t-64 28.5t-56 23q-19 -3 -37 0zM613 994q0 -18 8 -42.5t16.5 -44t9.5 -23.5q-9 2 -31 5t-36 5t-32 8t-30 14q3 12 16 30t16 25q10 -10 18.5 -10 t14 6t14.5 14.5t16 12.5z" />
158
+ <glyph unicode="&#xe137;" horiz-adv-x="1220" d="M100 1196h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 1096h-200v-100h200v100zM100 796h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 696h-500v-100h500v100zM100 396h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 296h-300v-100h300v100z " />
159
+ <glyph unicode="&#xe138;" d="M1100 1200v-100h-1000v100h1000zM150 1000h900l-350 -500v-300l-200 -200v500z" />
160
+ <glyph unicode="&#xe140;" d="M329 729l142 142l-200 200l129 129h-400v-400l129 129zM1200 1200v-400l-129 129l-200 -200l-142 142l200 200l-129 129h400zM271 129l129 -129h-400v400l129 -129l200 200l142 -142zM1071 271l129 129v-400h-400l129 129l-200 200l142 142z" />
161
+ <glyph unicode="&#xe141;" d="M596 1192q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM596 1010q-171 0 -292.5 -121.5t-121.5 -292.5q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5zM455 905 q22 0 38 -16t16 -39t-16 -39t-38 -16q-23 0 -39 16.5t-16 38.5t16 38.5t39 16.5zM708 821l1 1q-9 14 -9 28q0 22 16 38.5t39 16.5q22 0 38 -16t16 -39t-16 -39t-38 -16q-14 0 -29 10l-55 -145q17 -22 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5t-61.5 25.5t-25.5 61.5 q0 32 20.5 56.5t51.5 29.5zM855 709q23 0 38.5 -15.5t15.5 -38.5t-16 -39t-38 -16q-23 0 -39 16t-16 39q0 22 16 38t39 16zM345 709q23 0 39 -16t16 -38q0 -23 -16 -39t-39 -16q-22 0 -38 16t-16 39t15.5 38.5t38.5 15.5z" />
162
+ <glyph unicode="&#xe143;" d="M649 54l-16 22q-90 125 -293 323q-71 70 -104.5 105.5t-77 89.5t-61 99t-17.5 91q0 131 98.5 229.5t230.5 98.5q143 0 241 -129q103 129 246 129q129 0 226 -98.5t97 -229.5q0 -46 -17.5 -91t-61 -99t-77 -89.5t-104.5 -105.5q-203 -198 -293 -323zM844 524l12 12 q64 62 97.5 97t64.5 79t31 72q0 71 -48 119t-105 48q-74 0 -132 -82l-118 -171l-114 174q-51 79 -123 79q-60 0 -109.5 -49t-49.5 -118q0 -27 30.5 -70t61.5 -75.5t95 -94.5l22 -22q93 -90 190 -201q82 92 195 203z" />
163
+ <glyph unicode="&#xe144;" d="M476 406l19 -17l105 105l-212 212l389 389l247 -247l-95 -96l18 -18q46 -46 77 -99l29 29q35 35 62.5 88t27.5 96q0 93 -66 159l-141 141q-66 66 -159 66q-95 0 -159 -66l-283 -283q-66 -64 -66 -159q0 -93 66 -159zM123 193l141 -141q66 -66 159 -66q95 0 159 66 l283 283q66 66 66 159t-66 159l-141 141q-12 12 -19 17l-105 -105l212 -212l-389 -389l-247 248l95 95l-18 18q-46 45 -75 101l-55 -55q-66 -66 -66 -159q0 -94 66 -160z" />
164
+ <glyph unicode="&#xe145;" d="M200 100v953q0 21 30 46t81 48t129 38t163 15t162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5zM900 1000h-600v-700h600v700zM600 46q43 0 73.5 30.5t30.5 73.5t-30.5 73.5t-73.5 30.5t-73.5 -30.5t-30.5 -73.5 t30.5 -73.5t73.5 -30.5z" />
165
+ <glyph unicode="&#xe148;" d="M700 1029v-307l64 -14q34 -7 64 -16.5t70 -31.5t67.5 -52t47.5 -80.5t20 -112.5q0 -139 -89 -224t-244 -96v-77h-100v78q-152 17 -237 104q-40 40 -52.5 93.5t-15.5 139.5h139q5 -77 48.5 -126.5t117.5 -64.5v335l-27 7q-46 14 -79 26.5t-72 36t-62.5 52t-40 72.5 t-16.5 99q0 92 44 159.5t109 101t144 40.5v78h100v-79q38 -4 72.5 -13.5t75.5 -31.5t71 -53.5t51.5 -84t24.5 -118.5h-159q-8 72 -35 109.5t-101 50.5zM600 755v274q-61 -8 -97.5 -37.5t-36.5 -102.5q0 -29 8 -51t16.5 -34t29.5 -22.5t31 -13.5t38 -10q7 -2 11 -3zM700 548 v-311q170 18 170 151q0 64 -44 99.5t-126 60.5z" />
166
+ <glyph unicode="&#xe149;" d="M866 300l50 -147q-41 -25 -80.5 -36.5t-59 -13t-61.5 -1.5q-23 0 -128 33t-155 29q-39 -4 -82 -17t-66 -25l-24 -11l-55 145l16.5 11t15.5 10t13.5 9.5t14.5 12t14.5 14t17.5 18.5q48 55 54 126.5t-30 142.5h-221v100h166q-24 49 -44 104q-10 26 -14.5 55.5t-3 72.5 t25 90t68.5 87q97 88 263 88q129 0 230 -89t101 -208h-153q0 52 -34 89.5t-74 51.5t-76 14q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -11 2.5 -24.5t5.5 -24t9.5 -26.5t10.5 -25t14 -27.5t14 -25.5t15.5 -27t13.5 -24h242v-100h-197q8 -50 -2.5 -115t-31.5 -94 q-41 -59 -99 -113q35 11 84 18t70 7q32 1 102 -16t104 -17q76 0 136 30z" />
167
+ <glyph unicode="&#xe150;" d="M300 0l298 300h-198v900h-200v-900h-198zM900 1200l298 -300h-198v-900h-200v900h-198z" />
168
+ <glyph unicode="&#xe151;" d="M400 300h198l-298 -300l-298 300h198v900h200v-900zM1000 1200v-500h-100v100h-100v-100h-100v500h300zM901 1100h-100v-200h100v200zM700 500h300v-200h-99v-100h-100v100h99v100h-200v100zM800 100h200v-100h-300v200h100v-100z" />
169
+ <glyph unicode="&#xe152;" d="M400 300h198l-298 -300l-298 300h198v900h200v-900zM1000 1200v-200h-99v-100h-100v100h99v100h-200v100h300zM800 800h200v-100h-300v200h100v-100zM700 500h300v-500h-100v100h-100v-100h-100v500zM801 200h100v200h-100v-200z" />
170
+ <glyph unicode="&#xe153;" d="M300 0l298 300h-198v900h-200v-900h-198zM900 1100h-100v100h200v-500h-100v400zM1100 500v-500h-100v100h-200v400h300zM1001 400h-100v-200h100v200z" />
171
+ <glyph unicode="&#xe154;" d="M300 0l298 300h-198v900h-200v-900h-198zM1100 1200v-500h-100v100h-200v400h300zM1001 1100h-100v-200h100v200zM900 400h-100v100h200v-500h-100v400z" />
172
+ <glyph unicode="&#xe155;" d="M300 0l298 300h-198v900h-200v-900h-198zM900 1000h-200v200h200v-200zM1000 700h-300v200h300v-200zM1100 400h-400v200h400v-200zM1200 100h-500v200h500v-200z" />
173
+ <glyph unicode="&#xe156;" d="M300 0l298 300h-198v900h-200v-900h-198zM1200 1000h-500v200h500v-200zM1100 700h-400v200h400v-200zM1000 400h-300v200h300v-200zM900 100h-200v200h200v-200z" />
174
+ <glyph unicode="&#xe157;" d="M400 1100h300q162 0 281 -118.5t119 -281.5v-300q0 -165 -118.5 -282.5t-281.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5 t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5z" />
175
+ <glyph unicode="&#xe158;" d="M700 0h-300q-163 0 -281.5 117.5t-118.5 282.5v300q0 163 119 281.5t281 118.5h300q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5 t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5zM400 800v-500l333 250z" />
176
+ <glyph unicode="&#xe159;" d="M0 400v300q0 163 117.5 281.5t282.5 118.5h300q163 0 281.5 -119t118.5 -281v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5zM900 300v500q0 41 -29.5 70.5t-70.5 29.5h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5 t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5zM800 700h-500l250 -333z" />
177
+ <glyph unicode="&#xe160;" d="M1100 700v-300q0 -162 -118.5 -281t-281.5 -119h-300q-165 0 -282.5 118.5t-117.5 281.5v300q0 165 117.5 282.5t282.5 117.5h300q165 0 282.5 -117.5t117.5 -282.5zM900 300v500q0 41 -29.5 70.5t-70.5 29.5h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5 t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5zM550 733l-250 -333h500z" />
178
+ <glyph unicode="&#xe161;" d="M500 1100h400q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-400v200h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-500v200zM700 550l-400 -350v200h-300v300h300v200z" />
179
+ <glyph unicode="&#xe162;" d="M403 2l9 -1q13 0 26 16l538 630q15 19 6 36q-8 18 -32 16h-300q1 4 78 219.5t79 227.5q2 17 -6 27l-8 8h-9q-16 0 -25 -15q-4 -5 -98.5 -111.5t-228 -257t-209.5 -238.5q-17 -19 -7 -40q10 -19 32 -19h302q-155 -438 -160 -458q-5 -21 4 -32z" />
180
+ <glyph unicode="&#xe163;" d="M800 200h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h500v185q-14 4 -114 7.5t-193 5.5l-93 2q-165 0 -282.5 -117.5t-117.5 -282.5v-300q0 -165 117.5 -282.5t282.5 -117.5h300q47 0 100 15v185zM900 200v200h-300v300h300v200l400 -350z" />
181
+ <glyph unicode="&#xe164;" d="M1200 700l-149 149l-342 -353l-213 213l353 342l-149 149h500v-500zM1022 571l-122 -123v-148q0 -41 -29.5 -70.5t-70.5 -29.5h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h156l118 122l-74 78h-100q-165 0 -282.5 -117.5t-117.5 -282.5v-300 q0 -165 117.5 -282.5t282.5 -117.5h300q163 0 281.5 117.5t118.5 282.5v98z" />
182
+ <glyph unicode="&#xe165;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM600 794 q80 0 137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137t57 137t137 57z" />
183
+ <glyph unicode="&#xe166;" d="M700 800v400h-300v-400h-300l445 -500l450 500h-295zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
184
+ <glyph unicode="&#xe167;" d="M400 700v-300h300v300h295l-445 500l-450 -500h300zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
185
+ <glyph unicode="&#xe168;" d="M405 400l596 596l-154 155l-442 -442l-150 151l-155 -155zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
186
+ <glyph unicode="&#xe169;" d="M409 1103l-97 97l-212 -212l97 -98zM650 861l-149 149l-212 -212l149 -149l-238 -248h700v699zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
187
+ <glyph unicode="&#xe170;" d="M539 950l-149 -149l212 -212l149 148l248 -237v700h-699zM297 709l-97 -97l212 -212l98 97zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" />
188
+ <glyph unicode="&#xe171;" d="M1200 1199v-1079l-475 272l-310 -393v416h-392zM1166 1148l-672 -712v-226z" />
189
+ <glyph unicode="&#xe172;" d="M1100 1000v-850q0 -21 -15 -35.5t-35 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1200h-100v-200h100v200z" />
190
+ <glyph unicode="&#xe173;" d="M578 500h-378v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-218l-276 -275l-120 120zM700 1200h-100v-200h100v200zM1300 538l-475 -476l-244 244l123 123l120 -120l353 352z" />
191
+ <glyph unicode="&#xe174;" d="M529 500h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-269l-103 -103l-170 170zM700 1200h-100v-200h100v200zM1167 6l-170 170l-170 -170l-127 127l170 170l-170 170l127 127l170 -170l170 170l127 -128 l-170 -169l170 -170z" />
192
+ <glyph unicode="&#xe175;" d="M700 500h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-300h-400v-200zM700 1000h-100v200h100v-200zM1000 600h-200v-300h-200l300 -300l300 300h-200v300z" />
193
+ <glyph unicode="&#xe176;" d="M602 500h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-402l-200 200zM700 1000h-100v200h100v-200zM1000 300h200l-300 300l-300 -300h200v-300h200v300z" />
194
+ <glyph unicode="&#xe177;" d="M1200 900v150q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-150h1200zM0 800v-550q0 -21 14.5 -35.5t35.5 -14.5h1100q21 0 35.5 14.5t14.5 35.5v550h-1200zM100 500h400v-200h-400v200z" />
195
+ <glyph unicode="&#xe178;" d="M500 1000h400v198l300 -298l-300 -298v198h-400v200zM100 800v200h100v-200h-100zM400 800h-100v200h100v-200zM700 300h-400v-198l-300 298l300 298v-198h400v-200zM800 500h100v-200h-100v200zM1000 500v-200h100v200h-100z" />
196
+ <glyph unicode="&#xe179;" d="M1200 50v1106q0 31 -18 40.5t-44 -7.5l-276 -117q-25 -16 -43.5 -50.5t-18.5 -65.5v-359q0 -29 10.5 -55.5t25 -43t29 -28.5t25.5 -18l10 -5v-397q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5zM550 1200l50 -100v-400l-100 -203v-447q0 -21 -14.5 -35.5 t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447l-100 203v400l50 100l50 -100v-300h100v300l50 100l50 -100v-300h100v300z" />
197
+ <glyph unicode="&#xe180;" d="M1100 106v888q0 22 25 34.5t50 13.5l25 2v56h-400v-56q75 0 87.5 -6t12.5 -44v-394h-500v394q0 38 12.5 44t87.5 6v56h-400v-56q4 0 11 -0.5t24 -3t30 -7t24 -15t11 -24.5v-888q0 -22 -25 -34.5t-50 -13.5l-25 -2v-56h400v56q-75 0 -87.5 6t-12.5 44v394h500v-394 q0 -38 -12.5 -44t-87.5 -6v-56h400v56q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5z" />
198
+ <glyph unicode="&#xe181;" d="M675 1000l-100 100h-375l-100 -100h400l200 -200v-98l295 98h105v200h-425zM500 300v500q0 41 -29.5 70.5t-70.5 29.5h-300q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h300q41 0 70.5 29.5t29.5 70.5zM100 800h300v-200h-300v200zM700 565l400 133 v-163l-400 -133v163zM100 500h300v-200h-300v200zM805 300l295 98v-298h-425l-100 -100h-375l-100 100h400l200 200h105z" />
199
+ <glyph unicode="&#xe182;" d="M179 1169l-162 -162q-1 -11 -0.5 -32.5t16 -90t46.5 -140t104 -177.5t175 -208q103 -103 207.5 -176t180 -103.5t137 -47t92.5 -16.5l31 1l163 162q16 17 13 40.5t-22 37.5l-192 136q-19 14 -45 12t-42 -19l-119 -118q-143 103 -267 227q-126 126 -227 268l118 118 q17 17 20 41.5t-11 44.5l-139 194q-14 19 -36.5 22t-40.5 -14z" />
200
+ <glyph unicode="&#xe183;" d="M1200 712v200q-6 8 -19 20.5t-63 45t-112 57t-171 45t-235 20.5q-92 0 -175 -10.5t-141.5 -27t-108.5 -36.5t-81.5 -40t-53.5 -36.5t-31 -27.5l-9 -10v-200q0 -21 14.5 -33.5t34.5 -8.5l202 33q20 4 34.5 21t14.5 38v146q141 24 300 24t300 -24v-146q0 -21 14.5 -38 t34.5 -21l202 -33q20 -4 34.5 8.5t14.5 33.5zM800 650l365 -303q14 -14 24.5 -39.5t10.5 -45.5v-212q0 -21 -15 -35.5t-35 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v212q0 20 10.5 45.5t24.5 39.5l365 303v50q0 4 1 10.5t12 22.5t30 28.5t60 23t97 10.5t97 -10t60 -23.5 t30 -27.5t12 -24l1 -10v-50z" />
201
+ <glyph unicode="&#xe184;" d="M175 200h950l-125 150v250l100 100v400h-100v-200h-100v200h-200v-200h-100v200h-200v-200h-100v200h-100v-400l100 -100v-250zM1200 100v-100h-1100v100h1100z" />
202
+ <glyph unicode="&#xe185;" d="M600 1100h100q41 0 70.5 -29.5t29.5 -70.5v-1000h-300v1000q0 41 29.5 70.5t70.5 29.5zM1000 800h100q41 0 70.5 -29.5t29.5 -70.5v-700h-300v700q0 41 29.5 70.5t70.5 29.5zM400 0v400q0 41 -29.5 70.5t-70.5 29.5h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-400h300z" />
203
+ <glyph unicode="&#xe186;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM200 800v-300h200v-100h-200v-100h300v300h-200v100h200v100h-300zM800 800h-200v-500h200v100h100v300h-100 v100zM800 700v-300h-100v300h100z" />
204
+ <glyph unicode="&#xe187;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM400 600h-100v200h-100v-500h100v200h100v-200h100v500h-100v-200zM800 800h-200v-500h200v100h100v300h-100 v100zM800 700v-300h-100v300h100z" />
205
+ <glyph unicode="&#xe188;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM200 800v-500h300v100h-200v300h200v100h-300zM600 800v-500h300v100h-200v300h200v100h-300z" />
206
+ <glyph unicode="&#xe189;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM500 700l-300 -150l300 -150v300zM600 400l300 150l-300 150v-300z" />
207
+ <glyph unicode="&#xe190;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM900 800v-500h-700v500h700zM300 400h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130v-300zM800 700h-130 q-38 0 -66.5 -43t-28.5 -108t27 -107t68 -42h130v300z" />
208
+ <glyph unicode="&#xe191;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM200 800v-300h200v-100h-200v-100h300v300h-200v100h200v100h-300zM800 300h100v500h-200v-100h100v-400z M601 300h100v100h-100v-100z" />
209
+ <glyph unicode="&#xe192;" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM300 700v100h-100v-500h300v400h-200zM800 300h100v500h-200v-100h100v-400zM401 400h-100v200h100v-200z M601 300h100v100h-100v-100z" />
210
+ <glyph unicode="&#xe193;" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM1000 900h-900v-700h900v700zM400 700h-200v100h300v-300h-99v-100h-100v100h99v200zM800 700h-100v100h200v-500h-100v400zM201 400h100v-100 h-100v100zM701 300h-100v100h100v-100z" />
211
+ <glyph unicode="&#xe194;" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM800 700h-300 v-200h300v-100h-300l-100 100v200l100 100h300v-100z" />
212
+ <glyph unicode="&#xe195;" d="M596 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM596 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM800 700v-100 h-100v100h-200v-100h200v-100h-200v-100h-100v400h300zM800 400h-100v100h100v-100z" />
213
+ <glyph unicode="&#xe197;" d="M800 300h128q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5q0 -80 56.5 -137t135.5 -57h222v300h400v-300zM700 200h200l-300 -300 l-300 300h200v300h200v-300z" />
214
+ <glyph unicode="&#xe198;" d="M600 714l403 -403q94 26 154.5 104t60.5 178q0 121 -85 207.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5q0 -80 56.5 -137t135.5 -57h8zM700 -100h-200v300h-200l300 300 l300 -300h-200v-300z" />
215
+ <glyph unicode="&#xe199;" d="M700 200h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170l-270 -300h400v-155l-75 -45h350l-75 45v155z" />
216
+ <glyph unicode="&#xe200;" d="M700 45v306q46 -30 100 -30q74 0 126.5 52.5t52.5 126.5q0 24 -9 55q50 32 79.5 83t29.5 112q0 90 -61.5 155.5t-150.5 71.5q-26 89 -99.5 145.5t-167.5 56.5q-116 0 -197.5 -81.5t-81.5 -197.5q0 -4 1 -12t1 -11q-14 2 -23 2q-74 0 -126.5 -52.5t-52.5 -126.5 q0 -53 28.5 -97t75.5 -65q-4 -16 -4 -38q0 -74 52.5 -126.5t126.5 -52.5q56 0 100 30v-306l-75 -45h350z" />
217
+ <glyph unicode="&#x1f4bc;" d="M800 1000h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5h200q41 0 70.5 -29.5t29.5 -70.5v-100zM500 1000h200v100h-200v-100zM1200 400v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v200h1200z" />
218
+ <glyph unicode="&#x1f4c5;" d="M1100 900v150q0 21 -14.5 35.5t-35.5 14.5h-150v100h-100v-100h-500v100h-100v-100h-150q-21 0 -35.5 -14.5t-14.5 -35.5v-150h1100zM0 800v-750q0 -20 14.5 -35t35.5 -15h1000q21 0 35.5 15t14.5 35v750h-1100zM100 600h100v-100h-100v100zM300 600h100v-100h-100v100z M500 600h100v-100h-100v100zM700 600h100v-100h-100v100zM900 600h100v-100h-100v100zM100 400h100v-100h-100v100zM300 400h100v-100h-100v100zM500 400h100v-100h-100v100zM700 400h100v-100h-100v100zM900 400h100v-100h-100v100zM100 200h100v-100h-100v100zM300 200 h100v-100h-100v100zM500 200h100v-100h-100v100zM700 200h100v-100h-100v100zM900 200h100v-100h-100v100z" />
219
+ <glyph unicode="&#x1f4cc;" d="M902 1185l283 -282q15 -15 15 -36t-15 -35q-14 -15 -35 -15t-35 15l-36 35l-279 -267v-300l-212 210l-208 -207l-380 -303l303 380l207 208l-210 212h300l267 279l-35 36q-15 14 -15 35t15 35q14 15 35 15t35 -15z" />
220
+ <glyph unicode="&#x1f4ce;" d="M518 119l69 -60l517 511q67 67 95 157t11 183q-16 87 -67 154t-130 103q-69 33 -152 33q-107 0 -197 -55q-40 -24 -111 -95l-512 -512q-68 -68 -81 -163t35 -173q35 -57 94 -89t129 -32q63 0 119 28q33 16 65 40.5t52.5 45.5t59.5 64q40 44 57 61l394 394q35 35 47 84 t-3 96q-27 87 -117 104q-20 2 -29 2q-46 0 -79.5 -17t-67.5 -51l-388 -396l-7 -7l69 -67l377 373q20 22 39 38q23 23 50 23q38 0 53 -36q16 -39 -20 -75l-547 -547q-52 -52 -125 -52q-55 0 -100 33t-54 96q-5 35 2.5 66t31.5 63t42 50t56 54q24 21 44 41l348 348 q52 52 82.5 79.5t84 54t107.5 26.5q25 0 48 -4q95 -17 154 -94.5t51 -175.5q-7 -101 -98 -192l-252 -249l-253 -256z" />
221
+ <glyph unicode="&#x1f4f7;" d="M1200 200v600q0 41 -29.5 70.5t-70.5 29.5h-150q-4 8 -11.5 21.5t-33 48t-53 61t-69 48t-83.5 21.5h-200q-41 0 -82 -20.5t-70 -50t-52 -59t-34 -50.5l-12 -20h-150q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5z M1000 700h-100v100h100v-100zM844 500q0 -100 -72 -172t-172 -72t-172 72t-72 172t72 172t172 72t172 -72t72 -172zM706 500q0 44 -31 75t-75 31t-75 -31t-31 -75t31 -75t75 -31t75 31t31 75z" />
222
+ <glyph unicode="&#x1f512;" d="M900 800h100q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-900q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5h100v200q0 82 59 141t141 59h300q82 0 141 -59t59 -141v-200zM400 800h300v150q0 21 -14.5 35.5t-35.5 14.5h-200 q-21 0 -35.5 -14.5t-14.5 -35.5v-150z" />
223
+ <glyph unicode="&#x1f514;" d="M1062 400h17q20 0 33.5 -14.5t13.5 -35.5q0 -20 -13 -40t-31 -27q-22 -9 -63 -23t-167.5 -37t-251.5 -23t-245.5 20.5t-178.5 41.5l-58 20q-18 7 -31 27.5t-13 40.5q0 21 13.5 35.5t33.5 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3 32t29 13h94 q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327zM600 104q-54 0 -103 6q12 -49 40 -79.5t63 -30.5t63 30.5t39 79.5q-48 -6 -102 -6z" />
224
+ <glyph unicode="&#x1f516;" d="M200 0l450 444l450 -443v1150q0 20 -14.5 35t-35.5 15h-800q-21 0 -35.5 -15t-14.5 -35v-1151z" />
225
+ <glyph unicode="&#x1f525;" d="M400 755q2 -12 8 -41.5t8 -43t6 -39.5t3.5 -39.5t-1 -33.5t-6 -31.5t-13.5 -24t-21 -20.5t-31 -12q-38 -10 -67 13t-40.5 61.5t-15 81.5t10.5 75q-52 -46 -83.5 -101t-39 -107t-7.5 -85t5 -63q9 -56 44 -119.5t105 -108.5q31 -21 64 -16t62 23.5t57 49.5t48 61.5t35 60.5 q32 66 39 184.5t-13 157.5q79 -80 122 -164t26 -184q-5 -33 -20.5 -69.5t-37.5 -80.5q-10 -19 -14.5 -29t-12 -26t-9 -23.5t-3 -19t2.5 -15.5t11 -9.5t19.5 -5t30.5 2.5t42 8q57 20 91 34t87.5 44.5t87 64t65.5 88.5t47 122q38 172 -44.5 341.5t-246.5 278.5q22 -44 43 -129 q39 -159 -32 -154q-15 2 -33 9q-79 33 -120.5 100t-44 175.5t48.5 257.5q-13 -8 -34 -23.5t-72.5 -66.5t-88.5 -105.5t-60 -138t-8 -166.5z" />
226
+ <glyph unicode="&#x1f527;" d="M948 778l251 126q13 -175 -151 -267q-123 -70 -253 -23l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5t15 37.5l600 599q-33 101 6 201.5t135 154.5q164 92 306 -9l-259 -138z" />
227
+ </font>
228
  </defs></svg>
images/Thumbs.db ADDED
Binary file
images/content.png ADDED
Binary file
images/dropdown.png ADDED
Binary file
images/elements.png ADDED
Binary file
images/icon.png CHANGED
Binary file
images/icon_dropdown.png ADDED
Binary file
images/icons.png ADDED
Binary file
images/interaction.png ADDED
Binary file
images/misc.png ADDED
Binary file
images/select.png ADDED
Binary file
images/select2.png ADDED
Binary file
images/slider.png ADDED
Binary file
js/bootstrap.min.js CHANGED
@@ -1,9 +1,7 @@
1
- /*!
2
- * Bootstrap v3.0.2 by @fat and @mdo
3
- * Copyright 2013 Twitter, Inc.
4
- * Licensed under http://www.apache.org/licenses/LICENSE-2.0
5
- *
6
- * Designed and built with all the love in the world by @mdo and @fat.
7
- */
8
-
9
- if("undefined"==typeof 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()})}(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)}(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()})}(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())})})}(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)})}(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('<div class="dropdown-backdrop"/>').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<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}};var g=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("dropdown");d||c.data("dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.dropdown.Constructor=f,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=g,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(jQuery),+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="modal-backdrop '+c+'" />').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")})}(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:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',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<o?"right":d,c.removeClass(k).addClass(d)}var p=this.getCalculatedOffset(d,g,h,i);this.applyPlacement(p,d),this.$element.trigger("shown.bs."+this.type)}},b.prototype.applyPlacement=function(a,b){var c,d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),a.top=a.top+g,a.left=a.left+h,d.offset(a).addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;if("top"==b&&j!=f&&(c=!0,a.top=a.top+f-j),/bottom|top/.test(b)){var k=0;a.left<0&&(k=-2*a.left,a.left=0,d.offset(a),i=d[0].offsetWidth,j=d[0].offsetHeight),this.replaceArrow(k-e+i,i,"left")}else this.replaceArrow(j-f,j,"top");c&&d.offset(a)},b.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},b.prototype.hide=function(){function b(){"in"!=c.hoverState&&d.detach()}var c=this,d=this.tip(),e=a.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(d.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d.one(a.support.transition.end,b).emulateTransitionEnd(150):b(),this.$element.trigger("hidden.bs."+this.type),this)},b.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},b.prototype.hasContent=function(){return this.getTitle()},b.prototype.getPosition=function(){var b=this.$element[0];return a.extend({},"function"==typeof b.getBoundingClientRect?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},b.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},b.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},b.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},b.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},b.prototype.enable=function(){this.enabled=!0},b.prototype.disable=function(){this.enabled=!1},b.prototype.toggleEnabled=function(){this.enabled=!this.enabled},b.prototype.toggle=function(b){var c=b?a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;c.tip().hasClass("in")?c.leave(c):c.enter(c)},b.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof c&&c;e||d.data("bs.tooltip",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(jQuery),+function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");b.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),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}}(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())})})}(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.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")})}(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)})})}(jQuery);
1
+ /*!
2
+ * Bootstrap v3.0.3 (http://getbootstrap.com)
3
+ * Copyright 2013 Twitter, Inc.
4
+ * Licensed under http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+
7
+ if("undefined"==typeof 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()})}(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)}(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"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&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()})}(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.bs.carousel",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.bs.carousel",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.bs.carousel")},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.bs.carousel")}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())})})}(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)})}(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('<div class="dropdown-backdrop"/>').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<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}};var g=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.dropdown.Constructor=f,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=g,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(jQuery),+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="modal-backdrop '+c+'" />').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")})}(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:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',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<o?"right":d,c.removeClass(k).addClass(d)}var p=this.getCalculatedOffset(d,g,h,i);this.applyPlacement(p,d),this.$element.trigger("shown.bs."+this.type)}},b.prototype.applyPlacement=function(a,b){var c,d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),a.top=a.top+g,a.left=a.left+h,d.offset(a).addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;if("top"==b&&j!=f&&(c=!0,a.top=a.top+f-j),/bottom|top/.test(b)){var k=0;a.left<0&&(k=-2*a.left,a.left=0,d.offset(a),i=d[0].offsetWidth,j=d[0].offsetHeight),this.replaceArrow(k-e+i,i,"left")}else this.replaceArrow(j-f,j,"top");c&&d.offset(a)},b.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},b.prototype.hide=function(){function b(){"in"!=c.hoverState&&d.detach()}var c=this,d=this.tip(),e=a.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(d.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d.one(a.support.transition.end,b).emulateTransitionEnd(150):b(),this.$element.trigger("hidden.bs."+this.type),this)},b.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},b.prototype.hasContent=function(){return this.getTitle()},b.prototype.getPosition=function(){var b=this.$element[0];return a.extend({},"function"==typeof b.getBoundingClientRect?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},b.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},b.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},b.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},b.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},b.prototype.enable=function(){this.enabled=!0},b.prototype.disable=function(){this.enabled=!1},b.prototype.toggleEnabled=function(){this.enabled=!this.enabled},b.prototype.toggle=function(b){var c=b?a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;c.tip().hasClass("in")?c.leave(c):c.enter(c)},b.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof c&&c;e||d.data("bs.tooltip",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(jQuery),+function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");b.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),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}}(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.bs.scrollspy")};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())})})}(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.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")})}(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)})})}(jQuery);
 
 
js/colorpicker.js ADDED
@@ -0,0 +1,484 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ *
3
+ * Color picker
4
+ * Author: Stefan Petre www.eyecon.ro
5
+ *
6
+ * Dual licensed under the MIT and GPL licenses
7
+ *
8
+ */
9
+ (function ($) {
10
+ var ColorPicker = function () {
11
+ var
12
+ ids = {},
13
+ inAction,
14
+ charMin = 65,
15
+ visible,
16
+ tpl = '<div class="colorpicker"><div class="colorpicker_color"><div><div></div></div></div><div class="colorpicker_hue"><div></div></div><div class="colorpicker_new_color"></div><div class="colorpicker_current_color"></div><div class="colorpicker_hex"><input type="text" maxlength="6" size="6" /></div><div class="colorpicker_rgb_r colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_g colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_h colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_s colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_submit"></div></div>',
17
+ defaults = {
18
+ eventName: 'click',
19
+ onShow: function () {},
20
+ onBeforeShow: function(){},
21
+ onHide: function () {},
22
+ onChange: function () {},
23
+ onSubmit: function () {},
24
+ color: 'ff0000',
25
+ livePreview: true,
26
+ flat: false
27
+ },
28
+ fillRGBFields = function (hsb, cal) {
29
+ var rgb = HSBToRGB(hsb);
30
+ $(cal).data('colorpicker').fields
31
+ .eq(1).val(rgb.r).end()
32
+ .eq(2).val(rgb.g).end()
33
+ .eq(3).val(rgb.b).end();
34
+ },
35
+ fillHSBFields = function (hsb, cal) {
36
+ $(cal).data('colorpicker').fields
37
+ .eq(4).val(hsb.h).end()
38
+ .eq(5).val(hsb.s).end()
39
+ .eq(6).val(hsb.b).end();
40
+ },
41
+ fillHexFields = function (hsb, cal) {
42
+ $(cal).data('colorpicker').fields
43
+ .eq(0).val(HSBToHex(hsb)).end();
44
+ },
45
+ setSelector = function (hsb, cal) {
46
+ $(cal).data('colorpicker').selector.css('backgroundColor', '#' + HSBToHex({h: hsb.h, s: 100, b: 100}));
47
+ $(cal).data('colorpicker').selectorIndic.css({
48
+ left: parseInt(150 * hsb.s/100, 10),
49
+ top: parseInt(150 * (100-hsb.b)/100, 10)
50
+ });
51
+ },
52
+ setHue = function (hsb, cal) {
53
+ $(cal).data('colorpicker').hue.css('top', parseInt(150 - 150 * hsb.h/360, 10));
54
+ },
55
+ setCurrentColor = function (hsb, cal) {
56
+ $(cal).data('colorpicker').currentColor.css('backgroundColor', '#' + HSBToHex(hsb));
57
+ },
58
+ setNewColor = function (hsb, cal) {
59
+ $(cal).data('colorpicker').newColor.css('backgroundColor', '#' + HSBToHex(hsb));
60
+ },
61
+ keyDown = function (ev) {
62
+ var pressedKey = ev.charCode || ev.keyCode || -1;
63
+ if ((pressedKey > charMin && pressedKey <= 90) || pressedKey == 32) {
64
+ return false;
65
+ }
66
+ var cal = $(this).parent().parent();
67
+ if (cal.data('colorpicker').livePreview === true) {
68
+ change.apply(this);
69
+ }
70
+ },
71
+ change = function (ev) {
72
+ var cal = $(this).parent().parent(), col;
73
+ if (this.parentNode.className.indexOf('_hex') > 0) {
74
+ cal.data('colorpicker').color = col = HexToHSB(fixHex(this.value));
75
+ } else if (this.parentNode.className.indexOf('_hsb') > 0) {
76
+ cal.data('colorpicker').color = col = fixHSB({
77
+ h: parseInt(cal.data('colorpicker').fields.eq(4).val(), 10),
78
+ s: parseInt(cal.data('colorpicker').fields.eq(5).val(), 10),
79
+ b: parseInt(cal.data('colorpicker').fields.eq(6).val(), 10)
80
+ });
81
+ } else {
82
+ cal.data('colorpicker').color = col = RGBToHSB(fixRGB({
83
+ r: parseInt(cal.data('colorpicker').fields.eq(1).val(), 10),
84
+ g: parseInt(cal.data('colorpicker').fields.eq(2).val(), 10),
85
+ b: parseInt(cal.data('colorpicker').fields.eq(3).val(), 10)
86
+ }));
87
+ }
88
+ if (ev) {
89
+ fillRGBFields(col, cal.get(0));
90
+ fillHexFields(col, cal.get(0));
91
+ fillHSBFields(col, cal.get(0));
92
+ }
93
+ setSelector(col, cal.get(0));
94
+ setHue(col, cal.get(0));
95
+ setNewColor(col, cal.get(0));
96
+ cal.data('colorpicker').onChange.apply(cal, [col, HSBToHex(col), HSBToRGB(col)]);
97
+ },
98
+ blur = function (ev) {
99
+ var cal = $(this).parent().parent();
100
+ cal.data('colorpicker').fields.parent().removeClass('colorpicker_focus');
101
+ },
102
+ focus = function () {
103
+ charMin = this.parentNode.className.indexOf('_hex') > 0 ? 70 : 65;
104
+ $(this).parent().parent().data('colorpicker').fields.parent().removeClass('colorpicker_focus');
105
+ $(this).parent().addClass('colorpicker_focus');
106
+ },
107
+ downIncrement = function (ev) {
108
+ var field = $(this).parent().find('input').focus();
109
+ var current = {
110
+ el: $(this).parent().addClass('colorpicker_slider'),
111
+ max: this.parentNode.className.indexOf('_hsb_h') > 0 ? 360 : (this.parentNode.className.indexOf('_hsb') > 0 ? 100 : 255),
112
+ y: ev.pageY,
113
+ field: field,
114
+ val: parseInt(field.val(), 10),
115
+ preview: $(this).parent().parent().data('colorpicker').livePreview
116
+ };
117
+ $(document).bind('mouseup', current, upIncrement);
118
+ $(document).bind('mousemove', current, moveIncrement);
119
+ },
120
+ moveIncrement = function (ev) {
121
+ ev.data.field.val(Math.max(0, Math.min(ev.data.max, parseInt(ev.data.val + ev.pageY - ev.data.y, 10))));
122
+ if (ev.data.preview) {
123
+ change.apply(ev.data.field.get(0), [true]);
124
+ }
125
+ return false;
126
+ },
127
+ upIncrement = function (ev) {
128
+ change.apply(ev.data.field.get(0), [true]);
129
+ ev.data.el.removeClass('colorpicker_slider').find('input').focus();
130
+ $(document).unbind('mouseup', upIncrement);
131
+ $(document).unbind('mousemove', moveIncrement);
132
+ return false;
133
+ },
134
+ downHue = function (ev) {
135
+ var current = {
136
+ cal: $(this).parent(),
137
+ y: $(this).offset().top
138
+ };
139
+ current.preview = current.cal.data('colorpicker').livePreview;
140
+ $(document).bind('mouseup', current, upHue);
141
+ $(document).bind('mousemove', current, moveHue);
142
+ },
143
+ moveHue = function (ev) {
144
+ change.apply(
145
+ ev.data.cal.data('colorpicker')
146
+ .fields
147
+ .eq(4)
148
+ .val(parseInt(360*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.y))))/150, 10))
149
+ .get(0),
150
+ [ev.data.preview]
151
+ );
152
+ return false;
153
+ },
154
+ upHue = function (ev) {
155
+ fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
156
+ fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
157
+ $(document).unbind('mouseup', upHue);
158
+ $(document).unbind('mousemove', moveHue);
159
+ return false;
160
+ },
161
+ downSelector = function (ev) {
162
+ var current = {
163
+ cal: $(this).parent(),
164
+ pos: $(this).offset()
165
+ };
166
+ current.preview = current.cal.data('colorpicker').livePreview;
167
+ $(document).bind('mouseup', current, upSelector);
168
+ $(document).bind('mousemove', current, moveSelector);
169
+ },
170
+ moveSelector = function (ev) {
171
+ change.apply(
172
+ ev.data.cal.data('colorpicker')
173
+ .fields
174
+ .eq(6)
175
+ .val(parseInt(100*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.pos.top))))/150, 10))
176
+ .end()
177
+ .eq(5)
178
+ .val(parseInt(100*(Math.max(0,Math.min(150,(ev.pageX - ev.data.pos.left))))/150, 10))
179
+ .get(0),
180
+ [ev.data.preview]
181
+ );
182
+ return false;
183
+ },
184
+ upSelector = function (ev) {
185
+ fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
186
+ fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
187
+ $(document).unbind('mouseup', upSelector);
188
+ $(document).unbind('mousemove', moveSelector);
189
+ return false;
190
+ },
191
+ enterSubmit = function (ev) {
192
+ $(this).addClass('colorpicker_focus');
193
+ },
194
+ leaveSubmit = function (ev) {
195
+ $(this).removeClass('colorpicker_focus');
196
+ },
197
+ clickSubmit = function (ev) {
198
+ var cal = $(this).parent();
199
+ var col = cal.data('colorpicker').color;
200
+ cal.data('colorpicker').origColor = col;
201
+ setCurrentColor(col, cal.get(0));
202
+ cal.data('colorpicker').onSubmit(col, HSBToHex(col), HSBToRGB(col), cal.data('colorpicker').el);
203
+ },
204
+ show = function (ev) {
205
+ var cal = $('#' + $(this).data('colorpickerId'));
206
+ cal.data('colorpicker').onBeforeShow.apply(this, [cal.get(0)]);
207
+ var pos = $(this).offset();
208
+ var viewPort = getViewport();
209
+ var top = pos.top + this.offsetHeight;
210
+ var left = pos.left;
211
+ if (top + 176 > viewPort.t + viewPort.h) {
212
+ top -= this.offsetHeight + 176;
213
+ }
214
+ if (left + 356 > viewPort.l + viewPort.w) {
215
+ left -= 356;
216
+ }
217
+ cal.css({left: left + 'px', top: top + 'px'});
218
+ if (cal.data('colorpicker').onShow.apply(this, [cal.get(0)]) != false) {
219
+ cal.show();
220
+ }
221
+ $(document).bind('mousedown', {cal: cal}, hide);
222
+ return false;
223
+ },
224
+ hide = function (ev) {
225
+ if (!isChildOf(ev.data.cal.get(0), ev.target, ev.data.cal.get(0))) {
226
+ if (ev.data.cal.data('colorpicker').onHide.apply(this, [ev.data.cal.get(0)]) != false) {
227
+ ev.data.cal.hide();
228
+ }
229
+ $(document).unbind('mousedown', hide);
230
+ }
231
+ },
232
+ isChildOf = function(parentEl, el, container) {
233
+ if (parentEl == el) {
234
+ return true;
235
+ }
236
+ if (parentEl.contains) {
237
+ return parentEl.contains(el);
238
+ }
239
+ if ( parentEl.compareDocumentPosition ) {
240
+ return !!(parentEl.compareDocumentPosition(el) & 16);
241
+ }
242
+ var prEl = el.parentNode;
243
+ while(prEl && prEl != container) {
244
+ if (prEl == parentEl)
245
+ return true;
246
+ prEl = prEl.parentNode;
247
+ }
248
+ return false;
249
+ },
250
+ getViewport = function () {
251
+ var m = document.compatMode == 'CSS1Compat';
252
+ return {
253
+ l : window.pageXOffset || (m ? document.documentElement.scrollLeft : document.body.scrollLeft),
254
+ t : window.pageYOffset || (m ? document.documentElement.scrollTop : document.body.scrollTop),
255
+ w : window.innerWidth || (m ? document.documentElement.clientWidth : document.body.clientWidth),
256
+ h : window.innerHeight || (m ? document.documentElement.clientHeight : document.body.clientHeight)
257
+ };
258
+ },
259
+ fixHSB = function (hsb) {
260
+ return {
261
+ h: Math.min(360, Math.max(0, hsb.h)),
262
+ s: Math.min(100, Math.max(0, hsb.s)),
263
+ b: Math.min(100, Math.max(0, hsb.b))
264
+ };
265
+ },
266
+ fixRGB = function (rgb) {
267
+ return {
268
+ r: Math.min(255, Math.max(0, rgb.r)),
269
+ g: Math.min(255, Math.max(0, rgb.g)),
270
+ b: Math.min(255, Math.max(0, rgb.b))
271
+ };
272
+ },
273
+ fixHex = function (hex) {
274
+ var len = 6 - hex.length;
275
+ if (len > 0) {
276
+ var o = [];
277
+ for (var i=0; i<len; i++) {
278
+ o.push('0');
279
+ }
280
+ o.push(hex);
281
+ hex = o.join('');
282
+ }
283
+ return hex;
284
+ },
285
+ HexToRGB = function (hex) {
286
+ var hex = parseInt(((hex.indexOf('#') > -1) ? hex.substring(1) : hex), 16);
287
+ return {r: hex >> 16, g: (hex & 0x00FF00) >> 8, b: (hex & 0x0000FF)};
288
+ },
289
+ HexToHSB = function (hex) {
290
+ return RGBToHSB(HexToRGB(hex));
291
+ },
292
+ RGBToHSB = function (rgb) {
293
+ var hsb = {
294
+ h: 0,
295
+ s: 0,
296
+ b: 0
297
+ };
298
+ var min = Math.min(rgb.r, rgb.g, rgb.b);
299
+ var max = Math.max(rgb.r, rgb.g, rgb.b);
300
+ var delta = max - min;
301
+ hsb.b = max;
302
+ if (max != 0) {
303
+
304
+ }
305
+ hsb.s = max != 0 ? 255 * delta / max : 0;
306
+ if (hsb.s != 0) {
307
+ if (rgb.r == max) {
308
+ hsb.h = (rgb.g - rgb.b) / delta;
309
+ } else if (rgb.g == max) {
310
+ hsb.h = 2 + (rgb.b - rgb.r) / delta;
311
+ } else {
312
+ hsb.h = 4 + (rgb.r - rgb.g) / delta;
313
+ }
314
+ } else {
315
+ hsb.h = -1;
316
+ }
317
+ hsb.h *= 60;
318
+ if (hsb.h < 0) {
319
+ hsb.h += 360;
320
+ }
321
+ hsb.s *= 100/255;
322
+ hsb.b *= 100/255;
323
+ return hsb;
324
+ },
325
+ HSBToRGB = function (hsb) {
326
+ var rgb = {};
327
+ var h = Math.round(hsb.h);
328
+ var s = Math.round(hsb.s*255/100);
329
+ var v = Math.round(hsb.b*255/100);
330
+ if(s == 0) {
331
+ rgb.r = rgb.g = rgb.b = v;
332
+ } else {
333
+ var t1 = v;
334
+ var t2 = (255-s)*v/255;
335
+ var t3 = (t1-t2)*(h%60)/60;
336
+ if(h==360) h = 0;
337
+ if(h<60) {rgb.r=t1; rgb.b=t2; rgb.g=t2+t3}
338
+ else if(h<120) {rgb.g=t1; rgb.b=t2; rgb.r=t1-t3}
339
+ else if(h<180) {rgb.g=t1; rgb.r=t2; rgb.b=t2+t3}
340
+ else if(h<240) {rgb.b=t1; rgb.r=t2; rgb.g=t1-t3}
341
+ else if(h<300) {rgb.b=t1; rgb.g=t2; rgb.r=t2+t3}
342
+ else if(h<360) {rgb.r=t1; rgb.g=t2; rgb.b=t1-t3}
343
+ else {rgb.r=0; rgb.g=0; rgb.b=0}
344
+ }
345
+ return {r:Math.round(rgb.r), g:Math.round(rgb.g), b:Math.round(rgb.b)};
346
+ },
347
+ RGBToHex = function (rgb) {
348
+ var hex = [
349
+ rgb.r.toString(16),
350
+ rgb.g.toString(16),
351
+ rgb.b.toString(16)
352
+ ];
353
+ $.each(hex, function (nr, val) {
354
+ if (val.length == 1) {
355
+ hex[nr] = '0' + val;
356
+ }
357
+ });
358
+ return hex.join('');
359
+ },
360
+ HSBToHex = function (hsb) {
361
+ return RGBToHex(HSBToRGB(hsb));
362
+ },
363
+ restoreOriginal = function () {
364
+ var cal = $(this).parent();
365
+ var col = cal.data('colorpicker').origColor;
366
+ cal.data('colorpicker').color = col;
367
+ fillRGBFields(col, cal.get(0));
368
+ fillHexFields(col, cal.get(0));
369
+ fillHSBFields(col, cal.get(0));
370
+ setSelector(col, cal.get(0));
371
+ setHue(col, cal.get(0));
372
+ setNewColor(col, cal.get(0));
373
+ };
374
+ return {
375
+ init: function (opt) {
376
+ opt = $.extend({}, defaults, opt||{});
377
+ if (typeof opt.color == 'string') {
378
+ opt.color = HexToHSB(opt.color);
379
+ } else if (opt.color.r != undefined && opt.color.g != undefined && opt.color.b != undefined) {
380
+ opt.color = RGBToHSB(opt.color);
381
+ } else if (opt.color.h != undefined && opt.color.s != undefined && opt.color.b != undefined) {
382
+ opt.color = fixHSB(opt.color);
383
+ } else {
384
+ return this;
385
+ }
386
+ return this.each(function () {
387
+ if (!$(this).data('colorpickerId')) {
388
+ var options = $.extend({}, opt);
389
+ options.origColor = opt.color;
390
+ var id = 'collorpicker_' + parseInt(Math.random() * 1000);
391
+ $(this).data('colorpickerId', id);
392
+ var cal = $(tpl).attr('id', id);
393
+ if (options.flat) {
394
+ cal.appendTo(this).show();
395
+ } else {
396
+ cal.appendTo(document.body);
397
+ }
398
+ options.fields = cal
399
+ .find('input')
400
+ .bind('keyup', keyDown)
401
+ .bind('change', change)
402
+ .bind('blur', blur)
403
+ .bind('focus', focus);
404
+ cal
405
+ .find('span').bind('mousedown', downIncrement).end()
406
+ .find('>div.colorpicker_current_color').bind('click', restoreOriginal);
407
+ options.selector = cal.find('div.colorpicker_color').bind('mousedown', downSelector);
408
+ options.selectorIndic = options.selector.find('div div');
409
+ options.el = this;
410
+ options.hue = cal.find('div.colorpicker_hue div');
411
+ cal.find('div.colorpicker_hue').bind('mousedown', downHue);
412
+ options.newColor = cal.find('div.colorpicker_new_color');
413
+ options.currentColor = cal.find('div.colorpicker_current_color');
414
+ cal.data('colorpicker', options);
415
+ cal.find('div.colorpicker_submit')
416
+ .bind('mouseenter', enterSubmit)
417
+ .bind('mouseleave', leaveSubmit)
418
+ .bind('click', clickSubmit);
419
+ fillRGBFields(options.color, cal.get(0));
420
+ fillHSBFields(options.color, cal.get(0));
421
+ fillHexFields(options.color, cal.get(0));
422
+ setHue(options.color, cal.get(0));
423
+ setSelector(options.color, cal.get(0));
424
+ setCurrentColor(options.color, cal.get(0));
425
+ setNewColor(options.color, cal.get(0));
426
+ if (options.flat) {
427
+ cal.css({
428
+ position: 'relative',
429
+ display: 'block'
430
+ });
431
+ } else {
432
+ $(this).bind(options.eventName, show);
433
+ }
434
+ }
435
+ });
436
+ },
437
+ showPicker: function() {
438
+ return this.each( function () {
439
+ if ($(this).data('colorpickerId')) {
440
+ show.apply(this);
441
+ }
442
+ });
443
+ },
444
+ hidePicker: function() {
445
+ return this.each( function () {
446
+ if ($(this).data('colorpickerId')) {
447
+ $('#' + $(this).data('colorpickerId')).hide();
448
+ }
449
+ });
450
+ },
451
+ setColor: function(col) {
452
+ if (typeof col == 'string') {
453
+ col = HexToHSB(col);
454
+ } else if (col.r != undefined && col.g != undefined && col.b != undefined) {
455
+ col = RGBToHSB(col);
456
+ } else if (col.h != undefined && col.s != undefined && col.b != undefined) {
457
+ col = fixHSB(col);
458
+ } else {
459
+ return this;
460
+ }
461
+ return this.each(function(){
462
+ if ($(this).data('colorpickerId')) {
463
+ var cal = $('#' + $(this).data('colorpickerId'));
464
+ cal.data('colorpicker').color = col;
465
+ cal.data('colorpicker').origColor = col;
466
+ fillRGBFields(col, cal.get(0));
467
+ fillHSBFields(col, cal.get(0));
468
+ fillHexFields(col, cal.get(0));
469
+ setHue(col, cal.get(0));
470
+ setSelector(col, cal.get(0));
471
+ setCurrentColor(col, cal.get(0));
472
+ setNewColor(col, cal.get(0));
473
+ }
474
+ });
475
+ }
476
+ };
477
+ }();
478
+ $.fn.extend({
479
+ ColorPicker: ColorPicker.init,
480
+ ColorPickerHide: ColorPicker.hidePicker,
481
+ ColorPickerShow: ColorPicker.showPicker,
482
+ ColorPickerSetColor: ColorPicker.setColor
483
+ });
484
+ })(jQuery)
js/ebs_main.js ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Created by vijay on 19/12/13.
3
+ */
4
+
5
+ var gBtnVar={};
6
+ function open_dialogue(dialogueid,width,height){
7
+ if(typeof(width)==='undefined') width = 'auto';
8
+ if(typeof(height)==='undefined') height = 'auto';
9
+ jQuery( dialogueid ).dialog({
10
+ dialogClass : 'wp-dialog osc-dialog',
11
+ autoOpen: true,
12
+ height: height,
13
+ width: width,
14
+ modal: true
15
+ });
16
+
17
+ }
18
+
19
+ function close_dialogue(dialogueid){
20
+ jQuery( dialogueid ).dialog('close');
21
+ }
22
+
23
+ var plugininfo={
24
+ longname : 'shortcodename',
25
+ author : 'Oscitas Themes',
26
+ authorurl : 'http://www.oscitasthemes.com/',
27
+ infourl : 'http://www.oscitasthemes.com/',
28
+ version : "1.0.0"
29
+ }
30
+
31
+ function _create_tinyMCE_options(pluginObj, width) {
32
+ if(typeof(width)==='undefined') width = 'auto';
33
+ var pluginName = 'oscitas'+pluginObj.pluginName.substr(0, 1).toUpperCase() + pluginObj.pluginName.substr(1);
34
+ pluginObj.hashId = '#'+pluginObj.id;
35
+ var options = {
36
+ init : function(ed, url) {
37
+ ed.addButton('oscitas'+pluginObj.pluginName, {
38
+ title : pluginObj.title,
39
+ image : url+'/icon.png',
40
+ onclick : function() {
41
+ eval('create_oscitas_'+pluginObj.pluginName+'(pluginObj);open_dialogue("'+pluginObj.hashId+'","'+width+'")');
42
+ if (pluginObj.setRowColors) {
43
+ jQuery(pluginObj.hashId+' table tr:visible:even').css('background', '#F0F0F0');
44
+ jQuery(pluginObj.hashId+' table tr:visible:odd').css('background', '#DADADD');
45
+ }
46
+ }
47
+ });
48
+ },
49
+ createControl : function(n, cm) {
50
+ return null;
51
+ },
52
+ getInfo : function() {
53
+ plugininfo.longname=pluginObj.title;
54
+ return plugininfo;
55
+ }
56
+ };
57
+ tinymce.create('tinymce.plugins.'+pluginName, options);
58
+ options = eval('tinymce.plugins.'+pluginName);
59
+ //return options;
60
+ tinymce.PluginManager.add('oscitas'+pluginObj.pluginName, tinymce.plugins[pluginName]);
61
+ }
62
+
63
+ function _create_tinyMCE_dropdown(pluginObj,width,height) {
64
+ if(typeof(width)==='undefined') width = 'auto';
65
+ if(typeof(height)==='undefined') height = 'auto';
66
+ pluginObj.hashId = '#'+pluginObj.id;
67
+ eval('create_oscitas_'+pluginObj.pluginName+'(pluginObj);open_dialogue("'+pluginObj.hashId+'","'+width+'","'+height+'")');
68
+ if (pluginObj.setRowColors) {
69
+ jQuery(pluginObj.hashId+' table tr:visible:even').css('background', '#F0F0F0');
70
+ jQuery(pluginObj.hashId+' table tr:visible:odd').css('background', '#DADADD');
71
+ }
72
+ }
73
+
74
+
75
+ //tinymce.PluginManager.add('oscitasdeslist', tinymce.plugins.oscitasDeslist);
js/oscitas_main_dropdown.js ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ if(ebs_editor_opt=='dropdown'){
2
+ (function(){
3
+ tinymce.create('tinymce.plugins.oscitas_main_dropdown', {
4
+ init: function(ed, url){},
5
+ createControl: function(button, e){
6
+
7
+
8
+ if(button == "oscitas_main_dropdown_button"){
9
+ var current_object = this;
10
+ var button = e.createSplitButton('osc_ebsp_d_button', {
11
+ title: "EBS Shortcode",
12
+ image: ebs_url+'images/icon_dropdown.png',
13
+ icons: true,
14
+ role: 'presentation',
15
+ "class": "osc_ebsp_dropdown",
16
+ onclick:function(){
17
+
18
+ }
19
+ });
20
+ button.onRenderMenu.add(function(c, b){
21
+ var prefix='oscitas';
22
+ //Design Elements
23
+ c = b.addMenu({title:"Basic Elements", icon_src: ebs_url+'images/elements.png'});
24
+ current_object.osc_element_call(c, "Button", prefix+"buttons");
25
+ current_object.osc_element_call(c, "Button Group", prefix+"btngrp",1200);
26
+ current_object.osc_element_call(c, "Button Group Toolbar", prefix+"btngrptool");
27
+ current_object.osc_element_call(c, "Notifications", prefix+"notifications");
28
+ current_object.osc_element_call(c, "Tooltip", prefix+"tooltip");
29
+ current_object.osc_element_call(c, "Popover", prefix+"oscpopover");
30
+ current_object.osc_element_call(c, "Button Dropdown", prefix+"dropdown");
31
+ current_object.osc_element_call(c, "Progress Bar", prefix+"progressbar",800);
32
+ //Advanced
33
+ c = b.addMenu({title:"Interactive", icon_src: ebs_url+'images/interaction.png'});
34
+ current_object.osc_element_call(c, "Accordion", prefix+"toggles");
35
+ current_object.osc_element_call(c, "Tabs", prefix+"tabs");
36
+ current_object.osc_element_call(c, "Tables", prefix+"tables");
37
+ current_object.osc_element_call(c, "Panel", prefix+"panel");
38
+ //Content
39
+ c = b.addMenu({title:"Content", icon_src: ebs_url+'images/content.png'});
40
+ current_object.osc_element_call(c, "List", prefix+"lists");
41
+ current_object.osc_element_call(c, "Icon Heading", prefix+"iconhead",800);
42
+ current_object.osc_element_call(c, "Label", prefix+"labels");
43
+ current_object.osc_element_call(c, "Well", prefix+"well");
44
+ current_object.osc_element_call(c, "Description List", prefix+"deslist");
45
+ c = b.addMenu({title:" Miscellaneous", icon_src: ebs_url+'images/misc.png'});
46
+ current_object.osc_element_call(c, "Responsive Image", prefix+"thumbnail");
47
+ current_object.osc_element_call(c, "Icon", prefix+"icon",800);
48
+ current_object.osc_element_call(c, "Image Effects", prefix+"image");
49
+
50
+ current_object.osc_element_call(b, "Columns", prefix+"wpcolumns",1094);
51
+
52
+ });
53
+ return button;
54
+ }
55
+ return null;
56
+ },
57
+ osc_element_call: function(ed, title, value,width,height){
58
+ var classt = 'osc_ebsp_dropdown_item';
59
+ if(typeof(width)==='undefined') width = 'auto';
60
+ if(typeof(height)==='undefined') height = 'auto';
61
+ var prefix='oscitas';
62
+ var func = value.replace(prefix, '');
63
+ ed.add({
64
+ title: title,
65
+ class:classt,
66
+ icons: true,
67
+ icon_src: ebs_url+'shortcode/'+func+'/icon.png',
68
+ role: 'presentation',
69
+ onclick: function (){
70
+
71
+ //Retrieve selected content
72
+ var selected_content = tinyMCE.activeEditor.selection.getContent();
73
+ if(!selected_content)
74
+ var selected_content = 'Your Content';
75
+ //Design Elements
76
+
77
+ if(value == prefix+"btngrptool"){
78
+ selected_content='Insert Buttons Groups'
79
+ tinyMCE.activeEditor.selection.setContent('[btngrptoolbar class="yourcustomclass"][/btngrptoolbar]');
80
+ }
81
+ else if(value == prefix+"toggles"){
82
+ tinyMCE.activeEditor.selection.setContent('[toggles class="yourcustomclass"]<br/>[toggle title="Accordion number 1"]Toggle 1 content goes here.[/toggle]<br/>[toggle title="Accordion number 2"]Toggle 2 content goes here.[/toggle]<br/>[toggle title="Accordion number 3"]Toggle 3 content goes here.[/toggle]<br/>[toggle title="Accordion number 4"]Toggle 4 content goes here.[/toggle]<br/>[/toggles]');
83
+ }
84
+ else if(value == prefix+"tabs"){
85
+ tinyMCE.activeEditor.selection.setContent('[tabs class="yourcustomclass"]<br/>[tab title="Tab number 1" active="active"]Tab 1 content goes here.[/tab]<br/>[tab title="Tab number 2"]Tab 2 content goes here.[/tab]<br/>[tab title="Tab number 3"]Tab 3 content goes here.[/tab]<br/>[tab title="Tab number 4"]Tab 4 content goes here.[/tab]<br/>[/tabs]');
86
+ }
87
+ else{
88
+
89
+ eval('_create_tinyMCE_dropdown('+func+',"'+width+'","'+height+'")');
90
+ }
91
+ return false;
92
+ }
93
+ })
94
+ }
95
+
96
+ });
97
+ tinymce.PluginManager.add("oscitas_main_dropdown", tinymce.plugins.oscitas_main_dropdown);
98
+ })();
99
+ }
100
+
101
+ //var func = value.replace(prefix, '');
102
+ //eval('create_oscitas_'+func+'(); open_dialogue(g'+func+');');
js/respond.min.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
2
+ /*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
3
+ window.matchMedia=window.matchMedia||function(a){"use strict";var c,d=a.documentElement,e=d.firstElementChild||d.firstChild,f=a.createElement("body"),g=a.createElement("div");return g.id="mq-test-1",g.style.cssText="position:absolute;top:-100em",f.style.background="none",f.appendChild(g),function(a){return g.innerHTML='&shy;<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',d.insertBefore(f,e),c=42===g.offsetWidth,d.removeChild(f),{matches:c,media:a}}}(document);
4
+
5
+ /*! Respond.js v1.3.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
6
+ (function(a){"use strict";function x(){u(!0)}var b={};if(a.respond=b,b.update=function(){},b.mediaQueriesSupported=a.matchMedia&&a.matchMedia("only all").matches,!b.mediaQueriesSupported){var q,r,t,c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=c.getElementsByTagName("base")[0],l=j.getElementsByTagName("link"),m=[],n=function(){for(var b=0;l.length>b;b++){var c=l[b],d=c.href,e=c.media,f=c.rel&&"stylesheet"===c.rel.toLowerCase();d&&f&&!h[d]&&(c.styleSheet&&c.styleSheet.rawCssText?(p(c.styleSheet.rawCssText,d,e),h[d]=!0):(!/^([a-zA-Z:]*\/\/)/.test(d)&&!k||d.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&m.push({href:d,media:e}))}o()},o=function(){if(m.length){var b=m.shift();v(b.href,function(c){p(c,b.href,b.media),h[b.href]=!0,a.setTimeout(function(){o()},0)})}},p=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),g=d&&d.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c;b.length&&(b+="/"),i&&(g=1);for(var j=0;g>j;j++){var k,l,m,n;i?(k=c,f.push(h(a))):(k=d[j].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),m=k.split(","),n=m.length;for(var o=0;n>o;o++)l=m[o],e.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:f.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},s=function(){var a,b=c.createElement("div"),e=c.body,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",e||(e=f=c.createElement("body"),e.style.background="none"),e.appendChild(b),d.insertBefore(e,d.firstChild),a=b.offsetWidth,f?d.removeChild(e):e.removeChild(b),a=t=parseFloat(a)},u=function(b){var h="clientWidth",k=d[h],m="CSS1Compat"===c.compatMode&&k||c.body[h]||k,n={},o=l[l.length-1],p=(new Date).getTime();if(b&&q&&i>p-q)return a.clearTimeout(r),r=a.setTimeout(u,i),void 0;q=p;for(var v in e)if(e.hasOwnProperty(v)){var w=e[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?t||s():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?t||s():1)),w.hasquery&&(z&&A||!(z||m>=x)||!(A||y>=m))||(n[w.media]||(n[w.media]=[]),n[w.media].push(f[w.rules]))}for(var C in g)g.hasOwnProperty(C)&&g[C]&&g[C].parentNode===j&&j.removeChild(g[C]);for(var D in n)if(n.hasOwnProperty(D)){var E=c.createElement("style"),F=n[D].join("\n");E.type="text/css",E.media=D,j.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(c.createTextNode(F)),g.push(E)}},v=function(a,b){var c=w();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},w=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}();n(),b.update=n,a.addEventListener?a.addEventListener("resize",x,!1):a.attachEvent&&a.attachEvent("onresize",x)}})(this);
osc_bootstrap_shortcode.php CHANGED
@@ -1,212 +1,228 @@
1
- <?php
2
-
3
- /*
4
- Plugin Name: Easy Bootstrap Shortcode
5
- Plugin URI: http://www.oscitasthemes.com
6
- Description: Add bootstrap 3.0 styles to your theme by wordpress editor shortcode buttons.
7
- Version: 2.3.6
8
- Author: oscitas
9
- Author URI: http://www.oscitasthemes.com
10
- License: Under the GPL v2 or later
11
- */
12
-
13
- add_action('init','is_oscitas_theme_exists');
14
- function is_oscitas_theme_exists(){
15
- global $oscitaschecktheme;
16
- add_action('admin_enqueue_scripts', 'osc_add_admin_ebs_scripts');
17
- if(!apply_filters('plugin_oscitas_theme_check',false)){
18
-
19
- add_action('wp_enqueue_scripts', 'osc_add_frontend_ebs_scripts');
20
- add_action('admin_menu', 'osc_ebs_add_admin_menu');
21
- }
22
- }
23
-
24
- register_activation_hook(__FILE__, 'osc_ebs_activate_plugin');
25
- register_deactivation_hook(__FILE__, 'osc_ebs_deactivate_plugin');
26
- //add_action('admin_enqueue_scripts', 'osc_add_admin_ebs_scripts');
27
- //add_action('wp_enqueue_scripts', 'osc_add_frontend_ebs_scripts');
28
- //add_action('admin_menu', 'osc_ebs_add_admin_menu');
29
-
30
- function osc_ebs_activate_plugin() {
31
- $isSet=apply_filters('ebs_custom_option',false);
32
- if (!$isSet) {
33
-
34
- // EBS_BOOTSTRAP_JS_LOCATION '1' - for plugin file, '2' - don't user EBS files but use from other plugin or theme, '3' - to user CDN path
35
- update_option( 'EBS_BOOTSTRAP_JS_LOCATION', 1 );
36
- update_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js' );
37
- update_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', 'http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js' );
38
- // EBS_BOOTSTRAP_RESPOND_LOCATION '1' - for plugin file, '2' - don't user EBS files but use from other plugin or theme, '3' - to user CDN path
39
- update_option('EBS_BOOTSTRAP_RESPOND_LOCATION',2);
40
-
41
- // EBS_BOOTSTRAP_CSS_LOCATION '1' - for plugin file, '2' - don't user EBS files but use from other plugin or theme
42
- update_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
43
- }
44
-
45
- }
46
- function osc_ebs_settings_link( $links ) {
47
- $isSet=apply_filters('ebs_custom_option',false);
48
- if (!$isSet) {
49
- $settings_link = '<a href="admin.php?page=ebs/ebs-settings.php">Settings</a>';
50
- array_push( $links, $settings_link );
51
- }
52
- return $links;
53
- }
54
-
55
- add_filter( "plugin_action_links_".plugin_basename( __FILE__ ), 'osc_ebs_settings_link' );
56
-
57
- function osc_ebs_deactivate_plugin() {
58
- $isSet=apply_filters('ebs_custom_option',false);
59
- if (!$isSet) {
60
- delete_option( 'EBS_BOOTSTRAP_JS_LOCATION' );
61
- delete_option( 'EBS_BOOTSTRAP_JS_CDN_PATH' );
62
- delete_option( 'EBS_BOOTSTRAP_CSS_LOCATION');
63
- delete_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION' );
64
- delete_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH' );
65
- }
66
- }
67
-
68
- function osc_ebs_add_admin_menu() {
69
- $isSet=apply_filters('ebs_custom_option',false);
70
- if (!$isSet) {
71
- add_menu_page('EBS Settings', ' EBS Settings', 'manage_options', 'ebs/ebs-settings.php', 'osc_ebs_setting_page', plugins_url('/images/icon.png', __FILE__));
72
- }
73
- }
74
-
75
- function osc_ebs_setting_page() {
76
- if (isset($_POST['ebs_submit'])) {
77
- update_option( 'EBS_BOOTSTRAP_JS_LOCATION', $_POST['b_js'] );
78
- update_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', $_POST['cdn_path'] );
79
- update_option( 'EBS_BOOTSTRAP_CSS_LOCATION', $_POST['b_css'] );
80
- update_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION', $_POST['b_js'] );
81
- update_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', $_POST['cdn_path'] );
82
-
83
-
84
- $js = $_POST['b_js'];
85
- $cdn = $_POST['cdn_path'];
86
- $css = $_POST['b_css'];
87
- $respond = $_POST['respond_js'];
88
- $respondcdn = $_POST['respond_cdn_path'];
89
-
90
- }
91
- else {
92
- $js = get_option( 'EBS_BOOTSTRAP_JS_LOCATION', 1 );
93
- $cdn = get_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js' );
94
- $css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
95
- $respond = get_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION', 2 );
96
- $respondcdn = get_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', 'http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js' );
97
- }
98
- include 'ebs_settings.php';
99
- }
100
-
101
- /* / add_submenu_page('optine
102
- function osc_add_admin_ebs_scripts() {
103
- global $pagenow;
104
- $screen = get_current_screen();
105
- if ($screen->id == 'toplevel_page_ebs/ebs-settings') {
106
- wp_enqueue_style('ebs-setting', plugins_url('/styles/ebs-setting.min.css', __FILE__));
107
- }
108
- if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
109
- wp_enqueue_script('jquery');
110
- wp_enqueue_style('thickbox');
111
- wp_enqueue_script('media-upload');
112
- wp_enqueue_script('thickbox');
113
- wp_enqueue_script('jquery.fancybox', plugins_url('/js/jquery.fancybox.js', __FILE__));
114
- wp_enqueue_style('fancyboxcss', plugins_url('/styles/jquery.fancybox.css', __FILE__));
115
- if (!apply_filters('ebs_bootstrap_icon_css_url',false)) {
116
- wp_enqueue_style('bootstrap-icon', plugins_url('/styles/bootstrap-icon.min.css', __FILE__));
117
- } else{
118
- wp_enqueue_style('bootstrap-icon', apply_filters('ebs_bootstrap_icon_css_url',false));
119
- }
120
- if (!apply_filters('ebs_custom_bootstrap_admin_css',false)) {
121
- wp_enqueue_style('bootstrap_admin', plugins_url('/styles/bootstrap_admin.min.css', __FILE__));
122
- }
123
- }
124
- }*/
125
-
126
- // add_submenu_page('optine
127
- function osc_add_admin_ebs_scripts() {
128
- global $pagenow;
129
- $screen = get_current_screen();
130
- if ($screen->id == 'toplevel_page_ebs/ebs-settings') {
131
- wp_enqueue_style('ebs-setting', plugins_url('/styles/ebs-setting.min.css', __FILE__));
132
- }
133
- }
134
-
135
- function osc_editor_enable_mce(){
136
- wp_enqueue_script('jquery');
137
- wp_enqueue_style('thickbox');
138
- wp_enqueue_script('media-upload');
139
- wp_enqueue_script('thickbox');
140
- wp_enqueue_script('jquery.fancybox', plugins_url('/js/jquery.fancybox.js', __FILE__));
141
- wp_enqueue_style('fancyboxcss', plugins_url('/styles/jquery.fancybox.css', __FILE__));
142
- if (!apply_filters('ebs_bootstrap_icon_css_url',false)) {
143
- wp_enqueue_style('bootstrap-icon', plugins_url('/styles/bootstrap-icon.min.css', __FILE__));
144
- } else{
145
- wp_enqueue_style('bootstrap-icon', apply_filters('ebs_bootstrap_icon_css_url',false));
146
- }
147
- if (!apply_filters('ebs_custom_bootstrap_admin_css',false)) {
148
- wp_enqueue_style('bootstrap_admin', plugins_url('/styles/bootstrap_admin.min.css', __FILE__));
149
- }
150
-
151
- }
152
- add_filter('mce_external_plugins', 'osc_editor_enable_mce');
153
-
154
- function osc_add_frontend_ebs_scripts() {
155
- wp_enqueue_script('jquery');
156
- $isSet=apply_filters('ebs_custom_option',false);
157
- if (!$isSet) {
158
- $js = get_option( 'EBS_BOOTSTRAP_JS_LOCATION', 1 );
159
- $respond = get_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION', 2 );
160
- $cdn = get_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js' );
161
- $respondcdn = get_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js' );
162
- $css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
163
-
164
- // http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js
165
-
166
-
167
- if ($js == 1) {
168
- if (!apply_filters('ebs_bootstrap_js_url',false)) {
169
- wp_enqueue_script('bootstrap', plugins_url('/js/bootstrap.min.js', __FILE__));
170
- } else{
171
- wp_enqueue_script('bootstrap', apply_filters('ebs_bootstrap_js_url',false));
172
- }
173
- } elseif ($js == 3) {
174
- if (!apply_filters('ebs_bootstrap_js_cdn',false)) {
175
- wp_enqueue_script('bootstrap', $cdn);
176
- } else{
177
- wp_enqueue_script('bootstrap', apply_filters('ebs_bootstrap_js_cdn',false));
178
- }
179
- }
180
- if(preg_match('/(?i)msie [1-8]/',$_SERVER['HTTP_USER_AGENT'])){
181
- if ($respond == 1) {
182
- if (!apply_filters('ebs_bootstrap_respond_url',false)) {
183
- wp_enqueue_script('bootstrap_respond', plugins_url('/js/respond.min.js', __FILE__));
184
- } else{
185
- wp_enqueue_script('bootstrap_respond', apply_filters('ebs_bootstrap_respond_url',false));
186
- }
187
- } elseif ($respond == 3) {
188
- if (!apply_filters('ebs_bootstrap_respond_cdn',false)) {
189
- wp_enqueue_script('bootstrap_respond', $respondcdn);
190
- } else{
191
- wp_enqueue_script('bootstrap_respond', apply_filters('ebs_bootstrap_respond_cdn',false));
192
- }
193
- }
194
- }
195
- if ($css == 1) {
196
- if (!apply_filters('ebs_bootstrap_css_url',false)) {
197
- wp_enqueue_style('bootstrap', plugins_url('/styles/bootstrap.min.css', __FILE__));
198
- } else {
199
- wp_enqueue_style('bootstrap', apply_filters('ebs_bootstrap_css_url',false));
200
- }
201
- } else {
202
- if (!apply_filters('ebs_bootstrap_icon_css_url',false)) {
203
- //wp_enqueue_style('bootstrap-icon', plugins_url('/styles/bootstrap-icon.min.css', __FILE__));
204
- } else{
205
- wp_enqueue_style('bootstrap-icon', apply_filters('ebs_bootstrap_icon_css_url',false));
206
- }
207
- }
208
- }
209
- }
210
-
211
- // Shortcodes
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  include('shortcode/functions.php');
1
+ <?php
2
+
3
+ /*
4
+ Plugin Name: Easy Bootstrap Shortcode
5
+ Plugin URI: http://www.oscitasthemes.com
6
+ Description: Add bootstrap 3.0 styles to your theme by wordpress editor shortcode buttons.
7
+ Version: 2.4.8
8
+ Author: oscitas
9
+ Author URI: http://www.oscitasthemes.com
10
+ License: Under the GPL v2 or later
11
+ */
12
+ define('EBS_PLUGIN_URL',plugins_url('/',__FILE__));
13
+ add_action('init','is_oscitas_theme_exists');
14
+ function is_oscitas_theme_exists(){
15
+ global $oscitaschecktheme;
16
+ add_action('admin_enqueue_scripts', 'osc_add_admin_ebs_scripts');
17
+ add_action('admin_menu', 'osc_ebs_add_admin_menu');
18
+ if(!apply_filters('plugin_oscitas_theme_check',false)){
19
+ add_action('wp_enqueue_scripts', 'osc_add_frontend_ebs_scripts',-100);
20
+ }
21
+ }
22
+
23
+ register_activation_hook(__FILE__, 'osc_ebs_activate_plugin');
24
+ register_deactivation_hook(__FILE__, 'osc_ebs_deactivate_plugin');
25
+ //add_action('admin_enqueue_scripts', 'osc_add_admin_ebs_scripts');
26
+ //add_action('wp_enqueue_scripts', 'osc_add_frontend_ebs_scripts');
27
+ //add_action('admin_menu', 'osc_ebs_add_admin_menu');
28
+
29
+ function osc_ebs_activate_plugin() {
30
+ $isSet=apply_filters('ebs_custom_option',false);
31
+ if (!$isSet) {
32
+
33
+ // EBS_BOOTSTRAP_JS_LOCATION '1' - for plugin file, '2' - don't user EBS files but use from other plugin or theme, '3' - to user CDN path
34
+ update_option( 'EBS_BOOTSTRAP_JS_LOCATION', 1 );
35
+ update_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js' );
36
+ update_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', 'http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js' );
37
+ // EBS_BOOTSTRAP_RESPOND_LOCATION '1' - for plugin file, '2' - don't user EBS files but use from other plugin or theme, '3' - to user CDN path
38
+ update_option('EBS_BOOTSTRAP_RESPOND_LOCATION',2);
39
+
40
+ // EBS_BOOTSTRAP_CSS_LOCATION '1' - for plugin file, '2' - don't user EBS files but use from other plugin or theme
41
+ update_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
42
+ update_option( 'EBS_EDITOR_OPT','icon');
43
+ }
44
+
45
+ }
46
+ function osc_ebs_settings_link( $links ) {
47
+ $isSet=apply_filters('ebs_custom_option',false);
48
+ if (!$isSet) {
49
+ $settings_link = '<a href="admin.php?page=ebs/ebs-settings.php">Settings</a>';
50
+ array_push( $links, $settings_link );
51
+ }
52
+ return $links;
53
+ }
54
+
55
+ add_filter( "plugin_action_links_".plugin_basename( __FILE__ ), 'osc_ebs_settings_link' );
56
+
57
+ function osc_ebs_deactivate_plugin() {
58
+ $isSet=apply_filters('ebs_custom_option',false);
59
+ if (!$isSet) {
60
+ delete_option( 'EBS_BOOTSTRAP_JS_LOCATION' );
61
+ delete_option( 'EBS_BOOTSTRAP_JS_CDN_PATH' );
62
+ delete_option( 'EBS_BOOTSTRAP_CSS_LOCATION');
63
+ delete_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION' );
64
+ delete_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH' );
65
+ delete_option('EBS_EDITOR_OPT');
66
+ }
67
+ }
68
+
69
+ function osc_ebs_add_admin_menu() {
70
+ $isSet=apply_filters('ebs_custom_option',false);
71
+ if (!$isSet) {
72
+ add_menu_page('EBS Settings', ' EBS Settings', 'manage_options', 'ebs/ebs-settings.php', 'osc_ebs_setting_page', plugins_url('/images/icon.png', __FILE__));
73
+ }
74
+ }
75
+
76
+ function osc_ebs_setting_page() {
77
+ if (isset($_POST['ebs_submit'])) {
78
+ update_option( 'EBS_BOOTSTRAP_JS_LOCATION', isset($_POST['b_js'])?$_POST['b_js']:1 );
79
+ update_option( 'EBS_BOOTSTRAP_JS_CDN_PATH',isset($_POST['cdn_path'])? $_POST['cdn_path']:'http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js' );
80
+ update_option( 'EBS_BOOTSTRAP_CSS_LOCATION', isset($_POST['b_css'])?$_POST['b_css']:1 );
81
+ update_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION', isset($_POST['respond_js'])?$_POST['respond_js']:2 );
82
+ update_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', isset($_POST['respond_cdn_path'])?$_POST['respond_cdn_path']:'http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js' );
83
+ update_option( 'EBS_EDITOR_OPT', isset($_POST['ebsp_editor_opt'])?$_POST['ebsp_editor_opt']:'icon' );
84
+ $js =isset($_POST['b_js'])?$_POST['b_js']:1;
85
+ $cdn = isset($_POST['cdn_path'])? $_POST['cdn_path']:'http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js';
86
+ $css = isset($_POST['b_css'])?$_POST['b_css']:1;
87
+ $respond = isset($_POST['respond_js'])?$_POST['respond_js']:2;
88
+ $respondcdn = isset($_POST['respond_cdn_path'])?$_POST['respond_cdn_path']:'http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js';
89
+ $ebsp_editor_opt=isset($_POST['ebsp_editor_opt'])?$_POST['ebsp_editor_opt']:'icon' ;
90
+
91
+ }
92
+ else {
93
+ $js = get_option( 'EBS_BOOTSTRAP_JS_LOCATION', 1 );
94
+ $cdn = get_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js' );
95
+ $css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
96
+ $respond = get_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION', 2 );
97
+ $respondcdn = get_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', 'http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js' );
98
+ $ebsp_editor_opt=get_option('EBS_EDITOR_OPT','icon');
99
+ }
100
+ include 'ebs_settings.php';
101
+ }
102
+
103
+ /* / add_submenu_page('optine
104
+ function osc_add_admin_ebs_scripts() {
105
+ global $pagenow;
106
+ $screen = get_current_screen();
107
+ if ($screen->id == 'toplevel_page_ebs/ebs-settings') {
108
+ wp_enqueue_style('ebs-setting', plugins_url('/styles/ebs-setting.min.css', __FILE__));
109
+ }
110
+ if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
111
+ wp_enqueue_script('jquery');
112
+ wp_enqueue_style('thickbox');
113
+ wp_enqueue_script('media-upload');
114
+ wp_enqueue_script('thickbox');
115
+ wp_enqueue_script('jquery.fancybox', plugins_url('/js/jquery.fancybox.js', __FILE__));
116
+ wp_enqueue_style('fancyboxcss', plugins_url('/styles/jquery.fancybox.css', __FILE__));
117
+ if (!apply_filters('ebs_bootstrap_icon_css_url',false)) {
118
+ wp_enqueue_style('bootstrap-icon', plugins_url('/styles/bootstrap-icon.min.css', __FILE__));
119
+ } else{
120
+ wp_enqueue_style('bootstrap-icon', apply_filters('ebs_bootstrap_icon_css_url',false));
121
+ }
122
+ if (!apply_filters('ebs_custom_bootstrap_admin_css',false)) {
123
+ wp_enqueue_style('bootstrap_admin', plugins_url('/styles/bootstrap_admin.min.css', __FILE__));
124
+ }
125
+ }
126
+ }*/
127
+ add_action('admin_head', 'osc_ebs_ajax_ul');
128
+ function osc_ebs_ajax_ul(){
129
+ $ebsp_editor_opt=get_option('EBS_EDITOR_OPT','icon');
130
+
131
+ ?>
132
+ <script type="text/javascript">
133
+ var ebs_ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
134
+ var ebs_url='<?php echo EBS_PLUGIN_URL;?>';
135
+ var ebs_editor_opt='<?php echo $ebsp_editor_opt; ?>'
136
+
137
+ </script>
138
+ <?php
139
+ }
140
+ // add_submenu_page('optine
141
+ function osc_add_admin_ebs_scripts() {
142
+ global $pagenow;
143
+ $screen = get_current_screen();
144
+ if ($screen->id == 'toplevel_page_ebs/ebs-settings') {
145
+ wp_enqueue_style('ebs-setting', plugins_url('/styles/ebs-setting.min.css', __FILE__));
146
+ }
147
+ wp_enqueue_script('ebs-main', plugins_url('/js/ebs_main.js', __FILE__));
148
+
149
+ }
150
+
151
+ function osc_editor_enable_mce(){
152
+ wp_enqueue_script('jquery');
153
+ wp_enqueue_style('thickbox');
154
+ wp_enqueue_script('media-upload');
155
+ wp_enqueue_script('thickbox');
156
+ wp_enqueue_style('wp-color-picker');
157
+ wp_enqueue_script('wp-color-picker');
158
+ if (!apply_filters('ebs_bootstrap_icon_css_url',false)) {
159
+ wp_enqueue_style('bootstrap-icon', plugins_url('/styles/bootstrap-icon.min.css', __FILE__));
160
+ } else{
161
+ wp_enqueue_style('bootstrap-icon', apply_filters('ebs_bootstrap_icon_css_url',false));
162
+ }
163
+ if (!apply_filters('ebs_custom_bootstrap_admin_css',false)) {
164
+ wp_enqueue_style('ebs_bootstrap_admin', plugins_url('/styles/bootstrap_admin.min.css', __FILE__));
165
+ }
166
+
167
+ }
168
+ add_filter('mce_external_plugins', 'osc_editor_enable_mce');
169
+
170
+ function osc_add_frontend_ebs_scripts() {
171
+ wp_enqueue_script('jquery');
172
+ $isSet=apply_filters('ebs_custom_option',false);
173
+ if (!$isSet) {
174
+ $js = get_option( 'EBS_BOOTSTRAP_JS_LOCATION', 1 );
175
+ $respond = get_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION', 2 );
176
+ $cdn = get_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js' );
177
+ $respondcdn = get_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js' );
178
+ $css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
179
+
180
+ // http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js
181
+
182
+
183
+ if ($js == 1) {
184
+ if (!apply_filters('ebs_bootstrap_js_url',false)) {
185
+ wp_enqueue_script('bootstrap', plugins_url('/js/bootstrap.min.js', __FILE__));
186
+ } else{
187
+ wp_enqueue_script('bootstrap', apply_filters('ebs_bootstrap_js_url',false));
188
+ }
189
+ } elseif ($js == 3) {
190
+ if (!apply_filters('ebs_bootstrap_js_cdn',false)) {
191
+ wp_enqueue_script('bootstrap', $cdn);
192
+ } else{
193
+ wp_enqueue_script('bootstrap', apply_filters('ebs_bootstrap_js_cdn',false));
194
+ }
195
+ }
196
+ if(preg_match('/(?i)msie [1-8]/',$_SERVER['HTTP_USER_AGENT'])){
197
+ if ($respond == 1) {
198
+ if (!apply_filters('ebs_bootstrap_respond_url',false)) {
199
+ wp_enqueue_script('bootstrap_respond', plugins_url('/js/respond.min.js', __FILE__));
200
+ } else{
201
+ wp_enqueue_script('bootstrap_respond', apply_filters('ebs_bootstrap_respond_url',false));
202
+ }
203
+ } elseif ($respond == 3) {
204
+ if (!apply_filters('ebs_bootstrap_respond_cdn',false)) {
205
+ wp_enqueue_script('bootstrap_respond', $respondcdn);
206
+ } else{
207
+ wp_enqueue_script('bootstrap_respond', apply_filters('ebs_bootstrap_respond_cdn',false));
208
+ }
209
+ }
210
+ }
211
+ if ($css == 1) {
212
+ if (!apply_filters('ebs_bootstrap_css_url',false)) {
213
+ wp_enqueue_style('bootstrap', plugins_url('/styles/bootstrap.min.css', __FILE__));
214
+ } else {
215
+ wp_enqueue_style('bootstrap', apply_filters('ebs_bootstrap_css_url',false));
216
+ }
217
+ } else {
218
+ if (!apply_filters('ebs_bootstrap_icon_css_url',false)) {
219
+ //wp_enqueue_style('bootstrap-icon', plugins_url('/styles/bootstrap-icon.min.css', __FILE__));
220
+ } else{
221
+ wp_enqueue_style('bootstrap-icon', apply_filters('ebs_bootstrap_icon_css_url',false));
222
+ }
223
+ }
224
+ }
225
+ }
226
+
227
+ // Shortcodes
228
  include('shortcode/functions.php');
shortcode/btngrp/btngrp_plugin.js CHANGED
@@ -1,230 +1,200 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasBtngrp', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasbtngrp', {
5
- title : 'Button Btngrp Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_btngrp();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Button Group Shortcode',
12
- 'href' : '#oscitas-form-btngrp',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl : function(n, cm) {
24
- return null;
25
- },
26
- getInfo : function() {
27
- return {
28
- longname : "Button Group Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitasbtngrp', tinymce.plugins.oscitasBtngrp);
37
- })();
38
-
39
-
40
- function create_oscitas_btngrp(){
41
- if(jQuery('#oscitas-form-btngrp').length){
42
- jQuery('#oscitas-form-btngrp').remove();
43
- }
44
- // creates a form to be displayed everytime the button is clicked
45
- // you should achieve this using AJAX instead of direct html code like this
46
- var form = jQuery('<div id="oscitas-form-btngrp">\
47
- <table id="oscitas-table" class="form-table">\
48
- <tr>\
49
- <th class="main_dp_th"><label for="oscitas-btngrp-heading" >Button Group Features</label></th>\
50
- <td>\
51
- <table class="tb_multiple_column_upper">\
52
- <thead>\
53
- <tr><th>Size</th><th>Style</th></tr>\
54
- </thead>\
55
- <tbody>\
56
- <tr>\
57
- <td><select name="type" id="oscitas-btngrp-size">\
58
- <option value="">Default</option>\
59
- <option value="btn-lg">Large</option>\
60
- <option value="btn-sm">Small</option>\
61
- <option value="btn-xs">Ex-small</option>\
62
- </select></td>\
63
- <td>\
64
- <select name="type" id="oscitas-btngrp-style">\
65
- <option value="">Default</option>\
66
- <option value="vertical">Vertical</option>\
67
- <option value="justified">Justified</option>\
68
- </select>\
69
- </td>\
70
- </tr>\
71
- </tbody>\
72
- </table>\
73
- </td>\
74
- </tr>\
75
- <tr>\
76
- <th class="main_dp_th"><label for="oscitas-line">Button Group Items</label></th>\
77
- <td>\
78
- <table class="tb_multiple_column">\
79
- <thead>\
80
- <tr><th>Style</th><th>Type</th><th>Link</th><th>Open in New Window</th><th>Title</th><th>Option</th></tr>\
81
- </thead>\
82
- <tbody id="oscitas-append-btngrpitem">\
83
- <tr class="osc_btngrp_list_item">\
84
- <td>\
85
- <select name="type" class="oscitas-btngrpitem-style">\
86
- <option value="btn-default">Simple</option>\
87
- <option value="btn-primary">Primary</option>\
88
- <option value="btn-success">Success</option>\
89
- <option value="btn-info">Information</option>\
90
- <option value="btn-warning">Warning</option>\
91
- <option value="btn-danger">Danger</option>\
92
- <option value="btn-link">Link</option>\
93
- </select>\
94
- </td>\
95
- <td class="osc_btg_type_change">\
96
- <select name="type" class="oscitas-btngrpitem-type">\
97
- <option value="link">Link</option>\
98
- <option value="button">Button</option>\
99
- </select>\
100
- </td>\
101
- <td class="osc_btg_hide">\
102
- <input type="text" name="link" class="oscitas-btngrpitem-link" value="#" />\
103
- </td>\
104
- <td class="osc_btg_hide">\
105
- <input type="checkbox" class="oscitas-btngrpitem-target" value="true">\
106
- </td>\
107
- <td>\
108
- <input type="text" name="title" class="oscitas-btngrpitem-title" value="Button"/>\
109
- </td>\
110
- <td></td>\
111
- </tr>\
112
- </tbody>\
113
- <tfoot>\
114
- <tr>\
115
- <td colspan="8">\
116
- <a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i> Add New Item</a>\
117
- </td>\
118
- </tr>\
119
- </tfoot>\
120
- </table>\
121
- </td>\
122
- </tr>\
123
- <tr>\
124
- <th>\
125
- <label for="oscitas-btngrp-class">Custom Class</label>\
126
- </th>\
127
- <td>\
128
- <input type="text" name="line" id="oscitas-btngrp-class" value=""/>\
129
- </td>\
130
- </tr>\
131
- </table>\
132
- <p class="submit">\
133
- <input type="button" id="oscitas-btngrp-submit" class="button-primary" value="Insert Button Group" name="submit" />\
134
- </p>\
135
- </div>');
136
-
137
- var table = form.find('table');
138
- form.appendTo('body').hide();
139
- form.find('#osc_add_new_dditem').click(function(){
140
- var item='<tr class="osc_btngrp_list_item">' +
141
- '<td><select name="type" class="oscitas-btngrpitem-style">'+
142
- '<option value="btn-default">Simple</option>'+
143
- '<option value="btn-primary">Primary</option>'+
144
- '<option value="btn-success">Success</option>'+
145
- '<option value="btn-info">Information</option>'+
146
- '<option value="btn-warning">Warning</option>'+
147
- '<option value="btn-danger">Danger</option>'+
148
- '<option value="btn-link">Link</option>'+
149
- '</select>'+
150
- '</td>'+
151
- '<td class="osc_btg_type_change">'+
152
- '<select name="type" class="oscitas-btngrpitem-type">'+
153
- '<option value="link">Link</option>'+
154
- '<option value="button">Button</option>'+
155
- '</select>'+
156
- '</td>'+
157
- '<td class="osc_btg_hide">'+
158
- '<input type="text" name="link" class="oscitas-btngrpitem-link" value="#" />'+
159
- '</td>'+
160
- '<td class="osc_btg_hide">'+
161
- '<input type="checkbox" class="oscitas-btngrpitem-target" value="true">'+
162
- '</td>'+
163
- '<td>'+
164
- '<input type="text" name="title" class="oscitas-btngrpitem-title" value="Button"/>'+
165
- '</td>'+
166
- '<td><a class="osc_remove_btgitem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-remove"></i></a></td>'+
167
- '</tr>';
168
- form.find('#oscitas-append-btngrpitem').append(item);
169
-
170
- });
171
- jQuery('.osc_remove_btgitem').live('click',function(){
172
- jQuery(this).parent().parent().remove();
173
- })
174
- jQuery('.osc_btg_type_change').live('change',function(){
175
- var $this=jQuery(this);
176
- var par=jQuery(this).parent();
177
- var item=jQuery(this);
178
- var val=item.find('.oscitas-btngrpitem-type').val();
179
- if(val=='button'){
180
- jQuery(par).find('.osc_btg_hide').hide();
181
- item.attr('colspan',3);
182
- } else{
183
- jQuery(par).find('.osc_hide').show();
184
- item.attr('colspan',0);
185
- }
186
- });
187
-
188
- // dialog('close');
189
- // handles the click event of the submit button
190
- form.find('#oscitas-btngrp-submit').click(function(){
191
-
192
-
193
- var cusclass='',style='';
194
- if(table.find('#oscitas-btngrp-class').val()!=''){
195
- cusclass= ' class="'+table.find('#oscitas-btngrp-class').val()+'"';
196
- }
197
- if(table.find('#oscitas-btngrp-style').val()!=''){
198
- style= ' style="'+table.find('#oscitas-btngrp-style').val()+'"';
199
- }
200
- var shortcode='[buttongroup'+cusclass+style;
201
- shortcode+=']';
202
- var type='',title='',link='';
203
- jQuery('tr.osc_btngrp_list_item').each(function(){
204
- type = jQuery(this).find('.oscitas-btngrpitem-type').val();
205
- title = jQuery(this).find('.oscitas-btngrpitem-title').val();
206
- link = jQuery(this).find('.oscitas-btngrpitem-link').val();
207
-
208
- shortcode+='[button';
209
- shortcode += ' style="'+jQuery(this).find('.oscitas-btngrpitem-style').val();
210
- shortcode += ' '+jQuery('#oscitas-btngrp-size').val();
211
- shortcode += '"';
212
- shortcode += ' type="'+type+'" ';
213
- if(type!='button'){
214
- shortcode += ' target="'+(jQuery(this).find('.oscitas-btngrpitem-target').prop('checked')? 'true': 'false')+ '" ';
215
- shortcode += ' link="'+link+'" ';
216
- }
217
- shortcode += ' title="'+title+'" ';
218
- shortcode+=']<br/>';
219
- });
220
- shortcode+='[/buttongroup]';
221
-
222
-
223
-
224
- // inserts the shortcode into the active editor
225
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
226
-
227
- jQuery.fancybox.close();
228
- });
229
- }
230
-
1
+ var btngrp={
2
+ title:"Button Group Shortcode",
3
+ id :'oscitas-form-btngrp',
4
+ pluginName: 'btngrp'
5
+ };
6
+
7
+ (function() {
8
+ _create_tinyMCE_options(btngrp);
9
+ })();
10
+
11
+ function create_oscitas_btngrp(pluginObj){
12
+ if(jQuery(pluginObj.hashId).length){
13
+ jQuery(pluginObj.hashId).remove();
14
+ }
15
+ // creates a form to be displayed everytime the button is clicked
16
+ // you should achieve this using AJAX instead of direct html code like this
17
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
18
+ <tr>\
19
+ <th class="main_dp_th"><label for="oscitas-btngrp-heading" >Button Group Features</label></th>\
20
+ <td>\
21
+ <table class="tb_multiple_column_upper">\
22
+ <thead>\
23
+ <tr><th>Size</th><th>Style</th></tr>\
24
+ </thead>\
25
+ <tbody>\
26
+ <tr>\
27
+ <td><select name="type" id="oscitas-btngrp-size">\
28
+ <option value="">Default</option>\
29
+ <option value="btn-lg">Large</option>\
30
+ <option value="btn-sm">Small</option>\
31
+ <option value="btn-xs">Ex-small</option>\
32
+ </select></td>\
33
+ <td>\
34
+ <select name="type" id="oscitas-btngrp-style">\
35
+ <option value="">Default</option>\
36
+ <option value="vertical">Vertical</option>\
37
+ <option value="justified">Justified</option>\
38
+ </select>\
39
+ </td>\
40
+ </tr>\
41
+ </tbody>\
42
+ </table>\
43
+ </td>\
44
+ </tr>\
45
+ <tr>\
46
+ <th class="main_dp_th"><label for="oscitas-line">Button Group Items</label></th>\
47
+ <td>\
48
+ <table class="tb_multiple_column">\
49
+ <thead>\
50
+ <tr><th>Style</th><th>Type</th><th>Link</th><th>Open in New Window</th><th>Title</th><th>Option</th></tr>\
51
+ </thead>\
52
+ <tbody id="oscitas-append-btngrpitem">\
53
+ <tr class="osc_btngrp_list_item">\
54
+ <td>\
55
+ <select name="type" class="oscitas-btngrpitem-style">\
56
+ <option value="btn-default">Simple</option>\
57
+ <option value="btn-primary">Primary</option>\
58
+ <option value="btn-success">Success</option>\
59
+ <option value="btn-info">Information</option>\
60
+ <option value="btn-warning">Warning</option>\
61
+ <option value="btn-danger">Danger</option>\
62
+ <option value="btn-link">Link</option>\
63
+ </select>\
64
+ </td>\
65
+ <td class="osc_btg_type_change">\
66
+ <select name="type" class="oscitas-btngrpitem-type">\
67
+ <option value="link">Link</option>\
68
+ <option value="button">Button</option>\
69
+ </select>\
70
+ </td>\
71
+ <td class="osc_btg_hide">\
72
+ <input type="text" name="link" class="oscitas-btngrpitem-link" value="#" />\
73
+ </td>\
74
+ <td class="osc_btg_hide">\
75
+ <input type="checkbox" class="oscitas-btngrpitem-target" value="true">\
76
+ </td>\
77
+ <td>\
78
+ <input type="text" name="title" class="oscitas-btngrpitem-title" value="Button"/>\
79
+ </td>\
80
+ <td></td>\
81
+ </tr>\
82
+ </tbody>\
83
+ <tfoot>\
84
+ <tr>\
85
+ <td colspan="8">\
86
+ <a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i> Add New Item</a>\
87
+ </td>\
88
+ </tr>\
89
+ </tfoot>\
90
+ </table>\
91
+ </td>\
92
+ </tr>\
93
+ <tr>\
94
+ <th>\
95
+ <label for="oscitas-btngrp-class">Custom Class</label>\
96
+ </th>\
97
+ <td>\
98
+ <input type="text" name="line" id="oscitas-btngrp-class" value=""/>\
99
+ </td>\
100
+ </tr>\
101
+ </table>\
102
+ <p class="submit">\
103
+ <input type="button" id="oscitas-btngrp-submit" class="button-primary" value="Insert Button Group" name="submit" />\
104
+ </p>\
105
+ </div>');
106
+
107
+ var table = form.find('table');
108
+ form.appendTo('body').hide();
109
+ form.find('#osc_add_new_dditem').click(function(){
110
+ var item='<tr class="osc_btngrp_list_item">' +
111
+ '<td><select name="type" class="oscitas-btngrpitem-style">'+
112
+ '<option value="btn-default">Simple</option>'+
113
+ '<option value="btn-primary">Primary</option>'+
114
+ '<option value="btn-success">Success</option>'+
115
+ '<option value="btn-info">Information</option>'+
116
+ '<option value="btn-warning">Warning</option>'+
117
+ '<option value="btn-danger">Danger</option>'+
118
+ '<option value="btn-link">Link</option>'+
119
+ '</select>'+
120
+ '</td>'+
121
+ '<td class="osc_btg_type_change">'+
122
+ '<select name="type" class="oscitas-btngrpitem-type">'+
123
+ '<option value="link">Link</option>'+
124
+ '<option value="button">Button</option>'+
125
+ '</select>'+
126
+ '</td>'+
127
+ '<td class="osc_btg_hide">'+
128
+ '<input type="text" name="link" class="oscitas-btngrpitem-link" value="#" />'+
129
+ '</td>'+
130
+ '<td class="osc_btg_hide">'+
131
+ '<input type="checkbox" class="oscitas-btngrpitem-target" value="true">'+
132
+ '</td>'+
133
+ '<td>'+
134
+ '<input type="text" name="title" class="oscitas-btngrpitem-title" value="Button"/>'+
135
+ '</td>'+
136
+ '<td><a class="osc_remove_btgitem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-remove"></i></a></td>'+
137
+ '</tr>';
138
+ form.find('#oscitas-append-btngrpitem').append(item);
139
+
140
+ });
141
+ jQuery('.osc_remove_btgitem').live('click',function(){
142
+ jQuery(this).parent().parent().remove();
143
+ })
144
+ jQuery('.osc_btg_type_change').live('change',function(){
145
+ var $this=jQuery(this);
146
+ var par=jQuery(this).parent();
147
+ var item=jQuery(this);
148
+ var val=item.find('.oscitas-btngrpitem-type').val();
149
+ if(val=='button'){
150
+ jQuery(par).find('.osc_btg_hide').hide();
151
+ item.attr('colspan',3);
152
+ } else{
153
+ jQuery(par).find('.osc_hide').show();
154
+ item.attr('colspan',0);
155
+ }
156
+ });
157
+
158
+ // dialog('close');
159
+ // handles the click event of the submit button
160
+ form.find('#oscitas-btngrp-submit').click(function(){
161
+
162
+
163
+ var cusclass='',style='';
164
+ if(table.find('#oscitas-btngrp-class').val()!=''){
165
+ cusclass= ' class="'+table.find('#oscitas-btngrp-class').val()+'"';
166
+ }
167
+ if(table.find('#oscitas-btngrp-style').val()!=''){
168
+ style= ' style="'+table.find('#oscitas-btngrp-style').val()+'"';
169
+ }
170
+ var shortcode='[buttongroup'+cusclass+style;
171
+ shortcode+=']';
172
+ var type='',title='',link='';
173
+ jQuery('tr.osc_btngrp_list_item').each(function(){
174
+ type = jQuery(this).find('.oscitas-btngrpitem-type').val();
175
+ title = jQuery(this).find('.oscitas-btngrpitem-title').val();
176
+ link = jQuery(this).find('.oscitas-btngrpitem-link').val();
177
+
178
+ shortcode+='[button';
179
+ shortcode += ' style="'+jQuery(this).find('.oscitas-btngrpitem-style').val();
180
+ shortcode += ' '+jQuery('#oscitas-btngrp-size').val();
181
+ shortcode += '"';
182
+ shortcode += ' type="'+type+'" ';
183
+ if(type!='button'){
184
+ shortcode += ' target="'+(jQuery(this).find('.oscitas-btngrpitem-target').prop('checked')? 'true': 'false')+ '" ';
185
+ shortcode += ' link="'+link+'" ';
186
+ }
187
+ shortcode += ' title="'+title+'" ';
188
+ shortcode+=']<br/>';
189
+ });
190
+ shortcode+='[/buttongroup]';
191
+
192
+
193
+
194
+ // inserts the shortcode into the active editor
195
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
196
+
197
+ close_dialogue(pluginObj.hashId);
198
+ });
199
+ }
200
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/btngrp/plugin_shortcode.php CHANGED
@@ -1,25 +1,25 @@
1
- <?php
2
-
3
- function osc_theme_btngrp($params, $content = null) {
4
- extract(shortcode_atts(array(
5
- 'style' => '',
6
- 'class' => ''
7
- ), $params));
8
- $content = str_replace("]<br />", ']', $content);
9
- $content = str_replace("]<br />\n", ']', $content);
10
- $content = str_replace("<br />\n[", '[', $content);
11
- if ($style =='vertical') {
12
- $out = '<div class="btn-group-vertical ' . $class . '">' . do_shortcode($content) . '</div>';
13
- } elseif ($style =='justified') {
14
- $out = '<div class="btn-group btn-group-justified ' . $class . '">' . do_shortcode($content) . '</div>';
15
- }else{
16
- $out = '<div class="btn-group ' . $class . '">' . do_shortcode($content) . '</div>';
17
- }
18
-
19
-
20
- return $out;
21
- }
22
-
23
- add_shortcode('buttongroup', 'osc_theme_btngrp');
24
-
25
  ?>
1
+ <?php
2
+
3
+ function osc_theme_btngrp($params, $content = null) {
4
+ extract(shortcode_atts(array(
5
+ 'style' => '',
6
+ 'class' => ''
7
+ ), $params));
8
+ $content = str_replace("]<br />", ']', $content);
9
+ $content = str_replace("]<br />\n", ']', $content);
10
+ $content = str_replace("<br />\n[", '[', $content);
11
+ if ($style =='vertical') {
12
+ $out = '<div class="btn-group-vertical ' . $class . '">' . do_shortcode($content) . '</div>';
13
+ } elseif ($style =='justified') {
14
+ $out = '<div class="btn-group btn-group-justified ' . $class . '">' . do_shortcode($content) . '</div>';
15
+ }else{
16
+ $out = '<div class="btn-group ' . $class . '">' . do_shortcode($content) . '</div>';
17
+ }
18
+
19
+
20
+ return $out;
21
+ }
22
+
23
+ add_shortcode('buttongroup', 'osc_theme_btngrp');
24
+
25
  ?>
shortcode/btngrptool/btngrptool_plugin.js CHANGED
@@ -1,26 +1,25 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasBtngrptool', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasbtngrptool', {
5
- title : 'Button Group Toolbar Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- ed.selection.setContent('[btngrptoolbar class="yourcustomclass"][/btngrptoolbar]');
9
- }
10
- });
11
- },
12
- createControl : function(n, cm) {
13
- return null;
14
- },
15
- getInfo : function() {
16
- return {
17
- longname : "Button Group Toolbar Shortcode",
18
- author : 'Oscitas Themes',
19
- authorurl : 'http://www.oscitasthemes.com/',
20
- infourl : 'http://www.oscitasthemes.com/',
21
- version : "2.0.0"
22
- };
23
- }
24
- });
25
- tinymce.PluginManager.add('oscitasbtngrptool', tinymce.plugins.oscitasBtngrptool);
26
- })();
1
+ var btngrptool={
2
+ title:"Button Group Toolbar Shortcode"
3
+ };
4
+
5
+ (function() {
6
+ tinymce.create('tinymce.plugins.oscitasBtngrptool', {
7
+ init : function(ed, url) {
8
+ ed.addButton('oscitasbtngrptool', {
9
+ title : btngrptool.title,
10
+ image : url+'/icon.png',
11
+ onclick : function() {
12
+ ed.selection.setContent('[btngrptoolbar class="yourcustomclass"][/btngrptoolbar]');
13
+ }
14
+ });
15
+ },
16
+ createControl : function(n, cm) {
17
+ return null;
18
+ },
19
+ getInfo : function() {
20
+ plugininfo.longname=btngrptool.title;
21
+ return plugininfo;
22
+ }
23
+ });
24
+ tinymce.PluginManager.add('oscitasbtngrptool', tinymce.plugins.oscitasBtngrptool);
25
+ })();
 
shortcode/btngrptool/plugin_shortcode.php CHANGED
@@ -1,18 +1,18 @@
1
- <?php
2
-
3
- function osc_theme_btngrptoolbar($params, $content = null) {
4
- extract(shortcode_atts(array(
5
- 'style' => '',
6
- 'class' => ''
7
- ), $params));
8
- $content = str_replace("]<br />", ']', $content);
9
- $content = str_replace("]<br />\n", ']', $content);
10
- $content = str_replace("<br />\n[", '[', $content);
11
- $out = '<div class="btn-toolbar '.$class.'" role="toolbar">' . do_shortcode($content) . '</div>';
12
-
13
- return $out;
14
- }
15
-
16
- add_shortcode('btngrptoolbar', 'osc_theme_btngrptoolbar');
17
-
18
  ?>
1
+ <?php
2
+
3
+ function osc_theme_btngrptoolbar($params, $content = null) {
4
+ extract(shortcode_atts(array(
5
+ 'style' => '',
6
+ 'class' => ''
7
+ ), $params));
8
+ $content = str_replace("]<br />", ']', $content);
9
+ $content = str_replace("]<br />\n", ']', $content);
10
+ $content = str_replace("<br />\n[", '[', $content);
11
+ $out = '<div class="btn-toolbar '.$class.'" role="toolbar">' . do_shortcode($content) . '</div>';
12
+
13
+ return $out;
14
+ }
15
+
16
+ add_shortcode('btngrptoolbar', 'osc_theme_btngrptoolbar');
17
+
18
  ?>
shortcode/buttons/buttons_plugin.js CHANGED
@@ -1,422 +1,397 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasButtons', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasbuttons', {
5
- title : 'Button Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_button();
9
- jQuery.fancybox({
10
- 'autoSize':false,
11
- 'autoWidth':false,
12
- 'fitToView':false,
13
- 'height':'auto',
14
- 'topRatio':0.1,
15
- 'width':800,
16
- 'type' : 'inline',
17
- 'title' : 'Button Shortcode',
18
- 'href' : '#oscitas-form-button',
19
- helpers: {
20
- title : {
21
- type : 'over',
22
- position:'top'
23
- }
24
- }
25
- });
26
- }
27
- });
28
- },
29
- createControl : function(n, cm) {
30
- return null;
31
- },
32
- getInfo : function() {
33
- return {
34
- longname : "Button Shortcode",
35
- author : 'Oscitas Themes',
36
- authorurl : 'http://www.oscitasthemes.com/',
37
- infourl : 'http://www.oscitasthemes.com/',
38
- version : "2.0.0"
39
- };
40
- }
41
- });
42
- tinymce.PluginManager.add('oscitasbuttons', tinymce.plugins.oscitasButtons);
43
- })();
44
-
45
- function create_oscitas_button(){
46
- if(jQuery('#oscitas-form-button').length){
47
- jQuery('#oscitas-form-button').remove();
48
- }
49
- // creates a form to be displayed everytime the button is clicked
50
- // you should achieve this using AJAX instead of direct html code like this
51
- var form = jQuery('<div id="oscitas-form-button" class="oscitas-container"><table id="oscitas-table" class="form-table">\
52
- <tr>\
53
- <th><label for="oscitas-button-style">Style:</label></th>\
54
- <td><select name="type" id="oscitas-button-style">\
55
- <option value="btn-default">Simple</option>\
56
- <option value="btn-primary">Primary</option>\
57
- <option value="btn-success">Success</option>\
58
- <option value="btn-info">Information</option>\
59
- <option value="btn-warning">Warning</option>\
60
- <option value="btn-danger">Danger</option>\
61
- <option value="btn-link">Link</option>\
62
- </select><br />\
63
- </td>\
64
- </tr>\
65
- <tr>\
66
- <th><label for="oscitas-button-size">Size:</label></th>\
67
- <td><select name="type" id="oscitas-button-size">\
68
- <option value="btn-lg">Large</option>\
69
- <option value="btn-sm">Small</option>\
70
- <option value="btn-xs">Ex-small</option>\
71
- </select><br />\
72
- </td>\
73
- </tr>\
74
- <tr>\
75
- <th><label for="oscitas-button-type">Type:</label></th>\
76
- <td><select name="type" id="oscitas-button-type">\
77
- <option value="link">Link</option>\
78
- <option value="button">Button</option>\
79
- </select><br />\
80
- </td>\
81
- </tr>\
82
- <tr>\
83
- <th><label for="oscitas-heading-icon">Select Icon:</label></th>\
84
- <td><div id="click_icon_list_button" class="oscitas-icon-div"><span id="osc_show_icon_button"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_button" value="">\
85
- <div id="osc_show_iconlist_button" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon_button" id="oscitas-heading-icon_button" class="oscitas-icon-ul">\
86
- <li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust"> </li>\
87
- <li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li>\
88
- <li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li>\
89
- <li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li>\
90
- <li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li>\
91
- <li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li>\
92
- <li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li>\
93
- <li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li>\
94
- <li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li>\
95
- <li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li>\
96
- <li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li>\
97
- <li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li>\
98
- <li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li>\
99
- <li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li>\
100
- <li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li>\
101
- <li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li>\
102
- <li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li>\
103
- <li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li>\
104
- <li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li>\
105
- <li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li>\
106
- <li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li>\
107
- <li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li>\
108
- <li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li>\
109
- <li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li>\
110
- <li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li>\
111
- <li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li>\
112
- <li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li>\
113
- <li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li>\
114
- <li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li>\
115
- <li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li>\
116
- <li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li>\
117
- <li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li>\
118
- <li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li>\
119
- <li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li>\
120
- <li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li>\
121
- <li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li>\
122
- <li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li>\
123
- <li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li>\
124
- <li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li>\
125
- <li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li>\
126
- <li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li>\
127
- <li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li>\
128
- <li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li>\
129
- <li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li>\
130
- <li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li>\
131
- <li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li>\
132
- <li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li>\
133
- <li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li>\
134
- <li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li>\
135
- <li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li>\
136
- <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
137
- <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
138
- <li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li>\
139
- <li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li>\
140
- <li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li>\
141
- <li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li>\
142
- <li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li>\
143
- <li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li>\
144
- <li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li>\
145
- <li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li>\
146
- <li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li>\
147
- <li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li>\
148
- <li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li>\
149
- <li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li>\
150
- <li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li>\
151
- <li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li>\
152
- <li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li>\
153
- <li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li>\
154
- <li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li>\
155
- <li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li>\
156
- <li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li>\
157
- <li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li>\
158
- <li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li>\
159
- <li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li>\
160
- <li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li>\
161
- <li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li>\
162
- <li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li>\
163
- <li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li>\
164
- <li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li>\
165
- <li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li>\
166
- <li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li>\
167
- <li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li>\
168
- <li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li>\
169
- <li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li>\
170
- <li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li>\
171
- <li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li>\
172
- <li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li>\
173
- <li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li>\
174
- <li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li>\
175
- <li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li>\
176
- <li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li>\
177
- <li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li>\
178
- <li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li>\
179
- <li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li>\
180
- <li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li>\
181
- <li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li>\
182
- <li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li>\
183
- <li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li>\
184
- <li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li>\
185
- <li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li>\
186
- <li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li>\
187
- <li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li>\
188
- <li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li>\
189
- <li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li>\
190
- <li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li>\
191
- <li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li>\
192
- <li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li>\
193
- <li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li>\
194
- <li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li>\
195
- <li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li>\
196
- <li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li>\
197
- <li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li>\
198
- <li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li>\
199
- <li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li>\
200
- <li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li>\
201
- <li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li>\
202
- <li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li>\
203
- <li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li>\
204
- <li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li>\
205
- <li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li>\
206
- <li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li>\
207
- <li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li>\
208
- <li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li>\
209
- <li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li>\
210
- <li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li>\
211
- <li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li>\
212
- <li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li>\
213
- <li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li>\
214
- <li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li>\
215
- <li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li>\
216
- <li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li>\
217
- <li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li>\
218
- <li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li>\
219
- <li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li>\
220
- <li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li>\
221
- <li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li>\
222
- <li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li>\
223
- <li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li>\
224
- <li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li>\
225
- <li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li>\
226
- <li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li>\
227
- <li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li>\
228
- <li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li>\
229
- <li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li>\
230
- <li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li>\
231
- <li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li>\
232
- <li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li>\
233
- <li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li>\
234
- <li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li>\
235
- <li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li>\
236
- <li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li>\
237
- <li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li>\
238
- <li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li>\
239
- <li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li>\
240
- <li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li>\
241
- <li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li>\
242
- <li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li>\
243
- <li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li>\
244
- <li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li>\
245
- <li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li>\
246
- <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li>\
247
- <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li>\
248
- <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li>\
249
- <li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li>\
250
- <li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li>\
251
- <li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li>\
252
- <li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li>\
253
- <li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li>\
254
- <li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li>\
255
- <li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li>\
256
- <li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li>\
257
- <li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li>\
258
- <li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li>\
259
- <li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li>\
260
- <li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li>\
261
- <li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li>\
262
- <li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li>\
263
- <li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li>\
264
- <li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li>\
265
- <li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li>\
266
- <li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li>\
267
- <li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li>\
268
- <li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li>\
269
- <li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li>\
270
- <li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li>\
271
- <li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li>\
272
- <li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li>\
273
- <li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li>\
274
- <li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li>\
275
- <li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li>\
276
- <li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li>\
277
- <li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li>\
278
- <li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li>\
279
- <li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li>\
280
- <li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li>\
281
- <li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li>\
282
- <li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li>\
283
- <li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li>\
284
- <li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li>\
285
- <li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li>\
286
- </ul></div>\
287
- </td>\
288
- </tr>\
289
- <tr>\
290
- <th><label for="oscitas-button-iconalign">Icon Alignment:</label></th>\
291
- <td><select name="type" id="oscitas-button-iconalign">\
292
- <option value="left">Left</option>\
293
- <option value="right">Right</option>\
294
- </select><br />\
295
- </td>\
296
- </tr>\
297
- <tr>\
298
- <th><label for="oscitas-table-rows">Make block</label></th>\
299
- <td>\
300
- <input type="checkbox" id="oscitas-button-block">\
301
- <br />\
302
- </td>\
303
- </tr>\
304
- <tr>\
305
- <th><label for="oscitas-button-title">Title:</label></th>\
306
- <td><input type="text" name="title" id="oscitas-button-title" value="Button"/><br />\
307
- </td>\
308
- </tr>\
309
- <tr id="tr-button-link">\
310
- <th><label for="oscitas-button-link">Link</label></th>\
311
- <td><input type="text" name="link" id="oscitas-button-link" value="#" /><br />\
312
- </td>\
313
- </tr>\
314
- <tr id="tr-button-newwindow">\
315
- <th><label for="oscitas-table-rows">Open in new window</label></th>\
316
- <td>\
317
- <input type="checkbox" id="oscitas-button-target">\
318
- <br />\
319
- </td>\
320
- </tr>\
321
- <tr>\
322
- <th><label for="oscitas-button-class">Custom Class:</label></th>\
323
- <td><input type="text" name="line" id="oscitas-button-class" value=""/><br />\
324
- </td>\
325
- </tr>\
326
- </table>\
327
- <p class="submit">\
328
- <input type="button" id="oscitas-button-submit" class="button-primary" value="Insert Button" name="submit" />\
329
- </p>\
330
- </div>');
331
-
332
- var table = form.find('table');
333
- jQuery('.glyphicon').css('display','inline');
334
- form.appendTo('body').hide();
335
- table.find('#click_icon_list_button').click(function(){
336
- if(!jQuery(this).hasClass('osc_icon_showing_button')){
337
- jQuery(this).addClass('osc_icon_showing_button')
338
- table.find('#osc_show_iconlist_button').show();
339
- } else{
340
- jQuery(this).removeClass('osc_icon_showing_button')
341
- table.find('#osc_show_iconlist_button').hide();
342
- }
343
- });
344
- table.find('#oscitas-heading-icon_button li').click(function(){
345
- var val=jQuery(this).attr('data-value');
346
- table.find('#oscitas-heading-icon_button li').removeClass('osc_icon_selected_button');
347
- jQuery(this).addClass('osc_icon_selected_button');
348
- table.find('#osc_show_iconlist_button').hide();
349
- table.find('#osc_show_icon_button').removeClass().addClass('glyphicon').addClass(val);
350
- table.find('#osc_icon_class_val_button').val(val);
351
- })
352
-
353
- table.find('#oscitas-button-type').change(function(){
354
- var abc = jQuery(this).val();
355
- if('link' == abc){
356
- jQuery("#tr-button-link").show();
357
- jQuery("#tr-button-newwindow").show();
358
- }else{
359
- jQuery("#tr-button-link").hide();
360
- jQuery("#tr-button-newwindow").hide();
361
- }
362
- jQuery('#oscitas-form-button table tr:visible:even').css('background', '#F0F0F0');
363
- jQuery('#oscitas-form-button table tr:visible:odd').css('background', '#DADADD');
364
- });
365
-
366
-
367
-
368
-
369
- // handles the click event of the submit button
370
- form.find('#oscitas-button-submit').click(function(){
371
- // defines the options and their default values
372
- // again, this is not the most elegant way to do this
373
- // but well, this gets the job done nonetheless
374
- var options;
375
- var type = table.find('#oscitas-button-type').val();
376
- if(type=='button'){
377
- options = {
378
- 'title' : 'osCitas'
379
- };
380
- }
381
- else{
382
- options = {
383
- 'title' : 'osCitas',
384
- 'link' : ''
385
- };
386
- }
387
- var cusclass='',icon='';
388
- if(table.find('#oscitas-button-class').val()!=''){
389
- cusclass= ' class="'+table.find('#oscitas-button-class').val()+'"';
390
- }
391
- if(table.find('#osc_icon_class_val_button').val()!=''){
392
- icon= ' icon="'+table.find('#osc_icon_class_val_button').val()+'" ';
393
- }
394
-
395
- var shortcode = '[button'+cusclass;
396
-
397
- shortcode += ' style="'+table.find('#oscitas-button-style').val();
398
- shortcode += ' '+table.find('#oscitas-button-size').val();
399
- shortcode += table.find('#oscitas-button-block').prop('checked')? ' btn-block': '';
400
- shortcode += '" ';
401
- shortcode += icon;
402
- shortcode += ' align="'+table.find('#oscitas-button-iconalign').val()+'" ';
403
- shortcode += ' type="'+type+'" ';
404
- if(type!='button'){
405
- shortcode += ' target="'+(table.find('#oscitas-button-target').prop('checked')? 'true': 'false')+ '" ';
406
- }
407
- for( var index in options) {
408
- var value = table.find('#oscitas-button-' + index).val();
409
- // var value = table.find('#oscitas-button-' + index).val();
410
- shortcode += ' ' + index + '="' + value + '"';
411
- }
412
-
413
- shortcode += ']';
414
-
415
- // inserts the shortcode into the active editor
416
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
417
-
418
- // closes fancybox
419
- jQuery.fancybox.close();
420
- });
421
- }
422
-
1
+ var buttons={
2
+ title:"Button Shortcode",
3
+ id :'oscitas-form-button',
4
+ pluginName: 'buttons'
5
+
6
+ };
7
+ (function() {
8
+ _create_tinyMCE_options(buttons, 800);
9
+ })();
10
+
11
+ function create_oscitas_buttons(pluginObj){
12
+ if(jQuery(pluginObj.hashId).length){
13
+ jQuery(pluginObj.hashId).remove();
14
+ }
15
+ // creates a form to be displayed everytime the button is clicked
16
+ // you should achieve this using AJAX instead of direct html code like this
17
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
18
+ <tr>\
19
+ <th><label for="oscitas-button-style">Style:</label></th>\
20
+ <td><select name="type" id="oscitas-button-style">\
21
+ <option value="btn-default">Simple</option>\
22
+ <option value="btn-primary">Primary</option>\
23
+ <option value="btn-success">Success</option>\
24
+ <option value="btn-info">Information</option>\
25
+ <option value="btn-warning">Warning</option>\
26
+ <option value="btn-danger">Danger</option>\
27
+ <option value="btn-link">Link</option>\
28
+ </select><br />\
29
+ </td>\
30
+ </tr>\
31
+ <tr>\
32
+ <th><label for="oscitas-button-size">Size:</label></th>\
33
+ <td><select name="type" id="oscitas-button-size">\
34
+ <option value="btn-lg">Large</option>\
35
+ <option value="btn-sm">Small</option>\
36
+ <option value="btn-xs">Ex-small</option>\
37
+ </select><br />\
38
+ </td>\
39
+ </tr>\
40
+ <tr>\
41
+ <th><label for="oscitas-button-type">Type:</label></th>\
42
+ <td><select name="type" id="oscitas-button-type">\
43
+ <option value="link">Link</option>\
44
+ <option value="button">Button</option>\
45
+ </select><br />\
46
+ </td>\
47
+ </tr>\
48
+ <tr>\
49
+ <th><label for="oscitas-heading-icon">Select Icon:</label></th>\
50
+ <td><div id="click_icon_list_button" class="oscitas-icon-div"><span id="osc_show_icon_button"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_button" value="">\
51
+ <div id="osc_show_iconlist_button" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon_button" id="oscitas-heading-icon_button" class="oscitas-icon-ul">\
52
+ <li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust"> </li>\
53
+ <li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li>\
54
+ <li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li>\
55
+ <li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li>\
56
+ <li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li>\
57
+ <li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li>\
58
+ <li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li>\
59
+ <li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li>\
60
+ <li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li>\
61
+ <li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li>\
62
+ <li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li>\
63
+ <li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li>\
64
+ <li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li>\
65
+ <li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li>\
66
+ <li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li>\
67
+ <li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li>\
68
+ <li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li>\
69
+ <li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li>\
70
+ <li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li>\
71
+ <li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li>\
72
+ <li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li>\
73
+ <li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li>\
74
+ <li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li>\
75
+ <li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li>\
76
+ <li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li>\
77
+ <li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li>\
78
+ <li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li>\
79
+ <li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li>\
80
+ <li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li>\
81
+ <li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li>\
82
+ <li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li>\
83
+ <li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li>\
84
+ <li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li>\
85
+ <li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li>\
86
+ <li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li>\
87
+ <li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li>\
88
+ <li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li>\
89
+ <li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li>\
90
+ <li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li>\
91
+ <li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li>\
92
+ <li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li>\
93
+ <li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li>\
94
+ <li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li>\
95
+ <li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li>\
96
+ <li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li>\
97
+ <li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li>\
98
+ <li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li>\
99
+ <li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li>\
100
+ <li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li>\
101
+ <li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li>\
102
+ <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
103
+ <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
104
+ <li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li>\
105
+ <li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li>\
106
+ <li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li>\
107
+ <li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li>\
108
+ <li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li>\
109
+ <li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li>\
110
+ <li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li>\
111
+ <li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li>\
112
+ <li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li>\
113
+ <li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li>\
114
+ <li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li>\
115
+ <li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li>\
116
+ <li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li>\
117
+ <li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li>\
118
+ <li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li>\
119
+ <li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li>\
120
+ <li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li>\
121
+ <li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li>\
122
+ <li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li>\
123
+ <li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li>\
124
+ <li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li>\
125
+ <li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li>\
126
+ <li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li>\
127
+ <li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li>\
128
+ <li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li>\
129
+ <li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li>\
130
+ <li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li>\
131
+ <li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li>\
132
+ <li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li>\
133
+ <li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li>\
134
+ <li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li>\
135
+ <li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li>\
136
+ <li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li>\
137
+ <li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li>\
138
+ <li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li>\
139
+ <li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li>\
140
+ <li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li>\
141
+ <li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li>\
142
+ <li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li>\
143
+ <li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li>\
144
+ <li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li>\
145
+ <li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li>\
146
+ <li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li>\
147
+ <li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li>\
148
+ <li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li>\
149
+ <li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li>\
150
+ <li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li>\
151
+ <li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li>\
152
+ <li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li>\
153
+ <li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li>\
154
+ <li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li>\
155
+ <li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li>\
156
+ <li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li>\
157
+ <li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li>\
158
+ <li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li>\
159
+ <li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li>\
160
+ <li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li>\
161
+ <li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li>\
162
+ <li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li>\
163
+ <li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li>\
164
+ <li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li>\
165
+ <li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li>\
166
+ <li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li>\
167
+ <li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li>\
168
+ <li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li>\
169
+ <li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li>\
170
+ <li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li>\
171
+ <li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li>\
172
+ <li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li>\
173
+ <li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li>\
174
+ <li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li>\
175
+ <li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li>\
176
+ <li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li>\
177
+ <li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li>\
178
+ <li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li>\
179
+ <li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li>\
180
+ <li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li>\
181
+ <li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li>\
182
+ <li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li>\
183
+ <li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li>\
184
+ <li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li>\
185
+ <li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li>\
186
+ <li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li>\
187
+ <li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li>\
188
+ <li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li>\
189
+ <li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li>\
190
+ <li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li>\
191
+ <li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li>\
192
+ <li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li>\
193
+ <li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li>\
194
+ <li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li>\
195
+ <li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li>\
196
+ <li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li>\
197
+ <li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li>\
198
+ <li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li>\
199
+ <li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li>\
200
+ <li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li>\
201
+ <li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li>\
202
+ <li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li>\
203
+ <li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li>\
204
+ <li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li>\
205
+ <li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li>\
206
+ <li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li>\
207
+ <li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li>\
208
+ <li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li>\
209
+ <li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li>\
210
+ <li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li>\
211
+ <li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li>\
212
+ <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li>\
213
+ <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li>\
214
+ <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li>\
215
+ <li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li>\
216
+ <li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li>\
217
+ <li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li>\
218
+ <li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li>\
219
+ <li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li>\
220
+ <li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li>\
221
+ <li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li>\
222
+ <li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li>\
223
+ <li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li>\
224
+ <li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li>\
225
+ <li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li>\
226
+ <li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li>\
227
+ <li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li>\
228
+ <li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li>\
229
+ <li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li>\
230
+ <li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li>\
231
+ <li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li>\
232
+ <li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li>\
233
+ <li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li>\
234
+ <li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li>\
235
+ <li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li>\
236
+ <li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li>\
237
+ <li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li>\
238
+ <li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li>\
239
+ <li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li>\
240
+ <li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li>\
241
+ <li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li>\
242
+ <li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li>\
243
+ <li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li>\
244
+ <li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li>\
245
+ <li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li>\
246
+ <li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li>\
247
+ <li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li>\
248
+ <li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li>\
249
+ <li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li>\
250
+ <li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li>\
251
+ <li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li>\
252
+ </ul></div>\
253
+ </td>\
254
+ </tr>\
255
+ <tr>\
256
+ <th><label for="oscitas-button-iconalign">Icon Alignment:</label></th>\
257
+ <td><select name="type" id="oscitas-button-iconalign">\
258
+ <option value="left">Left</option>\
259
+ <option value="right">Right</option>\
260
+ </select><br />\
261
+ </td>\
262
+ </tr>\
263
+ <tr>\
264
+ <th><label for="oscitas-button-iconcolor">Icon Color:</label></th>\
265
+ <td><input type="text" name="label" id="oscitas-button-iconcolor" class="color" value="" /><br />\
266
+ </td>\
267
+ </tr>\
268
+ <tr>\
269
+ <th><label for="oscitas-table-rows">Make block</label></th>\
270
+ <td>\
271
+ <input type="checkbox" id="oscitas-button-block">\
272
+ <br />\
273
+ </td>\
274
+ </tr>\
275
+ <tr>\
276
+ <th><label for="oscitas-button-title">Title:</label></th>\
277
+ <td><input type="text" name="title" id="oscitas-button-title" value="Button"/><br />\
278
+ </td>\
279
+ </tr>\
280
+ <tr id="tr-button-link">\
281
+ <th><label for="oscitas-button-link">Link</label></th>\
282
+ <td><input type="text" name="link" id="oscitas-button-link" value="#" /><br />\
283
+ </td>\
284
+ </tr>\
285
+ <tr id="tr-button-newwindow">\
286
+ <th><label for="oscitas-table-rows">Open in new window</label></th>\
287
+ <td>\
288
+ <input type="checkbox" id="oscitas-button-target">\
289
+ <br />\
290
+ </td>\
291
+ </tr>\
292
+ <tr>\
293
+ <th><label for="oscitas-button-class">Custom Class:</label></th>\
294
+ <td><input type="text" name="line" id="oscitas-button-class" value=""/><br />\
295
+ </td>\
296
+ </tr>\
297
+ </table>\
298
+ <p class="submit">\
299
+ <input type="button" id="oscitas-button-submit" class="button-primary" value="Insert Button" name="submit" />\
300
+ </p>\
301
+ </div>');
302
+
303
+ var table = form.find('table');
304
+ jQuery('.glyphicon').css('display','inline');
305
+ form.appendTo('body').hide();
306
+ form.find('.color').wpColorPicker();
307
+ table.find('#click_icon_list_button').click(function(){
308
+ if(!jQuery(this).hasClass('osc_icon_showing_button')){
309
+ jQuery(this).addClass('osc_icon_showing_button')
310
+ table.find('#osc_show_iconlist_button').show();
311
+ } else{
312
+ jQuery(this).removeClass('osc_icon_showing_button')
313
+ table.find('#osc_show_iconlist_button').hide();
314
+ }
315
+ });
316
+ table.find('#oscitas-heading-icon_button li').click(function(){
317
+ var val=jQuery(this).attr('data-value');
318
+ table.find('#oscitas-heading-icon_button li').removeClass('osc_icon_selected_button');
319
+ jQuery(this).addClass('osc_icon_selected_button');
320
+ table.find('#osc_show_iconlist_button').hide();
321
+ table.find('#osc_show_icon_button').removeClass().addClass('glyphicon').addClass(val);
322
+ table.find('#osc_icon_class_val_button').val(val);
323
+ })
324
+
325
+ table.find('#oscitas-button-type').change(function(){
326
+ var abc = jQuery(this).val();
327
+ if('link' == abc){
328
+ jQuery("#tr-button-link").show();
329
+ jQuery("#tr-button-newwindow").show();
330
+ }else{
331
+ jQuery("#tr-button-link").hide();
332
+ jQuery("#tr-button-newwindow").hide();
333
+ }
334
+ jQuery('#oscitas-form-button table tr:visible:even').css('background', '#F0F0F0');
335
+ jQuery('#oscitas-form-button table tr:visible:odd').css('background', '#DADADD');
336
+ });
337
+
338
+
339
+
340
+
341
+ // handles the click event of the submit button
342
+ form.find('#oscitas-button-submit').click(function(){
343
+ // defines the options and their default values
344
+ // again, this is not the most elegant way to do this
345
+ // but well, this gets the job done nonetheless
346
+ var options;
347
+ var type = table.find('#oscitas-button-type').val();
348
+ if(type=='button'){
349
+ options = {
350
+ 'title' : 'osCitas'
351
+ };
352
+ }
353
+ else{
354
+ options = {
355
+ 'title' : 'osCitas',
356
+ 'link' : ''
357
+ };
358
+ }
359
+ var cusclass='',icon='';
360
+ if(table.find('#oscitas-button-class').val()!=''){
361
+ cusclass= ' class="'+table.find('#oscitas-button-class').val()+'"';
362
+ }
363
+ if(table.find('#osc_icon_class_val_button').val()!=''){
364
+ icon= ' icon="'+table.find('#osc_icon_class_val_button').val()+'" ';
365
+ icon += ' align="'+table.find('#oscitas-button-iconalign').val()+'" ';
366
+ if(table.find('#oscitas-button-iconcolor').val()!=''){
367
+ icon+= ' iconcolor="'+table.find('#oscitas-button-iconcolor').val()+'" ';
368
+ }
369
+ }
370
+
371
+ var shortcode = '[button'+cusclass;
372
+
373
+ shortcode += ' style="'+table.find('#oscitas-button-style').val();
374
+ shortcode += ' '+table.find('#oscitas-button-size').val();
375
+ shortcode += table.find('#oscitas-button-block').prop('checked')? ' btn-block': '';
376
+ shortcode += '" ';
377
+ shortcode += icon;
378
+ shortcode += ' type="'+type+'" ';
379
+ if(type!='button'){
380
+ shortcode += ' target="'+(table.find('#oscitas-button-target').prop('checked')? 'true': 'false')+ '" ';
381
+ }
382
+ for( var index in options) {
383
+ var value = table.find('#oscitas-button-' + index).val();
384
+ // var value = table.find('#oscitas-button-' + index).val();
385
+ shortcode += ' ' + index + '="' + value + '"';
386
+ }
387
+
388
+ shortcode += ']';
389
+
390
+ // inserts the shortcode into the active editor
391
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
392
+
393
+ // closes fancybox
394
+ close_dialogue(pluginObj.hashId);
395
+ });
396
+ }
397
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/buttons/plugin_shortcode.php CHANGED
@@ -1,38 +1,42 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * BUTTONS
5
- * ********************************************************* */
6
-
7
- function osc_theme_button($params, $content = null) {
8
- extract(shortcode_atts(array(
9
- 'title' => 'osCitas',
10
- 'link' => '',
11
- 'type' => 'link',
12
- 'style' => '',
13
- 'align' => '',
14
- 'target' => '',
15
- 'icon' => '',
16
- 'class' => ''
17
- ), $params));
18
- $out = '';
19
- if($icon!=''){
20
- if($align=='right'){
21
- $value=$title.' <i class="glyphicon '.$icon.'"></i>';
22
- } else{
23
- $value='<i class="glyphicon '.$icon.'"></i> '.$title;
24
- }
25
- }else{
26
- $value=$title;
27
- }
28
- $target = ' target="'.($target != 'false' ? '_blank':'_self').'"';
29
- if ($type == 'link') {
30
- $out = '<a class="btn ' . $style . ' ' . $class . '" href="' . $link . '" ' . ($target) . '>' . $value . '</a>';
31
- } elseif ($type == 'button') {
32
- $out = '<button class="btn ' . $style . ' ' . $class . '" >' . $value . '</button>';
33
- }
34
- return $out;
35
- }
36
-
37
- add_shortcode('button', 'osc_theme_button');
38
-
 
 
 
 
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * BUTTONS
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_button($params, $content = null) {
8
+ extract(shortcode_atts(array(
9
+ 'title' => 'osCitas',
10
+ 'link' => '',
11
+ 'type' => 'link',
12
+ 'style' => '',
13
+ 'align' => '',
14
+ 'target' => '',
15
+ 'icon' => '',
16
+ 'class' => '',
17
+ 'iconcolor'=>''
18
+ ), $params));
19
+ $out = '';
20
+ if($icon!=''){
21
+ if($iconcolor!=''){
22
+ $iconcolor='style="color:'.$iconcolor.';"';
23
+ }
24
+ if($align=='right'){
25
+ $value=$title.' <i class="glyphicon '.$icon.'" '.$iconcolor.'></i>';
26
+ } else{
27
+ $value='<i class="glyphicon '.$icon.'" '.$iconcolor.'></i> '.$title;
28
+ }
29
+ }else{
30
+ $value=$title;
31
+ }
32
+ $target = ' target="'.($target != 'false' ? '_blank':'_self').'"';
33
+ if ($type == 'link') {
34
+ $out = '<a class="btn ' . $style . ' ' . $class . '" href="' . $link . '" ' . ($target) . '>' . $value . '</a>';
35
+ } elseif ($type == 'button') {
36
+ $out = '<button class="btn ' . $style . ' ' . $class . '" >' . $value . '</button>';
37
+ }
38
+ return $out;
39
+ }
40
+
41
+ add_shortcode('button', 'osc_theme_button');
42
+
shortcode/deslist/deslist_plugin.js CHANGED
@@ -1,109 +1,79 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasDeslist', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasdeslist', {
5
- title : 'List Group Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_deslists();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Description List Shortcode',
12
- 'href' : '#oscitas-form-deslists',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl : function(n, cm) {
24
- return null;
25
- },
26
- getInfo : function() {
27
- return {
28
- longname : "Description List Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitasdeslist', tinymce.plugins.oscitasDeslist);
37
- })();
38
-
39
- function create_oscitas_deslists(){
40
- if(jQuery('#oscitas-form-deslists').length){
41
- jQuery('#oscitas-form-deslists').remove();
42
- }
43
- // creates a form to be displayed everytime the button is clicked
44
- // you should achieve this using AJAX instead of direct html code like this
45
- var form = jQuery('<div id="oscitas-form-deslists"><table id="oscitas-table" class="form-table">\
46
- <tr>\
47
- <th><label for="oscitas-line">No of List Item</label></th>\
48
- <td><input type="text" name="line" id="oscitas-deslist-item" value="3"/><br /><small>Enter a numeric value</small>\
49
- </td>\
50
- </tr>\
51
- <tr>\
52
- <th><label for="oscitas-deslist-style">List style</label></th>\
53
- <td><select name="type" id="oscitas-deslist-style">\
54
- <option value="">Default</option>\
55
- <option value="dl-horizontal">Horizontal</option>\
56
- </select><br />\
57
- </td>\
58
- </tr>\
59
- <tr>\
60
- <th><label for="oscitas-deslist-class">Custom Class:</label></th>\
61
- <td><input type="text" name="line" id="oscitas-deslist-class" value=""/><br />\
62
- </td>\
63
- </tr>\
64
- </table>\
65
- <p class="submit">\
66
- <input type="button" id="oscitas-deslist-submit" class="button-primary" value="Insert List" name="submit" />\
67
- </p>\
68
- </div>');
69
-
70
- var table = form.find('table');
71
- form.appendTo('body').hide();
72
-
73
- // handles the click event of the submit button
74
- form.find('#oscitas-deslist-submit').click(function(){
75
- // defines the options and their default values
76
- // again, this is not the most elegant way to do this
77
- // but well, this gets the job done nonetheless
78
- var options = {
79
- 'type' : 'arrow'
80
- },deslist=0,deslist_type;
81
- var cusclass='',style='';
82
- if(table.find('#oscitas-deslist-class').val()!=''){
83
- cusclass= ' class="'+table.find('#oscitas-deslist-class').val()+'"';
84
- }
85
- if(table.find('#oscitas-deslist-style').val()!=''){
86
- style= ' style="'+table.find('#oscitas-deslist-style').val()+'"';
87
- }
88
- var shortcode = '[dl'+cusclass+style;
89
- var deslist_item=jQuery('#oscitas-deslist-item').val();
90
- if(isNaN(deslist_item)==false){
91
- deslist=deslist_item;
92
- } else{
93
- deslist=3;
94
- }
95
-
96
-
97
- shortcode += ']<br/>';
98
- for(var i=1;i<=deslist;i++){
99
- shortcode +='[dlitem heading="Heading '+i+'"]Description '+i+'[/dlitem]<br/>'
100
- }
101
- shortcode +='[/dl]';
102
-
103
- // inserts the shortcode into the active editor
104
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
105
-
106
- jQuery.fancybox.close();
107
- });
108
- }
109
-
1
+ var deslist={
2
+ title:"List Group Shortcode",
3
+ id :'oscitas-form-deslists',
4
+ pluginName: 'deslist'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(deslist);
8
+ })();
9
+
10
+ function create_oscitas_deslist(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-line">No of List Item</label></th>\
19
+ <td><input type="text" name="line" id="oscitas-deslist-item" value="3"/><br /><small>Enter a numeric value</small>\
20
+ </td>\
21
+ </tr>\
22
+ <tr>\
23
+ <th><label for="oscitas-deslist-style">List style</label></th>\
24
+ <td><select name="type" id="oscitas-deslist-style">\
25
+ <option value="">Default</option>\
26
+ <option value="dl-horizontal">Horizontal</option>\
27
+ </select><br />\
28
+ </td>\
29
+ </tr>\
30
+ <tr>\
31
+ <th><label for="oscitas-deslist-class">Custom Class:</label></th>\
32
+ <td><input type="text" name="line" id="oscitas-deslist-class" value=""/><br />\
33
+ </td>\
34
+ </tr>\
35
+ </table>\
36
+ <p class="submit">\
37
+ <input type="button" id="oscitas-deslist-submit" class="button-primary" value="Insert List" name="submit" />\
38
+ </p>\
39
+ </div>');
40
+
41
+ var table = form.find('table');
42
+ form.appendTo('body').hide();
43
+
44
+ // handles the click event of the submit button
45
+ form.find('#oscitas-deslist-submit').click(function(){
46
+ // defines the options and their default values
47
+ // again, this is not the most elegant way to do this
48
+ // but well, this gets the job done nonetheless
49
+ var options = {
50
+ 'type' : 'arrow'
51
+ },deslist=0,deslist_type;
52
+ var cusclass='',style='';
53
+ if(table.find('#oscitas-deslist-class').val()!=''){
54
+ cusclass= ' class="'+table.find('#oscitas-deslist-class').val()+'"';
55
+ }
56
+ if(table.find('#oscitas-deslist-style').val()!=''){
57
+ style= ' style="'+table.find('#oscitas-deslist-style').val()+'"';
58
+ }
59
+ var shortcode = '[dl'+cusclass+style;
60
+ var deslist_item=jQuery('#oscitas-deslist-item').val();
61
+ if(isNaN(deslist_item)==false){
62
+ deslist=deslist_item;
63
+ } else{
64
+ deslist=3;
65
+ }
66
+
67
+
68
+ shortcode += ']<br/>';
69
+ for(var i=1;i<=deslist;i++){
70
+ shortcode +='[dlitem heading="Heading '+i+'"]Description '+i+'[/dlitem]<br/>'
71
+ }
72
+ shortcode +='[/dl]';
73
+
74
+ // inserts the shortcode into the active editor
75
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
76
+
77
+ close_dialogue(pluginObj.hashId);
78
+ });
79
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/deslist/plugin_shortcode.php CHANGED
@@ -1,25 +1,25 @@
1
- <?php
2
-
3
- function osc_theme_deslist($params, $content = null) {
4
- extract(shortcode_atts(array(
5
- 'class' => '',
6
- 'style' =>''
7
- ), $params));
8
- $content = str_replace("]<br />", ']', $content);
9
- $content = str_replace("]<br />\n", ']', $content);
10
- $content = str_replace("<br />\n[", '[', $content);
11
- return '<dl class="osc-deslist ' . $style . ' '.$class.'">' . do_shortcode($content) . '</dl>';
12
- }
13
-
14
- add_shortcode('dl', 'osc_theme_deslist');
15
-
16
- function osc_theme_dlitem($params, $content = null) {
17
- extract(shortcode_atts(array(
18
- 'heading' => ''
19
- ), $params));
20
- $out='<dt>'.do_shortcode($heading).'</dt>';
21
- $out.='<dd>'.do_shortcode($content).'</dd>';
22
- return $out;
23
- }
24
-
25
  add_shortcode('dlitem', 'osc_theme_dlitem');
1
+ <?php
2
+
3
+ function osc_theme_deslist($params, $content = null) {
4
+ extract(shortcode_atts(array(
5
+ 'class' => '',
6
+ 'style' =>''
7
+ ), $params));
8
+ $content = str_replace("]<br />", ']', $content);
9
+ $content = str_replace("]<br />\n", ']', $content);
10
+ $content = str_replace("<br />\n[", '[', $content);
11
+ return '<dl class="osc-deslist ' . $style . ' '.$class.'">' . do_shortcode($content) . '</dl>';
12
+ }
13
+
14
+ add_shortcode('dl', 'osc_theme_deslist');
15
+
16
+ function osc_theme_dlitem($params, $content = null) {
17
+ extract(shortcode_atts(array(
18
+ 'heading' => ''
19
+ ), $params));
20
+ $out='<dt>'.do_shortcode($heading).'</dt>';
21
+ $out.='<dd>'.do_shortcode($content).'</dd>';
22
+ return $out;
23
+ }
24
+
25
  add_shortcode('dlitem', 'osc_theme_dlitem');
shortcode/dropdown/dropdown_plugin.js CHANGED
@@ -1,190 +1,160 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasDropdown', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasdropdown', {
5
- title : 'Button Dropdown Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_dropdown();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Button Dropdown Shortcode',
12
- 'href' : '#oscitas-form-dropdown',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl : function(n, cm) {
24
- return null;
25
- },
26
- getInfo : function() {
27
- return {
28
- longname : "Button Dropdown Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitasdropdown', tinymce.plugins.oscitasDropdown);
37
- })();
38
-
39
-
40
- function create_oscitas_dropdown(){
41
- if(jQuery('#oscitas-form-dropdown').length){
42
- jQuery('#oscitas-form-dropdown').remove();
43
- }
44
- // creates a form to be displayed everytime the button is clicked
45
- // you should achieve this using AJAX instead of direct html code like this
46
- var form = jQuery('<div id="oscitas-form-dropdown" class="oscitas-container"><table id="oscitas-table" class="form-table">\
47
- <tr>\
48
- <th class="main_dp_th"><label for="oscitas-dropdown-heading" >Dropdown Button Features</label></th>\
49
- <td><table class="tb_multiple_column_upper">\
50
- <thead>\
51
- <tr><th>Text</th><th>Size</th><th>Style</th><th>Split</th><th>Dropup</th></tr>\
52
- </thead>\
53
- <tbody>\
54
- <tr>\
55
- <td><input type="text" name="dropdown-heading" id="oscitas-dropdown-heading" value="Dropdown"/></td>\
56
- <td><select name="type" id="oscitas-dropdown-size">\
57
- <option value="">Default</option>\
58
- <option value="btn-lg">Large</option>\
59
- <option value="btn-sm">Small</option>\
60
- <option value="btn-xs">Ex-small</option>\
61
- </select><br /></td>\
62
- <td><select name="type" id="oscitas-dropdown-style">\
63
- <option value="btn-default">Simple</option>\
64
- <option value="btn-primary">Primary</option>\
65
- <option value="btn-success">Success</option>\
66
- <option value="btn-info">Information</option>\
67
- <option value="btn-warning">Warning</option>\
68
- <option value="btn-danger">Danger</option>\
69
- <option value="btn-link">Link</option>\
70
- </select><br /></td>\
71
- <td><input type="checkbox" name="dropdown-split" id="oscitas-dropdown-split" value="split"/></td>\
72
- <td><select name="type" id="oscitas-dropdown-dropup">\
73
- <option value="dropdown">Drop Down</option>\
74
- <option value="dropup">Drop Up</option>\
75
- </select></td>\
76
- </tr>\
77
- </tbody>\
78
- </table></td>\
79
- </tr>\
80
- <tr>\
81
- <th class="main_dp_th"><label for="oscitas-line">Dropdown Items</label></th>\
82
- <td><table class="tb_multiple_column">\
83
- <thead>\
84
- <tr><th>Type</th><th>Link</th><th>Title</th><th>Disabled</th><th>Option</th></tr>\
85
- </thead>\
86
- <tbody id="oscitas-append-dropdownitem">\
87
- <tr class="osc_dropdown_list_item">\
88
- <td><input type="hidden" class="oscitas-dropdownitem-type" value="menuitem"><span>Menu Item</span></td>\
89
- <td><input type="text" name="dropdown-item-link[]" class="oscitas-dropdownitem-link" value="#"/></td>\
90
- <td><input type="text" name="dropdown-item-title[]" class="oscitas-dropdownitem-title" value="Dropdown Item"/></td>\
91
- <td><input type="checkbox" name="dropdown-item-disabled[]" class="oscitas-dropdownitem-disabled" value="disabled"/></td><td></td>\
92
- </tr>\
93
- </tbody>\
94
- <tfoot>\
95
- <tr><td colspan="5"><a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i> Add New Item</a></td></tr>\
96
- </tfoot>\
97
- </table></td>\
98
- </tr>\
99
- <tr>\
100
- <th><label for="oscitas-dropdown-class">Custom Class:</label></th>\
101
- <td><input type="text" name="line" id="oscitas-dropdown-class" value=""/><br />\
102
- </td>\
103
- </tr>\
104
- </table>\
105
- <p class="submit">\
106
- <input type="button" id="oscitas-dropdown-submit" class="button-primary" value="Insert Dropdown" name="submit" />\
107
- </p>\
108
- </div>');
109
-
110
- var table = form.find('table');
111
- form.appendTo('body').hide();
112
- form.find('#osc_add_new_dditem').click(function(){
113
- var item='<tr class="osc_dropdown_list_item"><td class="osc_type_change"><select name="dropdown-item-type[]" class="oscitas-dropdownitem-type"><option value="menuitem">Menu Item</option><option value="divider">Divider</option></select></td><td class="osc_hide"><input type="text" name="dropdown-item-link[]" class="oscitas-dropdownitem-link" value="#"/></td><td class="osc_hide"><input type="text" name="dropdown-item-title[]" class="oscitas-dropdownitem-title" value="Dropdown Item"/></td><td class="osc_hide"><input type="checkbox" name="dropdown-item-disabled[]" class="oscitas-dropdownitem-disabled" value="disabled"/></td><td><a class="osc_remove_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-remove"></i></a></td></tr>';
114
- form.find('#oscitas-append-dropdownitem').append(item);
115
-
116
- });
117
- jQuery('.osc_remove_dditem').live('click',function(){
118
- jQuery(this).parent().parent().remove();
119
- })
120
- jQuery('.osc_type_change').live('change',function(){
121
- var par=jQuery(this).parent();
122
- var item=jQuery(this);
123
- var val=item.find('.oscitas-dropdownitem-type').val();
124
- if(val=='divider'){
125
- jQuery(par).find('.osc_hide').hide();
126
- item.attr('colspan',4);
127
- } else{
128
- jQuery(par).find('.osc_hide').show();
129
- item.attr('colspan',0);
130
- }
131
- })
132
- // handles the click event of the submit button
133
- form.find('#oscitas-dropdown-submit').click(function(){
134
- var split,dropup;
135
- var type,link,title,disabled;
136
- var heading= jQuery('#oscitas-dropdown-heading').val();
137
-
138
- if(jQuery('#oscitas-dropdown-split').is(":checked")==true){
139
- split= jQuery('#oscitas-dropdown-split').val();
140
- } else{
141
- split='';
142
- }
143
- var size= jQuery('#oscitas-dropdown-size').val();
144
- var style= jQuery('#oscitas-dropdown-style').val();
145
- dropup= 'dropup="'+jQuery('#oscitas-dropdown-dropup').val()+'"';
146
-
147
- var cusclass;
148
- if(table.find('#oscitas-dropdown-class').val()!=''){
149
- cusclass= ' class="'+table.find('#oscitas-dropdown-class').val()+'"';
150
- }
151
- else{
152
- cusclass='';
153
- }
154
- var shortcode='';
155
- shortcode ='[dropdown '+dropup+cusclass+']<br/>';
156
- shortcode +='[dropdownhead style="'+style+'" size="'+size+'" split="'+split+'"]<br/>';
157
- shortcode += heading+'<br/>';
158
- shortcode +='[/dropdownhead]<br/>';
159
- shortcode +='[dropdownbody]<br/>';
160
-
161
- jQuery('tr.osc_dropdown_list_item').each(function(index){
162
-
163
- type = jQuery(this).find('.oscitas-dropdownitem-type').val();
164
- link = jQuery(this).find('.oscitas-dropdownitem-link').val();
165
- title = jQuery(this).find('.oscitas-dropdownitem-title').val();
166
-
167
- if(jQuery(this).find('.oscitas-dropdownitem-disabled').is(":checked")==true){
168
- disabled='disabled="'+jQuery(this).find('.oscitas-dropdownitem-disabled').val()+'"';
169
- } else{
170
- disabled='';
171
- }
172
- if(type=='divider'){
173
- shortcode +='[dropdownitem type="'+type+'"][/dropdownitem]<br/>';
174
- } else if(type=='menuitem'){
175
- shortcode +='[dropdownitem type="'+type+'" link="'+link+'" '+disabled+']'+title+'[/dropdownitem]<br/>';
176
- }
177
-
178
- });
179
-
180
- shortcode +='[/dropdownbody]<br/>';
181
- shortcode +='[/dropdown]';
182
-
183
-
184
- // inserts the shortcode into the active editor
185
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
186
-
187
- jQuery.fancybox.close();
188
- });
189
- }
190
-
1
+ var dropdown={
2
+ title:"Button Dropdown Shortcode",
3
+ id :'oscitas-form-dropdown',
4
+ pluginName: 'dropdown'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(dropdown);
8
+ })();
9
+
10
+ function create_oscitas_dropdown(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th class="main_dp_th"><label for="oscitas-dropdown-heading" >Dropdown Button Features</label></th>\
19
+ <td><table class="tb_multiple_column_upper">\
20
+ <thead>\
21
+ <tr><th>Text</th><th>Size</th><th>Style</th><th>Split</th><th>Dropup</th></tr>\
22
+ </thead>\
23
+ <tbody>\
24
+ <tr>\
25
+ <td><input type="text" name="dropdown-heading" id="oscitas-dropdown-heading" value="Dropdown"/></td>\
26
+ <td><select name="type" id="oscitas-dropdown-size">\
27
+ <option value="">Default</option>\
28
+ <option value="btn-lg">Large</option>\
29
+ <option value="btn-sm">Small</option>\
30
+ <option value="btn-xs">Ex-small</option>\
31
+ </select><br /></td>\
32
+ <td><select name="type" id="oscitas-dropdown-style">\
33
+ <option value="btn-default">Simple</option>\
34
+ <option value="btn-primary">Primary</option>\
35
+ <option value="btn-success">Success</option>\
36
+ <option value="btn-info">Information</option>\
37
+ <option value="btn-warning">Warning</option>\
38
+ <option value="btn-danger">Danger</option>\
39
+ <option value="btn-link">Link</option>\
40
+ </select><br /></td>\
41
+ <td><input type="checkbox" name="dropdown-split" id="oscitas-dropdown-split" value="split"/></td>\
42
+ <td><select name="type" id="oscitas-dropdown-dropup">\
43
+ <option value="dropdown">Drop Down</option>\
44
+ <option value="dropup">Drop Up</option>\
45
+ </select></td>\
46
+ </tr>\
47
+ </tbody>\
48
+ </table></td>\
49
+ </tr>\
50
+ <tr>\
51
+ <th class="main_dp_th"><label for="oscitas-line">Dropdown Items</label></th>\
52
+ <td><table class="tb_multiple_column">\
53
+ <thead>\
54
+ <tr><th>Type</th><th>Link</th><th>Title</th><th>Disabled</th><th>Option</th></tr>\
55
+ </thead>\
56
+ <tbody id="oscitas-append-dropdownitem">\
57
+ <tr class="osc_dropdown_list_item">\
58
+ <td><input type="hidden" class="oscitas-dropdownitem-type" value="menuitem"><span>Menu Item</span></td>\
59
+ <td><input type="text" name="dropdown-item-link[]" class="oscitas-dropdownitem-link" value="#"/></td>\
60
+ <td><input type="text" name="dropdown-item-title[]" class="oscitas-dropdownitem-title" value="Dropdown Item"/></td>\
61
+ <td><input type="checkbox" name="dropdown-item-disabled[]" class="oscitas-dropdownitem-disabled" value="disabled"/></td><td></td>\
62
+ </tr>\
63
+ </tbody>\
64
+ <tfoot>\
65
+ <tr><td colspan="5"><a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i> Add New Item</a></td></tr>\
66
+ </tfoot>\
67
+ </table></td>\
68
+ </tr>\
69
+ <tr>\
70
+ <th><label for="oscitas-dropdown-class">Custom Class:</label></th>\
71
+ <td><input type="text" name="line" id="oscitas-dropdown-class" value=""/><br />\
72
+ </td>\
73
+ </tr>\
74
+ </table>\
75
+ <p class="submit">\
76
+ <input type="button" id="oscitas-dropdown-submit" class="button-primary" value="Insert Dropdown" name="submit" />\
77
+ </p>\
78
+ </div>');
79
+
80
+ var table = form.find('table');
81
+ form.appendTo('body').hide();
82
+ form.find('#osc_add_new_dditem').click(function(){
83
+ var item='<tr class="osc_dropdown_list_item"><td class="osc_type_change"><select name="dropdown-item-type[]" class="oscitas-dropdownitem-type"><option value="menuitem">Menu Item</option><option value="divider">Divider</option></select></td><td class="osc_hide"><input type="text" name="dropdown-item-link[]" class="oscitas-dropdownitem-link" value="#"/></td><td class="osc_hide"><input type="text" name="dropdown-item-title[]" class="oscitas-dropdownitem-title" value="Dropdown Item"/></td><td class="osc_hide"><input type="checkbox" name="dropdown-item-disabled[]" class="oscitas-dropdownitem-disabled" value="disabled"/></td><td><a class="osc_remove_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-remove"></i></a></td></tr>';
84
+ form.find('#oscitas-append-dropdownitem').append(item);
85
+
86
+ });
87
+ jQuery('.osc_remove_dditem').live('click',function(){
88
+ jQuery(this).parent().parent().remove();
89
+ })
90
+ jQuery('.osc_type_change').live('change',function(){
91
+ var par=jQuery(this).parent();
92
+ var item=jQuery(this);
93
+ var val=item.find('.oscitas-dropdownitem-type').val();
94
+ if(val=='divider'){
95
+ jQuery(par).find('.osc_hide').hide();
96
+ item.attr('colspan',4);
97
+ } else{
98
+ jQuery(par).find('.osc_hide').show();
99
+ item.attr('colspan',0);
100
+ }
101
+ })
102
+ // handles the click event of the submit button
103
+ form.find('#oscitas-dropdown-submit').click(function(){
104
+ var split,dropup;
105
+ var type,link,title,disabled;
106
+ var heading= jQuery('#oscitas-dropdown-heading').val();
107
+
108
+ if(jQuery('#oscitas-dropdown-split').is(":checked")==true){
109
+ split= jQuery('#oscitas-dropdown-split').val();
110
+ } else{
111
+ split='';
112
+ }
113
+ var size= jQuery('#oscitas-dropdown-size').val();
114
+ var style= jQuery('#oscitas-dropdown-style').val();
115
+ dropup= 'dropup="'+jQuery('#oscitas-dropdown-dropup').val()+'"';
116
+
117
+ var cusclass;
118
+ if(table.find('#oscitas-dropdown-class').val()!=''){
119
+ cusclass= ' class="'+table.find('#oscitas-dropdown-class').val()+'"';
120
+ }
121
+ else{
122
+ cusclass='';
123
+ }
124
+ var shortcode='';
125
+ shortcode ='[dropdown '+dropup+cusclass+']<br/>';
126
+ shortcode +='[dropdownhead style="'+style+'" size="'+size+'" split="'+split+'"]<br/>';
127
+ shortcode += heading+'<br/>';
128
+ shortcode +='[/dropdownhead]<br/>';
129
+ shortcode +='[dropdownbody]<br/>';
130
+
131
+ jQuery('tr.osc_dropdown_list_item').each(function(index){
132
+
133
+ type = jQuery(this).find('.oscitas-dropdownitem-type').val();
134
+ link = jQuery(this).find('.oscitas-dropdownitem-link').val();
135
+ title = jQuery(this).find('.oscitas-dropdownitem-title').val();
136
+
137
+ if(jQuery(this).find('.oscitas-dropdownitem-disabled').is(":checked")==true){
138
+ disabled='disabled="'+jQuery(this).find('.oscitas-dropdownitem-disabled').val()+'"';
139
+ } else{
140
+ disabled='';
141
+ }
142
+ if(type=='divider'){
143
+ shortcode +='[dropdownitem type="'+type+'"][/dropdownitem]<br/>';
144
+ } else if(type=='menuitem'){
145
+ shortcode +='[dropdownitem type="'+type+'" link="'+link+'" '+disabled+']'+title+'[/dropdownitem]<br/>';
146
+ }
147
+
148
+ });
149
+
150
+ shortcode +='[/dropdownbody]<br/>';
151
+ shortcode +='[/dropdown]';
152
+
153
+
154
+ // inserts the shortcode into the active editor
155
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
156
+
157
+ close_dialogue(pluginObj.hashId);
158
+ });
159
+ }
160
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/dropdown/plugin_shortcode.php CHANGED
@@ -1,77 +1,77 @@
1
- <?php
2
-
3
- function osc_theme_dropdown($params, $content = null) {
4
- extract(shortcode_atts(array(
5
- 'dropup' => '',
6
- 'class' => ''
7
- ), $params));
8
- $content = str_replace("]<br />", ']', $content);
9
- $content = str_replace("]<br />\n", ']', $content);
10
- $content = str_replace("<br />\n[", '[', $content);
11
- if ($dropup != 'dropup') {
12
- $dropup = '';
13
- }
14
- $out = '<div class="btn-group ' . $dropup . ' ' . $class . '">' . do_shortcode($content) . '</div>';
15
- $out .= "
16
- <script>
17
- jQuery(document).ready(function(){
18
- jQuery('.dropdown-toggle').dropdown();
19
- });
20
- </script>
21
- ";
22
- return $out;
23
- }
24
-
25
- add_shortcode('dropdown', 'osc_theme_dropdown');
26
-
27
- function osc_theme_dropdown_head($params, $content = null) {
28
- extract(shortcode_atts(array(
29
- 'size' => '',
30
- 'style' => '',
31
- 'split' => ''), $params));
32
- $out = '';
33
- if ($split == "split") {
34
- $out = '<button type="button" class="btn ' . $size . ' ' . $style . '">' . $content . '</button>';
35
-
36
- $out .= '<button type="button" class="btn ' . $size . ' ' . $style . ' dropdown-toggle" data-toggle="dropdown">';
37
- $out .= '<span class="caret"></span></button>';
38
- } else {
39
- $out = ' <button type="button" class="btn ' . $size . ' ' . $style . ' dropdown-toggle" data-toggle="dropdown">';
40
- $out .= $content . ' <span class="caret"></span> </button>';
41
- }
42
-
43
- return $out;
44
- }
45
-
46
- add_shortcode('dropdownhead', 'osc_theme_dropdown_head');
47
-
48
- function osc_theme_dropdown_body($params, $content = null) {
49
- $content = str_replace("]<br />", ']', $content);
50
- $content = str_replace("]<br />\n", ']', $content);
51
- $content = str_replace("<br />\n[", '[', $content);
52
- $out = '<ul class="dropdown-menu" role="menu">' . do_shortcode($content) . '</ul>';
53
- return $out;
54
- }
55
-
56
- add_shortcode('dropdownbody', 'osc_theme_dropdown_body');
57
-
58
- function osc_theme_dropdown_items($params, $content = null) {
59
- extract(shortcode_atts(array(
60
- 'type' => '',
61
- 'link' => '',
62
- 'disabled' => ''), $params));
63
- $out = '';
64
- if ($type == "divider") {
65
- $out = '<li class="divider"></li>';
66
- } elseif ($type == "menuitem") {
67
- if ($disabled == 'disabled') {
68
- $out = '<li class="disabled"><a href="' . $link . '">' . do_shortcode($content) . '</a></li>';
69
- } else {
70
- $out = '<li><a href="' . $link . '">' . do_shortcode($content) . '</a></li>';
71
- }
72
- }
73
- return $out;
74
- }
75
-
76
- add_shortcode('dropdownitem', 'osc_theme_dropdown_items');
77
  ?>
1
+ <?php
2
+
3
+ function osc_theme_dropdown($params, $content = null) {
4
+ extract(shortcode_atts(array(
5
+ 'dropup' => '',
6
+ 'class' => ''
7
+ ), $params));
8
+ $content = str_replace("]<br />", ']', $content);
9
+ $content = str_replace("]<br />\n", ']', $content);
10
+ $content = str_replace("<br />\n[", '[', $content);
11
+ if ($dropup != 'dropup') {
12
+ $dropup = '';
13
+ }
14
+ $out = '<div class="btn-group ' . $dropup . ' ' . $class . '">' . do_shortcode($content) . '</div>';
15
+ $out .= "
16
+ <script>
17
+ jQuery(document).ready(function(){
18
+ jQuery('.dropdown-toggle').dropdown();
19
+ });
20
+ </script>
21
+ ";
22
+ return $out;
23
+ }
24
+
25
+ add_shortcode('dropdown', 'osc_theme_dropdown');
26
+
27
+ function osc_theme_dropdown_head($params, $content = null) {
28
+ extract(shortcode_atts(array(
29
+ 'size' => '',
30
+ 'style' => '',
31
+ 'split' => ''), $params));
32
+ $out = '';
33
+ if ($split == "split") {
34
+ $out = '<button type="button" class="btn ' . $size . ' ' . $style . '">' . $content . '</button>';
35
+
36
+ $out .= '<button type="button" class="btn ' . $size . ' ' . $style . ' dropdown-toggle" data-toggle="dropdown">';
37
+ $out .= '<span class="caret"></span></button>';
38
+ } else {
39
+ $out = ' <button type="button" class="btn ' . $size . ' ' . $style . ' dropdown-toggle" data-toggle="dropdown">';
40
+ $out .= $content . ' <span class="caret"></span> </button>';
41
+ }
42
+
43
+ return $out;
44
+ }
45
+
46
+ add_shortcode('dropdownhead', 'osc_theme_dropdown_head');
47
+
48
+ function osc_theme_dropdown_body($params, $content = null) {
49
+ $content = str_replace("]<br />", ']', $content);
50
+ $content = str_replace("]<br />\n", ']', $content);
51
+ $content = str_replace("<br />\n[", '[', $content);
52
+ $out = '<ul class="dropdown-menu" role="menu">' . do_shortcode($content) . '</ul>';
53
+ return $out;
54
+ }
55
+
56
+ add_shortcode('dropdownbody', 'osc_theme_dropdown_body');
57
+
58
+ function osc_theme_dropdown_items($params, $content = null) {
59
+ extract(shortcode_atts(array(
60
+ 'type' => '',
61
+ 'link' => '',
62
+ 'disabled' => ''), $params));
63
+ $out = '';
64
+ if ($type == "divider") {
65
+ $out = '<li class="divider"></li>';
66
+ } elseif ($type == "menuitem") {
67
+ if ($disabled == 'disabled') {
68
+ $out = '<li class="disabled"><a href="' . $link . '">' . do_shortcode($content) . '</a></li>';
69
+ } else {
70
+ $out = '<li><a href="' . $link . '">' . do_shortcode($content) . '</a></li>';
71
+ }
72
+ }
73
+ return $out;
74
+ }
75
+
76
+ add_shortcode('dropdownitem', 'osc_theme_dropdown_items');
77
  ?>
shortcode/functions.php CHANGED
@@ -1,59 +1,69 @@
1
- <?php
2
-
3
- // Add Shortcode buttons in TinyMCE
4
- $elements = array(
5
- 'toggles',
6
- 'tabs',
7
- 'lists',
8
- 'deslist',
9
- 'buttons',
10
- 'btngrptool',
11
- 'btngrp',
12
- 'notifications',
13
- 'wpcolumns',
14
- 'tables',
15
- 'tooltip',
16
- 'iconhead',
17
- 'panel',
18
- 'oscpopover',
19
- 'dropdown',
20
- 'labels',
21
- 'well',
22
- 'thumbnail',
23
- 'icon',
24
- 'image',
25
- 'progressbar',
26
-
27
- );
28
-
29
- foreach ($elements as $element) {
30
- include( $element . '/plugin_shortcode.php');
31
- }
32
-
33
- add_action('init', 'osc_add_ebs_buttons_to_tinymce');
34
-
35
- function osc_add_ebs_buttons_to_tinymce() {
36
- if (!current_user_can('edit_posts') && !current_user_can('edit_pages'))
37
- return;
38
-
39
- if (get_user_option('rich_editing') == 'true') {
40
- add_filter("mce_external_plugins", "osc_add_ebs_plugin");
41
- add_filter('mce_buttons_3', 'osc_register_ebs_button');
42
- }
43
- }
44
-
45
- function osc_register_ebs_button($buttons) {
46
- global $elements;
47
- foreach ($elements as $element) {
48
- $buttons[] = 'oscitas' . $element;
49
- }
50
- return $buttons;
51
- }
52
-
53
- function osc_add_ebs_plugin($plugin_array) {
54
- global $elements;
55
- foreach ($elements as $element) {
56
- $plugin_array['oscitas' . $element] = plugins_url('', __FILE__) . '/' . $element . '/' . $element . '_plugin.js';
57
- }
58
- return $plugin_array;
59
- }
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Add Shortcode buttons in TinyMCE
4
+ $elements = array(
5
+ 'toggles',
6
+ 'tabs',
7
+ 'lists',
8
+ 'deslist',
9
+ 'buttons',
10
+ 'btngrptool',
11
+ 'btngrp',
12
+ 'notifications',
13
+ 'wpcolumns',
14
+ 'tables',
15
+ 'tooltip',
16
+ 'iconhead',
17
+ 'panel',
18
+ 'oscpopover',
19
+ 'dropdown',
20
+ 'labels',
21
+ 'well',
22
+ 'thumbnail',
23
+ 'icon',
24
+ 'image',
25
+ 'progressbar',
26
+
27
+ );
28
+
29
+ foreach ($elements as $element) {
30
+ include( $element . '/plugin_shortcode.php');
31
+ }
32
+
33
+ add_action('init', 'osc_add_ebs_buttons_to_tinymce');
34
+
35
+ function osc_add_ebs_buttons_to_tinymce() {
36
+ $ebsp_editor_opt=get_option('EBS_EDITOR_OPT','icon');
37
+ if (!current_user_can('edit_posts') && !current_user_can('edit_pages'))
38
+ return;
39
+
40
+ if (get_user_option('rich_editing') == 'true') {
41
+ add_filter("mce_external_plugins", "osc_add_ebs_plugin");
42
+ if($ebsp_editor_opt=='icon'){
43
+ add_filter('mce_buttons_3', 'osc_register_ebs_button');
44
+ } else{
45
+ add_filter('mce_buttons', 'osc_register_ebs_dropdown');
46
+ }
47
+ }
48
+ }
49
+ function osc_register_ebs_dropdown($buttons){
50
+ $buttons[] = 'oscitas_main_dropdown_button';
51
+ return $buttons;
52
+ }
53
+ function osc_register_ebs_button($buttons) {
54
+ global $elements;
55
+ foreach ($elements as $element) {
56
+ $buttons[] = 'oscitas' . $element;
57
+ }
58
+ return $buttons;
59
+ }
60
+
61
+ function osc_add_ebs_plugin($plugin_array) {
62
+ global $elements;
63
+ foreach ($elements as $element) {
64
+ $plugin_array['oscitas' . $element] = plugins_url('', __FILE__) . '/' . $element . '/' . $element . '_plugin.js';
65
+ }
66
+ $plugin_array['oscitas_main_dropdown']=EBS_PLUGIN_URL.'js/oscitas_main_dropdown.js';
67
+ return $plugin_array;
68
+ return $plugin_array;
69
+ }
shortcode/icon/icon_plugin.js CHANGED
@@ -1,318 +1,296 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasIcon', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasicon', {
5
- title : 'Icon Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_icon();
9
- jQuery.fancybox({
10
- 'autoSize':false,
11
- 'autoWidth':false,
12
- 'fitToView':false,
13
- 'height':'auto',
14
- 'topRatio':0.15,
15
- 'width':600,
16
- 'type' : 'inline',
17
- 'title' : 'Icon Shortcode',
18
- 'href' : '#oscitas-form-icon',
19
- helpers: {
20
- title : {
21
- type : 'over',
22
- position:'top'
23
- }
24
- }
25
- });
26
- }
27
- });
28
- },
29
- createControl : function(n, cm) {
30
- return null;
31
- },
32
- getInfo : function() {
33
- return {
34
- longname : "Icon Shortcode",
35
- author : 'Oscitas Themes',
36
- authorurl : 'http://www.oscitasthemes.com/',
37
- infourl : 'http://www.oscitasthemes.com/',
38
- version : "2.0.0"
39
- };
40
- }
41
- });
42
- tinymce.PluginManager.add('oscitasicon', tinymce.plugins.oscitasIcon);
43
- })();
44
-
45
- function create_oscitas_icon(){
46
- if(jQuery('#oscitas-form-icon').length){
47
- jQuery('#oscitas-form-icon').remove();
48
- }
49
- // creates a form to be displayed everytime the button is clicked
50
- // you should achieve this using AJAX instead of direct html code like this
51
- var form = jQuery('<div id="oscitas-form-icon" class="oscitas-container"><table id="oscitas-table" class="form-table">\
52
- <tr>\
53
- <th><label for="oscitas-heading-icon">Select Icon:</label></th>\
54
- <td><div id="click_icon_list_icon" class="oscitas-icon-div"><span id="osc_show_icon_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_icon" value="glyphicon-adjust">\
55
- <div id="osc_show_iconlist_icon" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon_icon" id="oscitas-heading-icon_icon" class="oscitas-icon-ul">\
56
- <li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust osc_icon_selected_button"> </li>\
57
- <li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li>\
58
- <li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li>\
59
- <li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li>\
60
- <li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li>\
61
- <li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li>\
62
- <li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li>\
63
- <li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li>\
64
- <li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li>\
65
- <li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li>\
66
- <li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li>\
67
- <li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li>\
68
- <li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li>\
69
- <li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li>\
70
- <li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li>\
71
- <li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li>\
72
- <li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li>\
73
- <li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li>\
74
- <li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li>\
75
- <li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li>\
76
- <li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li>\
77
- <li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li>\
78
- <li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li>\
79
- <li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li>\
80
- <li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li>\
81
- <li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li>\
82
- <li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li>\
83
- <li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li>\
84
- <li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li>\
85
- <li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li>\
86
- <li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li>\
87
- <li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li>\
88
- <li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li>\
89
- <li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li>\
90
- <li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li>\
91
- <li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li>\
92
- <li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li>\
93
- <li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li>\
94
- <li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li>\
95
- <li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li>\
96
- <li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li>\
97
- <li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li>\
98
- <li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li>\
99
- <li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li>\
100
- <li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li>\
101
- <li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li>\
102
- <li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li>\
103
- <li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li>\
104
- <li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li>\
105
- <li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li>\
106
- <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
107
- <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
108
- <li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li>\
109
- <li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li>\
110
- <li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li>\
111
- <li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li>\
112
- <li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li>\
113
- <li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li>\
114
- <li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li>\
115
- <li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li>\
116
- <li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li>\
117
- <li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li>\
118
- <li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li>\
119
- <li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li>\
120
- <li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li>\
121
- <li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li>\
122
- <li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li>\
123
- <li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li>\
124
- <li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li>\
125
- <li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li>\
126
- <li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li>\
127
- <li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li>\
128
- <li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li>\
129
- <li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li>\
130
- <li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li>\
131
- <li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li>\
132
- <li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li>\
133
- <li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li>\
134
- <li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li>\
135
- <li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li>\
136
- <li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li>\
137
- <li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li>\
138
- <li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li>\
139
- <li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li>\
140
- <li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li>\
141
- <li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li>\
142
- <li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li>\
143
- <li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li>\
144
- <li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li>\
145
- <li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li>\
146
- <li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li>\
147
- <li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li>\
148
- <li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li>\
149
- <li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li>\
150
- <li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li>\
151
- <li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li>\
152
- <li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li>\
153
- <li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li>\
154
- <li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li>\
155
- <li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li>\
156
- <li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li>\
157
- <li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li>\
158
- <li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li>\
159
- <li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li>\
160
- <li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li>\
161
- <li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li>\
162
- <li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li>\
163
- <li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li>\
164
- <li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li>\
165
- <li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li>\
166
- <li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li>\
167
- <li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li>\
168
- <li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li>\
169
- <li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li>\
170
- <li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li>\
171
- <li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li>\
172
- <li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li>\
173
- <li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li>\
174
- <li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li>\
175
- <li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li>\
176
- <li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li>\
177
- <li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li>\
178
- <li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li>\
179
- <li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li>\
180
- <li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li>\
181
- <li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li>\
182
- <li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li>\
183
- <li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li>\
184
- <li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li>\
185
- <li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li>\
186
- <li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li>\
187
- <li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li>\
188
- <li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li>\
189
- <li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li>\
190
- <li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li>\
191
- <li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li>\
192
- <li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li>\
193
- <li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li>\
194
- <li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li>\
195
- <li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li>\
196
- <li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li>\
197
- <li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li>\
198
- <li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li>\
199
- <li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li>\
200
- <li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li>\
201
- <li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li>\
202
- <li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li>\
203
- <li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li>\
204
- <li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li>\
205
- <li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li>\
206
- <li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li>\
207
- <li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li>\
208
- <li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li>\
209
- <li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li>\
210
- <li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li>\
211
- <li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li>\
212
- <li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li>\
213
- <li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li>\
214
- <li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li>\
215
- <li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li>\
216
- <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li>\
217
- <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li>\
218
- <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li>\
219
- <li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li>\
220
- <li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li>\
221
- <li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li>\
222
- <li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li>\
223
- <li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li>\
224
- <li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li>\
225
- <li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li>\
226
- <li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li>\
227
- <li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li>\
228
- <li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li>\
229
- <li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li>\
230
- <li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li>\
231
- <li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li>\
232
- <li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li>\
233
- <li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li>\
234
- <li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li>\
235
- <li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li>\
236
- <li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li>\
237
- <li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li>\
238
- <li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li>\
239
- <li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li>\
240
- <li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li>\
241
- <li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li>\
242
- <li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li>\
243
- <li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li>\
244
- <li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li>\
245
- <li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li>\
246
- <li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li>\
247
- <li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li>\
248
- <li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li>\
249
- <li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li>\
250
- <li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li>\
251
- <li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li>\
252
- <li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li>\
253
- <li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li>\
254
- <li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li>\
255
- <li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li>\
256
- </ul></div>\
257
- </td>\
258
- </tr>\
259
- <tr>\
260
- <th><label for="oscitas-icon-class">Custom Class:</label></th>\
261
- <td><input type="text" name="line" id="oscitas-icon-class" value=""/><br />\
262
- </td>\
263
- </tr>\
264
- </table>\
265
- <p class="submit">\
266
- <input type="button" id="oscitas-icon-submit" class="button-primary" value="Insert icon" name="submit" />\
267
- </p>\
268
- </div>');
269
-
270
- var table = form.find('table');
271
- jQuery('.glyphicon').css('display','inline');
272
- form.appendTo('body').hide();
273
- var t= table.find('#osc_icon_class_val_icon').val();
274
- table.find('#osc_show_icon_icon').removeClass().addClass('glyphicon').addClass(t);
275
- table.find('#click_icon_list_icon').click(function(){
276
- if(!jQuery(this).hasClass('osc_icon_showing_icon')){
277
- jQuery(this).addClass('osc_icon_showing_icon')
278
- table.find('#osc_show_iconlist_icon').show();
279
- } else{
280
- jQuery(this).removeClass('osc_icon_showing_icon')
281
- table.find('#osc_show_iconlist_icon').hide();
282
- }
283
- });
284
- table.find('#oscitas-heading-icon_icon li').click(function(){
285
- var val=jQuery(this).attr('data-value');
286
- table.find('#oscitas-heading-icon_icon li').removeClass('osc_icon_selected_button');
287
- jQuery(this).addClass('osc_icon_selected_button');
288
- table.find('#osc_show_iconlist_icon').hide();
289
- table.find('#osc_show_icon_icon').removeClass().addClass('glyphicon').addClass(val);
290
- table.find('#osc_icon_class_val_icon').val(val);
291
- })
292
-
293
-
294
-
295
-
296
-
297
-
298
- // handles the click event of the submit button
299
- form.find('#oscitas-icon-submit').click(function(){
300
- var cusclass;
301
- if(table.find('#oscitas-icon-class').val()!=''){
302
- cusclass= ' class="'+table.find('#oscitas-icon-class').val()+'"';
303
- }
304
- else{
305
- cusclass='';
306
- }
307
- var icon = table.find('#osc_icon_class_val_icon').val();
308
- var shortcode='';
309
- shortcode='[icon type="'+icon+'"'+cusclass+']'
310
-
311
- // inserts the shortcode into the active editor
312
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
313
-
314
- // closes fancybox
315
- jQuery.fancybox.close();
316
- });
317
- }
318
-
1
+ var icon={
2
+ title:"Icon Shortcode",
3
+ id :'oscitas-form-icon',
4
+ pluginName: 'icon'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(icon, 800);
8
+ })();
9
+
10
+ function create_oscitas_icon(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-heading-icon">Select Icon:</label></th>\
19
+ <td><div id="click_icon_list_icon" class="oscitas-icon-div"><span id="osc_show_icon_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_icon" value="glyphicon-adjust">\
20
+ <div id="osc_show_iconlist_icon" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon_icon" id="oscitas-heading-icon_icon" class="oscitas-icon-ul">\
21
+ <li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust osc_icon_selected_button"> </li>\
22
+ <li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li>\
23
+ <li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li>\
24
+ <li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li>\
25
+ <li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li>\
26
+ <li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li>\
27
+ <li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li>\
28
+ <li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li>\
29
+ <li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li>\
30
+ <li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li>\
31
+ <li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li>\
32
+ <li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li>\
33
+ <li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li>\
34
+ <li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li>\
35
+ <li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li>\
36
+ <li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li>\
37
+ <li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li>\
38
+ <li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li>\
39
+ <li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li>\
40
+ <li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li>\
41
+ <li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li>\
42
+ <li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li>\
43
+ <li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li>\
44
+ <li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li>\
45
+ <li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li>\
46
+ <li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li>\
47
+ <li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li>\
48
+ <li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li>\
49
+ <li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li>\
50
+ <li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li>\
51
+ <li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li>\
52
+ <li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li>\
53
+ <li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li>\
54
+ <li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li>\
55
+ <li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li>\
56
+ <li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li>\
57
+ <li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li>\
58
+ <li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li>\
59
+ <li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li>\
60
+ <li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li>\
61
+ <li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li>\
62
+ <li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li>\
63
+ <li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li>\
64
+ <li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li>\
65
+ <li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li>\
66
+ <li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li>\
67
+ <li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li>\
68
+ <li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li>\
69
+ <li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li>\
70
+ <li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li>\
71
+ <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
72
+ <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
73
+ <li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li>\
74
+ <li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li>\
75
+ <li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li>\
76
+ <li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li>\
77
+ <li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li>\
78
+ <li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li>\
79
+ <li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li>\
80
+ <li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li>\
81
+ <li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li>\
82
+ <li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li>\
83
+ <li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li>\
84
+ <li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li>\
85
+ <li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li>\
86
+ <li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li>\
87
+ <li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li>\
88
+ <li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li>\
89
+ <li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li>\
90
+ <li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li>\
91
+ <li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li>\
92
+ <li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li>\
93
+ <li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li>\
94
+ <li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li>\
95
+ <li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li>\
96
+ <li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li>\
97
+ <li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li>\
98
+ <li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li>\
99
+ <li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li>\
100
+ <li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li>\
101
+ <li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li>\
102
+ <li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li>\
103
+ <li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li>\
104
+ <li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li>\
105
+ <li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li>\
106
+ <li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li>\
107
+ <li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li>\
108
+ <li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li>\
109
+ <li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li>\
110
+ <li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li>\
111
+ <li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li>\
112
+ <li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li>\
113
+ <li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li>\
114
+ <li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li>\
115
+ <li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li>\
116
+ <li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li>\
117
+ <li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li>\
118
+ <li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li>\
119
+ <li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li>\
120
+ <li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li>\
121
+ <li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li>\
122
+ <li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li>\
123
+ <li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li>\
124
+ <li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li>\
125
+ <li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li>\
126
+ <li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li>\
127
+ <li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li>\
128
+ <li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li>\
129
+ <li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li>\
130
+ <li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li>\
131
+ <li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li>\
132
+ <li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li>\
133
+ <li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li>\
134
+ <li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li>\
135
+ <li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li>\
136
+ <li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li>\
137
+ <li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li>\
138
+ <li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li>\
139
+ <li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li>\
140
+ <li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li>\
141
+ <li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li>\
142
+ <li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li>\
143
+ <li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li>\
144
+ <li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li>\
145
+ <li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li>\
146
+ <li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li>\
147
+ <li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li>\
148
+ <li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li>\
149
+ <li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li>\
150
+ <li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li>\
151
+ <li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li>\
152
+ <li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li>\
153
+ <li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li>\
154
+ <li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li>\
155
+ <li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li>\
156
+ <li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li>\
157
+ <li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li>\
158
+ <li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li>\
159
+ <li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li>\
160
+ <li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li>\
161
+ <li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li>\
162
+ <li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li>\
163
+ <li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li>\
164
+ <li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li>\
165
+ <li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li>\
166
+ <li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li>\
167
+ <li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li>\
168
+ <li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li>\
169
+ <li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li>\
170
+ <li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li>\
171
+ <li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li>\
172
+ <li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li>\
173
+ <li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li>\
174
+ <li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li>\
175
+ <li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li>\
176
+ <li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li>\
177
+ <li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li>\
178
+ <li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li>\
179
+ <li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li>\
180
+ <li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li>\
181
+ <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li>\
182
+ <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li>\
183
+ <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li>\
184
+ <li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li>\
185
+ <li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li>\
186
+ <li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li>\
187
+ <li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li>\
188
+ <li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li>\
189
+ <li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li>\
190
+ <li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li>\
191
+ <li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li>\
192
+ <li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li>\
193
+ <li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li>\
194
+ <li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li>\
195
+ <li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li>\
196
+ <li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li>\
197
+ <li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li>\
198
+ <li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li>\
199
+ <li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li>\
200
+ <li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li>\
201
+ <li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li>\
202
+ <li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li>\
203
+ <li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li>\
204
+ <li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li>\
205
+ <li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li>\
206
+ <li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li>\
207
+ <li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li>\
208
+ <li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li>\
209
+ <li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li>\
210
+ <li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li>\
211
+ <li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li>\
212
+ <li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li>\
213
+ <li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li>\
214
+ <li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li>\
215
+ <li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li>\
216
+ <li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li>\
217
+ <li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li>\
218
+ <li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li>\
219
+ <li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li>\
220
+ <li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li>\
221
+ </ul></div>\
222
+ </td>\
223
+ </tr>\
224
+ <tr>\
225
+ <th><label for="oscitas-icon-iconcolor">Icon Color:</label></th>\
226
+ <td><input type="text" name="label" id="oscitas-icon-iconcolor" class="color" value="" /><br />\
227
+ </td>\
228
+ </tr>\
229
+ <tr>\
230
+ <th><label for="oscitas-icon-fontsize">Icon Font Size:</label></th>\
231
+ <td><input type="text" name="line" id="oscitas-icon-fontsize" value=""/>px\
232
+ </td>\
233
+ </tr>\
234
+ <tr>\
235
+ <th><label for="oscitas-icon-class">Custom Class:</label></th>\
236
+ <td><input type="text" name="line" id="oscitas-icon-class" value=""/><br />\
237
+ </td>\
238
+ </tr>\
239
+ </table>\
240
+ <p class="submit">\
241
+ <input type="button" id="oscitas-icon-submit" class="button-primary" value="Insert icon" name="submit" />\
242
+ </p>\
243
+ </div>');
244
+
245
+ var table = form.find('table');
246
+ jQuery('.glyphicon').css('display','inline');
247
+ form.appendTo('body').hide();
248
+ form.find('.color').wpColorPicker();
249
+ var t= table.find('#osc_icon_class_val_icon').val();
250
+ table.find('#osc_show_icon_icon').removeClass().addClass('glyphicon').addClass(t);
251
+ table.find('#click_icon_list_icon').click(function(){
252
+ if(!jQuery(this).hasClass('osc_icon_showing_icon')){
253
+ jQuery(this).addClass('osc_icon_showing_icon')
254
+ table.find('#osc_show_iconlist_icon').show();
255
+ } else{
256
+ jQuery(this).removeClass('osc_icon_showing_icon')
257
+ table.find('#osc_show_iconlist_icon').hide();
258
+ }
259
+ });
260
+ table.find('#oscitas-heading-icon_icon li').click(function(){
261
+ var val=jQuery(this).attr('data-value');
262
+ table.find('#oscitas-heading-icon_icon li').removeClass('osc_icon_selected_button');
263
+ jQuery(this).addClass('osc_icon_selected_button');
264
+ table.find('#osc_show_iconlist_icon').hide();
265
+ table.find('#osc_show_icon_icon').removeClass().addClass('glyphicon').addClass(val);
266
+ table.find('#osc_icon_class_val_icon').val(val);
267
+ })
268
+
269
+
270
+
271
+
272
+
273
+
274
+ // handles the click event of the submit button
275
+ form.find('#oscitas-icon-submit').click(function(){
276
+ var cusclass='';
277
+ if(table.find('#oscitas-icon-iconcolor').val()!=''){
278
+ cusclass+= ' color="'+table.find('#oscitas-icon-iconcolor').val()+'"';
279
+ }if(table.find('#oscitas-icon-fontsize').val()!=''){
280
+ cusclass+= ' fontsize="'+table.find('#oscitas-icon-fontsize').val()+'"';
281
+ }
282
+ if(table.find('#oscitas-icon-class').val()!=''){
283
+ cusclass+= ' class="'+table.find('#oscitas-icon-class').val()+'"';
284
+ }
285
+ var icon = table.find('#osc_icon_class_val_icon').val();
286
+ var shortcode='';
287
+ shortcode='[icon type="'+icon+'"'+cusclass+']'
288
+
289
+ // inserts the shortcode into the active editor
290
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
291
+
292
+ // closes fancybox
293
+ close_dialogue(pluginObj.hashId);
294
+ });
295
+ }
296
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/icon/plugin_shortcode.php CHANGED
@@ -1,17 +1,25 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * BUTTONS
5
- * ********************************************************* */
6
-
7
- function osc_theme_icon($params, $content = null) {
8
- extract(shortcode_atts(array(
9
- 'type' => '',
10
- 'class' => '',
11
- ), $params));
12
- $out = '<i class="glyphicon ' . $type . ' ' . $class . '"></i>';
13
- return $out;
14
- }
15
-
16
- add_shortcode('icon', 'osc_theme_icon');
17
-
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * BUTTONS
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_icon($params, $content = null) {
8
+ extract(shortcode_atts(array(
9
+ 'type' => '',
10
+ 'color'=>'',
11
+ 'class' => '',
12
+ 'fontsize'=>''
13
+ ), $params));
14
+ if($color!=''){
15
+ $color='color:'.$color.';';
16
+ }
17
+ if($fontsize!=''){
18
+ $fontsize=' font-size:'.$fontsize.'px;';
19
+ }
20
+ $out = '<i class="glyphicon ' . $type . ' ' . $class . '" style="'.$color.$fontsize.'"></i>';
21
+ return $out;
22
+ }
23
+
24
+ add_shortcode('icon', 'osc_theme_icon');
25
+
shortcode/iconhead/iconhead_plugin.js CHANGED
@@ -1,332 +1,306 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasIconhead', {
3
- init: function(ed, url) {
4
- ed.addButton('oscitasiconhead', {
5
- title: 'Icon Heading Shortcode',
6
- image: url + '/icon.png',
7
- onclick: function() {
8
- create_oscitas_iconhead();
9
- jQuery.fancybox({
10
- 'autoSize':false,
11
- 'autoWidth':false,
12
- 'fitToView':false,
13
- 'height':'auto',
14
- 'topRatio':0.2,
15
- 'type' : 'inline',
16
- 'title' : 'Icon Heading Shortcode',
17
- 'href' : '#oscitas-form-iconhead',
18
- 'width':600,
19
- helpers: {
20
- title : {
21
- type : 'over',
22
- position:'top'
23
- }
24
- }
25
- });
26
- }
27
- });
28
- },
29
- createControl: function(n, cm) {
30
- return null;
31
- },
32
- getInfo: function() {
33
- return {
34
- longname: "Icon Heading Shortcode",
35
- author : 'Oscitas Themes',
36
- authorurl : 'http://www.oscitasthemes.com/',
37
- infourl : 'http://www.oscitasthemes.com/',
38
- version : "."
39
- };
40
- }
41
- });
42
- tinymce.PluginManager.add('oscitasiconhead', tinymce.plugins.oscitasIconhead);
43
- })();
44
-
45
- function create_oscitas_iconhead(){
46
- if(jQuery('#oscitas-form-iconhead').length){
47
- jQuery('#oscitas-form-iconhead').remove();
48
- }
49
- // creates a form to be displayed everytime the button is clicked
50
- // you should achieve this using AJAX instead of direct html code like this
51
- var form = jQuery('<div id="oscitas-form-iconhead" class="oscitas-container"><table id="oscitas-table" class="form-table">\
52
- <tr>\
53
- <th><label for="oscitas-heading-icon">Select Icon:</label></th>\
54
- <td><div id="click_icon_list" class="oscitas-icon-div"><span id="osc_show_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val" value="">\
55
- <div id="osc_show_iconlist" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon" id="oscitas-heading-icon" class="oscitas-icon-ul">\
56
- <li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust"> </li>\
57
- <li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li>\
58
- <li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li>\
59
- <li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li>\
60
- <li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li>\
61
- <li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li>\
62
- <li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li>\
63
- <li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li>\
64
- <li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li>\
65
- <li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li>\
66
- <li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li>\
67
- <li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li>\
68
- <li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li>\
69
- <li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li>\
70
- <li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li>\
71
- <li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li>\
72
- <li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li>\
73
- <li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li>\
74
- <li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li>\
75
- <li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li>\
76
- <li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li>\
77
- <li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li>\
78
- <li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li>\
79
- <li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li>\
80
- <li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li>\
81
- <li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li>\
82
- <li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li>\
83
- <li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li>\
84
- <li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li>\
85
- <li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li>\
86
- <li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li>\
87
- <li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li>\
88
- <li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li>\
89
- <li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li>\
90
- <li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li>\
91
- <li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li>\
92
- <li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li>\
93
- <li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li>\
94
- <li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li>\
95
- <li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li>\
96
- <li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li>\
97
- <li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li>\
98
- <li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li>\
99
- <li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li>\
100
- <li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li>\
101
- <li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li>\
102
- <li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li>\
103
- <li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li>\
104
- <li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li>\
105
- <li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li>\
106
- <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
107
- <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
108
- <li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li>\
109
- <li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li>\
110
- <li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li>\
111
- <li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li>\
112
- <li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li>\
113
- <li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li>\
114
- <li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li>\
115
- <li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li>\
116
- <li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li>\
117
- <li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li>\
118
- <li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li>\
119
- <li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li>\
120
- <li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li>\
121
- <li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li>\
122
- <li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li>\
123
- <li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li>\
124
- <li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li>\
125
- <li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li>\
126
- <li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li>\
127
- <li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li>\
128
- <li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li>\
129
- <li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li>\
130
- <li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li>\
131
- <li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li>\
132
- <li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li>\
133
- <li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li>\
134
- <li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li>\
135
- <li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li>\
136
- <li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li>\
137
- <li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li>\
138
- <li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li>\
139
- <li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li>\
140
- <li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li>\
141
- <li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li>\
142
- <li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li>\
143
- <li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li>\
144
- <li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li>\
145
- <li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li>\
146
- <li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li>\
147
- <li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li>\
148
- <li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li>\
149
- <li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li>\
150
- <li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li>\
151
- <li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li>\
152
- <li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li>\
153
- <li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li>\
154
- <li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li>\
155
- <li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li>\
156
- <li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li>\
157
- <li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li>\
158
- <li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li>\
159
- <li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li>\
160
- <li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li>\
161
- <li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li>\
162
- <li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li>\
163
- <li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li>\
164
- <li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li>\
165
- <li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li>\
166
- <li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li>\
167
- <li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li>\
168
- <li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li>\
169
- <li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li>\
170
- <li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li>\
171
- <li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li>\
172
- <li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li>\
173
- <li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li>\
174
- <li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li>\
175
- <li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li>\
176
- <li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li>\
177
- <li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li>\
178
- <li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li>\
179
- <li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li>\
180
- <li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li>\
181
- <li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li>\
182
- <li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li>\
183
- <li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li>\
184
- <li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li>\
185
- <li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li>\
186
- <li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li>\
187
- <li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li>\
188
- <li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li>\
189
- <li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li>\
190
- <li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li>\
191
- <li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li>\
192
- <li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li>\
193
- <li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li>\
194
- <li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li>\
195
- <li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li>\
196
- <li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li>\
197
- <li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li>\
198
- <li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li>\
199
- <li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li>\
200
- <li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li>\
201
- <li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li>\
202
- <li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li>\
203
- <li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li>\
204
- <li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li>\
205
- <li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li>\
206
- <li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li>\
207
- <li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li>\
208
- <li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li>\
209
- <li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li>\
210
- <li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li>\
211
- <li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li>\
212
- <li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li>\
213
- <li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li>\
214
- <li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li>\
215
- <li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li>\
216
- <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li>\
217
- <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li>\
218
- <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li>\
219
- <li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li>\
220
- <li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li>\
221
- <li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li>\
222
- <li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li>\
223
- <li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li>\
224
- <li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li>\
225
- <li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li>\
226
- <li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li>\
227
- <li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li>\
228
- <li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li>\
229
- <li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li>\
230
- <li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li>\
231
- <li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li>\
232
- <li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li>\
233
- <li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li>\
234
- <li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li>\
235
- <li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li>\
236
- <li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li>\
237
- <li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li>\
238
- <li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li>\
239
- <li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li>\
240
- <li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li>\
241
- <li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li>\
242
- <li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li>\
243
- <li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li>\
244
- <li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li>\
245
- <li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li>\
246
- <li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li>\
247
- <li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li>\
248
- <li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li>\
249
- <li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li>\
250
- <li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li>\
251
- <li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li>\
252
- <li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li>\
253
- <li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li>\
254
- <li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li>\
255
- <li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li>\
256
- </ul></div>\
257
- </td>\
258
- </tr>\
259
- <tr>\
260
- <th><label for="oscitas-iconhead-headingtype">Heading Type:</label></th>\
261
- <td><select name="oscitas-iconhead-headingtype" id="oscitas-iconhead-headingtype">\
262
- <option value="h1">H1</option>\
263
- <option value="h2">H2</option>\
264
- <option value="h3">H3</option>\
265
- <option value="h4">H4</option>\
266
- <option value="h5">H5</option>\
267
- <option value="h6">H6</option>\
268
- </select><br />\
269
- </td>\
270
- </tr>\
271
- <tr>\
272
- <th><label for="oscitas-iconhead-heading">Heading:</label></th>\
273
- <td><input type="text" name="oscitas-iconhead-heading" id="oscitas-iconhead-heading" value="Heading"/><br />\
274
- </td>\
275
- </tr>\
276
- <tr>\
277
- <th><label for="oscitas-iconhead-class">Custom Class:</label></th>\
278
- <td><input type="text" name="line" id="oscitas-iconhead-class" value=""/><br />\
279
- </td>\
280
- </tr>\
281
- </table>\
282
- <p class="submit">\
283
- <input type="button" id="oscitas-iconhead-submit" class="button-primary" value="Insert Icon Heading" name="submit" />\
284
- </p>\
285
- </div>');
286
-
287
- var table = form.find('table');
288
- jQuery('.glyphicon').css('display','inline');
289
- form.appendTo('body').hide();
290
- table.find('#click_icon_list').click(function(){
291
- if(!jQuery(this).hasClass('osc_icon_showing')){
292
- jQuery(this).addClass('osc_icon_showing')
293
- jQuery('#osc_show_iconlist').show();
294
- } else{
295
- jQuery(this).removeClass('osc_icon_showing')
296
- jQuery('#osc_show_iconlist').hide();
297
- }
298
- });
299
- table.find('#oscitas-heading-icon li').click(function(){
300
- var val=jQuery(this).attr('data-value');
301
- table.find('#oscitas-heading-icon li').removeClass('osc_icon_selected');
302
- jQuery(this).addClass('osc_icon_selected');
303
- jQuery('#osc_show_iconlist').hide();
304
- jQuery('#osc_show_icon').removeClass().addClass('glyphicon').addClass(val);
305
- jQuery('#osc_icon_class_val').val(val);
306
- })
307
- // // handles the click event of the submit button
308
- form.find('#oscitas-iconhead-submit').click(function() {
309
- // defines the options and their default values
310
- // again, this is not the most elegant way to do this
311
- // but well, this gets the job done nonetheless
312
- var type=jQuery('#oscitas-iconhead-headingtype').val();
313
- var cusclass='',style='';
314
- if(table.find('#osc_icon_class_val').val()!=''){
315
- style=' style="' + table.find('#osc_icon_class_val').val()+'"' ;
316
- }
317
- if(table.find('#oscitas-iconhead-class').val()!=''){
318
- cusclass= ' class="'+table.find('#oscitas-iconhead-class').val()+'"';
319
- }
320
- var shortcode = '[iconheading type="'+type+'"';
321
-
322
- shortcode += style+cusclass ;
323
-
324
- shortcode += ']'+table.find('#oscitas-iconhead-heading').val()+'[/iconheading]' ;
325
-
326
- // inserts the shortcode into the active editor
327
- tinyMCE.activeEditor.execCommand('mceInsertContent',0 , shortcode);
328
-
329
- jQuery.fancybox.close();
330
- });
331
- }
332
-
1
+ var iconhead={
2
+ title:"Icon Heading Shortcode",
3
+ id :'oscitas-form-iconhead',
4
+ pluginName: 'iconhead'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(iconhead, 800);
8
+ })();
9
+
10
+ function create_oscitas_iconhead(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-heading-icon">Select Icon:</label></th>\
19
+ <td><div id="click_icon_list" class="oscitas-icon-div"><span id="osc_show_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val" value="">\
20
+ <div id="osc_show_iconlist" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon" id="oscitas-heading-icon" class="oscitas-icon-ul">\
21
+ <li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust"> </li>\
22
+ <li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li>\
23
+ <li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li>\
24
+ <li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li>\
25
+ <li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li>\
26
+ <li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li>\
27
+ <li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li>\
28
+ <li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li>\
29
+ <li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li>\
30
+ <li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li>\
31
+ <li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li>\
32
+ <li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li>\
33
+ <li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li>\
34
+ <li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li>\
35
+ <li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li>\
36
+ <li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li>\
37
+ <li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li>\
38
+ <li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li>\
39
+ <li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li>\
40
+ <li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li>\
41
+ <li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li>\
42
+ <li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li>\
43
+ <li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li>\
44
+ <li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li>\
45
+ <li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li>\
46
+ <li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li>\
47
+ <li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li>\
48
+ <li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li>\
49
+ <li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li>\
50
+ <li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li>\
51
+ <li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li>\
52
+ <li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li>\
53
+ <li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li>\
54
+ <li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li>\
55
+ <li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li>\
56
+ <li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li>\
57
+ <li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li>\
58
+ <li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li>\
59
+ <li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li>\
60
+ <li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li>\
61
+ <li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li>\
62
+ <li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li>\
63
+ <li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li>\
64
+ <li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li>\
65
+ <li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li>\
66
+ <li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li>\
67
+ <li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li>\
68
+ <li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li>\
69
+ <li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li>\
70
+ <li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li>\
71
+ <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
72
+ <li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
73
+ <li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li>\
74
+ <li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li>\
75
+ <li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li>\
76
+ <li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li>\
77
+ <li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li>\
78
+ <li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li>\
79
+ <li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li>\
80
+ <li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li>\
81
+ <li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li>\
82
+ <li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li>\
83
+ <li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li>\
84
+ <li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li>\
85
+ <li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li>\
86
+ <li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li>\
87
+ <li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li>\
88
+ <li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li>\
89
+ <li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li>\
90
+ <li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li>\
91
+ <li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li>\
92
+ <li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li>\
93
+ <li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li>\
94
+ <li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li>\
95
+ <li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li>\
96
+ <li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li>\
97
+ <li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li>\
98
+ <li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li>\
99
+ <li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li>\
100
+ <li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li>\
101
+ <li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li>\
102
+ <li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li>\
103
+ <li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li>\
104
+ <li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li>\
105
+ <li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li>\
106
+ <li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li>\
107
+ <li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li>\
108
+ <li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li>\
109
+ <li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li>\
110
+ <li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li>\
111
+ <li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li>\
112
+ <li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li>\
113
+ <li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li>\
114
+ <li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li>\
115
+ <li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li>\
116
+ <li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li>\
117
+ <li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li>\
118
+ <li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li>\
119
+ <li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li>\
120
+ <li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li>\
121
+ <li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li>\
122
+ <li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li>\
123
+ <li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li>\
124
+ <li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li>\
125
+ <li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li>\
126
+ <li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li>\
127
+ <li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li>\
128
+ <li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li>\
129
+ <li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li>\
130
+ <li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li>\
131
+ <li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li>\
132
+ <li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li>\
133
+ <li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li>\
134
+ <li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li>\
135
+ <li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li>\
136
+ <li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li>\
137
+ <li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li>\
138
+ <li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li>\
139
+ <li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li>\
140
+ <li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li>\
141
+ <li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li>\
142
+ <li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li>\
143
+ <li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li>\
144
+ <li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li>\
145
+ <li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li>\
146
+ <li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li>\
147
+ <li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li>\
148
+ <li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li>\
149
+ <li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li>\
150
+ <li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li>\
151
+ <li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li>\
152
+ <li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li>\
153
+ <li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li>\
154
+ <li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li>\
155
+ <li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li>\
156
+ <li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li>\
157
+ <li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li>\
158
+ <li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li>\
159
+ <li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li>\
160
+ <li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li>\
161
+ <li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li>\
162
+ <li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li>\
163
+ <li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li>\
164
+ <li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li>\
165
+ <li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li>\
166
+ <li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li>\
167
+ <li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li>\
168
+ <li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li>\
169
+ <li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li>\
170
+ <li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li>\
171
+ <li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li>\
172
+ <li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li>\
173
+ <li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li>\
174
+ <li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li>\
175
+ <li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li>\
176
+ <li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li>\
177
+ <li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li>\
178
+ <li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li>\
179
+ <li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li>\
180
+ <li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li>\
181
+ <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li>\
182
+ <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li>\
183
+ <li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li>\
184
+ <li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li>\
185
+ <li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li>\
186
+ <li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li>\
187
+ <li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li>\
188
+ <li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li>\
189
+ <li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li>\
190
+ <li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li>\
191
+ <li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li>\
192
+ <li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li>\
193
+ <li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li>\
194
+ <li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li>\
195
+ <li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li>\
196
+ <li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li>\
197
+ <li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li>\
198
+ <li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li>\
199
+ <li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li>\
200
+ <li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li>\
201
+ <li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li>\
202
+ <li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li>\
203
+ <li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li>\
204
+ <li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li>\
205
+ <li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li>\
206
+ <li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li>\
207
+ <li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li>\
208
+ <li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li>\
209
+ <li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li>\
210
+ <li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li>\
211
+ <li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li>\
212
+ <li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li>\
213
+ <li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li>\
214
+ <li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li>\
215
+ <li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li>\
216
+ <li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li>\
217
+ <li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li>\
218
+ <li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li>\
219
+ <li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li>\
220
+ <li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li>\
221
+ </ul></div>\
222
+ </td>\
223
+ </tr>\
224
+ <tr>\
225
+ <th><label for="oscitas-iconhead-iconcolor">Icon Color:</label></th>\
226
+ <td><input type="text" name="label" id="oscitas-iconhead-iconcolor" class="color" value="" /><br />\
227
+ </td>\
228
+ </tr>\
229
+ <tr>\
230
+ <th><label for="oscitas-iconhead-headingtype">Heading Type:</label></th>\
231
+ <td><select name="oscitas-iconhead-headingtype" id="oscitas-iconhead-headingtype">\
232
+ <option value="h1">H1</option>\
233
+ <option value="h2">H2</option>\
234
+ <option value="h3">H3</option>\
235
+ <option value="h4">H4</option>\
236
+ <option value="h5">H5</option>\
237
+ <option value="h6">H6</option>\
238
+ </select><br />\
239
+ </td>\
240
+ </tr>\
241
+ <tr>\
242
+ <th><label for="oscitas-iconhead-heading">Heading:</label></th>\
243
+ <td><input type="text" name="oscitas-iconhead-heading" id="oscitas-iconhead-heading" value="Heading"/><br />\
244
+ </td>\
245
+ </tr>\
246
+ <tr>\
247
+ <th><label for="oscitas-iconhead-class">Custom Class:</label></th>\
248
+ <td><input type="text" name="line" id="oscitas-iconhead-class" value=""/><br />\
249
+ </td>\
250
+ </tr>\
251
+ </table>\
252
+ <p class="submit">\
253
+ <input type="button" id="oscitas-iconhead-submit" class="button-primary" value="Insert Icon Heading" name="submit" />\
254
+ </p>\
255
+ </div>');
256
+
257
+ var table = form.find('table');
258
+ jQuery('.glyphicon').css('display','inline');
259
+ form.appendTo('body').hide();
260
+ form.find('.color').wpColorPicker();
261
+ table.find('#click_icon_list').click(function(){
262
+ if(!jQuery(this).hasClass('osc_icon_showing')){
263
+ jQuery(this).addClass('osc_icon_showing')
264
+ jQuery('#osc_show_iconlist').show();
265
+ } else{
266
+ jQuery(this).removeClass('osc_icon_showing')
267
+ jQuery('#osc_show_iconlist').hide();
268
+ }
269
+ });
270
+ table.find('#oscitas-heading-icon li').click(function(){
271
+ var val=jQuery(this).attr('data-value');
272
+ table.find('#oscitas-heading-icon li').removeClass('osc_icon_selected');
273
+ jQuery(this).addClass('osc_icon_selected');
274
+ jQuery('#osc_show_iconlist').hide();
275
+ jQuery('#osc_show_icon').removeClass().addClass('glyphicon').addClass(val);
276
+ jQuery('#osc_icon_class_val').val(val);
277
+ })
278
+ // // handles the click event of the submit button
279
+ form.find('#oscitas-iconhead-submit').click(function() {
280
+ // defines the options and their default values
281
+ // again, this is not the most elegant way to do this
282
+ // but well, this gets the job done nonetheless
283
+ var type=jQuery('#oscitas-iconhead-headingtype').val();
284
+ var cusclass='',style='';
285
+ if(table.find('#osc_icon_class_val').val()!=''){
286
+ style=' style="' + table.find('#osc_icon_class_val').val()+'"' ;
287
+ }
288
+ if(table.find('#oscitas-iconhead-iconcolor').val()!=''){
289
+ cusclass+= ' color="'+table.find('#oscitas-iconhead-iconcolor').val()+'"';
290
+ }
291
+ if(table.find('#oscitas-iconhead-class').val()!=''){
292
+ cusclass+= ' class="'+table.find('#oscitas-iconhead-class').val()+'"';
293
+ }
294
+ var shortcode = '[iconheading type="'+type+'"';
295
+
296
+ shortcode += style+cusclass ;
297
+
298
+ shortcode += ']'+table.find('#oscitas-iconhead-heading').val()+'[/iconheading]' ;
299
+
300
+ // inserts the shortcode into the active editor
301
+ tinyMCE.activeEditor.execCommand('mceInsertContent',0 , shortcode);
302
+
303
+ close_dialogue(pluginObj.hashId);
304
+ });
305
+ }
306
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/iconhead/iconhead_plugin.min.js DELETED
@@ -1,6 +0,0 @@
1
- tinymce.create("tinymce.plugins.oscitasIconhead",{t:function(b,a){b.h("oscitasiconhead",{title:"Icon Heading Shortcode",r:a+"/icon.png",onclick:function(){e();jQuery.e({autoSize:!1,autoWidth:!1,fitToView:!1,height:"auto",topRatio:0.2,type:"inline",title:"Icon Heading Shortcode",href:"#oscitas-form-iconhead",width:600,q:{title:{type:"over",position:"top"}}})}})},m:function(){return null},o:function(){return{u:"Icon Heading Shortcode",k:"Oscitas Themes",l:"http://www.oscitasthemes.com/",s:"http://www.oscitasthemes.com/",
2
- version:"."}}});tinymce.f.add("oscitasiconhead",tinymce.plugins.v);
3
- function e(){jQuery("#oscitas-form-iconhead").length&&jQuery("#oscitas-form-iconhead").remove();var b=jQuery('<div id="oscitas-form-iconhead"><table id="oscitas-table" class="form-table">\t\t\t<tr>\t\t\t\t<th><label for="oscitas-heading-icon">Select Icon:</label></th>\t\t\t\t<td><div id="click_icon_list" class="oscitas-icon-div"><span id="osc_show_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val" value=""><div id="osc_show_iconlist" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon" id="oscitas-heading-icon" class="oscitas-icon-ul"><li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust"> </li><li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li><li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li><li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li><li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li><li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li><li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li><li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li><li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li><li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li><li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li><li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li><li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li><li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li><li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li><li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li><li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li><li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li><li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li><li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li><li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li><li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li><li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li><li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li><li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li><li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li><li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li><li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li><li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li><li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li><li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li><li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li><li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li><li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li><li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li><li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li><li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li><li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li><li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li><li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li><li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li><li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li><li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li><li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li><li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li><li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li><li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li><li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li><li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li><li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li><li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li><li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li><li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li><li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li><li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li><li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li><li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li><li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li><li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li><li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li><li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li><li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li><li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li><li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li><li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li><li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li><li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li><li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li><li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li><li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li><li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li><li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li><li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li><li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li><li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li><li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li><li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li><li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li><li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li><li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li><li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li><li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li><li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li><li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li><li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li><li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li><li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li><li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li><li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li><li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li><li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li><li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li><li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li><li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li><li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li><li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li><li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li><li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li><li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li><li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li><li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li><li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li><li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li><li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li><li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li><li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li><li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li><li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li><li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li><li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li><li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li><li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li><li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li><li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li><li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li><li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li><li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li><li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li><li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li><li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li><li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li><li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li><li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li><li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li><li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li><li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li><li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li><li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li><li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li><li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li><li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li><li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li><li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li><li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li><li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li><li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li><li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li><li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li><li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li><li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li><li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li><li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li><li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li><li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li><li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li><li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li><li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li><li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li><li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li><li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li><li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li><li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li><li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li><li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li><li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li><li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li><li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li><li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li><li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li><li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li><li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li><li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li><li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li><li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li><li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li><li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li><li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li><li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li><li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li><li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li><li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li><li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li><li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li><li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li><li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li><li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li><li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li><li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li><li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li><li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li><li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li><li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li><li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li><li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li><li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li><li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li><li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li><li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li><li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li><li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li><li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li><li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li><li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li><li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li><li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li><li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li><li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li><li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li><li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li><li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li></ul></div>\t\t\t\t</td>\t\t\t</tr><tr>\t\t\t\t<th><label for="oscitas-iconhead-headingtype">Heading Type:</label></th>\t\t\t\t<td><select name="oscitas-iconhead-headingtype" id="oscitas-iconhead-headingtype"><option value="h1">H1</option><option value="h2">H2</option><option value="h3">H3</option><option value="h4">H4</option><option value="h5">H5</option><option value="h6">H6</option></select><br />\t\t\t\t</td>\t\t\t</tr>\t<tr>\t\t\t\t<th><label for="oscitas-iconhead-heading">Heading:</label></th>\t\t\t\t<td><input type="text" name="oscitas-iconhead-heading" id="oscitas-iconhead-heading" value="Heading"/><br />\t\t\t\t</td>\t\t\t</tr><tr>\t\t\t\t<th><label for="oscitas-iconhead-class">Custom Class:</label></th>\t\t\t\t<td><input type="text" name="line" id="oscitas-iconhead-class" value=""/><br />\t\t\t\t</td>\t\t\t</tr>\t\t</table>\t\t<p class="submit">\t\t\t<input type="button" id="oscitas-iconhead-submit" class="button-primary" value="Insert Icon Heading" name="submit" />\t\t</p>\t\t</div>'),a=
4
- b.find("table");jQuery(".glyphicon").n("display","inline");b.i("body").c();a.find("#click_icon_list").click(function(){jQuery(this).p("osc_icon_showing")?(jQuery(this).d("osc_icon_showing"),jQuery("#osc_show_iconlist").c()):(jQuery(this).b("osc_icon_showing"),jQuery("#osc_show_iconlist").show())});a.find("#oscitas-heading-icon li").click(function(){var c=jQuery(this).j("data-value");a.find("#oscitas-heading-icon li").d("osc_icon_selected");jQuery(this).b("osc_icon_selected");jQuery("#osc_show_iconlist").c();
5
- jQuery("#osc_show_icon").d().b("glyphicon").b(c);jQuery("#osc_icon_class_val").a(c)});b.find("#oscitas-iconhead-submit").click(function(){var c=jQuery("#oscitas-iconhead-headingtype").a(),b="",d="";""!=a.find("#osc_icon_class_val").a()&&(d=' style="'+a.find("#osc_icon_class_val").a()+'"');""!=a.find("#oscitas-iconhead-class").a()&&(b=' class="'+a.find("#oscitas-iconhead-class").a()+'"');c='[iconheading type="'+c+'"'+(d+b);c+="]"+a.find("#oscitas-iconhead-heading").a()+"[/iconheading]";tinyMCE.g.execCommand("mceInsertContent",
6
- 0,c);jQuery.e.close()})};
 
 
 
 
 
 
shortcode/iconhead/plugin_shortcode.php CHANGED
@@ -1,22 +1,26 @@
1
- <?php
2
-
3
- function osc_theme_iconhead($params, $content = null) {
4
- extract(shortcode_atts(array(
5
- 'class' => '',
6
- 'style' => '',
7
- 'type' => 'h1'
8
- ), $params));
9
- $out = '';
10
- if ($style != '') {
11
- $style = ' <span class="glyphicon ' . $style . '"></span> ';
12
- }
13
- if ($class != '') {
14
- $class = ' class="' . $class . '"';
15
- }
16
- $out = '<' . $type . $class . '>' . $style . do_shortcode($content) . '</' . $type . '>';
17
-
18
- return $out;
19
- }
20
-
21
- add_shortcode('iconheading', 'osc_theme_iconhead');
22
-
 
 
 
 
1
+ <?php
2
+
3
+ function osc_theme_iconhead($params, $content = null) {
4
+ extract(shortcode_atts(array(
5
+ 'class' => '',
6
+ 'style' => '',
7
+ 'type' => 'h1',
8
+ 'color'=>''
9
+ ), $params));
10
+ $out = '';
11
+ if($color!=''){
12
+ $color='style="color:'.$color.';"';
13
+ }
14
+ if ($style != '') {
15
+ $style = ' <span class="glyphicon ' . $style . '" '.$color.'></span> ';
16
+ }
17
+ if ($class != '') {
18
+ $class = ' class="' . $class . '"';
19
+ }
20
+ $out = '<' . $type . $class . '>' . $style . do_shortcode($content) . '</' . $type . '>';
21
+
22
+ return $out;
23
+ }
24
+
25
+ add_shortcode('iconheading', 'osc_theme_iconhead');
26
+
shortcode/image/image_plugin.js CHANGED
@@ -1,124 +1,94 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasImage', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasimage', {
5
- title : 'Image Effects Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_image();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Image Effects Shortcode',
12
- 'href' : '#oscitas-form-image',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
-
20
- });
21
- }
22
- });
23
- },
24
- createControl : function(n, cm) {
25
- return null;
26
- },
27
- getInfo : function() {
28
- return {
29
- longname : "Image Effects Shortcode",
30
- author : 'Oscitas Themes',
31
- authorurl : 'http://www.oscitasthemes.com/',
32
- infourl : 'http://www.oscitasthemes.com/',
33
- version : "2.0.0"
34
- };
35
- }
36
- });
37
- tinymce.PluginManager.add('oscitasimage', tinymce.plugins.oscitasImage);
38
- })();
39
-
40
- function create_oscitas_image(){
41
- if(jQuery('#oscitas-form-image').length){
42
- jQuery('#oscitas-form-image').remove();
43
- }
44
- // creates a form to be displayed everytime the button is clicked
45
- // you should achieve this using AJAX instead of direct html code like this
46
- var form = jQuery('<div id="oscitas-form-image" class="oscitas-container"><table id="oscitas-table" class="form-table">\
47
- <th><label for="oscitas-label-content">Upload Image:</label></th>\
48
- <td id="osc_image_upload"><input id="oscitas-image-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
49
- <input id="_btn" class="upload_image_button" type="button" value="Upload Image" />\
50
- </td>\
51
- </tr>\
52
- <tr>\
53
- <th><label for="oscitas-image-shape">Image Shape:</label></th>\
54
- <td><select name="oscitas-image-shape" id="oscitas-image-shape">\
55
- <option value="img-rounded">Rounded</option>\
56
- <option value="img-circle">Circle</option>\
57
- <option value="img-thumbnail">Thumbnail</option>\
58
- </select>\
59
- </td>\
60
- </tr>\
61
- <tr>\
62
- <th><label for="oscitas-image-class">Custom Class:</label></th>\
63
- <td><input type="text" name="line" id="oscitas-image-class" value=""/><br />\
64
- </td>\
65
- </tr>\
66
- </table>\
67
- <p class="submit">\
68
- <input type="button" id="oscitas-image-submit" class="button-primary" value="Insert Image" name="submit" />\
69
- </p>\
70
- </div>');
71
-
72
- var table = form.find('table');
73
- form.appendTo('body').hide();
74
-
75
-
76
- form.find('.upload_image_button').click(function() {
77
- jQuery('.fancybox-overlay').css('z-index',100);
78
- jQuery('html').addClass('Image');
79
- formfield = jQuery(this).prev().attr('id');
80
- tb_show('', 'media-upload.php?type=image&amp;TB_iframe=true');
81
- return false;
82
- });
83
-
84
- window.original_send_to_editor = window.send_to_editor;
85
-
86
- window.send_to_editor = function(html) {
87
- if (formfield) {
88
- if (jQuery(html).find('img').length) {
89
- fileurl = jQuery('img', html).attr('src');
90
- } else if (jQuery(html).attr('src')) {
91
- fileurl = jQuery(html).attr('src');
92
- }
93
- jQuery('#' + formfield).val(fileurl);
94
- tb_remove();
95
- form.find('#osc_image_upload img').remove();
96
- form.find('#osc_image_upload').append('<img src="'+fileurl+'">')
97
- jQuery('html').removeClass('Image');
98
-
99
- } else {
100
- window.original_send_to_editor(html);
101
- }
102
-
103
- };
104
-
105
-
106
- // handles the click event of the submit button
107
- form.find('#oscitas-image-submit').click(function(){
108
- var shortcode='';
109
- var shape=form.find('#oscitas-image-shape').val();
110
- var cusclass='';
111
- if(table.find('#oscitas-image-class').val()!=''){
112
- cusclass= ' class="'+table.find('#oscitas-image-class').val()+'"';
113
- }
114
- if(form.find('#oscitas-image-src').val()!=''){
115
- shortcode = '[image'+cusclass+' src="'+form.find('#oscitas-image-src').val()+'" shape="'+shape+'"]';
116
- }
117
- // inserts the shortcode into the active editor
118
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
119
-
120
- // closes fancybox
121
- jQuery.fancybox.close();
122
- });
123
- }
124
-
1
+ var image={
2
+ title:"Image Effects Shortcode",
3
+ id :'oscitas-form-image',
4
+ pluginName: 'image'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(image);
8
+ })();
9
+
10
+ function create_oscitas_image(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr><th><label for="oscitas-label-content">Upload Image:</label></th>\
18
+ <td id="osc_image_upload"><input id="oscitas-image-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
19
+ <input id="_btn" class="upload_image_button" type="button" value="Upload Image" />\
20
+ </td>\
21
+ </tr>\
22
+ <tr>\
23
+ <th><label for="oscitas-image-shape">Image Shape:</label></th>\
24
+ <td><select name="oscitas-image-shape" id="oscitas-image-shape">\
25
+ <option value="img-rounded">Rounded</option>\
26
+ <option value="img-circle">Circle</option>\
27
+ <option value="img-thumbnail">Thumbnail</option>\
28
+ </select>\
29
+ </td>\
30
+ </tr>\
31
+ <tr>\
32
+ <th><label for="oscitas-image-class">Custom Class:</label></th>\
33
+ <td><input type="text" name="line" id="oscitas-image-class" value=""/><br />\
34
+ </td>\
35
+ </tr>\
36
+ </table>\
37
+ <p class="submit">\
38
+ <input type="button" id="oscitas-image-submit" class="button-primary" value="Insert Image" name="submit" />\
39
+ </p>\
40
+ </div>');
41
+
42
+ var table = form.find('table');
43
+ form.appendTo('body').hide();
44
+
45
+
46
+ form.find('.upload_image_button').click(function() {
47
+ jQuery('.ui-widget-overlay, .ui-dialog').css('z-index',100);
48
+ jQuery('html').addClass('Image');
49
+ formfield = jQuery(this).prev().attr('id');
50
+ tb_show('', 'media-upload.php?type=image&amp;TB_iframe=true');
51
+ return false;
52
+ });
53
+
54
+ window.original_send_to_editor = window.send_to_editor;
55
+
56
+ window.send_to_editor = function(html) {
57
+ if (formfield) {
58
+ if (jQuery(html).find('img').length) {
59
+ fileurl = jQuery('img', html).attr('src');
60
+ } else if (jQuery(html).attr('src')) {
61
+ fileurl = jQuery(html).attr('src');
62
+ }
63
+ jQuery('#' + formfield).val(fileurl);
64
+ tb_remove();
65
+ form.find('#osc_image_upload img').remove();
66
+ form.find('#osc_image_upload').append('<img src="'+fileurl+'">')
67
+ jQuery('html').removeClass('Image');
68
+
69
+ } else {
70
+ window.original_send_to_editor(html);
71
+ }
72
+
73
+ };
74
+
75
+
76
+ // handles the click event of the submit button
77
+ form.find('#oscitas-image-submit').click(function(){
78
+ var shortcode='';
79
+ var shape=form.find('#oscitas-image-shape').val();
80
+ var cusclass='';
81
+ if(table.find('#oscitas-image-class').val()!=''){
82
+ cusclass= ' class="'+table.find('#oscitas-image-class').val()+'"';
83
+ }
84
+ if(form.find('#oscitas-image-src').val()!=''){
85
+ shortcode = '[image'+cusclass+' src="'+form.find('#oscitas-image-src').val()+'" shape="'+shape+'"]';
86
+ }
87
+ // inserts the shortcode into the active editor
88
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
89
+
90
+ // closes Dialoguebox
91
+ close_dialogue(pluginObj.hashId);
92
+ });
93
+ }
94
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/image/plugin_shortcode.php CHANGED
@@ -1,22 +1,22 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * BUTTONS
5
- * ********************************************************* */
6
-
7
- function osc_theme_image($params, $content = 'Label') {
8
- extract(shortcode_atts(array(
9
- 'src' => '',
10
- 'class' => '',
11
- 'shape' => ''
12
- ), $params));
13
- $out = '';
14
-
15
-
16
- $out = '<img src="' . $src . '" class="' . $class .' '. $shape . '">';
17
-
18
- return $out;
19
- }
20
-
21
- add_shortcode('image', 'osc_theme_image');
22
-
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * BUTTONS
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_image($params, $content = 'Label') {
8
+ extract(shortcode_atts(array(
9
+ 'src' => '',
10
+ 'class' => '',
11
+ 'shape' => ''
12
+ ), $params));
13
+ $out = '';
14
+
15
+
16
+ $out = '<img src="' . $src . '" class="' . $class .' '. $shape . '">';
17
+
18
+ return $out;
19
+ }
20
+
21
+ add_shortcode('image', 'osc_theme_image');
22
+
shortcode/labels/labels_plugin.js CHANGED
@@ -1,97 +1,68 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasLabels', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitaslabels', {
5
- title : 'Label Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_label();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Label Shortcode',
12
- 'href' : '#oscitas-form-label',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl : function(n, cm) {
24
- return null;
25
- },
26
- getInfo : function() {
27
- return {
28
- longname : "Label Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitaslabels', tinymce.plugins.oscitasLabels);
37
- })();
38
-
39
- function create_oscitas_label(){
40
- if(jQuery('#oscitas-form-label').length){
41
- jQuery('#oscitas-form-label').remove();
42
- }
43
- // creates a form to be displayed everytime the button is clicked
44
- // you should achieve this using AJAX instead of direct html code like this
45
- var form = jQuery('<div id="oscitas-form-label" class="oscitas-container"><table id="oscitas-table" class="form-table">\
46
- <tr>\
47
- <th><label for="oscitas-label-type">Label Type:</label></th>\
48
- <td><select name="type" id="oscitas-label-type">\
49
- <option value="label-default">Default</option>\
50
- <option value="label-primary">Primary</option>\
51
- <option value="label-success">Success</option>\
52
- <option value="label-info">Information</option>\
53
- <option value="label-warning">Warning</option>\
54
- <option value="label-danger">Danger</option>\
55
- </select><br />\
56
- </td>\
57
- </tr>\
58
- <tr>\
59
- <th><label for="oscitas-label-content">Label Content:</label></th>\
60
- <td><input type="text" name="label" id="oscitas-label-content" value="Label"/><br />\
61
- </td>\
62
- </tr>\
63
- <tr>\
64
- <th><label for="oscitas-label-class">Custom Class:</label></th>\
65
- <td><input type="text" name="line" id="oscitas-label-class" value=""/><br />\
66
- </td>\
67
- </tr>\
68
- </table>\
69
- <p class="submit">\
70
- <input type="button" id="oscitas-label-submit" class="button-primary" value="Insert Label" name="submit" />\
71
- </p>\
72
- </div>');
73
-
74
- var table = form.find('table');
75
- form.appendTo('body').hide();
76
-
77
-
78
-
79
-
80
- // handles the click event of the submit button
81
- form.find('#oscitas-label-submit').click(function(){
82
- var cusclass='';
83
- if(table.find('#oscitas-label-class').val()!=''){
84
- cusclass= ' class="'+table.find('#oscitas-label-class').val()+'"';
85
- }
86
- var shortcode = '[label type="'+jQuery('#oscitas-label-type').val()+'"'+cusclass+']<br/>';
87
- shortcode += jQuery('#oscitas-label-content').val()+'<br/>';
88
- shortcode += '[/label]';
89
-
90
- // inserts the shortcode into the active editor
91
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
92
-
93
- // closes fancybox
94
- jQuery.fancybox.close();
95
- });
96
- }
97
-
1
+ var labels={
2
+ title:"Label Shortcode",
3
+ id :'oscitas-form-label',
4
+ pluginName: 'labels'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(labels);
8
+ })();
9
+
10
+ function create_oscitas_labels(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-label-type">Label Type:</label></th>\
19
+ <td><select name="type" id="oscitas-label-type">\
20
+ <option value="label-default">Default</option>\
21
+ <option value="label-primary">Primary</option>\
22
+ <option value="label-success">Success</option>\
23
+ <option value="label-info">Information</option>\
24
+ <option value="label-warning">Warning</option>\
25
+ <option value="label-danger">Danger</option>\
26
+ </select><br />\
27
+ </td>\
28
+ </tr>\
29
+ <tr>\
30
+ <th><label for="oscitas-label-content">Label Content:</label></th>\
31
+ <td><input type="text" name="label" id="oscitas-label-content" value="Label"/><br />\
32
+ </td>\
33
+ </tr>\
34
+ <tr>\
35
+ <th><label for="oscitas-label-class">Custom Class:</label></th>\
36
+ <td><input type="text" name="line" id="oscitas-label-class" value=""/><br />\
37
+ </td>\
38
+ </tr>\
39
+ </table>\
40
+ <p class="submit">\
41
+ <input type="button" id="oscitas-label-submit" class="button-primary" value="Insert Label" name="submit" />\
42
+ </p>\
43
+ </div>');
44
+
45
+ var table = form.find('table');
46
+ form.appendTo('body').hide();
47
+
48
+
49
+
50
+
51
+ // handles the click event of the submit button
52
+ form.find('#oscitas-label-submit').click(function(){
53
+ var cusclass='';
54
+ if(table.find('#oscitas-label-class').val()!=''){
55
+ cusclass= ' class="'+table.find('#oscitas-label-class').val()+'"';
56
+ }
57
+ var shortcode = '[label type="'+jQuery('#oscitas-label-type').val()+'"'+cusclass+']<br/>';
58
+ shortcode += jQuery('#oscitas-label-content').val()+'<br/>';
59
+ shortcode += '[/label]';
60
+
61
+ // inserts the shortcode into the active editor
62
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
63
+
64
+ // closes fancybox
65
+ close_dialogue(pluginObj.hashId);
66
+ });
67
+ }
68
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/labels/plugin_shortcode.php CHANGED
@@ -1,20 +1,20 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * BUTTONS
5
- * ********************************************************* */
6
-
7
- function osc_theme_labels($params, $content = 'Label') {
8
- extract(shortcode_atts(array(
9
- 'type' => 'label-default',
10
- 'class' => ''
11
- ), $params));
12
- $out = '';
13
- $content = str_replace("<br />", '', $content);
14
- $content = str_replace("<br />\n", '', $content);
15
- $out = '<span class="label ' . $type . ' ' . $class . '">' . do_shortcode($content) . '</span>';
16
- return $out;
17
- }
18
-
19
- add_shortcode('label', 'osc_theme_labels');
20
-
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * BUTTONS
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_labels($params, $content = 'Label') {
8
+ extract(shortcode_atts(array(
9
+ 'type' => 'label-default',
10
+ 'class' => ''
11
+ ), $params));
12
+ $out = '';
13
+ $content = str_replace("<br />", '', $content);
14
+ $content = str_replace("<br />\n", '', $content);
15
+ $out = '<span class="label ' . $type . ' ' . $class . '">' . do_shortcode($content) . '</span>';
16
+ return $out;
17
+ }
18
+
19
+ add_shortcode('label', 'osc_theme_labels');
20
+
shortcode/lists/lists_plugin.js CHANGED
@@ -1,115 +1,86 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasLists', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitaslists', {
5
- title : 'List Group Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_lists();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'List Group Shortcode',
12
- 'href' : '#oscitas-form-lists',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl : function(n, cm) {
24
- return null;
25
- },
26
- getInfo : function() {
27
- return {
28
- longname : "List Group Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitaslists', tinymce.plugins.oscitasLists);
37
- })();
38
-
39
- function create_oscitas_lists(){
40
- if(jQuery('#oscitas-form-lists').length){
41
- jQuery('#oscitas-form-lists').remove();
42
- }
43
- // creates a form to be displayed everytime the button is clicked
44
- // you should achieve this using AJAX instead of direct html code like this
45
- var form = jQuery('<div id="oscitas-form-lists" class="oscitas-container"><table id="oscitas-table" class="form-table">\
46
- <tr>\
47
- <th><label for="oscitas-type">Lists style</label></th>\
48
- <td><select name="type" id="oscitas-type">\
49
- <option value="">None</option>\
50
- <option value="glyphicon-arrow-right">Arrow</option>\
51
- <option value="glyphicon-ok">Check</option>\
52
- <option value="glyphicon-plus">Plus</option>\
53
- <option value="glyphicon-minus">Minus</option>\
54
- </select><br />\
55
- </td>\
56
- </tr>\
57
- <tr>\
58
- <th><label for="oscitas-line">No of List Item</label></th>\
59
- <td><input type="text" name="line" id="oscitas-list-item" value="3"/><br /><small>Enter a numeric value</small>\
60
- </td>\
61
- </tr>\
62
- <tr>\
63
- <th><label for="oscitas-list-class">Custom Class:</label></th>\
64
- <td><input type="text" name="line" id="oscitas-list-class" value=""/><br />\
65
- </td>\
66
- </tr>\
67
- </table>\
68
- <p class="submit">\
69
- <input type="button" id="oscitas-submit" class="button-primary" value="Insert List" name="submit" />\
70
- </p>\
71
- </div>');
72
-
73
- var table = form.find('table');
74
- form.appendTo('body').hide();
75
-
76
- // handles the click event of the submit button
77
- form.find('#oscitas-submit').click(function(){
78
- // defines the options and their default values
79
- // again, this is not the most elegant way to do this
80
- // but well, this gets the job done nonetheless
81
- var options = {
82
- 'type' : 'arrow'
83
- },list=0,list_type;
84
- var cusclass='';
85
- if(table.find('#oscitas-list-class').val()!=''){
86
- cusclass= ' class="'+table.find('#oscitas-list-class').val()+'"';
87
- }
88
- var shortcode = '[list'+cusclass;
89
- var list_item=jQuery('#oscitas-list-item').val();
90
- if(isNaN(list_item)==false){
91
- list=list_item;
92
- } else{
93
- list=3;
94
- }
95
-
96
-
97
- shortcode += ']<br/>';
98
- if(table.find('#oscitas-type').val()!=''){
99
- list_type=' type="'+table.find('#oscitas-type').val()+'"';
100
- }
101
- else{
102
- list_type='';
103
- }
104
- for(var i=1;i<=list;i++){
105
- shortcode +='[li'+list_type+']your list content[/li]<br/>'
106
- }
107
- shortcode +='[/list]';
108
-
109
- // inserts the shortcode into the active editor
110
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
111
-
112
- jQuery.fancybox.close();
113
- });
114
- }
115
-
1
+ var lists={
2
+ title:"List Group Shortcode",
3
+ id :'oscitas-form-lists',
4
+ pluginName: 'lists'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(lists);
8
+ })();
9
+
10
+ function create_oscitas_lists(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-type">Lists style</label></th>\
19
+ <td><select name="type" id="oscitas-type">\
20
+ <option value="">None</option>\
21
+ <option value="glyphicon-arrow-right">Arrow</option>\
22
+ <option value="glyphicon-ok">Check</option>\
23
+ <option value="glyphicon-plus">Plus</option>\
24
+ <option value="glyphicon-minus">Minus</option>\
25
+ </select><br />\
26
+ </td>\
27
+ </tr>\
28
+ <tr>\
29
+ <th><label for="oscitas-line">No of List Item</label></th>\
30
+ <td><input type="text" name="line" id="oscitas-list-item" value="3"/><br /><small>Enter a numeric value</small>\
31
+ </td>\
32
+ </tr>\
33
+ <tr>\
34
+ <th><label for="oscitas-list-class">Custom Class:</label></th>\
35
+ <td><input type="text" name="line" id="oscitas-list-class" value=""/><br />\
36
+ </td>\
37
+ </tr>\
38
+ </table>\
39
+ <p class="submit">\
40
+ <input type="button" id="oscitas-submit" class="button-primary" value="Insert List" name="submit" />\
41
+ </p>\
42
+ </div>');
43
+
44
+ var table = form.find('table');
45
+ form.appendTo('body').hide();
46
+
47
+ // handles the click event of the submit button
48
+ form.find('#oscitas-submit').click(function(){
49
+ // defines the options and their default values
50
+ // again, this is not the most elegant way to do this
51
+ // but well, this gets the job done nonetheless
52
+ var options = {
53
+ 'type' : 'arrow'
54
+ },list=0,list_type;
55
+ var cusclass='';
56
+ if(table.find('#oscitas-list-class').val()!=''){
57
+ cusclass= ' class="'+table.find('#oscitas-list-class').val()+'"';
58
+ }
59
+ var shortcode = '[list'+cusclass;
60
+ var list_item=jQuery('#oscitas-list-item').val();
61
+ if(isNaN(list_item)==false){
62
+ list=list_item;
63
+ } else{
64
+ list=3;
65
+ }
66
+
67
+
68
+ shortcode += ']<br/>';
69
+ if(table.find('#oscitas-type').val()!=''){
70
+ list_type=' type="'+table.find('#oscitas-type').val()+'"';
71
+ }
72
+ else{
73
+ list_type='';
74
+ }
75
+ for(var i=1;i<=list;i++){
76
+ shortcode +='[li'+list_type+']your list content[/li]<br/>'
77
+ }
78
+ shortcode +='[/list]';
79
+
80
+ // inserts the shortcode into the active editor
81
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
82
+
83
+ close_dialogue(pluginObj.hashId);
84
+ });
85
+ }
86
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/lists/plugin_shortcode.php CHANGED
@@ -1,27 +1,27 @@
1
- <?php
2
-
3
- function osc_theme_list($params, $content = null) {
4
- extract(shortcode_atts(array(
5
- 'class' => ''
6
- ), $params));
7
- $content = str_replace("]<br />", ']', $content);
8
- $content = str_replace("]<br />\n", ']', $content);
9
- $content = str_replace("<br />\n[", '[', $content);
10
- return '<ul class="list-group ' . $class . '">' . do_shortcode($content) . '</ul>';
11
- }
12
-
13
- add_shortcode('list', 'osc_theme_list');
14
-
15
- function osc_theme_li($params, $content = null) {
16
- extract(shortcode_atts(array(
17
- 'type' => ''
18
- ), $params));
19
- if ($type != '') {
20
- $osc_class = '<span class="glyphicon ' . $type . '"></span> ';
21
- } else {
22
- $osc_class = '';
23
- }
24
- return '<li class="list-group-item">' . $osc_class . do_shortcode($content) . '</li>';
25
- }
26
-
27
  add_shortcode('li', 'osc_theme_li');
1
+ <?php
2
+
3
+ function osc_theme_list($params, $content = null) {
4
+ extract(shortcode_atts(array(
5
+ 'class' => ''
6
+ ), $params));
7
+ $content = str_replace("]<br />", ']', $content);
8
+ $content = str_replace("]<br />\n", ']', $content);
9
+ $content = str_replace("<br />\n[", '[', $content);
10
+ return '<ul class="list-group ' . $class . '">' . do_shortcode($content) . '</ul>';
11
+ }
12
+
13
+ add_shortcode('list', 'osc_theme_list');
14
+
15
+ function osc_theme_li($params, $content = null) {
16
+ extract(shortcode_atts(array(
17
+ 'type' => ''
18
+ ), $params));
19
+ if ($type != '') {
20
+ $osc_class = '<span class="glyphicon ' . $type . '"></span> ';
21
+ } else {
22
+ $osc_class = '';
23
+ }
24
+ return '<li class="list-group-item">' . $osc_class . do_shortcode($content) . '</li>';
25
+ }
26
+
27
  add_shortcode('li', 'osc_theme_li');
shortcode/notifications/notifications_plugin.js CHANGED
@@ -1,106 +1,81 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasNotifications', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasnotifications', {
5
- title : 'Notifications Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_notification();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Notifications Shortcode',
12
- 'href' : '#oscitas-form-notifications',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl : function(n, cm) {
24
- return null;
25
- },
26
- getInfo : function() {
27
- return {
28
- longname : "Notifications Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitasnotifications', tinymce.plugins.oscitasNotifications);
37
- })();
38
-
39
- function create_oscitas_notification(){
40
- if(jQuery('#oscitas-form-notifications').length){
41
- jQuery('#oscitas-form-notifications').remove();
42
- }
43
- // creates a form to be displayed everytime the button is clicked
44
- // you should achieve this using AJAX instead of direct html code like this
45
- var form = jQuery('<div id="oscitas-form-notifications" class="oscitas-container"><table id="oscitas-table" class="form-table">\
46
- <tr>\
47
- <th><label for="oscitas-type">Style :</label></th>\
48
- <td><select name="type" id="oscitas-type">\
49
- <option value="alert-warning">Warning</option>\
50
- <option value="alert-success">Success</option>\
51
- <option value="alert-info">Information</option>\
52
- <option value="alert-danger">Danger</option>\
53
- </select><br />\
54
- </td>\
55
- </tr>\
56
- <tr>\
57
- <th><label for="oscitas-line">Close link</label></th>\
58
- <td><input type="checkbox" id="oscitas-close"/><br />\
59
- </td>\
60
- </tr>\
61
- <tr>\
62
- <th><label for="oscitas-note-class">Custom Class:</label></th>\
63
- <td><input type="text" name="line" id="oscitas-note-class" value=""/><br />\
64
- </td>\
65
- </tr>\
66
- </table>\
67
- <p class="submit">\
68
- <input type="button" id="oscitas-submit" class="button-primary" value="Insert Notification" name="submit" />\
69
- </p>\
70
- </div>');
71
-
72
- var table = form.find('table');
73
- form.appendTo('body').hide();
74
-
75
- // handles the click event of the submit button
76
- form.find('#oscitas-submit').click(function(){
77
- // defines the options and their default values
78
- // again, this is not the most elegant way to do this
79
- // but well, this gets the job done nonetheless
80
- var options = {
81
- 'type' : 'error'
82
- };
83
- var cusclass='';
84
- if(table.find('#oscitas-note-class').val()!=''){
85
- cusclass= ' class="'+table.find('#oscitas-note-class').val()+'"';
86
- }
87
- var shortcode = '[notification';
88
-
89
- for( var index in options) {
90
- var value = table.find('#oscitas-' + index).val();
91
-
92
- // attaches the attribute to the shortcode only if it's different from the default value
93
- //if ( value !== options[index] )
94
- shortcode += ' ' + index + '="' + value + '"';
95
- }
96
- shortcode += ' close="'+(table.find('#oscitas-close').prop('checked')? 'true': 'false')+ '" ';
97
-
98
- shortcode += cusclass+']Title: Lorem ipsum dolor sit amet...[/notification]';
99
-
100
- // inserts the shortcode into the active editor
101
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
102
-
103
- jQuery.fancybox.close();
104
- });
105
- }
106
-
1
+ var notifications={
2
+ title:"Notifications Shortcode",
3
+ id :'oscitas-form-notifications',
4
+ pluginName: 'notifications'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(notifications);
8
+ })();
9
+
10
+ function create_oscitas_notifications(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-type">Style :</label></th>\
19
+ <td><select name="type" id="oscitas-type">\
20
+ <option value="alert-warning">Warning</option>\
21
+ <option value="alert-success">Success</option>\
22
+ <option value="alert-info">Information</option>\
23
+ <option value="alert-danger">Danger</option>\
24
+ </select><br />\
25
+ </td>\
26
+ </tr>\
27
+ <tr>\
28
+ <th><label for="oscitas-line">Close link</label></th>\
29
+ <td><input type="checkbox" id="oscitas-close"/><br />\
30
+ </td>\
31
+ </tr>\
32
+ <tr>\
33
+ <th><label for="oscitas-note-class">Custom Class:</label></th>\
34
+ <td><input type="text" name="line" id="oscitas-note-class" value=""/><br />\
35
+ </td>\
36
+ </tr>\
37
+ </table>\
38
+ <p class="submit">\
39
+ <input type="button" id="oscitas-submit" class="button-primary" value="Insert Notification" name="submit" />\
40
+ </p>\
41
+ </div>');
42
+
43
+ var table = form.find('table');
44
+ form.appendTo('body').hide();
45
+
46
+ // handles the click event of the submit button
47
+ form.find('#oscitas-submit').click(function(){
48
+ // defines the options and their default values
49
+ // again, this is not the most elegant way to do this
50
+ // but well, this gets the job done nonetheless
51
+ var options = {
52
+ 'type' : 'error'
53
+ };
54
+ var cusclass='';
55
+ if(table.find('#oscitas-note-class').val()!=''){
56
+ cusclass= ' class="'+table.find('#oscitas-note-class').val()+'"';
57
+ }
58
+ var shortcode = '[notification';
59
+
60
+ for( var index in options) {
61
+ var value = table.find('#oscitas-' + index).val();
62
+
63
+ // attaches the attribute to the shortcode only if it's different from the default value
64
+ //if ( value !== options[index] )
65
+ shortcode += ' ' + index + '="' + value + '"';
66
+ }
67
+
68
+ var selected_content = tinyMCE.activeEditor.selection.getContent();
69
+ if(!selected_content)
70
+ var selected_content = 'Your notification';
71
+ shortcode += ' close="'+(table.find('#oscitas-close').prop('checked')? 'true': 'false')+ '" ';
72
+
73
+ shortcode += cusclass+']'+selected_content+'[/notification]';
74
+
75
+ // inserts the shortcode into the active editor
76
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
77
+
78
+ close_dialogue(pluginObj.hashId);
79
+ });
80
+ }
81
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/notifications/plugin_shortcode.php CHANGED
@@ -1,28 +1,28 @@
1
- <?php
2
-
3
- function osc_theme_notification($atts, $content = null) {
4
- extract(shortcode_atts(array(
5
- 'type' => '',
6
- 'close' => 'false',
7
- 'class' => ''
8
- ), $atts));
9
- $type = ($close == 'true' ? $type . ' alert-dismissable' : $type);
10
-
11
-
12
- $result = '<div class = "alert ' . $type . ' ' . $class . '">';
13
- if ($close == 'true') {
14
- $result .= '<button type = "button" class = "close" data-dismiss = "alert" aria-hidden = "true">&times;
15
- </button>';
16
- }
17
- $result .= do_shortcode($content);
18
- $result .= '</div>';
19
-
20
- return $result;
21
- }
22
-
23
- add_shortcode('notification', 'osc_theme_notification');
24
-
25
-
26
-
27
-
28
-
1
+ <?php
2
+
3
+ function osc_theme_notification($atts, $content = null) {
4
+ extract(shortcode_atts(array(
5
+ 'type' => '',
6
+ 'close' => 'false',
7
+ 'class' => ''
8
+ ), $atts));
9
+ $type = ($close == 'true' ? $type . ' alert-dismissable' : $type);
10
+
11
+
12
+ $result = '<div class = "alert ' . $type . ' ' . $class . '">';
13
+ if ($close == 'true') {
14
+ $result .= '<button type = "button" class = "close" data-dismiss = "alert" aria-hidden = "true">&times;
15
+ </button>';
16
+ }
17
+ $result .= do_shortcode($content);
18
+ $result .= '</div>';
19
+
20
+ return $result;
21
+ }
22
+
23
+ add_shortcode('notification', 'osc_theme_notification');
24
+
25
+
26
+
27
+
28
+
shortcode/oscpopover/oscpopover_plugin.js CHANGED
@@ -1,166 +1,137 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasOscPopover', {
3
- init: function(ed, url) {
4
- ed.addButton('oscitasoscpopover', {
5
- title: 'Popover Shortcode',
6
- image: url + '/icon.png',
7
- onclick: function() {
8
- create_oscitas_popover();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Popover Shortcode',
12
- 'href' : '#oscitas-form-popover',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl: function(n, cm) {
24
- return null;
25
- },
26
- getInfo: function() {
27
- return {
28
- longname: "Popover Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitasoscpopover', tinymce.plugins.oscitasOscPopover);
37
- })();
38
-
39
- function create_oscitas_popover(){
40
- if(jQuery('#oscitas-form-popover').length){
41
- jQuery('#oscitas-form-popover').remove();
42
- }
43
- // creates a form to be displayed everytime the button is clicked
44
- // you should achieve this using AJAX instead of direct html code like this
45
- var form = jQuery('<div id="oscitas-form-popover" class="oscitas-container"><table id="oscitas-table" class="form-table">\
46
- <tr>\
47
- <th><label for="oscitas-popover-style">Popover Style:</label></th>\
48
- <td><select name="oscitas-popover-style" id="oscitas-popover-style">\
49
- <option value="top">Top</option>\
50
- <option value="bottom">Bottom</option>\
51
- <option value="left">Left</option>\
52
- <option value="right">Right</option>\
53
- <option value="auto">Auto</option>\
54
- </select><br />\
55
- </td>\
56
- </tr>\
57
- <tr>\
58
- <th><label for="oscitas-popover-title">Popover Title Text:</label></th>\
59
- <td><input type="text" name="popover-title" id="oscitas-popover-title" value="A title"/><br />\
60
- </td>\
61
- </tr>\
62
- </tr>\
63
- <tr>\
64
- <th><label for="oscitas-popover-content">Popover Title Text:</label></th>\
65
- <td><textarea " name="popover-content" id="oscitas-popover-content">Your Content</textarea><br />\
66
- </td>\
67
- </tr>\
68
- <tr>\
69
- <th><label for="oscitas-pbutton-trigger">Trigger Popover On:</label></th>\
70
- <td><select name="tigger" id="oscitas-pbutton-trigger">\
71
- <option value="click">Click</option>\
72
- <option value="hover">Hover</option>\
73
- </select><br />\
74
- </td>\
75
- </tr >\
76
- <tr>\
77
- <th><label for="oscitas-pbutton-size">Button Size:</label></th>\
78
- <td><select name="size" id="oscitas-pbutton-size">\
79
- <option value="">Default</option>\
80
- <option value="btn-lg">Large</option>\
81
- <option value="btn-sm">Small</option>\
82
- <option value="btn-xs">X-Small</option>\
83
- </select><br />\
84
- </td>\
85
- </tr >\
86
- <tr>\
87
- <th><label for="oscitas-pbutton-type">Button Type:</label></th>\
88
- <td><select name="type" id="oscitas-pbutton-type">\
89
- <option value="btn-default">Default</option>\
90
- <option value="btn-primary">Primary</option>\
91
- <option value="btn-success">Success</option>\
92
- <option value="btn-info">Info</option>\
93
- <option value="btn-warning">Warning</option>\
94
- <option value="btn-danger">Danger</option>\
95
- <option value="btn-link">Link</option>\
96
- </select><br />\
97
- </td>\
98
- </tr >\
99
- <tr>\
100
- <th><label for="oscitas-popover-button-text">Button Text:</label></th>\
101
- <td><input type="text" name="link-text" id="oscitas-popover-button-text" value="Popover"/><br />\
102
- </td>\
103
- </tr>\
104
- <tr>\
105
- <th><label for="oscitas-popover-class">Custom Class:</label></th>\
106
- <td><input type="text" name="line" id="oscitas-popover-class" value=""/><br />\
107
- </td>\
108
- </tr>\
109
- </table>\
110
- <p class="submit">\
111
- <input type="button" id="oscitas-popover-submit" class="button-primary" value="Insert Popover" name="submit" />\
112
- </p>\
113
- </div>');
114
-
115
- var table = form.find('table');
116
- form.appendTo('body').hide();
117
- var colors = ['color', 'bgcolor'];
118
- jQuery('#oscitas-table tr:visible:even').css('background', '#F0F0F0');
119
- jQuery('#oscitas-table tr:visible:odd').css('background', '#DADADD');
120
-
121
-
122
- // handles the click event of the submit button
123
- form.find('#oscitas-popover-submit').click(function() {
124
- // defines the options and their default values
125
- // again, this is not the most elegant way to do this
126
- // but well, this gets the job done nonetheless
127
- var cusclass='';
128
- if(table.find('#oscitas-popover-class').val()!=''){
129
- cusclass= ' class="'+table.find('#oscitas-popover-class').val()+'"';
130
- }
131
- var shortcode = '[popover'+cusclass;
132
- shortcode += ' title="' + table.find('#oscitas-popover-title').val();
133
-
134
- shortcode += '" ';
135
-
136
- shortcode += ' pop_content="' + table.find('#oscitas-popover-content').val();
137
-
138
- shortcode += '" ';
139
- shortcode += ' trigger="' + table.find('#oscitas-pbutton-trigger').val();
140
-
141
- shortcode += '" ';
142
- shortcode += ' style="' + table.find('#oscitas-popover-style').val();
143
-
144
- shortcode += '" ';
145
- shortcode += ' size="' + table.find('#oscitas-pbutton-size').val();
146
-
147
- shortcode += '" ';
148
- shortcode += ' type="' + table.find('#oscitas-pbutton-type').val();
149
-
150
- shortcode += '" ';
151
- //shortcode += ' btntag="'+table.find('#oscitas-button-type').val()+'" ';
152
-
153
-
154
-
155
- shortcode += ']';
156
- shortcode+= table.find('#oscitas-popover-button-text').val();
157
- shortcode+='[/popover]';
158
-
159
- // inserts the shortcode into the active editor
160
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
161
-
162
- // closes fancybox
163
- jQuery.fancybox.close();
164
- });
165
- }
166
-
1
+ var oscpopover={
2
+ title:"Popover Shortcode",
3
+ id :'oscitas-form-popover',
4
+ pluginName: 'oscpopover'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(oscpopover);
8
+ })();
9
+
10
+ function create_oscitas_oscpopover(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-popover-style">Popover Style:</label></th>\
19
+ <td><select name="oscitas-popover-style" id="oscitas-popover-style">\
20
+ <option value="top">Top</option>\
21
+ <option value="bottom">Bottom</option>\
22
+ <option value="left">Left</option>\
23
+ <option value="right">Right</option>\
24
+ <option value="auto">Auto</option>\
25
+ </select><br />\
26
+ </td>\
27
+ </tr>\
28
+ <tr>\
29
+ <th><label for="oscitas-popover-title">Popover Title Text:</label></th>\
30
+ <td><input type="text" name="popover-title" id="oscitas-popover-title" value="A title"/><br />\
31
+ </td>\
32
+ </tr>\
33
+ </tr>\
34
+ <tr>\
35
+ <th><label for="oscitas-popover-content">Popover Title Text:</label></th>\
36
+ <td><textarea " name="popover-content" id="oscitas-popover-content">Your Content</textarea><br />\
37
+ </td>\
38
+ </tr>\
39
+ <tr>\
40
+ <th><label for="oscitas-pbutton-trigger">Trigger Popover On:</label></th>\
41
+ <td><select name="tigger" id="oscitas-pbutton-trigger">\
42
+ <option value="click">Click</option>\
43
+ <option value="hover">Hover</option>\
44
+ </select><br />\
45
+ </td>\
46
+ </tr >\
47
+ <tr>\
48
+ <th><label for="oscitas-pbutton-size">Button Size:</label></th>\
49
+ <td><select name="size" id="oscitas-pbutton-size">\
50
+ <option value="">Default</option>\
51
+ <option value="btn-lg">Large</option>\
52
+ <option value="btn-sm">Small</option>\
53
+ <option value="btn-xs">X-Small</option>\
54
+ </select><br />\
55
+ </td>\
56
+ </tr >\
57
+ <tr>\
58
+ <th><label for="oscitas-pbutton-type">Button Type:</label></th>\
59
+ <td><select name="type" id="oscitas-pbutton-type">\
60
+ <option value="btn-default">Default</option>\
61
+ <option value="btn-primary">Primary</option>\
62
+ <option value="btn-success">Success</option>\
63
+ <option value="btn-info">Info</option>\
64
+ <option value="btn-warning">Warning</option>\
65
+ <option value="btn-danger">Danger</option>\
66
+ <option value="btn-link">Link</option>\
67
+ </select><br />\
68
+ </td>\
69
+ </tr >\
70
+ <tr>\
71
+ <th><label for="oscitas-popover-button-text">Button Text:</label></th>\
72
+ <td><input type="text" name="link-text" id="oscitas-popover-button-text" value="Popover"/><br />\
73
+ </td>\
74
+ </tr>\
75
+ <tr>\
76
+ <th><label for="oscitas-popover-class">Custom Class:</label></th>\
77
+ <td><input type="text" name="line" id="oscitas-popover-class" value=""/><br />\
78
+ </td>\
79
+ </tr>\
80
+ </table>\
81
+ <p class="submit">\
82
+ <input type="button" id="oscitas-popover-submit" class="button-primary" value="Insert Popover" name="submit" />\
83
+ </p>\
84
+ </div>');
85
+
86
+ var table = form.find('table');
87
+ form.appendTo('body').hide();
88
+ var colors = ['color', 'bgcolor'];
89
+ jQuery('#oscitas-table tr:visible:even').css('background', '#F0F0F0');
90
+ jQuery('#oscitas-table tr:visible:odd').css('background', '#DADADD');
91
+
92
+
93
+ // handles the click event of the submit button
94
+ form.find('#oscitas-popover-submit').click(function() {
95
+ // defines the options and their default values
96
+ // again, this is not the most elegant way to do this
97
+ // but well, this gets the job done nonetheless
98
+ var cusclass='';
99
+ if(table.find('#oscitas-popover-class').val()!=''){
100
+ cusclass= ' class="'+table.find('#oscitas-popover-class').val()+'"';
101
+ }
102
+ var shortcode = '[popover'+cusclass;
103
+ shortcode += ' title="' + table.find('#oscitas-popover-title').val();
104
+
105
+ shortcode += '" ';
106
+
107
+ shortcode += ' pop_content="' + table.find('#oscitas-popover-content').val();
108
+
109
+ shortcode += '" ';
110
+ shortcode += ' trigger="' + table.find('#oscitas-pbutton-trigger').val();
111
+
112
+ shortcode += '" ';
113
+ shortcode += ' style="' + table.find('#oscitas-popover-style').val();
114
+
115
+ shortcode += '" ';
116
+ shortcode += ' size="' + table.find('#oscitas-pbutton-size').val();
117
+
118
+ shortcode += '" ';
119
+ shortcode += ' type="' + table.find('#oscitas-pbutton-type').val();
120
+
121
+ shortcode += '" ';
122
+ //shortcode += ' btntag="'+table.find('#oscitas-button-type').val()+'" ';
123
+
124
+
125
+
126
+ shortcode += ']';
127
+ shortcode+= table.find('#oscitas-popover-button-text').val();
128
+ shortcode+='[/popover]';
129
+
130
+ // inserts the shortcode into the active editor
131
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
132
+
133
+ // closes fancybox
134
+ close_dialogue(pluginObj.hashId);
135
+ });
136
+ }
137
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/oscpopover/plugin_shortcode.php CHANGED
@@ -1,28 +1,28 @@
1
- <?php
2
-
3
- function osc_theme_popover($params, $content = 'Popover') {
4
- extract(shortcode_atts(array(
5
- 'trigger' => '',
6
- 'title' => '',
7
- 'pop_content' => '',
8
- 'style' => '',
9
- 'size' => '',
10
- 'type' => '',
11
- 'class' => ''
12
- ), $params));
13
- $out = '';
14
- $out = '<button class="osc_popover btn ' . $size . ' ' . $type . ' ' . $class . '" data-content="' . $pop_content . '" data-placement="' . $style . '" data-toggle="popover" data-trigger="' . $trigger . '" data-container="body" type="button" data-title="' . $title . '"> ' . do_shortcode($content) . ' </button>';
15
-
16
-
17
- $out .= "
18
- <script>
19
- jQuery(document).ready(function(){
20
- jQuery('.osc_popover').popover();
21
- });
22
- </script>
23
- ";
24
-
25
- return $out;
26
- }
27
-
28
  add_shortcode('popover', 'osc_theme_popover');
1
+ <?php
2
+
3
+ function osc_theme_popover($params, $content = 'Popover') {
4
+ extract(shortcode_atts(array(
5
+ 'trigger' => '',
6
+ 'title' => '',
7
+ 'pop_content' => '',
8
+ 'style' => '',
9
+ 'size' => '',
10
+ 'type' => '',
11
+ 'class' => ''
12
+ ), $params));
13
+ $out = '';
14
+ $out = '<button class="osc_popover btn ' . $size . ' ' . $type . ' ' . $class . '" data-content="' . $pop_content . '" data-placement="' . $style . '" data-toggle="popover" data-trigger="' . $trigger . '" data-container="body" type="button" data-title="' . $title . '"> ' . do_shortcode($content) . ' </button>';
15
+
16
+
17
+ $out .= "
18
+ <script>
19
+ jQuery(document).ready(function(){
20
+ jQuery('.osc_popover').popover();
21
+ });
22
+ </script>
23
+ ";
24
+
25
+ return $out;
26
+ }
27
+
28
  add_shortcode('popover', 'osc_theme_popover');
shortcode/panel/panel_plugin.js CHANGED
@@ -1,99 +1,70 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasPanel', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitaspanel', {
5
- title : 'Panel Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_panel();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Panel Shortcode',
12
- 'href' : '#oscitas-form-panel',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl : function(n, cm) {
24
- return null;
25
- },
26
- getInfo : function() {
27
- return {
28
- longname : "Panel Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitaspanel', tinymce.plugins.oscitasPanel);
37
- })();
38
-
39
- function create_oscitas_panel(){
40
- if(jQuery('#oscitas-form-panel').length){
41
- jQuery('#oscitas-form-panel').remove();
42
- }
43
- // creates a form to be displayed everytime the button is clicked
44
- // you should achieve this using AJAX instead of direct html code like this
45
- var form = jQuery('<div id="oscitas-form-panel" class="oscitas-container"><table id="oscitas-table" class="form-table">\
46
- <tr>\
47
- <th><label for="oscitas-type">Style</label></th>\
48
- <td><select name="type" id="oscitas-panel-type">\
49
- <option value="panel-default">Simple</option>\
50
- <option value="panel-primary">Primary</option>\
51
- <option value="panel-warning">Warning</option>\
52
- <option value="panel-success">Success</option>\
53
- <option value="panel-info">Information</option>\
54
- <option value="panel-danger">Danger</option>\
55
- </select><br />\
56
- </td>\
57
- </tr>\
58
- <tr>\
59
- <th><label for="oscitas-line">Show footer</label></th>\
60
- <td><input type="checkbox" id="oscitas-panel-footer"/><br />\
61
- </td>\
62
- </tr>\
63
- <tr>\
64
- <th><label for="oscitas-panel-class">Custom Class:</label></th>\
65
- <td><input type="text" name="line" id="oscitas-panel-class" value=""/><br />\
66
- </td>\
67
- </tr>\
68
- </table>\
69
- <p class="submit">\
70
- <input type="button" id="oscitas-submit" class="button-primary" value="Insert Panel" name="submit" />\
71
- </p>\
72
- </div>');
73
-
74
- var table = form.find('table');
75
- form.appendTo('body').hide();
76
-
77
- // handles the click event of the submit button
78
- form.find('#oscitas-submit').click(function(){
79
- // defines the options and their default values
80
- // again, this is not the most elegant way to do this
81
- // but well, this gets the job done nonetheless
82
- var cusclass='';
83
- if(table.find('#oscitas-panel-class').val()!=''){
84
- cusclass= ' class="'+table.find('#oscitas-panel-class').val()+'"';
85
- }
86
- var shortcode = '[panel style="'+table.find('#oscitas-panel-type').val()+ '"'+cusclass+']';
87
- shortcode += '<br/>[panel-header]<br/>Heading goes here<br/>[/panel-header]';
88
- //shortcode += (table.find('#oscitas-panel-header').prop('checked')? '[panel-header]<br/>Heading goes here<br/>[/panel-header]': '');
89
- shortcode += '<br/>[panel-content]<br/>Content goes here<br/>[/panel-content]';
90
- shortcode += (table.find('#oscitas-panel-footer').prop('checked')? '<br/>[panel-footer]<br/>Footer goes here<br/>[/panel-footer]': '');
91
- shortcode += '<br/>[/panel]';
92
-
93
- // inserts the shortcode into the active editor
94
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
95
-
96
- jQuery.fancybox.close();
97
- });
98
- }
99
-
1
+ var panel={
2
+ title:"Panel Shortcode",
3
+ id :'oscitas-form-panel',
4
+ pluginName: 'panel'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(panel);
8
+ })();
9
+
10
+ function create_oscitas_panel(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-type">Style</label></th>\
19
+ <td><select name="type" id="oscitas-panel-type">\
20
+ <option value="panel-default">Simple</option>\
21
+ <option value="panel-primary">Primary</option>\
22
+ <option value="panel-warning">Warning</option>\
23
+ <option value="panel-success">Success</option>\
24
+ <option value="panel-info">Information</option>\
25
+ <option value="panel-danger">Danger</option>\
26
+ </select><br />\
27
+ </td>\
28
+ </tr>\
29
+ <tr>\
30
+ <th><label for="oscitas-line">Show footer</label></th>\
31
+ <td><input type="checkbox" id="oscitas-panel-footer"/><br />\
32
+ </td>\
33
+ </tr>\
34
+ <tr>\
35
+ <th><label for="oscitas-panel-class">Custom Class:</label></th>\
36
+ <td><input type="text" name="line" id="oscitas-panel-class" value=""/><br />\
37
+ </td>\
38
+ </tr>\
39
+ </table>\
40
+ <p class="submit">\
41
+ <input type="button" id="oscitas-submit" class="button-primary" value="Insert Panel" name="submit" />\
42
+ </p>\
43
+ </div>');
44
+
45
+ var table = form.find('table');
46
+ form.appendTo('body').hide();
47
+
48
+ // handles the click event of the submit button
49
+ form.find('#oscitas-submit').click(function(){
50
+ // defines the options and their default values
51
+ // again, this is not the most elegant way to do this
52
+ // but well, this gets the job done nonetheless
53
+ var cusclass='';
54
+ if(table.find('#oscitas-panel-class').val()!=''){
55
+ cusclass= ' class="'+table.find('#oscitas-panel-class').val()+'"';
56
+ }
57
+ var shortcode = '[panel style="'+table.find('#oscitas-panel-type').val()+ '"'+cusclass+']';
58
+ shortcode += '<br/>[panel-header]<br/>Heading goes here<br/>[/panel-header]';
59
+ //shortcode += (table.find('#oscitas-panel-header').prop('checked')? '[panel-header]<br/>Heading goes here<br/>[/panel-header]': '');
60
+ shortcode += '<br/>[panel-content]<br/>Content goes here<br/>[/panel-content]';
61
+ shortcode += (table.find('#oscitas-panel-footer').prop('checked')? '<br/>[panel-footer]<br/>Footer goes here<br/>[/panel-footer]': '');
62
+ shortcode += '<br/>[/panel]';
63
+
64
+ // inserts the shortcode into the active editor
65
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
66
+
67
+ close_dialogue(pluginObj.hashId);
68
+ });
69
+ }
70
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/panel/plugin_shortcode.php CHANGED
@@ -1,45 +1,45 @@
1
- <?php
2
-
3
- function osc_theme_panel($atts, $content = null) {
4
- extract(shortcode_atts(array(
5
- 'style' => '',
6
- 'class' => ''
7
- ), $atts));
8
- $content = str_replace("]<br />", ']', $content);
9
-
10
- $content = str_replace("<br />\n[", '[', $content);
11
- $result = '<div class="panel ' . $style . ' ' . $class . '">';
12
- $result .= do_shortcode($content);
13
- $result .= '</div>';
14
-
15
- return $result;
16
- }
17
-
18
- add_shortcode('panel', 'osc_theme_panel');
19
-
20
- function osc_theme_panel_footer($atts, $content = null) {
21
- $result = '<div class="panel-footer">';
22
- $result .= do_shortcode($content);
23
- $result .= '</div>';
24
- return $result;
25
- }
26
-
27
- add_shortcode('panel-footer', 'osc_theme_panel_footer');
28
-
29
- function osc_theme_panel_heading($atts, $content = null) {
30
- $result = '<div class="panel-heading">';
31
- $result .= do_shortcode($content);
32
- $result .= '</div>';
33
- return $result;
34
- }
35
-
36
- add_shortcode('panel-header', 'osc_theme_panel_heading');
37
-
38
- function osc_theme_panel_content($atts, $content = null) {
39
- $result = '<div class="panel-body">';
40
- $result .= do_shortcode($content);
41
- $result .= '</div>';
42
- return $result;
43
- }
44
-
45
  add_shortcode('panel-content', 'osc_theme_panel_content');
1
+ <?php
2
+
3
+ function osc_theme_panel($atts, $content = null) {
4
+ extract(shortcode_atts(array(
5
+ 'style' => '',
6
+ 'class' => ''
7
+ ), $atts));
8
+ $content = str_replace("]<br />", ']', $content);
9
+
10
+ $content = str_replace("<br />\n[", '[', $content);
11
+ $result = '<div class="panel ' . $style . ' ' . $class . '">';
12
+ $result .= do_shortcode($content);
13
+ $result .= '</div>';
14
+
15
+ return $result;
16
+ }
17
+
18
+ add_shortcode('panel', 'osc_theme_panel');
19
+
20
+ function osc_theme_panel_footer($atts, $content = null) {
21
+ $result = '<div class="panel-footer">';
22
+ $result .= do_shortcode($content);
23
+ $result .= '</div>';
24
+ return $result;
25
+ }
26
+
27
+ add_shortcode('panel-footer', 'osc_theme_panel_footer');
28
+
29
+ function osc_theme_panel_heading($atts, $content = null) {
30
+ $result = '<div class="panel-heading">';
31
+ $result .= do_shortcode($content);
32
+ $result .= '</div>';
33
+ return $result;
34
+ }
35
+
36
+ add_shortcode('panel-header', 'osc_theme_panel_heading');
37
+
38
+ function osc_theme_panel_content($atts, $content = null) {
39
+ $result = '<div class="panel-body">';
40
+ $result .= do_shortcode($content);
41
+ $result .= '</div>';
42
+ return $result;
43
+ }
44
+
45
  add_shortcode('panel-content', 'osc_theme_panel_content');
shortcode/popover/icon.png DELETED
Binary file
shortcode/popover/plugin_shortcode.php DELETED
@@ -1,28 +0,0 @@
1
- <?php
2
-
3
- function osc_theme_popover($params, $content = 'Popover') {
4
- extract(shortcode_atts(array(
5
- 'trigger' => '',
6
- 'title' => '',
7
- 'pop_content' => '',
8
- 'style' => '',
9
- 'size' => '',
10
- 'type' => '',
11
- 'class' => ''
12
- ), $params));
13
- $out = '';
14
- $out = '<button class="osc_popover btn ' . $size . ' ' . $type . ' ' . $class . '" data-content="' . $pop_content . '" data-placement="' . $style . '" data-toggle="popover" data-trigger="' . $trigger . '" data-container="body" type="button" data-title="' . $title . '"> ' . do_shortcode($content) . ' </button>';
15
-
16
-
17
- $out .= "
18
- <script>
19
- jQuery(document).ready(function(){
20
- jQuery('.osc_popover').popover();
21
- });
22
- </script>
23
- ";
24
-
25
- return $out;
26
- }
27
-
28
- add_shortcode('popover', 'osc_theme_popover');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/popover/popover_plugin.js DELETED
@@ -1,166 +0,0 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasPopover', {
3
- init: function(ed, url) {
4
- ed.addButton('oscitaspopover', {
5
- title: 'Popover Shortcode',
6
- image: url + '/icon.png',
7
- onclick: function() {
8
- create_oscitas_popover();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Popover Shortcode',
12
- 'href' : '#oscitas-form-popover',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl: function(n, cm) {
24
- return null;
25
- },
26
- getInfo: function() {
27
- return {
28
- longname: "Popover Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitaspopover', tinymce.plugins.oscitasPopover);
37
- })();
38
-
39
- function create_oscitas_popover(){
40
- if(jQuery('#oscitas-form-popover').length){
41
- jQuery('#oscitas-form-popover').remove();
42
- }
43
- // creates a form to be displayed everytime the button is clicked
44
- // you should achieve this using AJAX instead of direct html code like this
45
- var form = jQuery('<div id="oscitas-form-popover"><table id="oscitas-table" class="form-table">\
46
- <tr>\
47
- <th><label for="oscitas-popover-style">Popover Style:</label></th>\
48
- <td><select name="oscitas-popover-style" id="oscitas-popover-style">\
49
- <option value="top">Top</option>\
50
- <option value="bottom">Bottom</option>\
51
- <option value="left">Left</option>\
52
- <option value="right">Right</option>\
53
- <option value="auto">Auto</option>\
54
- </select><br />\
55
- </td>\
56
- </tr>\
57
- <tr>\
58
- <th><label for="oscitas-popover-title">Popover Title Text:</label></th>\
59
- <td><input type="text" name="popover-title" id="oscitas-popover-title" value="A title"/><br />\
60
- </td>\
61
- </tr>\
62
- </tr>\
63
- <tr>\
64
- <th><label for="oscitas-popover-content">Popover Title Text:</label></th>\
65
- <td><textarea " name="popover-content" id="oscitas-popover-content">Your Content</textarea><br />\
66
- </td>\
67
- </tr>\
68
- <tr>\
69
- <th><label for="oscitas-pbutton-trigger">Trigger Popover On:</label></th>\
70
- <td><select name="tigger" id="oscitas-pbutton-trigger">\
71
- <option value="click">Click</option>\
72
- <option value="hover">Hover</option>\
73
- </select><br />\
74
- </td>\
75
- </tr >\
76
- <tr>\
77
- <th><label for="oscitas-pbutton-size">Button Size:</label></th>\
78
- <td><select name="size" id="oscitas-pbutton-size">\
79
- <option value="">Default</option>\
80
- <option value="btn-lg">Large</option>\
81
- <option value="btn-sm">Small</option>\
82
- <option value="btn-xs">X-Small</option>\
83
- </select><br />\
84
- </td>\
85
- </tr >\
86
- <tr>\
87
- <th><label for="oscitas-pbutton-type">Button Type:</label></th>\
88
- <td><select name="type" id="oscitas-pbutton-type">\
89
- <option value="btn-default">Default</option>\
90
- <option value="btn-primary">Primary</option>\
91
- <option value="btn-success">Success</option>\
92
- <option value="btn-info">Info</option>\
93
- <option value="btn-warning">Warning</option>\
94
- <option value="btn-danger">Danger</option>\
95
- <option value="btn-link">Link</option>\
96
- </select><br />\
97
- </td>\
98
- </tr >\
99
- <tr>\
100
- <th><label for="oscitas-popover-button-text">Button Text:</label></th>\
101
- <td><input type="text" name="link-text" id="oscitas-popover-button-text" value="Popover"/><br />\
102
- </td>\
103
- </tr>\
104
- <tr>\
105
- <th><label for="oscitas-popover-class">Custom Class:</label></th>\
106
- <td><input type="text" name="line" id="oscitas-popover-class" value=""/><br />\
107
- </td>\
108
- </tr>\
109
- </table>\
110
- <p class="submit">\
111
- <input type="button" id="oscitas-popover-submit" class="button-primary" value="Insert Popover" name="submit" />\
112
- </p>\
113
- </div>');
114
-
115
- var table = form.find('table');
116
- form.appendTo('body').hide();
117
- var colors = ['color', 'bgcolor'];
118
- jQuery('#oscitas-table tr:visible:even').css('background', '#F0F0F0');
119
- jQuery('#oscitas-table tr:visible:odd').css('background', '#DADADD');
120
-
121
-
122
- // handles the click event of the submit button
123
- form.find('#oscitas-popover-submit').click(function() {
124
- // defines the options and their default values
125
- // again, this is not the most elegant way to do this
126
- // but well, this gets the job done nonetheless
127
- var cusclass='';
128
- if(table.find('#oscitas-popover-class').val()!=''){
129
- cusclass= ' class="'+table.find('#oscitas-popover-class').val()+'"';
130
- }
131
- var shortcode = '[popover'+cusclass;
132
- shortcode += ' title="' + table.find('#oscitas-popover-title').val();
133
-
134
- shortcode += '" ';
135
-
136
- shortcode += ' pop_content="' + table.find('#oscitas-popover-content').val();
137
-
138
- shortcode += '" ';
139
- shortcode += ' trigger="' + table.find('#oscitas-pbutton-trigger').val();
140
-
141
- shortcode += '" ';
142
- shortcode += ' style="' + table.find('#oscitas-popover-style').val();
143
-
144
- shortcode += '" ';
145
- shortcode += ' size="' + table.find('#oscitas-pbutton-size').val();
146
-
147
- shortcode += '" ';
148
- shortcode += ' type="' + table.find('#oscitas-pbutton-type').val();
149
-
150
- shortcode += '" ';
151
- //shortcode += ' btntag="'+table.find('#oscitas-button-type').val()+'" ';
152
-
153
-
154
-
155
- shortcode += ']';
156
- shortcode+= table.find('#oscitas-popover-button-text').val();
157
- shortcode+='[/popover]';
158
-
159
- // inserts the shortcode into the active editor
160
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
161
-
162
- // closes fancybox
163
- jQuery.fancybox.close();
164
- });
165
- }
166
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/progressbar/plugin_shortcode.php CHANGED
@@ -1,26 +1,26 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * BUTTONS
5
- * ********************************************************* */
6
-
7
- function osc_theme_progressbar($params, $content = null) {
8
- extract(shortcode_atts(array(
9
- 'value' => '50',
10
- 'barstyle' => '',
11
- 'bartype' => '',
12
- 'class' => '',
13
- 'label' => ''
14
- ), $params));
15
- $out = $label != '' ? '<div class="osc_bar_outer"><label class="osc-progressbar-label">' . $label . '</label>' : '';
16
- $out.='<div class="progress ' . $barstyle . ' ' . $class . ' osc-progressbar">
17
- <div class="progress-bar ' . $bartype . '" role="progressbar" aria-valuenow="' . $value . '" aria-valuemin="0" aria-valuemax="100" style="width: ' . $value . '%">
18
- <span class="sr-only">' . $value . '% Complete</span>
19
- </div>
20
- </div>';
21
- $out .= $label != '' ?'</div>':'';
22
- return $out;
23
- }
24
-
25
- add_shortcode('progressbar', 'osc_theme_progressbar');
26
-
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * BUTTONS
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_progressbar($params, $content = null) {
8
+ extract(shortcode_atts(array(
9
+ 'value' => '50',
10
+ 'barstyle' => '',
11
+ 'bartype' => '',
12
+ 'class' => '',
13
+ 'label' => ''
14
+ ), $params));
15
+ $out = $label != '' ? '<div class="osc_bar_outer"><label class="osc-progressbar-label">' . $label . '</label>' : '';
16
+ $out.='<div class="progress ' . $barstyle . ' ' . $class . ' osc-progressbar">
17
+ <div class="progress-bar ' . $bartype . '" role="progressbar" aria-valuenow="' . $value . '" aria-valuemin="0" aria-valuemax="100" style="width: ' . $value . '%">
18
+ <span class="sr-only">' . $value . '% Complete</span>
19
+ </div>
20
+ </div>';
21
+ $out .= $label != '' ?'</div>':'';
22
+ return $out;
23
+ }
24
+
25
+ add_shortcode('progressbar', 'osc_theme_progressbar');
26
+
shortcode/progressbar/progressbar_plugin.js CHANGED
@@ -1,151 +1,115 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasProgressbar', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasprogressbar', {
5
- title : 'Progressbar Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_progressbar();
9
- jQuery.fancybox({
10
- 'autoSize':false,
11
- 'autoWidth':false,
12
- 'fitToView':false,
13
- 'height':'auto',
14
- 'topRatio':0.1,
15
- 'width':800,
16
- 'type' : 'inline',
17
- 'title' : 'Progressbar Shortcode',
18
- 'href' : '#oscitas-form-progressbar',
19
- helpers: {
20
- title : {
21
- type : 'over',
22
- position:'top'
23
- }
24
- }
25
- });
26
- jQuery('#oscitas-form-progressbar table tr:visible:even').css('background', '#F0F0F0');
27
- jQuery('#oscitas-form-progressbar table tr:visible:odd').css('background', '#DADADD');
28
- }
29
- });
30
- },
31
- createControl : function(n, cm) {
32
- return null;
33
- },
34
- getInfo : function() {
35
- return {
36
- longname : "Progressbar Shortcode",
37
- author : 'Oscitas Themes',
38
- authorurl : 'http://www.oscitasthemes.com/',
39
- infourl : 'http://www.oscitasthemes.com/',
40
- version : "2.0.0"
41
- };
42
- }
43
- });
44
- tinymce.PluginManager.add('oscitasprogressbar', tinymce.plugins.oscitasProgressbar);
45
- })();
46
-
47
- function create_oscitas_progressbar(){
48
- if(jQuery('#oscitas-form-progressbar').length){
49
- jQuery('#oscitas-form-progressbar').remove();
50
- }
51
- // creates a form to be displayed everytime the button is clicked
52
- // you should achieve this using AJAX instead of direct html code like this
53
- var form = jQuery('<div id="oscitas-form-progressbar" class="oscitas-container"><table id="oscitas-table" class="form-table">\
54
- <tr>\
55
- <th><label for="oscitas-progressbar-style">Progress Bar Type:</label></th>\
56
- <td><select name="type" id="oscitas-progressbar-style">\
57
- <option value="">Default</option>\
58
- <option value="progress-bar-success">Success</option>\
59
- <option value="progress-bar-info">Information</option>\
60
- <option value="progress-bar-warning">Warning</option>\
61
- <option value="progress-bar-danger">Danger</option>\
62
- </select><br />\
63
- </td>\
64
- </tr>\
65
- <tr>\
66
- <th><label for="oscitas-progressbar-label">Progressbar Label:</label></th>\
67
- <td><input type="text" name="title" id="oscitas-progressbar-label" value=""/><br />\
68
- </td>\
69
- </tr>\
70
- <tr>\
71
- <th><label for="oscitas-progressbar-progress">Progress Value:</label></th>\
72
- <td><input type="text" name="title" id="oscitas-progressbar-progress" value="50"/><br />\
73
- <small>Enter a numeric value between 0 to 100, Default value is 50</small>\
74
- </td>\
75
- </tr>\
76
- <tr>\
77
- <th><label for="oscitas-progressbar-stripped">Stripped Progress Bar:</label></th>\
78
- <td>\
79
- <input type="checkbox" id="oscitas-progressbar-stripped">\
80
- </td>\
81
- </tr>\
82
- <tr id="osc_progress_animate" style="display: none;">\
83
- <th><label for="oscitas-progressbar-animated">Animated Progress Bar:</label></th>\
84
- <td>\
85
- <input type="checkbox" id="oscitas-progressbar-animated">\
86
- </td>\
87
- </tr>\
88
- <tr>\
89
- <th><label for="oscitas-progressbar-class">Custom Class:</label></th>\
90
- <td><input type="text" name="line" id="oscitas-progressbar-class" value=""/><br />\
91
- </td>\
92
- </tr>\
93
- </table>\
94
- <p class="submit">\
95
- <input type="button" id="oscitas-progressbar-submit" class="button-primary" value="Insert Button" name="submit" />\
96
- </p>\
97
- </div>');
98
-
99
- var table = form.find('table');
100
- form.appendTo('body').hide();
101
- jQuery('#oscitas-form-progressbar table tr:visible:even').css('background', '#F0F0F0');
102
- jQuery('#oscitas-form-progressbar table tr:visible:odd').css('background', '#DADADD');
103
- table.find('#oscitas-progressbar-stripped').click(function(){
104
- if(jQuery(this).prop('checked')){
105
- jQuery('#osc_progress_animate').show();
106
- } else{
107
- jQuery('#osc_progress_animate').hide();
108
- }
109
- jQuery('#oscitas-form-progressbar table tr:visible:even').css('background', '#F0F0F0');
110
- jQuery('#oscitas-form-progressbar table tr:visible:odd').css('background', '#DADADD');
111
- })
112
-
113
-
114
-
115
-
116
-
117
- // handles the click event of the submit button
118
- form.find('#oscitas-progressbar-submit').click(function(){
119
-
120
- var cusclass='',type='',value='',stripped='',label='';
121
- if(jQuery('#oscitas-progressbar-stripped').prop('checked')){
122
- stripped=' barstyle="progress-striped';
123
- if(jQuery('#oscitas-progressbar-animated').prop('checked')){
124
- stripped +=' active';
125
- }
126
- stripped +='"';
127
- }
128
- if(table.find('#oscitas-progressbar-class').val()!=''){
129
- cusclass= ' class="'+table.find('#oscitas-progressbar-class').val()+'"';
130
- }
131
- if(table.find('#oscitas-progressbar-style').val()!=''){
132
- type= ' bartype="'+table.find('#oscitas-progressbar-style').val()+'"';
133
- }
134
- if(table.find('#oscitas-progressbar-progress').val()!=''){
135
- value= ' value="'+table.find('#oscitas-progressbar-progress').val()+'"';
136
- }
137
- if(table.find('#oscitas-progressbar-label').val()!=''){
138
- label= ' label="'+table.find('#oscitas-progressbar-label').val()+'"';
139
- }
140
- var shortcode = '[progressbar'+value+cusclass+type+stripped+label;
141
-
142
- shortcode += ']';
143
-
144
- // inserts the shortcode into the active editor
145
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
146
-
147
- // closes fancybox
148
- jQuery.fancybox.close();
149
- });
150
- }
151
-
1
+ var progressbar={
2
+ title:"Progressbar Shortcode",
3
+ id :'oscitas-form-progressbar',
4
+ pluginName: 'progressbar',
5
+ setRowColors: true
6
+ };
7
+ (function() {
8
+ _create_tinyMCE_options(progressbar, 800);
9
+ })();
10
+
11
+ function create_oscitas_progressbar(pluginObj){
12
+ if(jQuery(pluginObj.hashId).length){
13
+ jQuery(pluginObj.hashId).remove();
14
+ }
15
+ // creates a form to be displayed everytime the button is clicked
16
+ // you should achieve this using AJAX instead of direct html code like this
17
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
18
+ <tr>\
19
+ <th><label for="oscitas-progressbar-style">Progress Bar Type:</label></th>\
20
+ <td><select name="type" id="oscitas-progressbar-style">\
21
+ <option value="">Default</option>\
22
+ <option value="progress-bar-success">Success</option>\
23
+ <option value="progress-bar-info">Information</option>\
24
+ <option value="progress-bar-warning">Warning</option>\
25
+ <option value="progress-bar-danger">Danger</option>\
26
+ </select><br />\
27
+ </td>\
28
+ </tr>\
29
+ <tr>\
30
+ <th><label for="oscitas-progressbar-label">Progressbar Label:</label></th>\
31
+ <td><input type="text" name="title" id="oscitas-progressbar-label" value=""/><br />\
32
+ </td>\
33
+ </tr>\
34
+ <tr>\
35
+ <th><label for="oscitas-progressbar-progress">Progress Value:</label></th>\
36
+ <td><input type="text" name="title" id="oscitas-progressbar-progress" value="50"/><br />\
37
+ <small>Enter a numeric value between 0 to 100, Default value is 50</small>\
38
+ </td>\
39
+ </tr>\
40
+ <tr>\
41
+ <th><label for="oscitas-progressbar-stripped">Stripped Progress Bar:</label></th>\
42
+ <td>\
43
+ <input type="checkbox" id="oscitas-progressbar-stripped">\
44
+ </td>\
45
+ </tr>\
46
+ <tr id="osc_progress_animate" style="display: none;">\
47
+ <th><label for="oscitas-progressbar-animated">Animated Progress Bar:</label></th>\
48
+ <td>\
49
+ <input type="checkbox" id="oscitas-progressbar-animated">\
50
+ </td>\
51
+ </tr>\
52
+ <tr>\
53
+ <th><label for="oscitas-progressbar-class">Custom Class:</label></th>\
54
+ <td><input type="text" name="line" id="oscitas-progressbar-class" value=""/><br />\
55
+ </td>\
56
+ </tr>\
57
+ </table>\
58
+ <p class="submit">\
59
+ <input type="button" id="oscitas-progressbar-submit" class="button-primary" value="Insert Button" name="submit" />\
60
+ </p>\
61
+ </div>');
62
+
63
+ var table = form.find('table');
64
+ form.appendTo('body').hide();
65
+ jQuery('#oscitas-form-progressbar table tr:visible:even').css('background', '#F0F0F0');
66
+ jQuery('#oscitas-form-progressbar table tr:visible:odd').css('background', '#DADADD');
67
+ table.find('#oscitas-progressbar-stripped').click(function(){
68
+ if(jQuery(this).prop('checked')){
69
+ jQuery('#osc_progress_animate').show();
70
+ } else{
71
+ jQuery('#osc_progress_animate').hide();
72
+ }
73
+ jQuery('#oscitas-form-progressbar table tr:visible:even').css('background', '#F0F0F0');
74
+ jQuery('#oscitas-form-progressbar table tr:visible:odd').css('background', '#DADADD');
75
+ })
76
+
77
+
78
+
79
+
80
+
81
+ // handles the click event of the submit button
82
+ form.find('#oscitas-progressbar-submit').click(function(){
83
+
84
+ var cusclass='',type='',value='',stripped='',label='';
85
+ if(jQuery('#oscitas-progressbar-stripped').prop('checked')){
86
+ stripped=' barstyle="progress-striped';
87
+ if(jQuery('#oscitas-progressbar-animated').prop('checked')){
88
+ stripped +=' active';
89
+ }
90
+ stripped +='"';
91
+ }
92
+ if(table.find('#oscitas-progressbar-class').val()!=''){
93
+ cusclass= ' class="'+table.find('#oscitas-progressbar-class').val()+'"';
94
+ }
95
+ if(table.find('#oscitas-progressbar-style').val()!=''){
96
+ type= ' bartype="'+table.find('#oscitas-progressbar-style').val()+'"';
97
+ }
98
+ if(table.find('#oscitas-progressbar-progress').val()!=''){
99
+ value= ' value="'+table.find('#oscitas-progressbar-progress').val()+'"';
100
+ }
101
+ if(table.find('#oscitas-progressbar-label').val()!=''){
102
+ label= ' label="'+table.find('#oscitas-progressbar-label').val()+'"';
103
+ }
104
+ var shortcode = '[progressbar'+value+cusclass+type+stripped+label;
105
+
106
+ shortcode += ']';
107
+
108
+ // inserts the shortcode into the active editor
109
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
110
+
111
+ // closes fancybox
112
+ close_dialogue(pluginObj.hashId);
113
+ });
114
+ }
115
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/tables/plugin_shortcode.php CHANGED
@@ -1,61 +1,61 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * TABLES
5
- * ********************************************************* */
6
-
7
- function osc_theme_os_table($params, $content = null) {
8
- extract(shortcode_atts(array(
9
- 'width' => '100%',
10
- 'style' => '',
11
- 'responsive' => 'false',
12
- 'class' => ''
13
- ), $params));
14
- $content = str_replace("]<br />", ']', $content);
15
- $out = '<table width="' . $width . '" class="table ' . $style . ' '.$class.'">' . do_shortcode($content) . '</table>';
16
- $out = strtolower($responsive) == 'true' ? '<div class="table-responsive">' . $out . '</div>' : $out;
17
- return $out;
18
- }
19
-
20
- add_shortcode('table', 'osc_theme_os_table');
21
-
22
- function osc_theme_os_table_head($params, $content = null) {
23
- $out = '<thead><tr>' . do_shortcode($content) . '</tr></thead>';
24
- return $out;
25
- }
26
-
27
- add_shortcode('table_head', 'osc_theme_os_table_head');
28
-
29
- function osc_theme_os_table_body($params, $content = null) {
30
- $out = '<tbody>' . do_shortcode($content) . '</tbody>';
31
- return $out;
32
- }
33
-
34
- add_shortcode('table_body', 'osc_theme_os_table_body');
35
-
36
- function osc_theme_os_table_row($params, $content = null) {
37
- $out = '<tr>';
38
- $out .= do_shortcode($content);
39
- $out .= '</tr>';
40
- return $out;
41
- }
42
-
43
- add_shortcode('table_row', 'osc_theme_os_table_row');
44
-
45
- function osc_theme_os_row_column($params, $content = null) {
46
- $out = '<td>';
47
- $out .= do_shortcode($content);
48
- $out .= '</td>';
49
- return $out;
50
- }
51
-
52
- add_shortcode('row_column', 'osc_theme_os_row_column');
53
-
54
- function osc_theme_os_th_column($params, $content = null) {
55
- $out = '<th>';
56
- $out .= do_shortcode($content);
57
- $out .= '</th>';
58
- return $out;
59
- }
60
-
61
- add_shortcode('th_column', 'osc_theme_os_th_column');
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * TABLES
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_os_table($params, $content = null) {
8
+ extract(shortcode_atts(array(
9
+ 'width' => '100%',
10
+ 'style' => '',
11
+ 'responsive' => 'false',
12
+ 'class' => ''
13
+ ), $params));
14
+ $content = str_replace("]<br />", ']', $content);
15
+ $out = '<table width="' . $width . '" class="table ' . $style . ' '.$class.'">' . do_shortcode($content) . '</table>';
16
+ $out = strtolower($responsive) == 'true' ? '<div class="table-responsive">' . $out . '</div>' : $out;
17
+ return $out;
18
+ }
19
+
20
+ add_shortcode('table', 'osc_theme_os_table');
21
+
22
+ function osc_theme_os_table_head($params, $content = null) {
23
+ $out = '<thead><tr>' . do_shortcode($content) . '</tr></thead>';
24
+ return $out;
25
+ }
26
+
27
+ add_shortcode('table_head', 'osc_theme_os_table_head');
28
+
29
+ function osc_theme_os_table_body($params, $content = null) {
30
+ $out = '<tbody>' . do_shortcode($content) . '</tbody>';
31
+ return $out;
32
+ }
33
+
34
+ add_shortcode('table_body', 'osc_theme_os_table_body');
35
+
36
+ function osc_theme_os_table_row($params, $content = null) {
37
+ $out = '<tr>';
38
+ $out .= do_shortcode($content);
39
+ $out .= '</tr>';
40
+ return $out;
41
+ }
42
+
43
+ add_shortcode('table_row', 'osc_theme_os_table_row');
44
+
45
+ function osc_theme_os_row_column($params, $content = null) {
46
+ $out = '<td>';
47
+ $out .= do_shortcode($content);
48
+ $out .= '</td>';
49
+ return $out;
50
+ }
51
+
52
+ add_shortcode('row_column', 'osc_theme_os_row_column');
53
+
54
+ function osc_theme_os_th_column($params, $content = null) {
55
+ $out = '<th>';
56
+ $out .= do_shortcode($content);
57
+ $out .= '</th>';
58
+ return $out;
59
+ }
60
+
61
+ add_shortcode('th_column', 'osc_theme_os_th_column');
shortcode/tables/tables_plugin.js CHANGED
@@ -1,151 +1,121 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasTables', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitastables', {
5
- title : 'Table Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_table();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Table Shortcode',
12
- 'href' : '#oscitas-form-table',
13
-
14
- helpers: {
15
- title : {
16
- type : 'over',
17
- position:'top'
18
- }
19
- }
20
- });
21
- }
22
- });
23
- },
24
- createControl : function(n, cm) {
25
- return null;
26
- },
27
- getInfo : function() {
28
- return {
29
- longname : "Table Shortcode",
30
- author : 'Oscitas Themes',
31
- authorurl : 'http://www.oscitasthemes.com/',
32
- infourl : 'http://www.oscitasthemes.com/',
33
- version : "2.0.0"
34
- };
35
- }
36
- });
37
- tinymce.PluginManager.add('oscitastables', tinymce.plugins.oscitasTables);
38
- })();
39
-
40
- function create_oscitas_table(){
41
- if(jQuery('#oscitas-form-table').length){
42
- jQuery('#oscitas-form-table').remove();
43
- }
44
- // creates a form to be displayed everytime the button is clicked
45
- // you should achieve this using AJAX instead of direct html code like this
46
- var form = jQuery('<div id="oscitas-form-table" class="oscitas-container"><table id="oscitas-table" class="form-table">\
47
- <tr>\
48
- <th><label for="oscitas-table-width">Table Width</label></th>\
49
- <td><input type="text" name="icontag" id="oscitas-table-width" value="100%" /><br />\
50
- </td>\
51
- </tr>\
52
- <tr>\
53
- <th><label for="oscitas-table-columns">Columns</label></th>\
54
- <td><input type="text" name="link" id="oscitas-table-columns" value="4" /><br />\
55
- </td>\
56
- </tr>\
57
- <tr>\
58
- <th><label for="oscitas-table-rows">Rows</label></th>\
59
- <td><input type="text" name="title" id="oscitas-table-rows" value="4" /><br />\
60
- </td>\
61
- </tr>\
62
- <tr>\
63
- <th><label for="oscitas-table-rows">Table style</label></th>\
64
- <td>\
65
- <select name="tablestyle" id="oscitas-table-style">\
66
- <option value="">Simple</option>\
67
- <option value="table-striped">Striped</option>\
68
- <option value="table-bordered">Bordered</option>\
69
- <option value="table-striped table-bordered">Striped + Bordered</option>\
70
- </select>\
71
- <br />\
72
- </td>\
73
- </tr>\
74
- <tr>\
75
- <th><label for="oscitas-table-rows">Show hover effect</label></th>\
76
- <td>\
77
- <input type="checkbox" id="oscitas-table-hover" value="table-hover">\
78
- <br />\
79
- </td>\
80
- </tr>\
81
- <tr>\
82
- <th><label for="oscitas-table-rows">Responsive</label></th>\
83
- <td>\
84
- <input type="checkbox" id="oscitas-table-scroll" value="table-responsive">\
85
- <br />\
86
- </td>\
87
- </tr>\
88
- <tr>\
89
- <th><label for="oscitas-table-class">Custom Class:</label></th>\
90
- <td><input type="text" name="line" id="oscitas-table-class" value=""/><br />\
91
- </td>\
92
- </tr>\
93
- </table>\
94
- <p class="submit">\
95
- <input type="button" id="oscitas-submit" class="button-primary" value="Insert Table" name="submit" />\
96
- </p>\
97
- </div>');
98
-
99
- var table = form.find('table');
100
- form.appendTo('body').hide();
101
-
102
- // handles the click event of the submit button
103
- form.find('#oscitas-submit').click(function(){
104
- // defines the options and their default values
105
- // again, this is not the most elegant way to do this
106
- // but well, this gets the job done nonetheless
107
- var cusclass='';
108
- if(table.find('#oscitas-table-class').val()!=''){
109
- cusclass= ' class="'+table.find('#oscitas-table-class').val()+'"';
110
- }
111
- var columns = table.find('#oscitas-table-columns').val();
112
- var rows = table.find('#oscitas-table-rows').val();
113
- var value = table.find('#oscitas-table-width').val();
114
- var osStyle = table.find('#oscitas-table-style').val();
115
-
116
- var osHover = table.find('#oscitas-table-hover').prop('checked') ? ' table-hover' : '' ;
117
- var osScroll = table.find('#oscitas-table-scroll').prop('checked')? 'true': 'false';
118
- //creating table
119
- var shortcode = '[table ';
120
- shortcode += 'width ="' + value + '"';
121
- shortcode += ' style ="' + osStyle +osHover+ '"';
122
- shortcode += ' responsive ="' +osScroll+ '"'+cusclass;
123
-
124
- shortcode += ']<br/>[table_head]<br/>';
125
- for (var i=1;i<=columns;i++)
126
- {
127
- shortcode += '[th_column]Heading-'+i+'[/th_column]<br/>';
128
- }
129
- shortcode += '[/table_head]<br/>[table_body]<br/>';
130
-
131
- for (var j=1;j<=rows;j++)
132
- {
133
- shortcode += '[table_row]<br/>';
134
- for (var i=1;i<=columns;i++)
135
- {
136
- shortcode += '[row_column]value-'+i+'[/row_column]<br/>';
137
- }
138
-
139
- shortcode += '[/table_row]<br/>';
140
- }
141
- shortcode += '[/table_body]<br/>[/table]';
142
-
143
-
144
- // inserts the shortcode into the active editor
145
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
146
-
147
- // closes fancybox
148
- jQuery.fancybox.close();
149
- });
150
- }
151
-
1
+ var tables={
2
+ title:"Progressbar Shortcode",
3
+ id :'oscitas-form-table',
4
+ pluginName: 'tables'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(tables);
8
+ })();
9
+
10
+ function create_oscitas_tables(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-table-width">Table Width</label></th>\
19
+ <td><input type="text" name="icontag" id="oscitas-table-width" value="100%" /><br />\
20
+ </td>\
21
+ </tr>\
22
+ <tr>\
23
+ <th><label for="oscitas-table-columns">Columns</label></th>\
24
+ <td><input type="text" name="link" id="oscitas-table-columns" value="4" /><br />\
25
+ </td>\
26
+ </tr>\
27
+ <tr>\
28
+ <th><label for="oscitas-table-rows">Rows</label></th>\
29
+ <td><input type="text" name="title" id="oscitas-table-rows" value="4" /><br />\
30
+ </td>\
31
+ </tr>\
32
+ <tr>\
33
+ <th><label for="oscitas-table-rows">Table style</label></th>\
34
+ <td>\
35
+ <select name="tablestyle" id="oscitas-table-style">\
36
+ <option value="">Simple</option>\
37
+ <option value="table-striped">Striped</option>\
38
+ <option value="table-bordered">Bordered</option>\
39
+ <option value="table-striped table-bordered">Striped + Bordered</option>\
40
+ </select>\
41
+ <br />\
42
+ </td>\
43
+ </tr>\
44
+ <tr>\
45
+ <th><label for="oscitas-table-rows">Show hover effect</label></th>\
46
+ <td>\
47
+ <input type="checkbox" id="oscitas-table-hover" value="table-hover">\
48
+ <br />\
49
+ </td>\
50
+ </tr>\
51
+ <tr>\
52
+ <th><label for="oscitas-table-rows">Responsive</label></th>\
53
+ <td>\
54
+ <input type="checkbox" id="oscitas-table-scroll" value="table-responsive">\
55
+ <br />\
56
+ </td>\
57
+ </tr>\
58
+ <tr>\
59
+ <th><label for="oscitas-table-class">Custom Class:</label></th>\
60
+ <td><input type="text" name="line" id="oscitas-table-class" value=""/><br />\
61
+ </td>\
62
+ </tr>\
63
+ </table>\
64
+ <p class="submit">\
65
+ <input type="button" id="oscitas-submit" class="button-primary" value="Insert Table" name="submit" />\
66
+ </p>\
67
+ </div>');
68
+
69
+ var table = form.find('table');
70
+ form.appendTo('body').hide();
71
+
72
+ // handles the click event of the submit button
73
+ form.find('#oscitas-submit').click(function(){
74
+ // defines the options and their default values
75
+ // again, this is not the most elegant way to do this
76
+ // but well, this gets the job done nonetheless
77
+ var cusclass='';
78
+ if(table.find('#oscitas-table-class').val()!=''){
79
+ cusclass= ' class="'+table.find('#oscitas-table-class').val()+'"';
80
+ }
81
+ var columns = table.find('#oscitas-table-columns').val();
82
+ var rows = table.find('#oscitas-table-rows').val();
83
+ var value = table.find('#oscitas-table-width').val();
84
+ var osStyle = table.find('#oscitas-table-style').val();
85
+
86
+ var osHover = table.find('#oscitas-table-hover').prop('checked') ? ' table-hover' : '' ;
87
+ var osScroll = table.find('#oscitas-table-scroll').prop('checked')? 'true': 'false';
88
+ //creating table
89
+ var shortcode = '[table ';
90
+ shortcode += 'width ="' + value + '"';
91
+ shortcode += ' style ="' + osStyle +osHover+ '"';
92
+ shortcode += ' responsive ="' +osScroll+ '"'+cusclass;
93
+
94
+ shortcode += ']<br/>[table_head]<br/>';
95
+ for (var i=1;i<=columns;i++)
96
+ {
97
+ shortcode += '[th_column]Heading-'+i+'[/th_column]<br/>';
98
+ }
99
+ shortcode += '[/table_head]<br/>[table_body]<br/>';
100
+
101
+ for (var j=1;j<=rows;j++)
102
+ {
103
+ shortcode += '[table_row]<br/>';
104
+ for (var i=1;i<=columns;i++)
105
+ {
106
+ shortcode += '[row_column]value-'+i+'[/row_column]<br/>';
107
+ }
108
+
109
+ shortcode += '[/table_row]<br/>';
110
+ }
111
+ shortcode += '[/table_body]<br/>[/table]';
112
+
113
+
114
+ // inserts the shortcode into the active editor
115
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
116
+
117
+ // closes fancybox
118
+ close_dialogue(pluginObj.hashId);
119
+ });
120
+ }
121
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/tabs/plugin_shortcode.php CHANGED
@@ -1,48 +1,48 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * jQuery UI Tabs
5
- * ********************************************************* */
6
- $_oscitas_tabs = array();
7
-
8
- function osc_theme_tabs($params, $content = null) {
9
- global $_oscitas_tabs;
10
- extract(shortcode_atts(array(
11
- 'id' => count($_oscitas_tabs),
12
- 'class' => ''
13
- ), $params));
14
- $_oscitas_tabs[$id] = array();
15
- do_shortcode($content);
16
- $scontent = '<ul class="nav nav-tabs " id="oscitas-tabs-' . $id . '">' . implode('', $_oscitas_tabs[$id]['tabs']) . '</ul><div
17
- class="tab-content">' . implode('', $_oscitas_tabs[$id]['panes']) . '</div>';
18
- if (trim($scontent) != "") {
19
- $output = '<div class="' . $class . '">' . $scontent;
20
- $output .= '</div>';
21
-
22
- return $output;
23
- } else {
24
- return "";
25
- }
26
- }
27
- add_shortcode('tabs', 'osc_theme_tabs');
28
-
29
- function osc_theme_tab($params, $content = null) {
30
- global $_oscitas_tabs;
31
- extract(shortcode_atts(array(
32
- 'title' => 'title',
33
- 'active' => '',
34
- ), $params));
35
-
36
- $index = count($_oscitas_tabs) - 1;
37
- if (!isset($_oscitas_tabs[$index]['tabs'])) {
38
- $_oscitas_tabs[$index]['tabs'] = array();
39
- }
40
- $pane_id = 'pane-' . $index . '-' . count($_oscitas_tabs[$index]['tabs']);
41
- $_oscitas_tabs[$index]['tabs'][] = '<li class="' . $active . '"><a href="#' . $pane_id . '" data-toggle="tab">' . $title
42
- . '</a></li>';
43
- $_oscitas_tabs[$index]['panes'][] = '<div class="tab-pane ' . $active . '" id="'
44
- . $pane_id . '">'
45
- . do_shortcode
46
- (trim($content)) . '</div>';
47
- }
48
- add_shortcode('tab', 'osc_theme_tab');
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * jQuery UI Tabs
5
+ * ********************************************************* */
6
+ $_oscitas_tabs = array();
7
+
8
+ function osc_theme_tabs($params, $content = null) {
9
+ global $_oscitas_tabs;
10
+ extract(shortcode_atts(array(
11
+ 'id' => count($_oscitas_tabs),
12
+ 'class' => ''
13
+ ), $params));
14
+ $_oscitas_tabs[$id] = array();
15
+ do_shortcode($content);
16
+ $scontent = '<ul class="nav nav-tabs " id="oscitas-tabs-' . $id . '">' . implode('', $_oscitas_tabs[$id]['tabs']) . '</ul><div
17
+ class="tab-content">' . implode('', $_oscitas_tabs[$id]['panes']) . '</div>';
18
+ if (trim($scontent) != "") {
19
+ $output = '<div class="' . $class . '">' . $scontent;
20
+ $output .= '</div>';
21
+
22
+ return $output;
23
+ } else {
24
+ return "";
25
+ }
26
+ }
27
+ add_shortcode('tabs', 'osc_theme_tabs');
28
+
29
+ function osc_theme_tab($params, $content = null) {
30
+ global $_oscitas_tabs;
31
+ extract(shortcode_atts(array(
32
+ 'title' => 'title',
33
+ 'active' => '',
34
+ ), $params));
35
+
36
+ $index = count($_oscitas_tabs) - 1;
37
+ if (!isset($_oscitas_tabs[$index]['tabs'])) {
38
+ $_oscitas_tabs[$index]['tabs'] = array();
39
+ }
40
+ $pane_id = 'pane-' . $index . '-' . count($_oscitas_tabs[$index]['tabs']);
41
+ $_oscitas_tabs[$index]['tabs'][] = '<li class="' . $active . '"><a href="#' . $pane_id . '" data-toggle="tab">' . $title
42
+ . '</a></li>';
43
+ $_oscitas_tabs[$index]['panes'][] = '<div class="tab-pane ' . $active . '" id="'
44
+ . $pane_id . '">'
45
+ . do_shortcode
46
+ (trim($content)) . '</div>';
47
+ }
48
+ add_shortcode('tab', 'osc_theme_tab');
shortcode/tabs/tabs_plugin.js CHANGED
@@ -1,26 +1,26 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasTabs', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitastabs', {
5
- title : 'Tabs Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- ed.selection.setContent('[tabs class="yourcustomclass"]<br/>[tab title="Tab number 1" active="active"]Tab 1 content goes here.[/tab]<br/>[tab title="Tab number 2"]Tab 2 content goes here.[/tab]<br/>[tab title="Tab number 3"]Tab 3 content goes here.[/tab]<br/>[tab title="Tab number 4"]Tab 4 content goes here.[/tab]<br/>[/tabs]');
9
- }
10
- });
11
- },
12
- createControl : function(n, cm) {
13
- return null;
14
- },
15
- getInfo : function() {
16
- return {
17
- longname : "Tabs Shortcode",
18
- author : 'Oscitas Themes',
19
- authorurl : 'http://www.oscitasthemes.com/',
20
- infourl : 'http://www.oscitasthemes.com/',
21
- version : "2.0.0"
22
- };
23
- }
24
- });
25
- tinymce.PluginManager.add('oscitastabs', tinymce.plugins.oscitasTabs);
26
- })();
1
+ (function() {
2
+ tinymce.create('tinymce.plugins.oscitasTabs', {
3
+ init : function(ed, url) {
4
+ ed.addButton('oscitastabs', {
5
+ title : 'Tabs Shortcode',
6
+ image : url+'/icon.png',
7
+ onclick : function() {
8
+ ed.selection.setContent('[tabs class="yourcustomclass"]<br/>[tab title="Tab number 1" active="active"]Tab 1 content goes here.[/tab]<br/>[tab title="Tab number 2"]Tab 2 content goes here.[/tab]<br/>[tab title="Tab number 3"]Tab 3 content goes here.[/tab]<br/>[tab title="Tab number 4"]Tab 4 content goes here.[/tab]<br/>[/tabs]');
9
+ }
10
+ });
11
+ },
12
+ createControl : function(n, cm) {
13
+ return null;
14
+ },
15
+ getInfo : function() {
16
+ return {
17
+ longname : "Tabs Shortcode",
18
+ author : 'Oscitas Themes',
19
+ authorurl : 'http://www.oscitasthemes.com/',
20
+ infourl : 'http://www.oscitasthemes.com/',
21
+ version : "2.0.0"
22
+ };
23
+ }
24
+ });
25
+ tinymce.PluginManager.add('oscitastabs', tinymce.plugins.oscitasTabs);
26
+ })();
shortcode/thumbnail/plugin_shortcode.php CHANGED
@@ -1,37 +1,34 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * BUTTONS
5
- * ********************************************************* */
6
-
7
- function osc_theme_oscitasthumbnail($params, $content = 'Label') {
8
- extract(shortcode_atts(array(
9
- 'src' => '',
10
- 'class' => '',
11
- 'link' => '',
12
- 'border'=>''
13
- ), $params));
14
- $out = '';
15
- $borderClass = '';
16
- $imageBorderClass = 'img-responsive';
17
- if ($border != '') {
18
- $borderClass = 'img-thumbnail ';
19
- }
20
-
21
- $out = ' <div class="' . $borderClass.$class . '">';
22
-
23
- //$out = ' <div class="img-thumbnail ' . $class . '">';
24
- if ($link != '') {
25
- $out .='<a href="' . $link . '">';
26
- }
27
- $out .= '<img src="' . $src . '" '.($imageBorderClass? ' class="'.$imageBorderClass.'"':'').'>';
28
- if ($link != '') {
29
- $out .='</a>';
30
- }
31
-
32
- $out .= '</div>';
33
- return $out;
34
- }
35
-
36
- add_shortcode('thumbnail', 'osc_theme_oscitasthumbnail');
37
-
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * BUTTONS
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_oscitasthumbnail($params, $content = 'Label') {
8
+ extract(shortcode_atts(array(
9
+ 'src' => '',
10
+ 'class' => '',
11
+ 'link' => '',
12
+ 'border'=>''
13
+ ), $params));
14
+ $out = '';
15
+ if ($border != '') {
16
+ $borderClass = 'img-thumbnail ';
17
+ } else {
18
+ $borderClass = 'img-responsive';
19
+ }
20
+
21
+
22
+ //$out = ' <div class="img-thumbnail ' . $class . '">';
23
+ if ($link != '') {
24
+ $out .='<a href="' . $link . '">';
25
+ }
26
+ $out .= '<img src="' . $src . '" class="' . $borderClass . ' oscitas-res-image">';
27
+ if ($link != '') {
28
+ $out .='</a>';
29
+ }
30
+ return $out;
31
+ }
32
+
33
+ add_shortcode('thumbnail', 'osc_theme_oscitasthumbnail');
34
+
 
 
 
shortcode/thumbnail/thumbnail_plugin.js CHANGED
@@ -1,132 +1,102 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasThumbnail', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitasthumbnail', {
5
- title : 'Responsive Image Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_thumbnail();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Responsive Image Shortcode',
12
- 'href' : '#oscitas-form-thumbnail',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
-
20
- });
21
- }
22
- });
23
- },
24
- createControl : function(n, cm) {
25
- return null;
26
- },
27
- getInfo : function() {
28
- return {
29
- longname : "Responsive Image Shortcode",
30
- author : 'Oscitas Themes',
31
- authorurl : 'http://www.oscitasthemes.com/',
32
- infourl : 'http://www.oscitasthemes.com/',
33
- version : "2.0.0"
34
- };
35
- }
36
- });
37
- tinymce.PluginManager.add('oscitasthumbnail', tinymce.plugins.oscitasThumbnail);
38
- })();
39
-
40
- function create_oscitas_thumbnail(){
41
- if(jQuery('#oscitas-form-thumbnail').length){
42
- jQuery('#oscitas-form-thumbnail').remove();
43
- }
44
- // creates a form to be displayed everytime the button is clicked
45
- // you should achieve this using AJAX instead of direct html code like this
46
- var form = jQuery('<div id="oscitas-form-thumbnail" class="oscitas-container"><table id="oscitas-table" class="form-table">\
47
- <th><label for="oscitas-label-content">Upload Image:</label></th>\
48
- <td id="osc_thumbnail_upload"><input id="oscitas-thumbnail-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
49
- <input id="_btn" class="upload_image_button" type="button" value="Upload Image" />\
50
- </td>\
51
- </tr>\
52
- <tr>\
53
- <th><label for="oscitas-thumbnail-link">Link:</label></th>\
54
- <td><input type="text" name="oscitas-thumbnail-link" id="oscitas-thumbnail-link" value=""/><br />\
55
- </td>\
56
- </tr>\
57
- <tr>\
58
- <th><label for="oscitas-thumbnail-link">Show Border:</label></th>\
59
- <td><input type="checkbox" name="oscitas-thumbnail-border" id="oscitas-thumbnail-border" value="1"/><br />\
60
- </td>\
61
- </tr>\
62
- <tr>\
63
- <th><label for="oscitas-thumbnail-class">Custom Class:</label></th>\
64
- <td><input type="text" name="line" id="oscitas-thumbnail-class" value=""/><br />\
65
- </td>\
66
- </tr>\
67
- </table>\
68
- <p class="submit">\
69
- <input type="button" id="oscitas-thumbnail-submit" class="button-primary" value="Insert Thumbnail" name="submit" />\
70
- </p>\
71
- </div>');
72
-
73
- var table = form.find('table');
74
- form.appendTo('body').hide();
75
-
76
-
77
- form.find('.upload_image_button').click(function() {
78
- jQuery('.fancybox-overlay').css('z-index',100);
79
- jQuery('html').addClass('Image');
80
- formfield = jQuery(this).prev().attr('id');
81
- tb_show('', 'media-upload.php?type=image&amp;TB_iframe=true');
82
- return false;
83
- });
84
-
85
- window.original_send_to_editor = window.send_to_editor;
86
-
87
- window.send_to_editor = function(html) {
88
- if (formfield) {
89
- if (jQuery(html).find('img').length) {
90
- fileurl = jQuery('img', html).attr('src');
91
- } else if (jQuery(html).attr('src')) {
92
- fileurl = jQuery(html).attr('src');
93
- }
94
- jQuery('#' + formfield).val(fileurl);
95
- tb_remove();
96
- form.find('#osc_thumbnail_upload img').remove();
97
- form.find('#osc_thumbnail_upload').append('<img src="'+fileurl+'">')
98
- jQuery('html').removeClass('Image');
99
-
100
- } else {
101
- window.original_send_to_editor(html);
102
- }
103
-
104
- };
105
-
106
-
107
- // handles the click event of the submit button
108
- form.find('#oscitas-thumbnail-submit').click(function(){
109
- var shortcode='';
110
- var cusclass='',link='', border='';
111
- if(table.find('#oscitas-thumbnail-class').val()!=''){
112
- cusclass= ' class="'+table.find('#oscitas-thumbnail-class').val()+'"';
113
- }
114
- if(table.find('#oscitas-thumbnail-class').val()!=''){
115
- link= ' link="'+form.find('#oscitas-thumbnail-link').val()+'"';
116
- }
117
-
118
- if(table.find('#oscitas-thumbnail-border').is(':checked')){
119
- border= ' border="1"';
120
- }
121
-
122
- if(form.find('#oscitas-thumbnail-src').val()!=''){
123
- shortcode = '[thumbnail'+link+cusclass+border+' src="'+form.find('#oscitas-thumbnail-src').val()+'"]';
124
- }
125
- // inserts the shortcode into the active editor
126
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
127
-
128
- // closes fancybox
129
- jQuery.fancybox.close();
130
- });
131
- }
132
-
1
+ var thumbnail={
2
+ title:"Responsive Image Shortcode",
3
+ id :'oscitas-form-thumbnail',
4
+ pluginName: 'thumbnail'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(thumbnail);
8
+ })();
9
+
10
+ function create_oscitas_thumbnail(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <th><label for="oscitas-label-content">Upload Image:</label></th>\
18
+ <td id="osc_thumbnail_upload"><input id="oscitas-thumbnail-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
19
+ <input id="_btn" class="upload_image_button" type="button" value="Upload Image" />\
20
+ </td>\
21
+ </tr>\
22
+ <tr>\
23
+ <th><label for="oscitas-thumbnail-link">Link:</label></th>\
24
+ <td><input type="text" name="oscitas-thumbnail-link" id="oscitas-thumbnail-link" value=""/><br />\
25
+ </td>\
26
+ </tr>\
27
+ <tr>\
28
+ <th><label for="oscitas-thumbnail-link">Show Border:</label></th>\
29
+ <td><input type="checkbox" name="oscitas-thumbnail-border" id="oscitas-thumbnail-border" value="1"/><br />\
30
+ </td>\
31
+ </tr>\
32
+ <tr>\
33
+ <th><label for="oscitas-thumbnail-class">Custom Class:</label></th>\
34
+ <td><input type="text" name="line" id="oscitas-thumbnail-class" value=""/><br />\
35
+ </td>\
36
+ </tr>\
37
+ </table>\
38
+ <p class="submit">\
39
+ <input type="button" id="oscitas-thumbnail-submit" class="button-primary" value="Insert Thumbnail" name="submit" />\
40
+ </p>\
41
+ </div>');
42
+
43
+ var table = form.find('table');
44
+ form.appendTo('body').hide();
45
+
46
+
47
+ form.find('.upload_image_button').click(function() {
48
+ jQuery('.ui-widget-overlay, .ui-dialog').css('z-index',100);
49
+ jQuery('html').addClass('Image');
50
+ formfield = jQuery(this).prev().attr('id');
51
+ tb_show('', 'media-upload.php?type=image&amp;TB_iframe=true');
52
+ return false;
53
+ });
54
+
55
+ window.original_send_to_editor = window.send_to_editor;
56
+
57
+ window.send_to_editor = function(html) {
58
+ if (formfield) {
59
+ if (jQuery(html).find('img').length) {
60
+ fileurl = jQuery('img', html).attr('src');
61
+ } else if (jQuery(html).attr('src')) {
62
+ fileurl = jQuery(html).attr('src');
63
+ }
64
+ jQuery('#' + formfield).val(fileurl);
65
+ tb_remove();
66
+ form.find('#osc_thumbnail_upload img').remove();
67
+ form.find('#osc_thumbnail_upload').append('<img src="'+fileurl+'">')
68
+ jQuery('html').removeClass('Image');
69
+
70
+ } else {
71
+ window.original_send_to_editor(html);
72
+ }
73
+
74
+ };
75
+
76
+
77
+ // handles the click event of the submit button
78
+ form.find('#oscitas-thumbnail-submit').click(function(){
79
+ var shortcode='';
80
+ var cusclass='',link='', border='';
81
+ if(table.find('#oscitas-thumbnail-class').val()!=''){
82
+ cusclass= ' class="'+table.find('#oscitas-thumbnail-class').val()+'"';
83
+ }
84
+ if(table.find('#oscitas-thumbnail-class').val()!=''){
85
+ link= ' link="'+form.find('#oscitas-thumbnail-link').val()+'"';
86
+ }
87
+
88
+ if(table.find('#oscitas-thumbnail-border').is(':checked')){
89
+ border= ' border="1"';
90
+ }
91
+
92
+ if(form.find('#oscitas-thumbnail-src').val()!=''){
93
+ shortcode = '[thumbnail'+link+cusclass+border+' src="'+form.find('#oscitas-thumbnail-src').val()+'"]';
94
+ }
95
+ // inserts the shortcode into the active editor
96
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
97
+
98
+ // closes Dialoguebox
99
+ close_dialogue(pluginObj.hashId);
100
+ });
101
+ }
102
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/toggles/plugin_shortcode.php CHANGED
@@ -1,56 +1,56 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * jQuery UI Accordion (toggles)
5
- * ********************************************************* */
6
-
7
- $_oscitas_accordion = array();
8
-
9
- function osc_theme_toggles($params, $content = null) {
10
- global $_oscitas_accordion;
11
- extract(shortcode_atts(array(
12
- 'id' => count($_oscitas_accordion),
13
- 'class' => ''
14
- ), $params));
15
- $_oscitas_accordion[$id] = array();
16
- $scontent = do_shortcode($content);
17
-
18
- $output = '';
19
- if (trim($scontent) != '' || count($_oscitas_accordion[$id]['details'])) {
20
- $scontent = isset($_oscitas_accordion[$id]['details']) && is_array($_oscitas_accordion[$id]['details']) ? implode('', $_oscitas_accordion[$id]['details']) : '';
21
- $output .= '<div class="panel-group ' . $class . '" id="oscitas-accordion-' . $id . '">' . $scontent;
22
- $output .= '</div>';
23
- }
24
- return $output;
25
- }
26
-
27
- add_shortcode('toggles', 'osc_theme_toggles');
28
-
29
- function osc_theme_toggle($params, $content = null) {
30
- global $_oscitas_accordion;
31
- extract(shortcode_atts(array(
32
- 'title' => 'title',
33
- 'class' => ''
34
- ), $params));
35
- $con = do_shortcode($content);
36
- $index = count($_oscitas_accordion) - 1;
37
- $id = 'details-' . $index . '-' . count($_oscitas_accordion[$index]['details']);
38
- $_oscitas_accordion[$index]['details'][] = <<<EOS
39
- <div class="panel panel-default">
40
- <div class="panel-heading">
41
- <h4 class="panel-title">
42
- <a class="accordion-toggle" data-toggle="collapse"
43
- data-parent="#oscitas-accordion-{$index}"
44
- href="#{$id}">
45
- {$title}
46
- </a>
47
- </h4>
48
- </div>
49
- <div id="{$id}" class="panel-collapse collapse {$class}">
50
- <div class="panel-body">{$con}</div>
51
- </div>
52
- </div>
53
- EOS;
54
- }
55
-
56
  add_shortcode('toggle', 'osc_theme_toggle');
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * jQuery UI Accordion (toggles)
5
+ * ********************************************************* */
6
+
7
+ $_oscitas_accordion = array();
8
+
9
+ function osc_theme_toggles($params, $content = null) {
10
+ global $_oscitas_accordion;
11
+ extract(shortcode_atts(array(
12
+ 'id' => count($_oscitas_accordion),
13
+ 'class' => ''
14
+ ), $params));
15
+ $_oscitas_accordion[$id] = array();
16
+ $scontent = do_shortcode($content);
17
+
18
+ $output = '';
19
+ if (trim($scontent) != '' || count($_oscitas_accordion[$id]['details'])) {
20
+ $scontent = isset($_oscitas_accordion[$id]['details']) && is_array($_oscitas_accordion[$id]['details']) ? implode('', $_oscitas_accordion[$id]['details']) : '';
21
+ $output .= '<div class="panel-group ' . $class . '" id="oscitas-accordion-' . $id . '">' . $scontent;
22
+ $output .= '</div>';
23
+ }
24
+ return $output;
25
+ }
26
+
27
+ add_shortcode('toggles', 'osc_theme_toggles');
28
+
29
+ function osc_theme_toggle($params, $content = null) {
30
+ global $_oscitas_accordion;
31
+ extract(shortcode_atts(array(
32
+ 'title' => 'title',
33
+ 'class' => ''
34
+ ), $params));
35
+ $con = do_shortcode($content);
36
+ $index = count($_oscitas_accordion) - 1;
37
+ $id = isset($_oscitas_accordion[$index]['details'])?'details-' . $index . '-' . count($_oscitas_accordion[$index]['details']):'details-' . $index . '-0';
38
+ $_oscitas_accordion[$index]['details'][] = <<<EOS
39
+ <div class="panel panel-default">
40
+ <div class="panel-heading">
41
+ <h4 class="panel-title">
42
+ <a class="accordion-toggle" data-toggle="collapse"
43
+ data-parent="#oscitas-accordion-{$index}"
44
+ href="#{$id}">
45
+ {$title}
46
+ </a>
47
+ </h4>
48
+ </div>
49
+ <div id="{$id}" class="panel-collapse collapse {$class}">
50
+ <div class="panel-body">{$con}</div>
51
+ </div>
52
+ </div>
53
+ EOS;
54
+ }
55
+
56
  add_shortcode('toggle', 'osc_theme_toggle');
shortcode/toggles/toggles_plugin.js CHANGED
@@ -1,26 +1,26 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasToggles', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitastoggles', {
5
- title : 'Toggle Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- ed.selection.setContent('[toggles class="yourcustomclass"]<br/>[toggle title="Accordion number 1" class="in"]Toggle 1 content goes here.[/toggle]<br/>[toggle title="Accordion number 2"]Toggle 2 content goes here.[/toggle]<br/>[toggle title="Accordion number 3"]Toggle 3 content goes here.[/toggle]<br/>[toggle title="Accordion number 4"]Toggle 4 content goes here.[/toggle]<br/>[/toggles]');
9
- }
10
- });
11
- },
12
- createControl : function(n, cm) {
13
- return null;
14
- },
15
- getInfo : function() {
16
- return {
17
- longname : "Toggle Shortcode",
18
- author : 'Oscitas Themes',
19
- authorurl : 'http://www.oscitasthemes.com/',
20
- infourl : 'http://www.oscitasthemes.com/',
21
- version : "2.0.0"
22
- };
23
- }
24
- });
25
- tinymce.PluginManager.add('oscitastoggles', tinymce.plugins.oscitasToggles);
26
- })();
1
+ (function() {
2
+ tinymce.create('tinymce.plugins.oscitasToggles', {
3
+ init : function(ed, url) {
4
+ ed.addButton('oscitastoggles', {
5
+ title : 'Toggle Shortcode',
6
+ image : url+'/icon.png',
7
+ onclick : function() {
8
+ ed.selection.setContent('[toggles class="yourcustomclass"]<br/>[toggle title="Accordion number 1" class="in"]Toggle 1 content goes here.[/toggle]<br/>[toggle title="Accordion number 2"]Toggle 2 content goes here.[/toggle]<br/>[toggle title="Accordion number 3"]Toggle 3 content goes here.[/toggle]<br/>[toggle title="Accordion number 4"]Toggle 4 content goes here.[/toggle]<br/>[/toggles]');
9
+ }
10
+ });
11
+ },
12
+ createControl : function(n, cm) {
13
+ return null;
14
+ },
15
+ getInfo : function() {
16
+ return {
17
+ longname : "Toggle Shortcode",
18
+ author : 'Oscitas Themes',
19
+ authorurl : 'http://www.oscitasthemes.com/',
20
+ infourl : 'http://www.oscitasthemes.com/',
21
+ version : "2.0.0"
22
+ };
23
+ }
24
+ });
25
+ tinymce.PluginManager.add('oscitastoggles', tinymce.plugins.oscitasToggles);
26
+ })();
shortcode/tooltip/plugin_shortcode.php CHANGED
@@ -1,36 +1,36 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * Tooltip
5
- * ********************************************************* */
6
-
7
- function osc_theme_tooltip($params, $content = 'Tooltip') {
8
- extract(shortcode_atts(array(
9
- 'type' => '',
10
- 'link' => '',
11
- 'tooltip' => '',
12
- 'style' => '',
13
- 'class' => ''
14
- ), $params));
15
- $out = '';
16
- if ($type == 'link') {
17
- $out = '<a href="' . $link . '" data-placement="' . $style . '" title="' . $tooltip . '" class="osc_tooltip ' . $class . '">' . do_shortcode($content) . '</a>
18
- ';
19
- } elseif ($type == 'button') {
20
- $out = '<button type="button" data-toggle="tooltip" data-placement="' . $style . '" title="' . $tooltip . '" class="btn osc_tooltip ' . $class . '">' . do_shortcode($content) . '</button>';
21
- }
22
-
23
-
24
- $out .= "
25
- <script>
26
- jQuery(document).ready(function() {
27
- jQuery('.osc_tooltip').tooltip();
28
- });
29
- </script>
30
- ";
31
-
32
- return $out;
33
- }
34
-
35
- add_shortcode('tooltip', 'osc_theme_tooltip');
36
-
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * Tooltip
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_tooltip($params, $content = 'Tooltip') {
8
+ extract(shortcode_atts(array(
9
+ 'type' => '',
10
+ 'link' => '',
11
+ 'tooltip' => '',
12
+ 'style' => '',
13
+ 'class' => ''
14
+ ), $params));
15
+ $out = '';
16
+ if ($type == 'link') {
17
+ $out = '<a href="' . $link . '" data-placement="' . $style . '" title="' . $tooltip . '" class="osc_tooltip ' . $class . '">' . do_shortcode($content) . '</a>
18
+ ';
19
+ } elseif ($type == 'button') {
20
+ $out = '<button type="button" data-toggle="tooltip" data-placement="' . $style . '" title="' . $tooltip . '" class="btn osc_tooltip ' . $class . '">' . do_shortcode($content) . '</button>';
21
+ }
22
+
23
+
24
+ $out .= "
25
+ <script>
26
+ jQuery(document).ready(function() {
27
+ jQuery('.osc_tooltip').tooltip();
28
+ });
29
+ </script>
30
+ ";
31
+
32
+ return $out;
33
+ }
34
+
35
+ add_shortcode('tooltip', 'osc_theme_tooltip');
36
+
shortcode/tooltip/tooltip_plugin.js CHANGED
@@ -1,145 +1,115 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasTooltip', {
3
- init: function(ed, url) {
4
- ed.addButton('oscitastooltip', {
5
- title: 'Tooltip Shortcode',
6
- image: url + '/icon.png',
7
- onclick: function() {
8
- create_oscitas_tooltip();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Tooltip Shortcode',
12
- 'href' : '#oscitas-form-tooltip',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl: function(n, cm) {
24
- return null;
25
- },
26
- getInfo: function() {
27
- return {
28
- longname: "Tooltip Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitastooltip', tinymce.plugins.oscitasTooltip);
37
- })();
38
-
39
- function create_oscitas_tooltip(){
40
- if(jQuery('#oscitas-form-tooltip').length){
41
- jQuery('#oscitas-form-tooltip').remove();
42
- }
43
- // creates a form to be displayed everytime the button is clicked
44
- // you should achieve this using AJAX instead of direct html code like this
45
- var form = jQuery('<div id="oscitas-form-tooltip" class="oscitas-container"><table id="oscitas-table" class="form-table">\
46
- <tr>\
47
- <th><label for="oscitas-tooltip-style">Tooltip Style:</label></th>\
48
- <td><select name="type" id="oscitas-tooltip-style">\
49
- <option value="top">Top</option>\
50
- <option value="bottom">Bottom</option>\
51
- <option value="left">Left</option>\
52
- <option value="right">Right</option>\
53
- <option value="auto">Auto</option>\
54
- </select><br />\
55
- </td>\
56
- </tr>\
57
- <tr>\
58
- <th><label for="oscitas-tooltip-text">Tooltip Text:</label></th>\
59
- <td><input type="text" name="tooltip-text" id="oscitas-tooltip-text" value="Tooltip"/><br />\
60
- </td>\
61
- </tr>\
62
- <tr>\
63
- <th><label for="oscitas-tooltip-type">Type:</label></th>\
64
- <td><select name="type" id="oscitas-tooltip-type">\
65
- <option value="link">Link</option>\
66
- <option value="button">Button</option>\
67
- </select><br />\
68
- </td>\
69
- </tr >\
70
- <tr id="oscitas-tooltip-link-tr">\
71
- <th><label for="oscitas-tooltip-link">Link:</label></th>\
72
- <td><input type="text" name="tooltip-link" id="oscitas-tooltip-link" value="#"/><br />\
73
- </td>\
74
- </tr>\
75
- <tr>\
76
- <th><label for="oscitas-tooltip-link-text">Value:</label></th>\
77
- <td><input type="text" name="link-text" id="oscitas-tooltip-link-text" value="Hover Me"/><br />\
78
- </td>\
79
- </tr>\
80
- <tr>\
81
- <th><label for="oscitas-tooltip-class">Custom Class:</label></th>\
82
- <td><input type="text" name="line" id="oscitas-tooltip-class" value=""/><br />\
83
- </td>\
84
- </tr>\
85
- </table>\
86
- <p class="submit">\
87
- <input type="button" id="oscitas-tooltip-submit" class="button-primary" value="Insert Tooltip" name="submit" />\
88
- </p>\
89
- </div>');
90
-
91
- var table = form.find('table');
92
- form.appendTo('body').hide();
93
- var colors = ['color', 'bgcolor'];
94
-
95
- form.find('#oscitas-tooltip-type').change(function(){
96
- if(jQuery(this).val()=='link'){
97
- table.find('#oscitas-tooltip-link-tr').show();
98
- table.find('#oscitas-tooltip-link').val('#');
99
- } else{
100
- table.find('#oscitas-tooltip-link-tr').hide();
101
- table.find('#oscitas-tooltip-link').val('');
102
-
103
- }
104
- jQuery('#oscitas-table tr:visible:even').css('background', '#F0F0F0');
105
- jQuery('#oscitas-table tr:visible:odd').css('background', '#DADADD');
106
- })
107
-
108
- // handles the click event of the submit button
109
- form.find('#oscitas-tooltip-submit').click(function() {
110
- // defines the options and their default values
111
- // again, this is not the most elegant way to do this
112
- // but well, this gets the job done nonetheless
113
- var cusclass='';
114
- if(table.find('#oscitas-tooltip-class').val()!=''){
115
- cusclass= ' class="'+table.find('#oscitas-tooltip-class').val()+'"';
116
- }
117
- var shortcode = '[tooltip';
118
- shortcode += ' type="' + table.find('#oscitas-tooltip-type').val();
119
-
120
- shortcode += '" ';
121
-
122
- shortcode += ' link="' + table.find('#oscitas-tooltip-link').val();
123
-
124
- shortcode += '" ';
125
- shortcode += ' tooltip="' + table.find('#oscitas-tooltip-text').val();
126
-
127
- shortcode += '" ';
128
- shortcode += ' style="' + table.find('#oscitas-tooltip-style').val();
129
-
130
- shortcode += '" ';
131
-
132
- shortcode += cusclass;
133
-
134
- shortcode += ']';
135
- shortcode+= table.find('#oscitas-tooltip-link-text').val();
136
- shortcode+='[/tooltip]';
137
-
138
- // inserts the shortcode into the active editor
139
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
140
-
141
- // closes fancybox
142
- jQuery.fancybox.close();
143
- });
144
- }
145
-
1
+ var tooltip={
2
+ title:"Tooltip Image Shortcode",
3
+ id :'oscitas-form-tooltip',
4
+ pluginName: 'tooltip'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(tooltip);
8
+ })();
9
+
10
+ function create_oscitas_tooltip(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-tooltip-style">Tooltip Style:</label></th>\
19
+ <td><select name="type" id="oscitas-tooltip-style">\
20
+ <option value="top">Top</option>\
21
+ <option value="bottom">Bottom</option>\
22
+ <option value="left">Left</option>\
23
+ <option value="right">Right</option>\
24
+ <option value="auto">Auto</option>\
25
+ </select><br />\
26
+ </td>\
27
+ </tr>\
28
+ <tr>\
29
+ <th><label for="oscitas-tooltip-text">Tooltip Text:</label></th>\
30
+ <td><input type="text" name="tooltip-text" id="oscitas-tooltip-text" value="Tooltip"/><br />\
31
+ </td>\
32
+ </tr>\
33
+ <tr>\
34
+ <th><label for="oscitas-tooltip-type">Type:</label></th>\
35
+ <td><select name="type" id="oscitas-tooltip-type">\
36
+ <option value="link">Link</option>\
37
+ <option value="button">Button</option>\
38
+ </select><br />\
39
+ </td>\
40
+ </tr >\
41
+ <tr id="oscitas-tooltip-link-tr">\
42
+ <th><label for="oscitas-tooltip-link">Link:</label></th>\
43
+ <td><input type="text" name="tooltip-link" id="oscitas-tooltip-link" value="#"/><br />\
44
+ </td>\
45
+ </tr>\
46
+ <tr>\
47
+ <th><label for="oscitas-tooltip-link-text">Value:</label></th>\
48
+ <td><input type="text" name="link-text" id="oscitas-tooltip-link-text" value="Hover Me"/><br />\
49
+ </td>\
50
+ </tr>\
51
+ <tr>\
52
+ <th><label for="oscitas-tooltip-class">Custom Class:</label></th>\
53
+ <td><input type="text" name="line" id="oscitas-tooltip-class" value=""/><br />\
54
+ </td>\
55
+ </tr>\
56
+ </table>\
57
+ <p class="submit">\
58
+ <input type="button" id="oscitas-tooltip-submit" class="button-primary" value="Insert Tooltip" name="submit" />\
59
+ </p>\
60
+ </div>');
61
+
62
+ var table = form.find('table');
63
+ form.appendTo('body').hide();
64
+ var colors = ['color', 'bgcolor'];
65
+
66
+ form.find('#oscitas-tooltip-type').change(function(){
67
+ if(jQuery(this).val()=='link'){
68
+ table.find('#oscitas-tooltip-link-tr').show();
69
+ table.find('#oscitas-tooltip-link').val('#');
70
+ } else{
71
+ table.find('#oscitas-tooltip-link-tr').hide();
72
+ table.find('#oscitas-tooltip-link').val('');
73
+ }
74
+ jQuery(this).parents('#oscitas-table').find('tr:visible:even').css('background', '#F0F0F0');
75
+ jQuery(this).parents('#oscitas-table').find('tr:visible:odd').css('background', '#DADADD');
76
+ })
77
+
78
+ // handles the click event of the submit button
79
+ form.find('#oscitas-tooltip-submit').click(function() {
80
+ // defines the options and their default values
81
+ // again, this is not the most elegant way to do this
82
+ // but well, this gets the job done nonetheless
83
+ var cusclass='';
84
+ if(table.find('#oscitas-tooltip-class').val()!=''){
85
+ cusclass= ' class="'+table.find('#oscitas-tooltip-class').val()+'"';
86
+ }
87
+ var shortcode = '[tooltip';
88
+ shortcode += ' type="' + table.find('#oscitas-tooltip-type').val();
89
+
90
+ shortcode += '" ';
91
+
92
+ shortcode += ' link="' + table.find('#oscitas-tooltip-link').val();
93
+
94
+ shortcode += '" ';
95
+ shortcode += ' tooltip="' + table.find('#oscitas-tooltip-text').val();
96
+
97
+ shortcode += '" ';
98
+ shortcode += ' style="' + table.find('#oscitas-tooltip-style').val();
99
+
100
+ shortcode += '" ';
101
+
102
+ shortcode += cusclass;
103
+
104
+ shortcode += ']';
105
+ shortcode+= table.find('#oscitas-tooltip-link-text').val();
106
+ shortcode+='[/tooltip]';
107
+
108
+ // inserts the shortcode into the active editor
109
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
110
+
111
+ // closes fancybox
112
+ close_dialogue(pluginObj.hashId);
113
+ });
114
+ }
115
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/well/plugin_shortcode.php CHANGED
@@ -1,20 +1,20 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * BUTTONS
5
- * ********************************************************* */
6
-
7
- function osc_theme_well($params, $content = 'Label') {
8
- extract(shortcode_atts(array(
9
- 'type' => '',
10
- 'class' => ''
11
- ), $params));
12
- $out = '';
13
- $content = str_replace('<br class="osc" />', '', $content);
14
- $content = str_replace('<br class="osc" />\n', '', $content);
15
- $out = '<div class="well ' . $type . ' ' . $class . '">' . do_shortcode($content) . '</div>';
16
- return $out;
17
- }
18
-
19
- add_shortcode('well', 'osc_theme_well');
20
-
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * BUTTONS
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_well($params, $content = 'Label') {
8
+ extract(shortcode_atts(array(
9
+ 'type' => '',
10
+ 'class' => ''
11
+ ), $params));
12
+ $out = '';
13
+ $content = str_replace('<br class="osc" />', '', $content);
14
+ $content = str_replace('<br class="osc" />\n', '', $content);
15
+ $out = '<div class="well ' . $type . ' ' . $class . '">' . do_shortcode($content) . '</div>';
16
+ return $out;
17
+ }
18
+
19
+ add_shortcode('well', 'osc_theme_well');
20
+
shortcode/well/well_plugin.js CHANGED
@@ -1,94 +1,65 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasWell', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitaswell', {
5
- title : 'Well Shortcode',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_well();
9
- jQuery.fancybox({
10
- 'type' : 'inline',
11
- 'title' : 'Well Shortcode',
12
- 'href' : '#oscitas-form-well',
13
- helpers: {
14
- title : {
15
- type : 'over',
16
- position:'top'
17
- }
18
- }
19
- });
20
- }
21
- });
22
- },
23
- createControl : function(n, cm) {
24
- return null;
25
- },
26
- getInfo : function() {
27
- return {
28
- longname : "Well Shortcode",
29
- author : 'Oscitas Themes',
30
- authorurl : 'http://www.oscitasthemes.com/',
31
- infourl : 'http://www.oscitasthemes.com/',
32
- version : "2.0.0"
33
- };
34
- }
35
- });
36
- tinymce.PluginManager.add('oscitaswell', tinymce.plugins.oscitasWell);
37
- })();
38
-
39
- function create_oscitas_well(){
40
- if(jQuery('#oscitas-form-well').length){
41
- jQuery('#oscitas-form-well').remove();
42
- }
43
- // creates a form to be displayed everytime the button is clicked
44
- // you should achieve this using AJAX instead of direct html code like this
45
- var form = jQuery('<div id="oscitas-form-well" class="oscitas-container"><table id="oscitas-table" class="form-table">\
46
- <tr>\
47
- <th><label for="oscitas-well-type">Well Type:</label></th>\
48
- <td><select name="type" id="oscitas-well-type">\
49
- <option value="">Default</option>\
50
- <option value="well-lg">Large</option>\
51
- <option value="well-sm">Small</option>\
52
- </select><br />\
53
- </td>\
54
- </tr>\
55
- <tr>\
56
- <th><label for="oscitas-well-content">Well Content:</label></th>\
57
- <td><textarea name="well" id="oscitas-well-content">Your Content</textarea><br />\
58
- </td>\
59
- </tr>\
60
- <tr>\
61
- <th><label for="oscitas-well-class">Custom Class:</label></th>\
62
- <td><input type="text" name="line" id="oscitas-well-class" value=""/><br />\
63
- </td>\
64
- </tr>\
65
- </table>\
66
- <p class="submit">\
67
- <input type="button" id="oscitas-well-submit" class="button-primary" value="Insert Well" name="submit" />\
68
- </p>\
69
- </div>');
70
-
71
- var table = form.find('table');
72
- form.appendTo('body').hide();
73
-
74
-
75
-
76
-
77
- // handles the click event of the submit button
78
- form.find('#oscitas-well-submit').click(function(){
79
- var cusclass='';
80
- if(table.find('#oscitas-well-class').val()!=''){
81
- cusclass= ' class="'+table.find('#oscitas-well-class').val()+'"';
82
- }
83
- var shortcode = '[well type="'+jQuery('#oscitas-well-type').val()+'"'+cusclass+']<br class="osc"/>';
84
- shortcode += jQuery('#oscitas-well-content').val()+'<br class="osc"/>';
85
- shortcode += '[/well]';
86
-
87
- // inserts the shortcode into the active editor
88
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
89
-
90
- // closes fancybox
91
- jQuery.fancybox.close();
92
- });
93
- }
94
-
1
+ var well={
2
+ title:"Well Shortcode",
3
+ id :'oscitas-form-well',
4
+ pluginName: 'well'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(well);
8
+ })();
9
+
10
+ function create_oscitas_well(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-well-type">Well Type:</label></th>\
19
+ <td><select name="type" id="oscitas-well-type">\
20
+ <option value="">Default</option>\
21
+ <option value="well-lg">Large</option>\
22
+ <option value="well-sm">Small</option>\
23
+ </select><br />\
24
+ </td>\
25
+ </tr>\
26
+ <tr>\
27
+ <th><label for="oscitas-well-content">Well Content:</label></th>\
28
+ <td><textarea name="well" id="oscitas-well-content">Your Content</textarea><br />\
29
+ </td>\
30
+ </tr>\
31
+ <tr>\
32
+ <th><label for="oscitas-well-class">Custom Class:</label></th>\
33
+ <td><input type="text" name="line" id="oscitas-well-class" value=""/><br />\
34
+ </td>\
35
+ </tr>\
36
+ </table>\
37
+ <p class="submit">\
38
+ <input type="button" id="oscitas-well-submit" class="button-primary" value="Insert Well" name="submit" />\
39
+ </p>\
40
+ </div>');
41
+
42
+ var table = form.find('table');
43
+ form.appendTo('body').hide();
44
+
45
+
46
+
47
+
48
+ // handles the click event of the submit button
49
+ form.find('#oscitas-well-submit').click(function(){
50
+ var cusclass='';
51
+ if(table.find('#oscitas-well-class').val()!=''){
52
+ cusclass= ' class="'+table.find('#oscitas-well-class').val()+'"';
53
+ }
54
+ var shortcode = '[well type="'+jQuery('#oscitas-well-type').val()+'"'+cusclass+']<br class="osc"/>';
55
+ shortcode += jQuery('#oscitas-well-content').val()+'<br class="osc"/>';
56
+ shortcode += '[/well]';
57
+
58
+ // inserts the shortcode into the active editor
59
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
60
+
61
+ // closes fancybox
62
+ close_dialogue(pluginObj.hashId);
63
+ });
64
+ }
65
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
shortcode/wpcolumns/plugin_shortcode.php CHANGED
@@ -1,569 +1,569 @@
1
- <?php
2
-
3
- /* * *********************************************************
4
- * Row
5
- * ********************************************************* */
6
-
7
- function osc_theme_row($params, $content = null) {
8
- extract(shortcode_atts(array(
9
- 'class' => ''
10
- ), $params));
11
- $result = '<div class="row ' . $class . '">';
12
- //echo '<textarea>'.$content.'</textarea>';
13
- $content = str_replace("]<br />", ']', $content);
14
- $content = str_replace("<br />\n[", '[', $content);
15
- $result .= do_shortcode($content);
16
- $result .= '</div>';
17
-
18
- return $result;
19
- }
20
-
21
- add_shortcode('row', 'osc_theme_row');
22
- /* * *********************************************************
23
- * TWO
24
- * ********************************************************* */
25
-
26
- function osc_theme_column($params, $content = null) {
27
- extract(shortcode_atts(array(
28
- 'md' => '',
29
- 'sm' => '',
30
- 'xs' => '',
31
- 'lg' => '',
32
- 'mdoff' => '',
33
- 'smoff' => '',
34
- 'xsoff' => '',
35
- 'lgoff' => '',
36
- 'mdhide' => '',
37
- 'smhide' => '',
38
- 'xshide' => '',
39
- 'lghide' => '',
40
- 'mdclear' => '',
41
- 'smclear' => '',
42
- 'xsclear' => '',
43
- 'lgclear' => '',
44
- 'off'=>''
45
- ), $params));
46
-
47
-
48
- $arr = array('md', 'xs', 'sm');
49
- $classes = array();
50
- foreach ($arr as $k => $aa) {
51
- if (${$aa} == 12 || ${$aa} == '') {
52
- $classes[] = 'col-' . $aa . '-12';
53
- } else {
54
- $classes[] = 'col-' . $aa . '-' . ${$aa};
55
- }
56
- }
57
- $arr2 = array('mdoff', 'smoff', 'xsoff', 'lgoff');
58
- foreach ($arr2 as $k => $aa) {
59
- $nn = str_replace('off', '', $aa);
60
- if (${$aa} == 0 || ${$aa} == '') {
61
- //$classes[] = '';
62
- } else {
63
- $classes[] = 'col-' . $nn . '-offset-' . ${$aa};
64
- }
65
- }
66
- $arr2 = array('mdhide', 'smhide', 'xshide', 'lghide');
67
- foreach ($arr2 as $k => $aa) {
68
- $nn = str_replace('hide', '', $aa);
69
- if (${$aa} == 'yes') {
70
- $classes[] = 'hidden-' . $nn;
71
- }
72
- }
73
- $arr2 = array('mdclear', 'smclear', 'xsclear', 'lgclear');
74
- foreach ($arr2 as $k => $aa) {
75
- $nn = str_replace('clear', '', $aa);
76
- if (${$aa} == 'yes') {
77
- $classes[] = 'clear-' . $nn;
78
- }
79
- }
80
- if ($off != '') {
81
- $classes[] = 'col-lg-offset-'.$off;
82
- }
83
-
84
- if ($off != '') {
85
- $classes[] = 'col-lg-offset-'.$off;
86
- }
87
- $result = '<div class="col-lg-' . $lg . ' ' . implode(' ', $classes) . '">';
88
- $result .= do_shortcode($content);
89
- $result .= '</div>';
90
-
91
- return $result;
92
- }
93
-
94
- add_shortcode('column', 'osc_theme_column');
95
-
96
-
97
- function osc_theme_one_half($params, $content = null) {
98
- extract(shortcode_atts(array(
99
- 'md' => '',
100
- 'sm' => '',
101
- 'xs' => '',
102
- 'off' => ''
103
- ), $params));
104
- if ($md == 12) {
105
- $mds = '';
106
- } else {
107
- $mds = 'col-md-' . $md;
108
- }
109
- if ($sm == 12) {
110
- $sms = '';
111
- } else {
112
- $sms = 'col-sm-' . $sm;
113
- }
114
- if ($xs == 12) {
115
- $xss = '';
116
- } else {
117
- $xss = 'col-xs-' . $xs;
118
- }
119
- $result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-half">';
120
- $result .= do_shortcode($content);
121
- $result .= '</div>';
122
-
123
- return $result;
124
- }
125
-
126
- add_shortcode('one_half', 'osc_theme_one_half');
127
-
128
- function osc_theme_one_half_last($params, $content = null) {
129
- extract(shortcode_atts(array(
130
- 'md' => '',
131
- 'sm' => '',
132
- 'xs' => '',
133
- 'off' => ''
134
- ), $params));
135
- if ($md == 12) {
136
- $mds = '';
137
- } else {
138
- $mds = 'col-md-' . $md;
139
- }
140
- if ($sm == 12) {
141
- $sms = '';
142
- } else {
143
- $sms = 'col-sm-' . $sm;
144
- }
145
- if ($xs == 12) {
146
- $xss = '';
147
- } else {
148
- $xss = 'col-xs-' . $xs;
149
- }
150
- $result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-half-last">';
151
- $result .= do_shortcode($content);
152
- $result .= '</div>';
153
-
154
- return $result;
155
- }
156
-
157
- add_shortcode('one_half_last', 'osc_theme_one_half_last');
158
-
159
- /* * *********************************************************
160
- * THIRD
161
- * ********************************************************* */
162
-
163
- function osc_theme_one_third($params, $content = null) {
164
- extract(shortcode_atts(array(
165
- 'md' => '',
166
- 'sm' => '',
167
- 'xs' => '',
168
- 'off' => ''
169
- ), $params));
170
- if ($md == 12) {
171
- $mds = '';
172
- } else {
173
- $mds = 'col-md-' . $md;
174
- }
175
- if ($sm == 12) {
176
- $sms = '';
177
- } else {
178
- $sms = 'col-sm-' . $sm;
179
- }
180
- if ($xs == 12) {
181
- $xss = '';
182
- } else {
183
- $xss = 'col-xs-' . $xs;
184
- }
185
- $result = '<div class="sc-column col-lg-4 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' ">'; //one-third
186
- $result .= do_shortcode($content);
187
- $result .= '</div>';
188
-
189
- return $result;
190
- }
191
-
192
- add_shortcode('one_third', 'osc_theme_one_third');
193
-
194
- function osc_theme_one_third_last($params, $content = null) {
195
- extract(shortcode_atts(array(
196
- 'md' => '',
197
- 'sm' => '',
198
- 'xs' => '',
199
- 'off' => ''
200
- ), $params));
201
- if ($md == 12) {
202
- $mds = '';
203
- } else {
204
- $mds = 'col-md-' . $md;
205
- }
206
- if ($sm == 12) {
207
- $sms = '';
208
- } else {
209
- $sms = 'col-sm-' . $sm;
210
- }
211
- if ($xs == 12) {
212
- $xss = '';
213
- } else {
214
- $xss = 'col-xs-' . $xs;
215
- }
216
- $result = '<div class="col-lg-4 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last">'; // one-third-last
217
- $result .= do_shortcode($content);
218
- $result .= '</div>';
219
-
220
- return $result;
221
- }
222
-
223
- add_shortcode('one_third_last', 'osc_theme_one_third_last');
224
-
225
- function osc_theme_two_third($params, $content = null) {
226
- extract(shortcode_atts(array(
227
- 'md' => '',
228
- 'sm' => '',
229
- 'xs' => '',
230
- 'off' => ''
231
- ), $params));
232
- if ($md == 12) {
233
- $mds = '';
234
- } else {
235
- $mds = 'col-md-' . $md;
236
- }
237
- if ($sm == 12) {
238
- $sms = '';
239
- } else {
240
- $sms = 'col-sm-' . $sm;
241
- }
242
- if ($xs == 12) {
243
- $xss = '';
244
- } else {
245
- $xss = 'col-xs-' . $xs;
246
- }
247
- $result = '<div class=" col-lg-8 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' ">'; //two-third
248
- $result .= do_shortcode($content);
249
- $result .= '</div>';
250
-
251
- return $result;
252
- }
253
-
254
- add_shortcode('two_third', 'osc_theme_two_third');
255
-
256
- function osc_theme_two_third_last($params, $content = null) {
257
- extract(shortcode_atts(array(
258
- 'md' => '',
259
- 'sm' => '',
260
- 'xs' => '',
261
- 'off' => ''
262
- ), $params));
263
- if ($md == 12) {
264
- $mds = '';
265
- } else {
266
- $mds = 'col-md-' . $md;
267
- }
268
- if ($sm == 12) {
269
- $sms = '';
270
- } else {
271
- $sms = 'col-sm-' . $sm;
272
- }
273
- if ($xs == 12) {
274
- $xss = '';
275
- } else {
276
- $xss = 'col-xs-' . $xs;
277
- }
278
- $result = '<div class="col-lg-8 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last ">'; //two-third-last
279
- $result .= do_shortcode($content);
280
- $result .= '</div>';
281
-
282
- return $result;
283
- }
284
-
285
- add_shortcode('two_third_last', 'osc_theme_two_third_last');
286
-
287
- /* * *********************************************************
288
- * FOURTH
289
- * ********************************************************* */
290
-
291
- function osc_theme_one_fourth($params, $content = null) {
292
- extract(shortcode_atts(array(
293
- 'md' => '',
294
- 'sm' => '',
295
- 'xs' => '',
296
- 'off' => ''
297
- ), $params));
298
- if ($md == 12) {
299
- $mds = '';
300
- } else {
301
- $mds = 'col-md-' . $md;
302
- }
303
- if ($sm == 12) {
304
- $sms = '';
305
- } else {
306
- $sms = 'col-sm-' . $sm;
307
- }
308
- if ($xs == 12) {
309
- $xss = '';
310
- } else {
311
- $xss = 'col-xs-' . $xs;
312
- }
313
- $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-fourth">';
314
- $result .= do_shortcode($content);
315
- $result .= '</div>';
316
-
317
- return $result;
318
- }
319
-
320
- add_shortcode('one_fourth', 'osc_theme_one_fourth');
321
-
322
- function osc_theme_one_fourth_last($params, $content = null) {
323
- extract(shortcode_atts(array(
324
- 'md' => '',
325
- 'sm' => '',
326
- 'xs' => '',
327
- 'off' => ''
328
- ), $params));
329
- if ($md == 12) {
330
- $mds = '';
331
- } else {
332
- $mds = 'col-md-' . $md;
333
- }
334
- if ($sm == 12) {
335
- $sms = '';
336
- } else {
337
- $sms = 'col-sm-' . $sm;
338
- }
339
- if ($xs == 12) {
340
- $xss = '';
341
- } else {
342
- $xss = 'col-xs-' . $xs;
343
- }
344
- $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last one-fourth-last">';
345
- $result .= do_shortcode($content);
346
- $result .= '</div>';
347
-
348
- return $result;
349
- }
350
-
351
- add_shortcode('one_fourth_last', 'osc_theme_one_fourth_last');
352
-
353
- function osc_theme_three_fourth($params, $content = null) {
354
- extract(shortcode_atts(array(
355
- 'md' => '',
356
- 'sm' => '',
357
- 'xs' => '',
358
- 'off' => ''
359
- ), $params));
360
- if ($md == 12) {
361
- $mds = '';
362
- } else {
363
- $mds = 'col-md-' . $md;
364
- }
365
- if ($sm == 12) {
366
- $sms = '';
367
- } else {
368
- $sms = 'col-sm-' . $sm;
369
- }
370
- if ($xs == 12) {
371
- $xss = '';
372
- } else {
373
- $xss = 'col-xs-' . $xs;
374
- }
375
- $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' three-fourth">';
376
- $result .= do_shortcode($content);
377
- $result .= '</div>';
378
-
379
- return $result;
380
- }
381
-
382
- add_shortcode('three_fourth', 'osc_theme_three_fourth');
383
-
384
- function osc_theme_three_fourth_last($params, $content = null) {
385
- extract(shortcode_atts(array(
386
- 'md' => '',
387
- 'sm' => '',
388
- 'xs' => '',
389
- 'off' => ''
390
- ), $params));
391
- if ($md == 12) {
392
- $mds = '';
393
- } else {
394
- $mds = 'col-md-' . $md;
395
- }
396
- if ($sm == 12) {
397
- $sms = '';
398
- } else {
399
- $sms = 'col-sm-' . $sm;
400
- }
401
- if ($xs == 12) {
402
- $xss = '';
403
- } else {
404
- $xss = 'col-xs-' . $xs;
405
- }
406
- $result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last three-fourth-last">';
407
- $result .= do_shortcode($content);
408
- $result .= '</div>';
409
-
410
- return $result;
411
- }
412
-
413
- add_shortcode('three_fourth_last', 'osc_theme_three_fourth_last');
414
-
415
- function osc_theme_one_fourth_second($params, $content = null) {
416
- extract(shortcode_atts(array(
417
- 'md' => '',
418
- 'sm' => '',
419
- 'xs' => '',
420
- 'off' => ''
421
- ), $params));
422
- if ($md == 12) {
423
- $mds = '';
424
- } else {
425
- $mds = 'col-md-' . $md;
426
- }
427
- if ($sm == 12) {
428
- $sms = '';
429
- } else {
430
- $sms = 'col-sm-' . $sm;
431
- }
432
- if ($xs == 12) {
433
- $xss = '';
434
- } else {
435
- $xss = 'col-xs-' . $xs;
436
- }
437
- $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-fourth-second">';
438
- $result .= do_shortcode($content);
439
- $result .= '</div>';
440
-
441
- return $result;
442
- }
443
-
444
- add_shortcode('one_fourth_second', 'osc_theme_one_fourth_second');
445
-
446
- function osc_theme_one_fourth_third($params, $content = null) {
447
- extract(shortcode_atts(array(
448
- 'md' => '',
449
- 'sm' => '',
450
- 'xs' => '',
451
- 'off' => ''
452
- ), $params));
453
- if ($md == 12) {
454
- $mds = '';
455
- } else {
456
- $mds = 'col-md-' . $md;
457
- }
458
- if ($sm == 12) {
459
- $sms = '';
460
- } else {
461
- $sms = 'col-sm-' . $sm;
462
- }
463
- if ($xs == 12) {
464
- $xss = '';
465
- } else {
466
- $xss = 'col-xs-' . $xs;
467
- }
468
-
469
- $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-fourth-third">';
470
- $result .= do_shortcode($content);
471
- $result .= '</div>';
472
-
473
- return $result;
474
- }
475
-
476
- add_shortcode('one_fourth_third', 'osc_theme_one_fourth_third');
477
-
478
- function osc_theme_one_half_second($params, $content = null) {
479
- extract(shortcode_atts(array(
480
- 'md' => '',
481
- 'sm' => '',
482
- 'xs' => '',
483
- 'off' => ''
484
- ), $params));
485
- if ($md == 12) {
486
- $mds = '';
487
- } else {
488
- $mds = 'col-md-' . $md;
489
- }
490
- if ($sm == 12) {
491
- $sms = '';
492
- } else {
493
- $sms = 'col-sm-' . $sm;
494
- }
495
- if ($xs == 12) {
496
- $xss = '';
497
- } else {
498
- $xss = 'col-xs-' . $xs;
499
- }
500
- $result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-half-second">';
501
- $result .= do_shortcode($content);
502
- $result .= '</div>';
503
-
504
- return $result;
505
- }
506
-
507
- add_shortcode('one_half_second', 'osc_theme_one_half_second');
508
-
509
- function osc_theme_one_third_second($params, $content = null) {
510
- extract(shortcode_atts(array(
511
- 'md' => '',
512
- 'sm' => '',
513
- 'xs' => '',
514
- 'off' => ''
515
- ), $params));
516
- if ($md == 12) {
517
- $mds = '';
518
- } else {
519
- $mds = 'col-md-' . $md;
520
- }
521
- if ($sm == 12) {
522
- $sms = '';
523
- } else {
524
- $sms = 'col-sm-' . $sm;
525
- }
526
- if ($xs == 12) {
527
- $xss = '';
528
- } else {
529
- $xss = 'col-xs-' . $xs;
530
- }
531
- $result = '<div class="col-lg-4 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-third-second">';
532
- $result .= do_shortcode($content);
533
- $result .= '</div>';
534
-
535
- return $result;
536
- }
537
-
538
- add_shortcode('one_third_second', 'osc_theme_one_third_second');
539
-
540
- function osc_theme_one_column($params, $content = null) {
541
- extract(shortcode_atts(array(
542
- 'md' => '',
543
- 'sm' => '',
544
- 'xs' => '',
545
- 'off' => ''
546
- ), $params));
547
- if ($md == 12) {
548
- $mds = '';
549
- } else {
550
- $mds = 'col-md-' . $md;
551
- }
552
- if ($sm == 12) {
553
- $sms = '';
554
- } else {
555
- $sms = 'col-sm-' . $sm;
556
- }
557
- if ($xs == 12) {
558
- $xss = '';
559
- } else {
560
- $xss = 'col-xs-' . $xs;
561
- }
562
- $result = '<div class="col-lg-12 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-column">';
563
- $result .= do_shortcode($content);
564
- $result .= '</div>';
565
-
566
- return $result;
567
- }
568
-
569
- add_shortcode('one_column', 'osc_theme_one_column');
1
+ <?php
2
+
3
+ /* * *********************************************************
4
+ * Row
5
+ * ********************************************************* */
6
+
7
+ function osc_theme_row($params, $content = null) {
8
+ extract(shortcode_atts(array(
9
+ 'class' => ''
10
+ ), $params));
11
+ $result = '<div class="row ' . $class . '">';
12
+ //echo '<textarea>'.$content.'</textarea>';
13
+ $content = str_replace("]<br />", ']', $content);
14
+ $content = str_replace("<br />\n[", '[', $content);
15
+ $result .= do_shortcode($content);
16
+ $result .= '</div>';
17
+
18
+ return $result;
19
+ }
20
+
21
+ add_shortcode('row', 'osc_theme_row');
22
+ /* * *********************************************************
23
+ * TWO
24
+ * ********************************************************* */
25
+
26
+ function osc_theme_column($params, $content = null) {
27
+ extract(shortcode_atts(array(
28
+ 'md' => '',
29
+ 'sm' => '',
30
+ 'xs' => '',
31
+ 'lg' => '',
32
+ 'mdoff' => '',
33
+ 'smoff' => '',
34
+ 'xsoff' => '',
35
+ 'lgoff' => '',
36
+ 'mdhide' => '',
37
+ 'smhide' => '',
38
+ 'xshide' => '',
39
+ 'lghide' => '',
40
+ 'mdclear' => '',
41
+ 'smclear' => '',
42
+ 'xsclear' => '',
43
+ 'lgclear' => '',
44
+ 'off'=>''
45
+ ), $params));
46
+
47
+
48
+ $arr = array('md', 'xs', 'sm');
49
+ $classes = array();
50
+ foreach ($arr as $k => $aa) {
51
+ if (${$aa} == 12 || ${$aa} == '') {
52
+ $classes[] = 'col-' . $aa . '-12';
53
+ } else {
54
+ $classes[] = 'col-' . $aa . '-' . ${$aa};
55
+ }
56
+ }
57
+ $arr2 = array('mdoff', 'smoff', 'xsoff', 'lgoff');
58
+ foreach ($arr2 as $k => $aa) {
59
+ $nn = str_replace('off', '', $aa);
60
+ if (${$aa} == 0 || ${$aa} == '') {
61
+ //$classes[] = '';
62
+ } else {
63
+ $classes[] = 'col-' . $nn . '-offset-' . ${$aa};
64
+ }
65
+ }
66
+ $arr2 = array('mdhide', 'smhide', 'xshide', 'lghide');
67
+ foreach ($arr2 as $k => $aa) {
68
+ $nn = str_replace('hide', '', $aa);
69
+ if (${$aa} == 'yes') {
70
+ $classes[] = 'hidden-' . $nn;
71
+ }
72
+ }
73
+ $arr2 = array('mdclear', 'smclear', 'xsclear', 'lgclear');
74
+ foreach ($arr2 as $k => $aa) {
75
+ $nn = str_replace('clear', '', $aa);
76
+ if (${$aa} == 'yes') {
77
+ $classes[] = 'clear-' . $nn;
78
+ }
79
+ }
80
+ if ($off != '') {
81
+ $classes[] = 'col-lg-offset-'.$off;
82
+ }
83
+
84
+ if ($off != '') {
85
+ $classes[] = 'col-lg-offset-'.$off;
86
+ }
87
+ $result = '<div class="col-lg-' . $lg . ' ' . implode(' ', $classes) . '">';
88
+ $result .= do_shortcode($content);
89
+ $result .= '</div>';
90
+
91
+ return $result;
92
+ }
93
+
94
+ add_shortcode('column', 'osc_theme_column');
95
+
96
+
97
+ function osc_theme_one_half($params, $content = null) {
98
+ extract(shortcode_atts(array(
99
+ 'md' => '',
100
+ 'sm' => '',
101
+ 'xs' => '',
102
+ 'off' => ''
103
+ ), $params));
104
+ if ($md == 12) {
105
+ $mds = '';
106
+ } else {
107
+ $mds = 'col-md-' . $md;
108
+ }
109
+ if ($sm == 12) {
110
+ $sms = '';
111
+ } else {
112
+ $sms = 'col-sm-' . $sm;
113
+ }
114
+ if ($xs == 12) {
115
+ $xss = '';
116
+ } else {
117
+ $xss = 'col-xs-' . $xs;
118
+ }
119
+ $result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-half">';
120
+ $result .= do_shortcode($content);
121
+ $result .= '</div>';
122
+
123
+ return $result;
124
+ }
125
+
126
+ add_shortcode('one_half', 'osc_theme_one_half');
127
+
128
+ function osc_theme_one_half_last($params, $content = null) {
129
+ extract(shortcode_atts(array(
130
+ 'md' => '',
131
+ 'sm' => '',
132
+ 'xs' => '',
133
+ 'off' => ''
134
+ ), $params));
135
+ if ($md == 12) {
136
+ $mds = '';
137
+ } else {
138
+ $mds = 'col-md-' . $md;
139
+ }
140
+ if ($sm == 12) {
141
+ $sms = '';
142
+ } else {
143
+ $sms = 'col-sm-' . $sm;
144
+ }
145
+ if ($xs == 12) {
146
+ $xss = '';
147
+ } else {
148
+ $xss = 'col-xs-' . $xs;
149
+ }
150
+ $result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-half-last">';
151
+ $result .= do_shortcode($content);
152
+ $result .= '</div>';
153
+
154
+ return $result;
155
+ }
156
+
157
+ add_shortcode('one_half_last', 'osc_theme_one_half_last');
158
+
159
+ /* * *********************************************************
160
+ * THIRD
161
+ * ********************************************************* */
162
+
163
+ function osc_theme_one_third($params, $content = null) {
164
+ extract(shortcode_atts(array(
165
+ 'md' => '',
166
+ 'sm' => '',
167
+ 'xs' => '',
168
+ 'off' => ''
169
+ ), $params));
170
+ if ($md == 12) {
171
+ $mds = '';
172
+ } else {
173
+ $mds = 'col-md-' . $md;
174
+ }
175
+ if ($sm == 12) {
176
+ $sms = '';
177
+ } else {
178
+ $sms = 'col-sm-' . $sm;
179
+ }
180
+ if ($xs == 12) {
181
+ $xss = '';
182
+ } else {
183
+ $xss = 'col-xs-' . $xs;
184
+ }
185
+ $result = '<div class="sc-column col-lg-4 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' ">'; //one-third
186
+ $result .= do_shortcode($content);
187
+ $result .= '</div>';
188
+
189
+ return $result;
190
+ }
191
+
192
+ add_shortcode('one_third', 'osc_theme_one_third');
193
+
194
+ function osc_theme_one_third_last($params, $content = null) {
195
+ extract(shortcode_atts(array(
196
+ 'md' => '',
197
+ 'sm' => '',
198
+ 'xs' => '',
199
+ 'off' => ''
200
+ ), $params));
201
+ if ($md == 12) {
202
+ $mds = '';
203
+ } else {
204
+ $mds = 'col-md-' . $md;
205
+ }
206
+ if ($sm == 12) {
207
+ $sms = '';
208
+ } else {
209
+ $sms = 'col-sm-' . $sm;
210
+ }
211
+ if ($xs == 12) {
212
+ $xss = '';
213
+ } else {
214
+ $xss = 'col-xs-' . $xs;
215
+ }
216
+ $result = '<div class="col-lg-4 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last">'; // one-third-last
217
+ $result .= do_shortcode($content);
218
+ $result .= '</div>';
219
+
220
+ return $result;
221
+ }
222
+
223
+ add_shortcode('one_third_last', 'osc_theme_one_third_last');
224
+
225
+ function osc_theme_two_third($params, $content = null) {
226
+ extract(shortcode_atts(array(
227
+ 'md' => '',
228
+ 'sm' => '',
229
+ 'xs' => '',
230
+ 'off' => ''
231
+ ), $params));
232
+ if ($md == 12) {
233
+ $mds = '';
234
+ } else {
235
+ $mds = 'col-md-' . $md;
236
+ }
237
+ if ($sm == 12) {
238
+ $sms = '';
239
+ } else {
240
+ $sms = 'col-sm-' . $sm;
241
+ }
242
+ if ($xs == 12) {
243
+ $xss = '';
244
+ } else {
245
+ $xss = 'col-xs-' . $xs;
246
+ }
247
+ $result = '<div class=" col-lg-8 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' ">'; //two-third
248
+ $result .= do_shortcode($content);
249
+ $result .= '</div>';
250
+
251
+ return $result;
252
+ }
253
+
254
+ add_shortcode('two_third', 'osc_theme_two_third');
255
+
256
+ function osc_theme_two_third_last($params, $content = null) {
257
+ extract(shortcode_atts(array(
258
+ 'md' => '',
259
+ 'sm' => '',
260
+ 'xs' => '',
261
+ 'off' => ''
262
+ ), $params));
263
+ if ($md == 12) {
264
+ $mds = '';
265
+ } else {
266
+ $mds = 'col-md-' . $md;
267
+ }
268
+ if ($sm == 12) {
269
+ $sms = '';
270
+ } else {
271
+ $sms = 'col-sm-' . $sm;
272
+ }
273
+ if ($xs == 12) {
274
+ $xss = '';
275
+ } else {
276
+ $xss = 'col-xs-' . $xs;
277
+ }
278
+ $result = '<div class="col-lg-8 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last ">'; //two-third-last
279
+ $result .= do_shortcode($content);
280
+ $result .= '</div>';
281
+
282
+ return $result;
283
+ }
284
+
285
+ add_shortcode('two_third_last', 'osc_theme_two_third_last');
286
+
287
+ /* * *********************************************************
288
+ * FOURTH
289
+ * ********************************************************* */
290
+
291
+ function osc_theme_one_fourth($params, $content = null) {
292
+ extract(shortcode_atts(array(
293
+ 'md' => '',
294
+ 'sm' => '',
295
+ 'xs' => '',
296
+ 'off' => ''
297
+ ), $params));
298
+ if ($md == 12) {
299
+ $mds = '';
300
+ } else {
301
+ $mds = 'col-md-' . $md;
302
+ }
303
+ if ($sm == 12) {
304
+ $sms = '';
305
+ } else {
306
+ $sms = 'col-sm-' . $sm;
307
+ }
308
+ if ($xs == 12) {
309
+ $xss = '';
310
+ } else {
311
+ $xss = 'col-xs-' . $xs;
312
+ }
313
+ $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-fourth">';
314
+ $result .= do_shortcode($content);
315
+ $result .= '</div>';
316
+
317
+ return $result;
318
+ }
319
+
320
+ add_shortcode('one_fourth', 'osc_theme_one_fourth');
321
+
322
+ function osc_theme_one_fourth_last($params, $content = null) {
323
+ extract(shortcode_atts(array(
324
+ 'md' => '',
325
+ 'sm' => '',
326
+ 'xs' => '',
327
+ 'off' => ''
328
+ ), $params));
329
+ if ($md == 12) {
330
+ $mds = '';
331
+ } else {
332
+ $mds = 'col-md-' . $md;
333
+ }
334
+ if ($sm == 12) {
335
+ $sms = '';
336
+ } else {
337
+ $sms = 'col-sm-' . $sm;
338
+ }
339
+ if ($xs == 12) {
340
+ $xss = '';
341
+ } else {
342
+ $xss = 'col-xs-' . $xs;
343
+ }
344
+ $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last one-fourth-last">';
345
+ $result .= do_shortcode($content);
346
+ $result .= '</div>';
347
+
348
+ return $result;
349
+ }
350
+
351
+ add_shortcode('one_fourth_last', 'osc_theme_one_fourth_last');
352
+
353
+ function osc_theme_three_fourth($params, $content = null) {
354
+ extract(shortcode_atts(array(
355
+ 'md' => '',
356
+ 'sm' => '',
357
+ 'xs' => '',
358
+ 'off' => ''
359
+ ), $params));
360
+ if ($md == 12) {
361
+ $mds = '';
362
+ } else {
363
+ $mds = 'col-md-' . $md;
364
+ }
365
+ if ($sm == 12) {
366
+ $sms = '';
367
+ } else {
368
+ $sms = 'col-sm-' . $sm;
369
+ }
370
+ if ($xs == 12) {
371
+ $xss = '';
372
+ } else {
373
+ $xss = 'col-xs-' . $xs;
374
+ }
375
+ $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' three-fourth">';
376
+ $result .= do_shortcode($content);
377
+ $result .= '</div>';
378
+
379
+ return $result;
380
+ }
381
+
382
+ add_shortcode('three_fourth', 'osc_theme_three_fourth');
383
+
384
+ function osc_theme_three_fourth_last($params, $content = null) {
385
+ extract(shortcode_atts(array(
386
+ 'md' => '',
387
+ 'sm' => '',
388
+ 'xs' => '',
389
+ 'off' => ''
390
+ ), $params));
391
+ if ($md == 12) {
392
+ $mds = '';
393
+ } else {
394
+ $mds = 'col-md-' . $md;
395
+ }
396
+ if ($sm == 12) {
397
+ $sms = '';
398
+ } else {
399
+ $sms = 'col-sm-' . $sm;
400
+ }
401
+ if ($xs == 12) {
402
+ $xss = '';
403
+ } else {
404
+ $xss = 'col-xs-' . $xs;
405
+ }
406
+ $result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last three-fourth-last">';
407
+ $result .= do_shortcode($content);
408
+ $result .= '</div>';
409
+
410
+ return $result;
411
+ }
412
+
413
+ add_shortcode('three_fourth_last', 'osc_theme_three_fourth_last');
414
+
415
+ function osc_theme_one_fourth_second($params, $content = null) {
416
+ extract(shortcode_atts(array(
417
+ 'md' => '',
418
+ 'sm' => '',
419
+ 'xs' => '',
420
+ 'off' => ''
421
+ ), $params));
422
+ if ($md == 12) {
423
+ $mds = '';
424
+ } else {
425
+ $mds = 'col-md-' . $md;
426
+ }
427
+ if ($sm == 12) {
428
+ $sms = '';
429
+ } else {
430
+ $sms = 'col-sm-' . $sm;
431
+ }
432
+ if ($xs == 12) {
433
+ $xss = '';
434
+ } else {
435
+ $xss = 'col-xs-' . $xs;
436
+ }
437
+ $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-fourth-second">';
438
+ $result .= do_shortcode($content);
439
+ $result .= '</div>';
440
+
441
+ return $result;
442
+ }
443
+
444
+ add_shortcode('one_fourth_second', 'osc_theme_one_fourth_second');
445
+
446
+ function osc_theme_one_fourth_third($params, $content = null) {
447
+ extract(shortcode_atts(array(
448
+ 'md' => '',
449
+ 'sm' => '',
450
+ 'xs' => '',
451
+ 'off' => ''
452
+ ), $params));
453
+ if ($md == 12) {
454
+ $mds = '';
455
+ } else {
456
+ $mds = 'col-md-' . $md;
457
+ }
458
+ if ($sm == 12) {
459
+ $sms = '';
460
+ } else {
461
+ $sms = 'col-sm-' . $sm;
462
+ }
463
+ if ($xs == 12) {
464
+ $xss = '';
465
+ } else {
466
+ $xss = 'col-xs-' . $xs;
467
+ }
468
+
469
+ $result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-fourth-third">';
470
+ $result .= do_shortcode($content);
471
+ $result .= '</div>';
472
+
473
+ return $result;
474
+ }
475
+
476
+ add_shortcode('one_fourth_third', 'osc_theme_one_fourth_third');
477
+
478
+ function osc_theme_one_half_second($params, $content = null) {
479
+ extract(shortcode_atts(array(
480
+ 'md' => '',
481
+ 'sm' => '',
482
+ 'xs' => '',
483
+ 'off' => ''
484
+ ), $params));
485
+ if ($md == 12) {
486
+ $mds = '';
487
+ } else {
488
+ $mds = 'col-md-' . $md;
489
+ }
490
+ if ($sm == 12) {
491
+ $sms = '';
492
+ } else {
493
+ $sms = 'col-sm-' . $sm;
494
+ }
495
+ if ($xs == 12) {
496
+ $xss = '';
497
+ } else {
498
+ $xss = 'col-xs-' . $xs;
499
+ }
500
+ $result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-half-second">';
501
+ $result .= do_shortcode($content);
502
+ $result .= '</div>';
503
+
504
+ return $result;
505
+ }
506
+
507
+ add_shortcode('one_half_second', 'osc_theme_one_half_second');
508
+
509
+ function osc_theme_one_third_second($params, $content = null) {
510
+ extract(shortcode_atts(array(
511
+ 'md' => '',
512
+ 'sm' => '',
513
+ 'xs' => '',
514
+ 'off' => ''
515
+ ), $params));
516
+ if ($md == 12) {
517
+ $mds = '';
518
+ } else {
519
+ $mds = 'col-md-' . $md;
520
+ }
521
+ if ($sm == 12) {
522
+ $sms = '';
523
+ } else {
524
+ $sms = 'col-sm-' . $sm;
525
+ }
526
+ if ($xs == 12) {
527
+ $xss = '';
528
+ } else {
529
+ $xss = 'col-xs-' . $xs;
530
+ }
531
+ $result = '<div class="col-lg-4 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-third-second">';
532
+ $result .= do_shortcode($content);
533
+ $result .= '</div>';
534
+
535
+ return $result;
536
+ }
537
+
538
+ add_shortcode('one_third_second', 'osc_theme_one_third_second');
539
+
540
+ function osc_theme_one_column($params, $content = null) {
541
+ extract(shortcode_atts(array(
542
+ 'md' => '',
543
+ 'sm' => '',
544
+ 'xs' => '',
545
+ 'off' => ''
546
+ ), $params));
547
+ if ($md == 12) {
548
+ $mds = '';
549
+ } else {
550
+ $mds = 'col-md-' . $md;
551
+ }
552
+ if ($sm == 12) {
553
+ $sms = '';
554
+ } else {
555
+ $sms = 'col-sm-' . $sm;
556
+ }
557
+ if ($xs == 12) {
558
+ $xss = '';
559
+ } else {
560
+ $xss = 'col-xs-' . $xs;
561
+ }
562
+ $result = '<div class="col-lg-12 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-column">';
563
+ $result .= do_shortcode($content);
564
+ $result .= '</div>';
565
+
566
+ return $result;
567
+ }
568
+
569
+ add_shortcode('one_column', 'osc_theme_one_column');
shortcode/wpcolumns/wpcolumns_plugin.js CHANGED
@@ -1,384 +1,347 @@
1
- (function() {
2
- tinymce.create('tinymce.plugins.oscitasWpcolumns', {
3
- init : function(ed, url) {
4
- ed.addButton('oscitaswpcolumns', {
5
- title : 'Columns Shortcodes',
6
- image : url+'/icon.png',
7
- onclick : function() {
8
- create_oscitas_wpcolumns();
9
- jQuery.fancybox({
10
- 'autoSize':false,
11
- 'autoWidth':false,
12
- 'fitToView':false,
13
- 'width':1094,
14
- 'type' : 'inline',
15
- 'title' : 'Columns Shortcode',
16
- 'height': 'auto',
17
- 'href' : '#oscitas-form-wpcolumns',
18
- helpers: {
19
- title : {
20
- type : 'over',
21
- position:'top'
22
- }
23
- }
24
-
25
- });
26
- }
27
- });
28
- },
29
- createControl : function(n, cm) {
30
- return null;
31
- },
32
- getInfo : function() {
33
- return {
34
- longname : "Columns Shortcode",
35
- author : 'Oscitas Themes',
36
- authorurl : 'http://www.oscitasthemes.com/',
37
- infourl : 'http://www.oscitasthemes.com/',
38
- version : "2.0.0"
39
- };
40
- }
41
- });
42
- tinymce.PluginManager.add('oscitaswpcolumns', tinymce.plugins.oscitasWpcolumns);
43
- })();
44
-
45
- function create_oscitas_wpcolumns(){
46
- if(jQuery('#oscitas-form-wpcolumns').length){
47
- jQuery('#oscitas-form-wpcolumns').remove();
48
- }
49
- // creates a form to be displayed everytime the button is clicked
50
- // you should achieve this using AJAX instead of direct html code like this
51
- var form = jQuery('<div id="oscitas-form-wpcolumns" class="oscitas-container">\
52
- <table id="oscitas-table" class="form-table">\
53
- <tr>\
54
- <th><label for="oscitas-no-of-wpcolumns">Number of columns</label></th>\
55
- <td><select name="type" id="oscitas-no-of-wpcolumns">\
56
- <option value="1" selected="selected">One column</option>\
57
- <option value="2">Two columns</option>\
58
- <option value="3">Three columns</option>\
59
- <option value="4">Four columns</option>\
60
- </select><br />\
61
- </td>\
62
- </tr>\
63
- <tr id="wptwo" style="display:none;">\
64
- <th><label for="oscitas-two-columns">2 column division</label></th>\
65
- <td><select name="type" id="oscitas-two-columns" class="osc-change-col">\
66
- <option value="6$6">1/2-1/2</option>\
67
- <option value="4$8">1/3-2/3</option>\
68
- <option value="8$3">2/3-1/3</option>\
69
- <option value="3$9">1/4-3/4</option>\
70
- <option value="9$3">3/4-1/4</option>\
71
- </select> For Large Screen<br />\
72
- </td>\
73
- </tr>\
74
- <tr id="wpthree" style="display:none;">\
75
- <th><label for="oscitas-three-columns">3 column division</label></th>\
76
- <td><select name="type" id="oscitas-three-columns" class="osc-change-col">\
77
- <option value="4$4$4">1/3-1/3-1/3</option>\
78
- <option value="3$6$3">1/4-2/4-1/4</option>\
79
- <option value="3$3$6">1/4-1/4-2/4</option>\
80
- <option value="6$3$3">2/4-1/4-1/4</option>\
81
- </select> For Large Screen<br />\
82
- </tr>\
83
- <tr id="">\
84
- <th><label for="append_column_table">Column Specification</label></th>\
85
- <td id="append_column_table"></td>\
86
- </tr>\
87
- <tr>\
88
- <th><label for="oscitas-column-class">Custom Class:</label></th>\
89
- <td><input type="text" name="line" id="oscitas-column-class" value=""/>\
90
- </td>\
91
- </tr>\
92
- </table>\
93
- <p class="submit">\
94
- <input type="button" id="oscitas-submit-wp_column" class="button-primary" value="Insert Columns" name="submit" />\
95
- </p>\
96
- </div>');
97
- var table = form.find('table');
98
- form.appendTo('body').hide();
99
-
100
- function show_table(){
101
-
102
- var ele='',e=0,sm,smoff,md,mdoff,lg,lgoff,xs,xsoff,sel,val=0,selcol,hidecol;
103
- var col= form.find('#oscitas-no-of-wpcolumns').val();
104
- ele = '<i>You can select different column style for different screens such as medium, small(e.g < 992px), x-small(e.g < 768px)</i><br/>';
105
-
106
- var option={
107
- 'lg':'Large Screen',
108
- 'md': 'Medium Screen',
109
- 'sm': 'Small Screen',
110
- 'xs':'X-small Screen'
111
- }
112
- ele+= '<table id="appended" class="tb_multiple_column"><thead><tr><th>Screen</th><th style="min-width:50px;max-width:50px">Hide Row</th>';
113
-
114
- for(i=1;i<=col;i++){
115
- ele+='<th><div class="head_division head_division_check">Clear Left</div><div class="head_division">Column</div><div class="head_division">Offset</div><div class="head_division head_division_check right">Hide</div></th>';
116
-
117
- }
118
- ele+= '</tr></thead><tbody class="column_tbody">';
119
- jQuery.each(option,function(index,val){
120
- ele+='<tr><th class="column_td_first">'+val+'</th><td style="min-width:50px;max-width:50px"><input type="checkbox" name="'+index+'rowhide" id="'+index+'rowhide" value="yes"></td>';
121
- for(var i=1;i<=col;i++){
122
- sm='<select name="'+index+'['+i+']" id="'+index+i+'">';
123
- for( e=1;e<=12;e++){
124
- if(index=='lg'){
125
-
126
- selcol=12/col;
127
- if(e==selcol){
128
- sel='selected=selected'
129
- }
130
- else{
131
- sel='';
132
- }
133
- } else{
134
- if(e==12){
135
- sel='selected=selected'
136
- }
137
- else{
138
- sel='';
139
- }
140
- }
141
- sm+='<option value="'+e+'" '+sel+'>'+e+'</option>';
142
- }
143
- sm+='</select>';
144
- smoff='<select name="'+index+'off['+i+']" id="'+index+'off'+i+'">';
145
- for( e=0;e<12;e++){
146
-
147
- smoff+='<option value="'+e+'">'+e+'</option>';
148
- }
149
- smoff+='</select>';
150
-
151
- clearleft='<input type="checkbox" name="'+index+'clear['+i+']" id="'+index+'clear'+i+'" value="yes">';
152
-
153
- hidecol='<input type="checkbox" name="'+index+'hide['+i+']" id="'+index+'hide'+i+'" value="yes">';
154
-
155
-
156
- ele+='<td><div class="head_division head_division_check">'+clearleft+'</div><div class="head_division">'+sm+'</div><div class="head_division">'+smoff+'</div><div class="head_division head_division_check right">'+hidecol+'</div></td>';
157
-
158
-
159
-
160
- }
161
- ele+='</tr>';
162
- });
163
- ele +='</tbody></table>';
164
- table.find('#append_column_table').html(ele);
165
- jQuery('#oscitas-form-wpcolumns table>tr:visible:even').css('background', '#F0F0F0');
166
- jQuery('#oscitas-form-wpcolumns table>tr:visible:odd').css('background', '#DADADD');
167
-
168
- }
169
- function chnage_col_value(){
170
-
171
- var col= form.find('#oscitas-no-of-wpcolumns').val(),str,arr=[],i=0;
172
- if(col==2 || col==3){
173
- if(col==2){
174
- str=form.find('#oscitas-two-columns').val();
175
- } else if(col==3){
176
- str=form.find('#oscitas-three-columns').val();
177
- }
178
- arr=str.split('$');
179
- jQuery.each(arr,function(index,val){
180
- i=parseInt(index)+1;
181
- jQuery('#lg'+i).val(val);
182
- })
183
-
184
- }
185
- jQuery('#oscitas-form-wpcolumns table tr:visible:even').css('background', '#F0F0F0');
186
- jQuery('#oscitas-form-wpcolumns table tr:visible:odd').css('background', '#DADADD');
187
- }
188
-
189
- show_table();
190
-
191
- jQuery('#oscitas-no-of-wpcolumns').change(function(){
192
- var noOfColumns = jQuery(this).val();
193
- if(2 == noOfColumns){
194
-
195
- jQuery("#wpthree").hide();
196
- jQuery("#wptwo").show();
197
- }
198
- else if(3 == noOfColumns){
199
- jQuery("#wptwo").hide();
200
- jQuery("#wpthree").show();
201
- }
202
- else{
203
- jQuery("#wptwo").hide();
204
- jQuery("#wpthree").hide();
205
-
206
- }
207
- show_table();
208
- chnage_col_value();
209
-
210
-
211
- });
212
- form.find('.osc-change-col').change(function(){
213
- chnage_col_value();
214
- })
215
- var arr={
216
- 1:'lg',
217
- 2: 'md',
218
- 3:'sm',
219
- 4:'xs'
220
- };
221
-
222
-
223
- var value1 =0,valueoff=0,lastSel,previous;
224
- jQuery.each(arr,function(i,valuenum){
225
- jQuery.each(arr,function(tt,index){
226
-
227
- jQuery('#'+index+i).live('focus',function(){
228
- previous = this.value;
229
- }).live('change',function(){
230
- value1= parseInt(jQuery(this).val());
231
- valueoff =parseInt(jQuery('#'+index+'off'+i).val());
232
- value1=value1+valueoff;
233
- if(value1<=12){
234
- previous = this.value;
235
- }
236
- else{
237
- jQuery('#'+index+i).val(previous);
238
- alert('Can\'t Change, exceeds the limit');
239
- }
240
- });
241
-
242
- jQuery('#'+index+'off'+i).live('focus',function(){
243
- previous = this.value;
244
- }).live('change',function(){
245
- value1= parseInt(jQuery(this).val());
246
- valueoff = parseInt(jQuery('#'+index+i).val());
247
- value1=value1+valueoff;
248
- if(value1<=12){
249
- previous = this.value;
250
- }
251
- else{
252
- jQuery('#'+index+'off'+i).val(previous);
253
- alert('Can\'t Change, exceeds the limit');
254
- }
255
- })
256
- })
257
- });
258
-
259
- // handles the click event of the submit button
260
- form.find('#oscitas-submit-wp_column').click(function(){
261
- // defines the options and their default values
262
- // again, this is not the most elegant way to do this
263
- // but well, this gets the job done nonetheless
264
- var a_md=[],a_sm=[],a_xs=[],a_lg=[],j=0,a_md_off=[],a_sm_off=[],a_xs_off=[],a_lg_off=[],a_md_hide=[],a_sm_hide=[],a_xs_hide=[],a_lg_hide=[],sm='',md='',xs='',smoff='',mdoff='',xsoff='',lgoff='',smhide='',mdhide='',xshide='',lghide='',smclear='',mdclear='',xsclear='',lgclear='';
265
-
266
-
267
- var noOfColumns = jQuery('#oscitas-no-of-wpcolumns').val();
268
- var shortcode = '';
269
- var cusclass='';
270
- if(table.find('#oscitas-column-class').val()!=''){
271
- cusclass= ' class="'+table.find('#oscitas-column-class').val()+'"';
272
- }
273
- shortcode ='[row'+cusclass+']';
274
- for(var i=1;i<=parseInt(noOfColumns);i++){
275
-
276
- a_md[i] = jQuery('#md'+i).val();
277
- a_sm[i] = jQuery('#sm'+i).val();
278
- a_xs[i] = jQuery('#xs'+i).val();
279
- a_lg[i] = jQuery('#lg'+i).val();
280
- a_md_off[i] = jQuery('#mdoff'+i).val();
281
- a_sm_off[i] = jQuery('#smoff'+i).val();
282
- a_xs_off[i] = jQuery('#xsoff'+i).val();
283
- a_lg_off[i] = jQuery('#lgoff'+i).val();
284
-
285
- //if(a_md[i]!=12){
286
- md=' md="'+a_md[i]+'"';
287
- //} else{
288
- // md='';
289
- //}
290
- //if(a_sm[i]!=12){
291
- sm=' sm="'+a_sm[i]+'"';
292
- //} else{
293
- // sm='';
294
- //}
295
- //if(a_xs[i]!=12){
296
- xs=' xs="'+a_xs[i]+'"';
297
- //} else{
298
- // xs='';
299
- //}
300
- if(a_md_off[i]!=0){
301
- mdoff=' mdoff="'+a_md_off[i]+'"';
302
- }
303
- else{
304
- mdoff='';
305
- }
306
- if(a_sm_off[i]!=0){
307
- smoff=' smoff="'+a_sm_off[i]+'"';
308
- }
309
- else{
310
- smoff='';
311
- }
312
- if(a_xs_off[i]!=0){
313
- xsoff=' xsoff="'+a_xs_off[i]+'"';
314
- }
315
- else{
316
- xsoff='';
317
- }
318
- if(a_lg_off[i]!=0){
319
- lgoff=' lgoff="'+a_lg_off[i]+'"';
320
- }
321
- else{
322
- lgoff='';
323
- }
324
-
325
- if(jQuery('#mdrowhide').is(':checked') || jQuery('#mdhide'+i).is(':checked')){
326
- mdhide=' mdhide="yes"';
327
- }
328
- else{
329
- mdhide='';
330
- }
331
- if(jQuery('#smrowhide').is(':checked') ||jQuery('#smhide'+i).is(':checked')){
332
- smhide=' smhide="yes"';
333
- }
334
- else{
335
- smhide='';
336
- }
337
- if(jQuery('#xsrowhide').is(':checked') ||jQuery('#xshide'+i).is(':checked')){
338
- xshide=' xshide="yes"';
339
- }
340
- else{
341
- xshide='';
342
- }
343
- if(jQuery('#lgrowhide').is(':checked') ||jQuery('#lghide'+i).is(':checked')){
344
- lghide=' lghide="yes"';
345
- }
346
- else{
347
- lghide='';
348
- }
349
-
350
- if(jQuery('#mdclear'+i).is(':checked')){
351
- mdclear=' mdclear="yes"';
352
- }
353
- else{
354
- mdclear='';
355
- }
356
- if(jQuery('#smclear'+i).is(':checked')){
357
- smclear=' smclear="yes"';
358
- }
359
- else{
360
- smclear='';
361
- }
362
- if(jQuery('#xsclear'+i).is(':checked')){
363
- xsclear=' xsclear="yes"';
364
- }
365
- else{
366
- xsclear='';
367
- }
368
- if(jQuery('#lgclear'+i).is(':checked')){
369
- lgclear=' lgclear="yes"';
370
- }
371
- else{
372
- lgclear='';
373
- }
374
-
375
- shortcode += '<br/>[column lg="'+a_lg[i]+'"'+md+sm+xs+mdoff+smoff+xsoff+lgoff+mdhide+smhide+xshide+lghide+mdclear+smclear+xsclear+lgclear+' ]<br/>text<br/>[/column]';
376
- }
377
-
378
- shortcode += '<br/>[/row]';
379
- // inserts the shortcode into the active editor
380
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
381
- // closes Thickbox
382
- jQuery.fancybox.close();
383
- });
384
- }
1
+ var wpcolumns={
2
+ title:"Columns Shortcode",
3
+ id :'oscitas-form-wpcolumns',
4
+ pluginName: 'wpcolumns'
5
+ };
6
+ (function() {
7
+ _create_tinyMCE_options(wpcolumns, 1094);
8
+ })();
9
+
10
+ function create_oscitas_wpcolumns(pluginObj){
11
+ if(jQuery(pluginObj.hashId).length){
12
+ jQuery(pluginObj.hashId).remove();
13
+ }
14
+ // creates a form to be displayed everytime the button is clicked
15
+ // you should achieve this using AJAX instead of direct html code like this
16
+ var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
17
+ <tr>\
18
+ <th><label for="oscitas-no-of-wpcolumns">Number of columns</label></th>\
19
+ <td><select name="type" id="oscitas-no-of-wpcolumns">\
20
+ <option value="1" selected="selected">One column</option>\
21
+ <option value="2">Two columns</option>\
22
+ <option value="3">Three columns</option>\
23
+ <option value="4">Four columns</option>\
24
+ </select><br />\
25
+ </td>\
26
+ </tr>\
27
+ <tr id="wptwo" style="display:none;">\
28
+ <th><label for="oscitas-two-columns">2 column division</label></th>\
29
+ <td><select name="type" id="oscitas-two-columns" class="osc-change-col">\
30
+ <option value="6$6">1/2-1/2</option>\
31
+ <option value="4$8">1/3-2/3</option>\
32
+ <option value="8$3">2/3-1/3</option>\
33
+ <option value="3$9">1/4-3/4</option>\
34
+ <option value="9$3">3/4-1/4</option>\
35
+ </select> For Large Screen<br />\
36
+ </td>\
37
+ </tr>\
38
+ <tr id="wpthree" style="display:none;">\
39
+ <th><label for="oscitas-three-columns">3 column division</label></th>\
40
+ <td><select name="type" id="oscitas-three-columns" class="osc-change-col">\
41
+ <option value="4$4$4">1/3-1/3-1/3</option>\
42
+ <option value="3$6$3">1/4-2/4-1/4</option>\
43
+ <option value="3$3$6">1/4-1/4-2/4</option>\
44
+ <option value="6$3$3">2/4-1/4-1/4</option>\
45
+ </select> For Large Screen<br />\
46
+ </tr>\
47
+ <tr id="">\
48
+ <th><label for="append_column_table">Column Specification</label></th>\
49
+ <td id="append_column_table"></td>\
50
+ </tr>\
51
+ <tr>\
52
+ <th><label for="oscitas-column-class">Custom Class:</label></th>\
53
+ <td><input type="text" name="line" id="oscitas-column-class" value=""/>\
54
+ </td>\
55
+ </tr>\
56
+ </table>\
57
+ <p class="submit">\
58
+ <input type="button" id="oscitas-submit-wp_column" class="button-primary" value="Insert Columns" name="submit" />\
59
+ </p>\
60
+ </div>');
61
+ var table = form.find('table');
62
+ form.appendTo('body').hide();
63
+
64
+ function show_table(){
65
+
66
+ var ele='',e=0,sm,smoff,md,mdoff,lg,lgoff,xs,xsoff,sel,val=0,selcol,hidecol;
67
+ var col= form.find('#oscitas-no-of-wpcolumns').val();
68
+ ele = '<i>You can select different column style for different screens such as medium, small(e.g < 992px), x-small(e.g < 768px)</i><br/>';
69
+
70
+ var option={
71
+ 'lg':'Large Screen',
72
+ 'md': 'Medium Screen',
73
+ 'sm': 'Small Screen',
74
+ 'xs':'X-small Screen'
75
+ }
76
+ ele+= '<table id="appended" class="tb_multiple_column"><thead><tr><th>Screen</th><th style="min-width:50px;max-width:50px">Hide Row</th>';
77
+
78
+ for(i=1;i<=col;i++){
79
+ ele+='<th><div class="head_division head_division_check">Clear Left</div><div class="head_division">Column</div><div class="head_division">Offset</div><div class="head_division head_division_check right">Hide</div></th>';
80
+
81
+ }
82
+ ele+= '</tr></thead><tbody class="column_tbody">';
83
+ jQuery.each(option,function(index,val){
84
+ ele+='<tr><th class="column_td_first">'+val+'</th><td style="min-width:50px;max-width:50px"><input type="checkbox" name="'+index+'rowhide" id="'+index+'rowhide" value="yes"></td>';
85
+ for(var i=1;i<=col;i++){
86
+ sm='<select name="'+index+'['+i+']" id="'+index+i+'">';
87
+ for( e=1;e<=12;e++){
88
+ if(index=='lg'){
89
+
90
+ selcol=12/col;
91
+ if(e==selcol){
92
+ sel='selected=selected'
93
+ }
94
+ else{
95
+ sel='';
96
+ }
97
+ } else{
98
+ if(e==12){
99
+ sel='selected=selected'
100
+ }
101
+ else{
102
+ sel='';
103
+ }
104
+ }
105
+ sm+='<option value="'+e+'" '+sel+'>'+e+'</option>';
106
+ }
107
+ sm+='</select>';
108
+ smoff='<select name="'+index+'off['+i+']" id="'+index+'off'+i+'">';
109
+ for( e=0;e<12;e++){
110
+
111
+ smoff+='<option value="'+e+'">'+e+'</option>';
112
+ }
113
+ smoff+='</select>';
114
+
115
+ clearleft='<input type="checkbox" name="'+index+'clear['+i+']" id="'+index+'clear'+i+'" value="yes">';
116
+
117
+ hidecol='<input type="checkbox" name="'+index+'hide['+i+']" id="'+index+'hide'+i+'" value="yes">';
118
+
119
+
120
+ ele+='<td><div class="head_division head_division_check">'+clearleft+'</div><div class="head_division">'+sm+'</div><div class="head_division">'+smoff+'</div><div class="head_division head_division_check right">'+hidecol+'</div></td>';
121
+
122
+
123
+
124
+ }
125
+ ele+='</tr>';
126
+ });
127
+ ele +='</tbody></table>';
128
+ table.find('#append_column_table').html(ele);
129
+ jQuery("#oscitas-table tr:not(#appended tr):visible:even").css('background-color', '#DADADD');
130
+ jQuery("#oscitas-table tr:not(#appended tr):visible:odd").css('background-color', '#F0F0F0');
131
+ }
132
+ function chnage_col_value(){
133
+
134
+ var col= form.find('#oscitas-no-of-wpcolumns').val(),str,arr=[],i=0;
135
+ if(col==2 || col==3){
136
+ if(col==2){
137
+ str=form.find('#oscitas-two-columns').val();
138
+ } else if(col==3){
139
+ str=form.find('#oscitas-three-columns').val();
140
+ }
141
+ arr=str.split('$');
142
+ jQuery.each(arr,function(index,val){
143
+ i=parseInt(index)+1;
144
+ jQuery('#lg'+i).val(val);
145
+ })
146
+
147
+ }
148
+ jQuery("#oscitas-table tr:not(#appended tr):visible:even").css('background-color', '#DADADD');
149
+ jQuery("#oscitas-table tr:not(#appended tr):visible:odd").css('background-color', '#F0F0F0');
150
+ }
151
+
152
+ show_table();
153
+
154
+ jQuery('#oscitas-no-of-wpcolumns').change(function(){
155
+ var noOfColumns = jQuery(this).val();
156
+ if(2 == noOfColumns){
157
+
158
+ jQuery("#wpthree").hide();
159
+ jQuery("#wptwo").show();
160
+ }
161
+ else if(3 == noOfColumns){
162
+ jQuery("#wptwo").hide();
163
+ jQuery("#wpthree").show();
164
+ }
165
+ else{
166
+ jQuery("#wptwo").hide();
167
+ jQuery("#wpthree").hide();
168
+
169
+ }
170
+ show_table();
171
+ chnage_col_value();
172
+
173
+
174
+ });
175
+ form.find('.osc-change-col').change(function(){
176
+ chnage_col_value();
177
+ })
178
+ var arr={
179
+ 1:'lg',
180
+ 2: 'md',
181
+ 3:'sm',
182
+ 4:'xs'
183
+ };
184
+
185
+
186
+ var value1 =0,valueoff=0,lastSel,previous;
187
+ jQuery.each(arr,function(i,valuenum){
188
+ jQuery.each(arr,function(tt,index){
189
+
190
+ jQuery('#'+index+i).live('focus',function(){
191
+ previous = this.value;
192
+ }).live('change',function(){
193
+ value1= parseInt(jQuery(this).val());
194
+ valueoff =parseInt(jQuery('#'+index+'off'+i).val());
195
+ value1=value1+valueoff;
196
+ if(value1<=12){
197
+ previous = this.value;
198
+ }
199
+ else{
200
+ jQuery('#'+index+i).val(previous);
201
+ alert('Can\'t Change, exceeds the limit');
202
+ }
203
+ });
204
+
205
+ jQuery('#'+index+'off'+i).live('focus',function(){
206
+ previous = this.value;
207
+ }).live('change',function(){
208
+ value1= parseInt(jQuery(this).val());
209
+ valueoff = parseInt(jQuery('#'+index+i).val());
210
+ value1=value1+valueoff;
211
+ if(value1<=12){
212
+ previous = this.value;
213
+ }
214
+ else{
215
+ jQuery('#'+index+'off'+i).val(previous);
216
+ alert('Can\'t Change, exceeds the limit');
217
+ }
218
+ })
219
+ })
220
+ });
221
+
222
+ // handles the click event of the submit button
223
+ form.find('#oscitas-submit-wp_column').click(function(){
224
+ // defines the options and their default values
225
+ // again, this is not the most elegant way to do this
226
+ // but well, this gets the job done nonetheless
227
+ var a_md=[],a_sm=[],a_xs=[],a_lg=[],j=0,a_md_off=[],a_sm_off=[],a_xs_off=[],a_lg_off=[],a_md_hide=[],a_sm_hide=[],a_xs_hide=[],a_lg_hide=[],sm='',md='',xs='',smoff='',mdoff='',xsoff='',lgoff='',smhide='',mdhide='',xshide='',lghide='',smclear='',mdclear='',xsclear='',lgclear='';
228
+
229
+
230
+ var noOfColumns = jQuery('#oscitas-no-of-wpcolumns').val();
231
+ var shortcode = '';
232
+ var cusclass='';
233
+ if(table.find('#oscitas-column-class').val()!=''){
234
+ cusclass= ' class="'+table.find('#oscitas-column-class').val()+'"';
235
+ }
236
+ shortcode ='[row'+cusclass+']';
237
+ for(var i=1;i<=parseInt(noOfColumns);i++){
238
+
239
+ a_md[i] = jQuery('#md'+i).val();
240
+ a_sm[i] = jQuery('#sm'+i).val();
241
+ a_xs[i] = jQuery('#xs'+i).val();
242
+ a_lg[i] = jQuery('#lg'+i).val();
243
+ a_md_off[i] = jQuery('#mdoff'+i).val();
244
+ a_sm_off[i] = jQuery('#smoff'+i).val();
245
+ a_xs_off[i] = jQuery('#xsoff'+i).val();
246
+ a_lg_off[i] = jQuery('#lgoff'+i).val();
247
+
248
+ //if(a_md[i]!=12){
249
+ md=' md="'+a_md[i]+'"';
250
+ //} else{
251
+ // md='';
252
+ //}
253
+ //if(a_sm[i]!=12){
254
+ sm=' sm="'+a_sm[i]+'"';
255
+ //} else{
256
+ // sm='';
257
+ //}
258
+ //if(a_xs[i]!=12){
259
+ xs=' xs="'+a_xs[i]+'"';
260
+ //} else{
261
+ // xs='';
262
+ //}
263
+ if(a_md_off[i]!=0){
264
+ mdoff=' mdoff="'+a_md_off[i]+'"';
265
+ }
266
+ else{
267
+ mdoff='';
268
+ }
269
+ if(a_sm_off[i]!=0){
270
+ smoff=' smoff="'+a_sm_off[i]+'"';
271
+ }
272
+ else{
273
+ smoff='';
274
+ }
275
+ if(a_xs_off[i]!=0){
276
+ xsoff=' xsoff="'+a_xs_off[i]+'"';
277
+ }
278
+ else{
279
+ xsoff='';
280
+ }
281
+ if(a_lg_off[i]!=0){
282
+ lgoff=' lgoff="'+a_lg_off[i]+'"';
283
+ }
284
+ else{
285
+ lgoff='';
286
+ }
287
+
288
+ if(jQuery('#mdrowhide').is(':checked') || jQuery('#mdhide'+i).is(':checked')){
289
+ mdhide=' mdhide="yes"';
290
+ }
291
+ else{
292
+ mdhide='';
293
+ }
294
+ if(jQuery('#smrowhide').is(':checked') ||jQuery('#smhide'+i).is(':checked')){
295
+ smhide=' smhide="yes"';
296
+ }
297
+ else{
298
+ smhide='';
299
+ }
300
+ if(jQuery('#xsrowhide').is(':checked') ||jQuery('#xshide'+i).is(':checked')){
301
+ xshide=' xshide="yes"';
302
+ }
303
+ else{
304
+ xshide='';
305
+ }
306
+ if(jQuery('#lgrowhide').is(':checked') ||jQuery('#lghide'+i).is(':checked')){
307
+ lghide=' lghide="yes"';
308
+ }
309
+ else{
310
+ lghide='';
311
+ }
312
+
313
+ if(jQuery('#mdclear'+i).is(':checked')){
314
+ mdclear=' mdclear="yes"';
315
+ }
316
+ else{
317
+ mdclear='';
318
+ }
319
+ if(jQuery('#smclear'+i).is(':checked')){
320
+ smclear=' smclear="yes"';
321
+ }
322
+ else{
323
+ smclear='';
324
+ }
325
+ if(jQuery('#xsclear'+i).is(':checked')){
326
+ xsclear=' xsclear="yes"';
327
+ }
328
+ else{
329
+ xsclear='';
330
+ }
331
+ if(jQuery('#lgclear'+i).is(':checked')){
332
+ lgclear=' lgclear="yes"';
333
+ }
334
+ else{
335
+ lgclear='';
336
+ }
337
+
338
+ shortcode += '<br/>[column lg="'+a_lg[i]+'"'+md+sm+xs+mdoff+smoff+xsoff+lgoff+mdhide+smhide+xshide+lghide+mdclear+smclear+xsclear+lgclear+' ]<br/>text<br/>[/column]';
339
+ }
340
+
341
+ shortcode += '<br/>[/row]';
342
+ // inserts the shortcode into the active editor
343
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
344
+ // closes Thickbox
345
+ close_dialogue(pluginObj.hashId);
346
+ });
347
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
styles/bootstrap-icon.css ADDED
@@ -0,0 +1,853 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: 'Glyphicons Halflings';
3
+ src: url('../fonts/glyphicons-halflings-regular.eot');
4
+ src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
5
+ }
6
+ .glyphicon {
7
+ position: relative;
8
+ top: 1px;
9
+ /*display: inline-block;*/
10
+ font-family: 'Glyphicons Halflings';
11
+ -webkit-font-smoothing: antialiased;
12
+ font-style: normal;
13
+ font-weight: normal;
14
+ line-height: 1;
15
+ float: left;
16
+ margin: 4px;
17
+ }
18
+
19
+ .glyphicon-asterisk:before {
20
+ content: "\2a";
21
+ }
22
+
23
+ .glyphicon-plus:before {
24
+ content: "\2b";
25
+ }
26
+
27
+ .glyphicon-euro:before {
28
+ content: "\20ac";
29
+ }
30
+
31
+ .glyphicon-minus:before {
32
+ content: "\2212";
33
+ }
34
+
35
+ .glyphicon-cloud:before {
36
+ content: "\2601";
37
+ }
38
+
39
+ .glyphicon-envelope:before {
40
+ content: "\2709";
41
+ }
42
+
43
+ .glyphicon-pencil:before {
44
+ content: "\270f";
45
+ }
46
+
47
+ .glyphicon-glass:before {
48
+ content: "\e001";
49
+ }
50
+
51
+ .glyphicon-music:before {
52
+ content: "\e002";
53
+ }
54
+
55
+ .glyphicon-search:before {
56
+ content: "\e003";
57
+ }
58
+
59
+ .glyphicon-heart:before {
60
+ content: "\e005";
61
+ }
62
+
63
+ .glyphicon-star:before {
64
+ content: "\e006";
65
+ }
66
+
67
+ .glyphicon-star-empty:before {
68
+ content: "\e007";
69
+ }
70
+
71
+ .glyphicon-user:before {
72
+ content: "\e008";
73
+ }
74
+
75
+ .glyphicon-film:before {
76
+ content: "\e009";
77
+ }
78
+
79
+ .glyphicon-th-large:before {
80
+ content: "\e010";
81
+ }
82
+
83
+ .glyphicon-th:before {
84
+ content: "\e011";
85
+ }
86
+
87
+ .glyphicon-th-list:before {
88
+ content: "\e012";
89
+ }
90
+
91
+ .glyphicon-ok:before {
92
+ content: "\e013";
93
+ }
94
+
95
+ .glyphicon-remove:before {
96
+ content: "\e014";
97
+ }
98
+
99
+ .glyphicon-zoom-in:before {
100
+ content: "\e015";
101
+ }
102
+
103
+ .glyphicon-zoom-out:before {
104
+ content: "\e016";
105
+ }
106
+
107
+ .glyphicon-off:before {
108
+ content: "\e017";
109
+ }
110
+
111
+ .glyphicon-signal:before {
112
+ content: "\e018";
113
+ }
114
+
115
+ .glyphicon-cog:before {
116
+ content: "\e019";
117
+ }
118
+
119
+ .glyphicon-trash:before {
120
+ content: "\e020";
121
+ }
122
+
123
+ .glyphicon-home:before {
124
+ content: "\e021";
125
+ }
126
+
127
+ .glyphicon-file:before {
128
+ content: "\e022";
129
+ }
130
+
131
+ .glyphicon-time:before {
132
+ content: "\e023";
133
+ }
134
+
135
+ .glyphicon-road:before {
136
+ content: "\e024";
137
+ }
138
+
139
+ .glyphicon-download-alt:before {
140
+ content: "\e025";
141
+ }
142
+
143
+ .glyphicon-download:before {
144
+ content: "\e026";
145
+ }
146
+
147
+ .glyphicon-upload:before {
148
+ content: "\e027";
149
+ }
150
+
151
+ .glyphicon-inbox:before {
152
+ content: "\e028";
153
+ }
154
+
155
+ .glyphicon-play-circle:before {
156
+ content: "\e029";
157
+ }
158
+
159
+ .glyphicon-repeat:before {
160
+ content: "\e030";
161
+ }
162
+
163
+ .glyphicon-refresh:before {
164
+ content: "\e031";
165
+ }
166
+
167
+ .glyphicon-list-alt:before {
168
+ content: "\e032";
169
+ }
170
+
171
+ .glyphicon-flag:before {
172
+ content: "\e034";
173
+ }
174
+
175
+ .glyphicon-headphones:before {
176
+ content: "\e035";
177
+ }
178
+
179
+ .glyphicon-volume-off:before {
180
+ content: "\e036";
181
+ }
182
+
183
+ .glyphicon-volume-down:before {
184
+ content: "\e037";
185
+ }
186
+
187
+ .glyphicon-volume-up:before {
188
+ content: "\e038";
189
+ }
190
+
191
+ .glyphicon-qrcode:before {
192
+ content: "\e039";
193
+ }
194
+
195
+ .glyphicon-barcode:before {
196
+ content: "\e040";
197
+ }
198
+
199
+ .glyphicon-tag:before {
200
+ content: "\e041";
201
+ }
202
+
203
+ .glyphicon-tags:before {
204
+ content: "\e042";
205
+ }
206
+
207
+ .glyphicon-book:before {
208
+ content: "\e043";
209
+ }
210
+
211
+ .glyphicon-print:before {
212
+ content: "\e045";
213
+ }
214
+
215
+ .glyphicon-font:before {
216
+ content: "\e047";
217
+ }
218
+
219
+ .glyphicon-bold:before {
220
+ content: "\e048";
221
+ }
222
+
223
+ .glyphicon-italic:before {
224
+ content: "\e049";
225
+ }
226
+
227
+ .glyphicon-text-height:before {
228
+ content: "\e050";
229
+ }
230
+
231
+ .glyphicon-text-width:before {
232
+ content: "\e051";
233
+ }
234
+
235
+ .glyphicon-align-left:before {
236
+ content: "\e052";
237
+ }
238
+
239
+ .glyphicon-align-center:before {
240
+ content: "\e053";
241
+ }
242
+
243
+ .glyphicon-align-right:before {
244
+ content: "\e054";
245
+ }
246
+
247
+ .glyphicon-align-justify:before {
248
+ content: "\e055";
249
+ }
250
+
251
+ .glyphicon-list:before {
252
+ content: "\e056";
253
+ }
254
+
255
+ .glyphicon-indent-left:before {
256
+ content: "\e057";
257
+ }
258
+
259
+ .glyphicon-indent-right:before {
260
+ content: "\e058";
261
+ }
262
+
263
+ .glyphicon-facetime-video:before {
264
+ content: "\e059";
265
+ }
266
+
267
+ .glyphicon-picture:before {
268
+ content: "\e060";
269
+ }
270
+
271
+ .glyphicon-map-marker:before {
272
+ content: "\e062";
273
+ }
274
+
275
+ .glyphicon-adjust:before {
276
+ content: "\e063";
277
+ }
278
+
279
+ .glyphicon-tint:before {
280
+ content: "\e064";
281
+ }
282
+
283
+ .glyphicon-edit:before {
284
+ content: "\e065";
285
+ }
286
+
287
+ .glyphicon-share:before {
288
+ content: "\e066";
289
+ }
290
+
291
+ .glyphicon-check:before {
292
+ content: "\e067";
293
+ }
294
+
295
+ .glyphicon-move:before {
296
+ content: "\e068";
297
+ }
298
+
299
+ .glyphicon-step-backward:before {
300
+ content: "\e069";
301
+ }
302
+
303
+ .glyphicon-fast-backward:before {
304
+ content: "\e070";
305
+ }
306
+
307
+ .glyphicon-backward:before {
308
+ content: "\e071";
309
+ }
310
+
311
+ .glyphicon-play:before {
312
+ content: "\e072";
313
+ }
314
+
315
+ .glyphicon-pause:before {
316
+ content: "\e073";
317
+ }
318
+
319
+ .glyphicon-stop:before {
320
+ content: "\e074";
321
+ }
322
+
323
+ .glyphicon-forward:before {
324
+ content: "\e075";
325
+ }
326
+
327
+ .glyphicon-fast-forward:before {
328
+ content: "\e076";
329
+ }
330
+
331
+ .glyphicon-step-forward:before {
332
+ content: "\e077";
333
+ }
334
+
335
+ .glyphicon-eject:before {
336
+ content: "\e078";
337
+ }
338
+
339
+ .glyphicon-chevron-left:before {
340
+ content: "\e079";
341
+ }
342
+
343
+ .glyphicon-chevron-right:before {
344
+ content: "\e080";
345
+ }
346
+
347
+ .glyphicon-plus-sign:before {
348
+ content: "\e081";
349
+ }
350
+
351
+ .glyphicon-minus-sign:before {
352
+ content: "\e082";
353
+ }
354
+
355
+ .glyphicon-remove-sign:before {
356
+ content: "\e083";
357
+ }
358
+
359
+ .glyphicon-ok-sign:before {
360
+ content: "\e084";
361
+ }
362
+
363
+ .glyphicon-question-sign:before {
364
+ content: "\e085";
365
+ }
366
+
367
+ .glyphicon-info-sign:before {
368
+ content: "\e086";
369
+ }
370
+
371
+ .glyphicon-screenshot:before {
372
+ content: "\e087";
373
+ }
374
+
375
+ .glyphicon-remove-circle:before {
376
+ content: "\e088";
377
+ }
378
+
379
+ .glyphicon-ok-circle:before {
380
+ content: "\e089";
381
+ }
382
+
383
+ .glyphicon-ban-circle:before {
384
+ content: "\e090";
385
+ }
386
+
387
+ .glyphicon-arrow-left:before {
388
+ content: "\e091";
389
+ }
390
+
391
+ .glyphicon-arrow-right:before {
392
+ content: "\e092";
393
+ }
394
+
395
+ .glyphicon-arrow-up:before {
396
+ content: "\e093";
397
+ }
398
+
399
+ .glyphicon-arrow-down:before {
400
+ content: "\e094";
401
+ }
402
+
403
+ .glyphicon-share-alt:before {
404
+ content: "\e095";
405
+ }
406
+
407
+ .glyphicon-resize-full:before {
408
+ content: "\e096";
409
+ }
410
+
411
+ .glyphicon-resize-small:before {
412
+ content: "\e097";
413
+ }
414
+
415
+ .glyphicon-exclamation-sign:before {
416
+ content: "\e101";
417
+ }
418
+
419
+ .glyphicon-gift:before {
420
+ content: "\e102";
421
+ }
422
+
423
+ .glyphicon-leaf:before {
424
+ content: "\e103";
425
+ }
426
+
427
+ .glyphicon-eye-open:before {
428
+ content: "\e105";
429
+ }
430
+
431
+ .glyphicon-eye-close:before {
432
+ content: "\e106";
433
+ }
434
+
435
+ .glyphicon-warning-sign:before {
436
+ content: "\e107";
437
+ }
438
+
439
+ .glyphicon-plane:before {
440
+ content: "\e108";
441
+ }
442
+
443
+ .glyphicon-random:before {
444
+ content: "\e110";
445
+ }
446
+
447
+ .glyphicon-comment:before {
448
+ content: "\e111";
449
+ }
450
+
451
+ .glyphicon-magnet:before {
452
+ content: "\e112";
453
+ }
454
+
455
+ .glyphicon-chevron-up:before {
456
+ content: "\e113";
457
+ }
458
+
459
+ .glyphicon-chevron-down:before {
460
+ content: "\e114";
461
+ }
462
+
463
+ .glyphicon-retweet:before {
464
+ content: "\e115";
465
+ }
466
+
467
+ .glyphicon-shopping-cart:before {
468
+ content: "\e116";
469
+ }
470
+
471
+ .glyphicon-folder-close:before {
472
+ content: "\e117";
473
+ }
474
+
475
+ .glyphicon-folder-open:before {
476
+ content: "\e118";
477
+ }
478
+
479
+ .glyphicon-resize-vertical:before {
480
+ content: "\e119";
481
+ }
482
+
483
+ .glyphicon-resize-horizontal:before {
484
+ content: "\e120";
485
+ }
486
+
487
+ .glyphicon-hdd:before {
488
+ content: "\e121";
489
+ }
490
+
491
+ .glyphicon-bullhorn:before {
492
+ content: "\e122";
493
+ }
494
+
495
+ .glyphicon-certificate:before {
496
+ content: "\e124";
497
+ }
498
+
499
+ .glyphicon-thumbs-up:before {
500
+ content: "\e125";
501
+ }
502
+
503
+ .glyphicon-thumbs-down:before {
504
+ content: "\e126";
505
+ }
506
+
507
+ .glyphicon-hand-right:before {
508
+ content: "\e127";
509
+ }
510
+
511
+ .glyphicon-hand-left:before {
512
+ content: "\e128";
513
+ }
514
+
515
+ .glyphicon-hand-up:before {
516
+ content: "\e129";
517
+ }
518
+
519
+ .glyphicon-hand-down:before {
520
+ content: "\e130";
521
+ }
522
+
523
+ .glyphicon-circle-arrow-right:before {
524
+ content: "\e131";
525
+ }
526
+
527
+ .glyphicon-circle-arrow-left:before {
528
+ content: "\e132";
529
+ }
530
+
531
+ .glyphicon-circle-arrow-up:before {
532
+ content: "\e133";
533
+ }
534
+
535
+ .glyphicon-circle-arrow-down:before {
536
+ content: "\e134";
537
+ }
538
+
539
+ .glyphicon-globe:before {
540
+ content: "\e135";
541
+ }
542
+
543
+ .glyphicon-tasks:before {
544
+ content: "\e137";
545
+ }
546
+
547
+ .glyphicon-filter:before {
548
+ content: "\e138";
549
+ }
550
+
551
+ .glyphicon-fullscreen:before {
552
+ content: "\e140";
553
+ }
554
+
555
+ .glyphicon-dashboard:before {
556
+ content: "\e141";
557
+ }
558
+
559
+ .glyphicon-heart-empty:before {
560
+ content: "\e143";
561
+ }
562
+
563
+ .glyphicon-link:before {
564
+ content: "\e144";
565
+ }
566
+
567
+ .glyphicon-phone:before {
568
+ content: "\e145";
569
+ }
570
+
571
+ .glyphicon-usd:before {
572
+ content: "\e148";
573
+ }
574
+
575
+ .glyphicon-gbp:before {
576
+ content: "\e149";
577
+ }
578
+
579
+ .glyphicon-sort:before {
580
+ content: "\e150";
581
+ }
582
+
583
+ .glyphicon-sort-by-alphabet:before {
584
+ content: "\e151";
585
+ }
586
+
587
+ .glyphicon-sort-by-alphabet-alt:before {
588
+ content: "\e152";
589
+ }
590
+
591
+ .glyphicon-sort-by-order:before {
592
+ content: "\e153";
593
+ }
594
+
595
+ .glyphicon-sort-by-order-alt:before {
596
+ content: "\e154";
597
+ }
598
+
599
+ .glyphicon-sort-by-attributes:before {
600
+ content: "\e155";
601
+ }
602
+
603
+ .glyphicon-sort-by-attributes-alt:before {
604
+ content: "\e156";
605
+ }
606
+
607
+ .glyphicon-unchecked:before {
608
+ content: "\e157";
609
+ }
610
+
611
+ .glyphicon-expand:before {
612
+ content: "\e158";
613
+ }
614
+
615
+ .glyphicon-collapse-down:before {
616
+ content: "\e159";
617
+ }
618
+
619
+ .glyphicon-collapse-up:before {
620
+ content: "\e160";
621
+ }
622
+
623
+ .glyphicon-log-in:before {
624
+ content: "\e161";
625
+ }
626
+
627
+ .glyphicon-flash:before {
628
+ content: "\e162";
629
+ }
630
+
631
+ .glyphicon-log-out:before {
632
+ content: "\e163";
633
+ }
634
+
635
+ .glyphicon-new-window:before {
636
+ content: "\e164";
637
+ }
638
+
639
+ .glyphicon-record:before {
640
+ content: "\e165";
641
+ }
642
+
643
+ .glyphicon-save:before {
644
+ content: "\e166";
645
+ }
646
+
647
+ .glyphicon-open:before {
648
+ content: "\e167";
649
+ }
650
+
651
+ .glyphicon-saved:before {
652
+ content: "\e168";
653
+ }
654
+
655
+ .glyphicon-import:before {
656
+ content: "\e169";
657
+ }
658
+
659
+ .glyphicon-export:before {
660
+ content: "\e170";
661
+ }
662
+
663
+ .glyphicon-send:before {
664
+ content: "\e171";
665
+ }
666
+
667
+ .glyphicon-floppy-disk:before {
668
+ content: "\e172";
669
+ }
670
+
671
+ .glyphicon-floppy-saved:before {
672
+ content: "\e173";
673
+ }
674
+
675
+ .glyphicon-floppy-remove:before {
676
+ content: "\e174";
677
+ }
678
+
679
+ .glyphicon-floppy-save:before {
680
+ content: "\e175";
681
+ }
682
+
683
+ .glyphicon-floppy-open:before {
684
+ content: "\e176";
685
+ }
686
+
687
+ .glyphicon-credit-card:before {
688
+ content: "\e177";
689
+ }
690
+
691
+ .glyphicon-transfer:before {
692
+ content: "\e178";
693
+ }
694
+
695
+ .glyphicon-cutlery:before {
696
+ content: "\e179";
697
+ }
698
+
699
+ .glyphicon-header:before {
700
+ content: "\e180";
701
+ }
702
+
703
+ .glyphicon-compressed:before {
704
+ content: "\e181";
705
+ }
706
+
707
+ .glyphicon-earphone:before {
708
+ content: "\e182";
709
+ }
710
+
711
+ .glyphicon-phone-alt:before {
712
+ content: "\e183";
713
+ }
714
+
715
+ .glyphicon-tower:before {
716
+ content: "\e184";
717
+ }
718
+
719
+ .glyphicon-stats:before {
720
+ content: "\e185";
721
+ }
722
+
723
+ .glyphicon-sd-video:before {
724
+ content: "\e186";
725
+ }
726
+
727
+ .glyphicon-hd-video:before {
728
+ content: "\e187";
729
+ }
730
+
731
+ .glyphicon-subtitles:before {
732
+ content: "\e188";
733
+ }
734
+
735
+ .glyphicon-sound-stereo:before {
736
+ content: "\e189";
737
+ }
738
+
739
+ .glyphicon-sound-dolby:before {
740
+ content: "\e190";
741
+ }
742
+
743
+ .glyphicon-sound-5-1:before {
744
+ content: "\e191";
745
+ }
746
+
747
+ .glyphicon-sound-6-1:before {
748
+ content: "\e192";
749
+ }
750
+
751
+ .glyphicon-sound-7-1:before {
752
+ content: "\e193";
753
+ }
754
+
755
+ .glyphicon-copyright-mark:before {
756
+ content: "\e194";
757
+ }
758
+
759
+ .glyphicon-registration-mark:before {
760
+ content: "\e195";
761
+ }
762
+
763
+ .glyphicon-cloud-download:before {
764
+ content: "\e197";
765
+ }
766
+
767
+ .glyphicon-cloud-upload:before {
768
+ content: "\e198";
769
+ }
770
+
771
+ .glyphicon-tree-conifer:before {
772
+ content: "\e199";
773
+ }
774
+
775
+ .glyphicon-tree-deciduous:before {
776
+ content: "\e200";
777
+ }
778
+
779
+ .glyphicon-briefcase:before {
780
+ content: "\1f4bc";
781
+ }
782
+
783
+ .glyphicon-calendar:before {
784
+ content: "\1f4c5";
785
+ }
786
+
787
+ .glyphicon-pushpin:before {
788
+ content: "\1f4cc";
789
+ }
790
+
791
+ .glyphicon-paperclip:before {
792
+ content: "\1f4ce";
793
+ }
794
+
795
+ .glyphicon-camera:before {
796
+ content: "\1f4f7";
797
+ }
798
+
799
+ .glyphicon-lock:before {
800
+ content: "\1f512";
801
+ }
802
+
803
+ .glyphicon-bell:before {
804
+ content: "\1f514";
805
+ }
806
+
807
+ .glyphicon-bookmark:before {
808
+ content: "\1f516";
809
+ }
810
+
811
+ .glyphicon-fire:before {
812
+ content: "\1f525";
813
+ }
814
+
815
+ .glyphicon-wrench:before {
816
+ content: "\1f527";
817
+ }
818
+
819
+ #icon_show, #icon_show_button{
820
+ margin-left: 8px;
821
+ background: none repeat scroll 0 0 #DBDBDB;
822
+ border: 1px solid #B3B3CD;
823
+ padding: 2px 4px;
824
+ }
825
+
826
+
827
+ .oscitas-icon-div {
828
+ background: none repeat scroll 0 0 #F4F4F4;
829
+ border: 1px solid #AAAAAA;
830
+ height: 22px;
831
+ width: 190px;
832
+ }
833
+ .oscitas-icon {
834
+ border: 3px double #A6A6A6;
835
+ display: inline-block;
836
+ margin-top: 5px;
837
+ }
838
+ .oscitas-icon ul li{
839
+ text-align: center;
840
+ padding:4px;
841
+ }
842
+ .oscitas-icon ul li:hover, .osc_icon_selected, .osc_icon_selected_button{
843
+ background: #F4F4F4;
844
+ border: 1px solid #A6A6A6;
845
+ padding:3px !important;
846
+ }
847
+ .show-drop{
848
+ background: url("../images/drop_down.png") no-repeat scroll 0 0 transparent;
849
+ float: right;
850
+ height: 16px;
851
+ margin:5px 0px 0 0;
852
+ width: 18px;
853
+ }
styles/bootstrap.min.css CHANGED
@@ -1,9 +1,7 @@
1
- /*!
2
- * Bootstrap v3.0.2 by @fat and @mdo
3
- * Copyright 2013 Twitter, Inc.
4
- * Licensed under http://www.apache.org/licenses/LICENSE-2.0
5
- *
6
- * Designed and built with all the love in the world by @mdo and @fat.
7
- */
8
-
9
- /*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media(min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-primary:hover{color:#3071a9}.text-warning{color:#c09853}.text-warning:hover{color:#a47e3c}.text-danger{color:#b94a48}.text-danger:hover{color:#953b39}.text-success{color:#468847}.text-success:hover{color:#356635}.text-info{color:#3a87ad}.text-info:hover{color:#2d6987}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small,h1 .small,h2 .small,h3 .small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small,h4 .small,h5 .small,h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.list-inline>li:first-child{padding-left:0}dl{margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}blockquote p:last-child{margin-bottom:0}blockquote small{display:block;line-height:1.428571429;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small,blockquote.pull-right .small{text-align:right}blockquote.pull-right small:before,blockquote.pull-right .small:before{content:''}blockquote.pull-right small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.428571429}code,kbd,pre,samp{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666666666666%}.col-xs-10{width:83.33333333333334%}.col-xs-9{width:75%}.col-xs-8{width:66.66666666666666%}.col-xs-7{width:58.333333333333336%}.col-xs-6{width:50%}.col-xs-5{width:41.66666666666667%}.col-xs-4{width:33.33333333333333%}.col-xs-3{width:25%}.col-xs-2{width:16.666666666666664%}.col-xs-1{width:8.333333333333332%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666666666666%}.col-xs-pull-10{right:83.33333333333334%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666666666666%}.col-xs-pull-7{right:58.333333333333336%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666666666667%}.col-xs-pull-4{right:33.33333333333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.666666666666664%}.col-xs-pull-1{right:8.333333333333332%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666666666666%}.col-xs-push-10{left:83.33333333333334%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666666666666%}.col-xs-push-7{left:58.333333333333336%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666666666667%}.col-xs-push-4{left:33.33333333333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.666666666666664%}.col-xs-push-1{left:8.333333333333332%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666666666666%}.col-xs-offset-10{margin-left:83.33333333333334%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666666666666%}.col-xs-offset-7{margin-left:58.333333333333336%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666666666667%}.col-xs-offset-4{margin-left:33.33333333333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.666666666666664%}.col-xs-offset-1{margin-left:8.333333333333332%}.col-xs-offset-0{margin-left:0}@media(min-width:768px){.container{width:750px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media(min-width:992px){.container{width:970px}.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media(min-width:1200px){.container{width:1170px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}@media(max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],select[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:45px;line-height:45px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#c09853}.has-warning .form-control{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.has-warning .input-group-addon{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#b94a48}.has-error .form-control{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.has-error .input-group-addon{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#468847}.has-success .form-control{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.has-success .input-group-addon{color:#468847;background-color:#dff0d8;border-color:#468847}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-control-static{padding-top:7px}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-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.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-xs{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1;-moz-osx-font-smoothing:grayscale}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid #000;border-right:4px solid transparent;border-bottom:0 dotted;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0 dotted;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-default .caret{border-top-color:#333}.btn-primary .caret,.btn-success .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret{border-top-color:#fff}.dropup .btn-default .caret{border-bottom-color:#333}.dropup .btn-primary .caret,.dropup .btn-success .caret,.dropup .btn-warning .caret,.dropup .btn-danger .caret,.dropup .btn-info .caret{border-bottom-color:#fff}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:5px 10px;padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-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-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified .btn{display:table-cell;float:none;width:1%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group.col{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:45px;line-height:45px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn:first-child>.btn{margin-right:-1px}.input-group-btn:last-child>.btn{margin-left:-1px}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .open>a .caret,.nav .open>a:hover .caret,.nav .open>a:focus .caret{border-top-color:#2a6496;border-bottom-color:#2a6496}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-pills>li.active>a .caret,.nav-pills>li.active>a:hover .caret,.nav-pills>li.active>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav .caret{border-top-color:#428bca;border-bottom-color:#428bca}.nav a:hover .caret{border-top-color:#2a6496;border-bottom-color:#2a6496}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:auto}.navbar-collapse .navbar-nav.navbar-left:first-child{margin-left:-15px}.navbar-collapse .navbar-nav.navbar-right:last-child{margin-right:-15px}.navbar-collapse .navbar-text:last-child{margin-right:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-text{float:left;margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{margin-right:15px;margin-left:15px}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.dropdown>a:hover .caret,.navbar-default .navbar-nav>.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.open>a .caret,.navbar-default .navbar-nav>.open>a:hover .caret,.navbar-default .navbar-nav>.open>a:focus .caret{border-top-color:#555;border-bottom-color:#555}.navbar-default .navbar-nav>.dropdown>a .caret{border-top-color:#777;border-bottom-color:#777}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.dropdown>a:hover .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-nav>.dropdown>a .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .navbar-nav>.open>a .caret,.navbar-inverse .navbar-nav>.open>a:hover .caret,.navbar-inverse .navbar-nav>.open>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.btn .badge{position:relative;top:-1px}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1{font-size:63px}}.thumbnail{display:inline-block;display:block;height:auto;max-width:100%;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#356635}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#2d6987}.alert-warning{color:#c09853;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#a47e3c}.alert-danger{color:#b94a48;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#953b39}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive{margin-bottom:0}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:last-child>th,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:last-child>td,.panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-heading>.dropdown .caret{border-color:#333 transparent}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-heading>.dropdown .caret{border-color:#fff transparent}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading>.dropdown .caret{border-color:#468847 transparent}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#c09853;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading>.dropdown .caret{border-color:#c09853 transparent}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#b94a48;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading>.dropdown .caret{border-color:#b94a48 transparent}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading>.dropdown .caret{border-color:#3a87ad transparent}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;z-index:1050;width:auto;padding:10px;margin-right:auto;margin-left:auto}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{width:600px;padding-top:30px;padding-bottom:30px}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.5)),to(rgba(0,0,0,0.0001)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:-moz-linear-gradient(left,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.0001)),to(rgba(0,0,0,0.5)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:-moz-linear-gradient(left,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after{display:table;content:" "}.clearfix:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,tr.visible-xs,th.visible-xs,td.visible-xs{display:none!important}@media(max-width:767px){.visible-xs{display:block!important}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}tr.visible-xs.visible-sm{display:table-row!important}th.visible-xs.visible-sm,td.visible-xs.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}tr.visible-xs.visible-md{display:table-row!important}th.visible-xs.visible-md,td.visible-xs.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-xs.visible-lg{display:block!important}tr.visible-xs.visible-lg{display:table-row!important}th.visible-xs.visible-lg,td.visible-xs.visible-lg{display:table-cell!important}}.visible-sm,tr.visible-sm,th.visible-sm,td.visible-sm{display:none!important}@media(max-width:767px){.visible-sm.visible-xs{display:block!important}tr.visible-sm.visible-xs{display:table-row!important}th.visible-sm.visible-xs,td.visible-sm.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-sm{display:block!important}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}tr.visible-sm.visible-md{display:table-row!important}th.visible-sm.visible-md,td.visible-sm.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-sm.visible-lg{display:block!important}tr.visible-sm.visible-lg{display:table-row!important}th.visible-sm.visible-lg,td.visible-sm.visible-lg{display:table-cell!important}}.visible-md,tr.visible-md,th.visible-md,td.visible-md{display:none!important}@media(max-width:767px){.visible-md.visible-xs{display:block!important}tr.visible-md.visible-xs{display:table-row!important}th.visible-md.visible-xs,td.visible-md.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}tr.visible-md.visible-sm{display:table-row!important}th.visible-md.visible-sm,td.visible-md.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-md{display:block!important}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-md.visible-lg{display:block!important}tr.visible-md.visible-lg{display:table-row!important}th.visible-md.visible-lg,td.visible-md.visible-lg{display:table-cell!important}}.visible-lg,tr.visible-lg,th.visible-lg,td.visible-lg{display:none!important}@media(max-width:767px){.visible-lg.visible-xs{display:block!important}tr.visible-lg.visible-xs{display:table-row!important}th.visible-lg.visible-xs,td.visible-lg.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}tr.visible-lg.visible-sm{display:table-row!important}th.visible-lg.visible-sm,td.visible-lg.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}tr.visible-lg.visible-md{display:table-row!important}th.visible-lg.visible-md,td.visible-lg.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-lg{display:block!important}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}.hidden-xs{display:block!important}tr.hidden-xs{display:table-row!important}th.hidden-xs,td.hidden-xs{display:table-cell!important}@media(max-width:767px){.hidden-xs,tr.hidden-xs,th.hidden-xs,td.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,tr.hidden-xs.hidden-md,th.hidden-xs.hidden-md,td.hidden-xs.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg{display:none!important}}.hidden-sm{display:block!important}tr.hidden-sm{display:table-row!important}th.hidden-sm,td.hidden-sm{display:table-cell!important}@media(max-width:767px){.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-sm,tr.hidden-sm,th.hidden-sm,td.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,tr.hidden-sm.hidden-md,th.hidden-sm.hidden-md,td.hidden-sm.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg{display:none!important}}.hidden-md{display:block!important}tr.hidden-md{display:table-row!important}th.hidden-md,td.hidden-md{display:table-cell!important}@media(max-width:767px){.hidden-md.hidden-xs,tr.hidden-md.hidden-xs,th.hidden-md.hidden-xs,td.hidden-md.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,tr.hidden-md.hidden-sm,th.hidden-md.hidden-sm,td.hidden-md.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-md,tr.hidden-md,th.hidden-md,td.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-md.hidden-lg,tr.hidden-md.hidden-lg,th.hidden-md.hidden-lg,td.hidden-md.hidden-lg{display:none!important}}.hidden-lg{display:block!important}tr.hidden-lg{display:table-row!important}th.hidden-lg,td.hidden-lg{display:table-cell!important}@media(max-width:767px){.hidden-lg.hidden-xs,tr.hidden-lg.hidden-xs,th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm,tr.hidden-lg.hidden-sm,th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md,tr.hidden-lg.hidden-md,th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-lg,tr.hidden-lg,th.hidden-lg,td.hidden-lg{display:none!important}}.visible-print,tr.visible-print,th.visible-print,td.visible-print{display:none!important}@media print{.visible-print{display:block!important}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}.hidden-print,tr.hidden-print,th.hidden-print,td.hidden-print{display:none!important}}
1
+ /*!
2
+ * Bootstrap v3.0.3 (http://getbootstrap.com)
3
+ * Copyright 2013 Twitter, Inc.
4
+ * Licensed under http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+
7
+ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small,h1 .small,h2 .small,h3 .small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small,h4 .small,h5 .small,h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media(min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-primary:hover{color:#3071a9}.text-warning{color:#8a6d3b}.text-warning:hover{color:#66512c}.text-danger{color:#a94442}.text-danger:hover{color:#843534}.text-success{color:#3c763d}.text-success:hover{color:#2b542c}.text-info{color:#31708f}.text-info:hover{color:#245269}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.list-inline>li:first-child{padding-left:0}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}blockquote p:last-child{margin-bottom:0}blockquote small,blockquote .small{display:block;line-height:1.428571429;color:#999}blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small,blockquote.pull-right .small{text-align:right}blockquote.pull-right small:before,blockquote.pull-right .small:before{content:''}blockquote.pull-right small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.428571429}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}@media(min-width:768px){.container{width:750px}}@media(min-width:992px){.container{width:970px}}@media(min-width:1200px){.container{width:1170px}}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666666666666%}.col-xs-10{width:83.33333333333334%}.col-xs-9{width:75%}.col-xs-8{width:66.66666666666666%}.col-xs-7{width:58.333333333333336%}.col-xs-6{width:50%}.col-xs-5{width:41.66666666666667%}.col-xs-4{width:33.33333333333333%}.col-xs-3{width:25%}.col-xs-2{width:16.666666666666664%}.col-xs-1{width:8.333333333333332%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666666666666%}.col-xs-pull-10{right:83.33333333333334%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666666666666%}.col-xs-pull-7{right:58.333333333333336%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666666666667%}.col-xs-pull-4{right:33.33333333333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.666666666666664%}.col-xs-pull-1{right:8.333333333333332%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666666666666%}.col-xs-push-10{left:83.33333333333334%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666666666666%}.col-xs-push-7{left:58.333333333333336%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666666666667%}.col-xs-push-4{left:33.33333333333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.666666666666664%}.col-xs-push-1{left:8.333333333333332%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666666666666%}.col-xs-offset-10{margin-left:83.33333333333334%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666666666666%}.col-xs-offset-7{margin-left:58.333333333333336%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666666666667%}.col-xs-offset-4{margin-left:33.33333333333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.666666666666664%}.col-xs-offset-1{margin-left:8.333333333333332%}.col-xs-offset-0{margin-left:0}@media(min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media(min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media(min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{position:static;display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>.active,.table>tbody>tr>.active,.table>tfoot>tr>.active,.table>thead>.active>td,.table>tbody>.active>td,.table>tfoot>.active>td,.table>thead>.active>th,.table>tbody>.active>th,.table>tfoot>.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>.active:hover,.table-hover>tbody>.active:hover>td,.table-hover>tbody>.active:hover>th{background-color:#e8e8e8}.table>thead>tr>.success,.table>tbody>tr>.success,.table>tfoot>tr>.success,.table>thead>.success>td,.table>tbody>.success>td,.table>tfoot>.success>td,.table>thead>.success>th,.table>tbody>.success>th,.table>tfoot>.success>th{background-color:#dff0d8}.table-hover>tbody>tr>.success:hover,.table-hover>tbody>.success:hover>td,.table-hover>tbody>.success:hover>th{background-color:#d0e9c6}.table>thead>tr>.danger,.table>tbody>tr>.danger,.table>tfoot>tr>.danger,.table>thead>.danger>td,.table>tbody>.danger>td,.table>tfoot>.danger>td,.table>thead>.danger>th,.table>tbody>.danger>th,.table>tfoot>.danger>th{background-color:#f2dede}.table-hover>tbody>tr>.danger:hover,.table-hover>tbody>.danger:hover>td,.table-hover>tbody>.danger:hover>th{background-color:#ebcccc}.table>thead>tr>.warning,.table>tbody>tr>.warning,.table>tfoot>tr>.warning,.table>thead>.warning>td,.table>tbody>.warning>td,.table>tfoot>.warning>td,.table>thead>.warning>th,.table>tbody>.warning>th,.table>tfoot>.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>.warning:hover,.table-hover>tbody>.warning:hover>td,.table-hover>tbody>.warning:hover>th{background-color:#faf2cc}@media(max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],select[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-control-static{padding-top:7px}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-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.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#fff}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1;-moz-osx-font-smoothing:grayscale}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-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-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn:first-child>.btn{margin-right:-1px}.input-group-btn:last-child>.btn{margin-left:-1px}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-right:0;padding-left:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child th,.panel>.table>tbody:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:last-child>th,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:last-child>td,.panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after{display:table;content:" "}.clearfix:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,tr.visible-xs,th.visible-xs,td.visible-xs{display:none!important}@media(max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}th.visible-xs.visible-sm,td.visible-xs.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}th.visible-xs.visible-md,td.visible-xs.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}th.visible-xs.visible-lg,td.visible-xs.visible-lg{display:table-cell!important}}.visible-sm,tr.visible-sm,th.visible-sm,td.visible-sm{display:none!important}@media(max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}th.visible-sm.visible-xs,td.visible-sm.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}th.visible-sm.visible-md,td.visible-sm.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}th.visible-sm.visible-lg,td.visible-sm.visible-lg{display:table-cell!important}}.visible-md,tr.visible-md,th.visible-md,td.visible-md{display:none!important}@media(max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}th.visible-md.visible-xs,td.visible-md.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}th.visible-md.visible-sm,td.visible-md.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}th.visible-md.visible-lg,td.visible-md.visible-lg{display:table-cell!important}}.visible-lg,tr.visible-lg,th.visible-lg,td.visible-lg{display:none!important}@media(max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}th.visible-lg.visible-xs,td.visible-lg.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}th.visible-lg.visible-sm,td.visible-lg.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}th.visible-lg.visible-md,td.visible-lg.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}.hidden-xs{display:block!important}table.hidden-xs{display:table}tr.hidden-xs{display:table-row!important}th.hidden-xs,td.hidden-xs{display:table-cell!important}@media(max-width:767px){.hidden-xs,tr.hidden-xs,th.hidden-xs,td.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,tr.hidden-xs.hidden-md,th.hidden-xs.hidden-md,td.hidden-xs.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg{display:none!important}}.hidden-sm{display:block!important}table.hidden-sm{display:table}tr.hidden-sm{display:table-row!important}th.hidden-sm,td.hidden-sm{display:table-cell!important}@media(max-width:767px){.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-sm,tr.hidden-sm,th.hidden-sm,td.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,tr.hidden-sm.hidden-md,th.hidden-sm.hidden-md,td.hidden-sm.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg{display:none!important}}.hidden-md{display:block!important}table.hidden-md{display:table}tr.hidden-md{display:table-row!important}th.hidden-md,td.hidden-md{display:table-cell!important}@media(max-width:767px){.hidden-md.hidden-xs,tr.hidden-md.hidden-xs,th.hidden-md.hidden-xs,td.hidden-md.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,tr.hidden-md.hidden-sm,th.hidden-md.hidden-sm,td.hidden-md.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-md,tr.hidden-md,th.hidden-md,td.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-md.hidden-lg,tr.hidden-md.hidden-lg,th.hidden-md.hidden-lg,td.hidden-md.hidden-lg{display:none!important}}.hidden-lg{display:block!important}table.hidden-lg{display:table}tr.hidden-lg{display:table-row!important}th.hidden-lg,td.hidden-lg{display:table-cell!important}@media(max-width:767px){.hidden-lg.hidden-xs,tr.hidden-lg.hidden-xs,th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm,tr.hidden-lg.hidden-sm,th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md,tr.hidden-lg.hidden-md,th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-lg,tr.hidden-lg,th.hidden-lg,td.hidden-lg{display:none!important}}.visible-print,tr.visible-print,th.visible-print,td.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}.hidden-print,tr.hidden-print,th.hidden-print,td.hidden-print{display:none!important}}
 
 
styles/bootstrap_admin.css ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .oscitas-container .form-table {
2
+
3
+ border: 1px solid #9E9EA0;
4
+
5
+ }
6
+ .oscitas-container .form-table th {
7
+
8
+ font-weight: bold;
9
+
10
+ }
11
+ #oscitas-form-iconhead .form-table th {
12
+
13
+ width: 120px
14
+ }
15
+ .oscitas-container .form-table tr:nth-child(odd) {
16
+
17
+ background: #D6D6D6;
18
+
19
+ }
20
+ .oscitas-container .form-table tr: nth-child(even) {
21
+
22
+ background: #F0F0F0;
23
+
24
+ }
25
+ .oscitas-container .form-table td {
26
+
27
+ border-left: 1px solid #AAAAAE;
28
+ padding: 10px;
29
+ min-width: 150px;
30
+
31
+ }
32
+ #oscitas-form-dropdown .form-table td {
33
+
34
+ min-width: 184px;
35
+
36
+ }
37
+ .oscitas-container .tb_multiple_column th {
38
+
39
+ min-width: 150px;
40
+
41
+ border: 0 none;
42
+
43
+ }
44
+ .oscitas-container .tb_multiple_column, .oscitas-container .tb_multiple_column_upper {
45
+
46
+ border: 1px solid #C1BCC4 !important;
47
+
48
+ }
49
+ .oscitas-container .tb_multiple_column thead tr, .oscitas-container .tb_multiple_column_upper thead tr {
50
+
51
+ background: none repeat scroll 0 0 #C2C2C2 !important;
52
+
53
+ }
54
+ .oscitas-container .tb_multiple_column tbody tr: nth-child(even) {
55
+
56
+ background: none repeat scroll 0 0 #D7D7D7 !important;
57
+
58
+ }
59
+ .oscitas-container .tb_multiple_column tbody tr: nth-child(odd) {
60
+
61
+ background: none repeat scroll 0 0 #ECECEC !important;
62
+
63
+ }
64
+ .oscitas-container .tb_multiple_column td {
65
+
66
+ border: 0 none;
67
+
68
+ }
69
+ .oscitas-container .tb_multiple_column_upper tbody tr: nth-child(even) {
70
+
71
+ background: none repeat scroll 0 0 #D7D7D7 !important;
72
+
73
+ }
74
+ .oscitas-container .tb_multiple_column_upper tbody tr: nth-child(odd) {
75
+
76
+ background: none repeat scroll 0 0 #ECECEC !important;
77
+
78
+ }
79
+ .oscitas-container .tb_multiple_column_upper td {
80
+
81
+ border: 0 none;
82
+
83
+ }
84
+ #osc_thumbnail_upload img, #osc_image_upload img {
85
+
86
+ float: right;
87
+
88
+ height: 70px;
89
+
90
+ width: 70px;
91
+
92
+ }
93
+ .oscitas-container .tb_multiple_column #oscitas-append-dropdownitem {
94
+
95
+ display: block;
96
+
97
+ float: left;
98
+
99
+ height: 146px;
100
+
101
+ overflow-x: hidden;
102
+
103
+ overflow-y: auto;
104
+
105
+ width: 100%;
106
+
107
+ }
108
+ #oscitas-form-dropdown .tb_multiple_column thead tr {
109
+
110
+ display: block;
111
+
112
+ }
113
+ #oscitas-form-dropdown .tb_multiple_column thead tr {
114
+
115
+ position: relative;
116
+
117
+ background: none repeat scroll 0 0 #D6D6D6 !important;
118
+
119
+ }
120
+ #oscitas-form-dropdown .tb_multiple_column thead tr th {
121
+
122
+ background: none repeat scroll 0 0 #C2C2C2 !important;
123
+
124
+ }
125
+ .oscitas-container .head_division {
126
+
127
+ float: left;
128
+
129
+ font-size: 10px;
130
+
131
+ text-align: left;
132
+
133
+ width: 30%;
134
+
135
+ }
136
+ .oscitas-container .head_division.right {
137
+
138
+ text-align: right;
139
+
140
+ }
141
+ .oscitas-container .osc-dialog #oscitas-table {
142
+
143
+ margin: 0 0 10px 0;
144
+
145
+ }
146
+
147
+ .oscitas-container .osc-dialog p.submit {
148
+
149
+ margin: 0;
150
+
151
+ padding: 1.5em 0 0;
152
+
153
+ }
154
+
155
+ #oscitas-table table i {
156
+ font-size: 11px;
157
+ }
158
+
159
+
160
+ .osc-dialog .form-table, .osc-dialog .form-table td, .osc-dialog .form-table th,
161
+ .osc-dialog .form-table td p, .osc-dialog .form-wrap label {
162
+
163
+ font-size: 11px;
164
+
165
+ }
166
+ .osc-dialog select {
167
+ height: inherit;
168
+ }
169
+
170
+
171
+ .osc-dialog input[type="checkbox"], .osc-dialog input[type="radio"] {
172
+
173
+ margin: 4px 0;
174
+
175
+ }
176
+ .osc-dialog .ui-dialog-content.ui-widget-content {
177
+ margin: 10px;
178
+ }
179
+
180
+
181
+ .oscitas-container .form-table th {
182
+
183
+ font-weight: bold;
184
+
185
+ font-size: 11px;
186
+
187
+ padding: 12px 5px;
188
+
189
+ }
190
+ .oscitas-container .form-table {
191
+ border: 1px solid #9E9EA0;
192
+ }
193
+
194
+
195
+ .oscitas-container .head_division_check {
196
+ width: 20%;
197
+ }
198
+
199
+ #oscitas-form-btngrp .form-table td {
200
+
201
+ min-width: 184px;
202
+
203
+ }
204
+ #oscitas-append-btngrpitem {
205
+ display: block;
206
+ float: left;
207
+ height: 146px;
208
+ overflow-x: hidden;
209
+ overflow-y: auto;
210
+ width: 100%}
211
+ #oscitas-form-btngrp .tb_multiple_column td {
212
+ min-width: 140px;
213
+ }
214
+
215
+ #oscitas-form-btngrp .tb_multiple_column th {
216
+ min-width: 140px;
217
+ }
218
+
219
+ #oscitas-form-btngrp .tb_multiple_column td input {
220
+ max-width: 140px;
221
+ }
222
+
223
+ #oscitas-form-btngrp .tb_multiple_column thead tr {
224
+ display: block;
225
+ }
226
+ #oscitas-form-btngrp .tb_multiple_column thead tr {
227
+ position: relative;
228
+ background: none repeat scroll 0 0 #D6D6D6!important;
229
+ }
230
+ #oscitas-form-btngrp .tb_multiple_column thead tr th {
231
+ background: none repeat scroll 0 0 #C2C2C2!important;
232
+ }
233
+ #oscitas-table textarea, #oscitas-table input, #oscitas-table select{
234
+ font-size: 12px;
235
+ }
styles/bootstrap_admin.min.css CHANGED
@@ -1 +1 @@
1
- .oscitas-container .form-table{border:1px solid #9E9EA0}.oscitas-container .form-table th{font-weight:700}#oscitas-form-iconhead .form-table th{width:120px}oscitas-container .form-table tr:nth-child(odd){background:#D6D6D6}.oscitas-container .form-table tr:nth-child(even){background:#F0F0F0}.oscitas-container .form-table td{border-left:1px solid #AAAAAE;min-width:150px}#oscitas-form-dropdown .form-table td{min-width:184px}.oscitas-container .tb_multiple_column th{min-width:150px;border:0 none}.oscitas-container .tb_multiple_column,.oscitas-container .tb_multiple_column_upper{border:1px solid #C1BCC4!important}.oscitas-container .tb_multiple_column thead tr,.oscitas-container .tb_multiple_column_upper thead tr{background:none repeat scroll 0 0 #C2C2C2!important}.oscitas-container .tb_multiple_column tbody tr:nth-child(even){background:none repeat scroll 0 0 #D7D7D7!important}.oscitas-container .tb_multiple_column tbody tr:nth-child(odd){background:none repeat scroll 0 0 #ECECEC!important}.oscitas-container .tb_multiple_column td{border:0 none}.oscitas-container .tb_multiple_column_upper tbody tr:nth-child(even){background:none repeat scroll 0 0 #D7D7D7!important}.oscitas-container .tb_multiple_column_upper tbody tr:nth-child(odd){background:none repeat scroll 0 0 #ECECEC!important}.oscitas-container .tb_multiple_column_upper td{border:0 none}#osc_thumbnail_upload img,#osc_image_upload img{float:right;height:70px;width:70px}.oscitas-container .tb_multiple_column #oscitas-append-dropdownitem{display:block;float:left;height:146px;overflow-x:hidden;overflow-y:auto;width:100%}#oscitas-form-dropdown .tb_multiple_column thead tr{display:block}#oscitas-form-dropdown .tb_multiple_column thead tr{position:relative;background:none repeat scroll 0 0 #D6D6D6!important}#oscitas-form-dropdown .tb_multiple_column thead tr th{background:none repeat scroll 0 0 #C2C2C2!important}.oscitas-container .head_division{float:left;font-size:10px;text-align:left;width:30%}.oscitas-container .head_division.right{text-align:right}.oscitas-container .head_division_check{width:20%} #oscitas-form-btngrp .form-table td{min-width:184px} #oscitas-append-btngrpitem{display:block;float:left;height:146px;overflow-x:hidden;overflow-y:auto;width:100%} #oscitas-form-btngrp .tb_multiple_column thead tr{display:block}#oscitas-form-btngrp .tb_multiple_column thead tr{position:relative;background:none repeat scroll 0 0 #D6D6D6!important}#oscitas-form-btngrp .tb_multiple_column thead tr th{background:none repeat scroll 0 0 #C2C2C2!important}
1
+ .osc-dialog .form-table { border: 1px solid #9E9EA0; }.osc-dialog .form-table th { font-weight: bold; }#oscitas-form-iconhead .form-table th { width: 120px }.osc-dialog .form-table tr:nth-child(odd) { background: #D6D6D6; }.osc-dialog .form-table tr: nth-child(even) { background: #F0F0F0; }.osc-dialog .form-table td { padding:10px; border-left: 1px solid #AAAAAE; min-width: 150px; }#oscitas-form-dropdown .form-table td { min-width: 184px; }.osc-dialog .tb_multiple_column th { min-width: 150px; border: 0 none; }.osc-dialog .tb_multiple_column, .osc-dialog .tb_multiple_column_upper { border: 1px solid #C1BCC4 !important; }.osc-dialog .tb_multiple_column thead tr, .osc-dialog .tb_multiple_column_upper thead tr { background: none repeat scroll 0 0 #C2C2C2 !important; }.osc-dialog .tb_multiple_column tbody tr: nth-child(even) { background: none repeat scroll 0 0 #D7D7D7 !important; }.osc-dialog .tb_multiple_column tbody tr: nth-child(odd) { background: none repeat scroll 0 0 #ECECEC !important; }.osc-dialog .tb_multiple_column td { border: 0 none; }.osc-dialog .tb_multiple_column_upper tbody tr: nth-child(even) { background: none repeat scroll 0 0 #D7D7D7 !important; }.osc-dialog .tb_multiple_column_upper tbody tr: nth-child(odd) { background: none repeat scroll 0 0 #ECECEC !important; }.osc-dialog .tb_multiple_column_upper td { border: 0 none; }#osc_thumbnail_upload img, #osc_image_upload img { float: right; height: 70px; width: 70px; }.osc-dialog .tb_multiple_column #oscitas-append-dropdownitem { display: block; float: left; height: 146px; overflow-x: hidden; overflow-y: auto; width: 100%; }#oscitas-form-dropdown .tb_multiple_column thead tr { display: block; }#oscitas-form-dropdown .tb_multiple_column thead tr { position: relative; background: none repeat scroll 0 0 #D6D6D6 !important; }#oscitas-form-dropdown .tb_multiple_column thead tr th { background: none repeat scroll 0 0 #C2C2C2 !important; }.osc-dialog .head_division { float: left; font-size: 10px; text-align: left; width: 30%; }.osc-dialog .head_division.right { text-align: right; }.osc-dialog .osc-dialog #oscitas-table { margin: 0 0 10px 0; }.osc-dialog .osc-dialog p.submit { margin: 0; padding: 1.5em 0 0; }#oscitas-table table i { font-size: 11px; }.osc-dialog .form-table, .osc-dialog .form-table td, .osc-dialog .form-table th, .osc-dialog .form-table td p, .osc-dialog .form-wrap label { font-size: 11px; }.osc-dialog select { height: inherit; }.osc-dialog input[type="checkbox"], .osc-dialog input[type="radio"] { margin: 4px 0; }.osc-dialog .ui-dialog-content.ui-widget-content { margin: 10px; }.osc-dialog .form-table th { font-weight: bold; font-size: 11px; padding: 12px 5px; }.osc-dialog .form-table { border: 1px solid #9E9EA0; }.osc-dialog .head_division_check { width: 20%; }#oscitas-form-btngrp .form-table td { min-width: 184px; }#oscitas-append-btngrpitem { display: block; float: left; height: 146px; overflow-x: hidden; overflow-y: auto; width: 100% }#oscitas-form-btngrp .tb_multiple_column td { min-width: 140px; }#oscitas-form-btngrp .tb_multiple_column th { min-width: 140px; }#oscitas-form-btngrp .tb_multiple_column td input { max-width: 140px; }#oscitas-form-btngrp .tb_multiple_column thead tr { display: block; }#oscitas-form-btngrp .tb_multiple_column thead tr { position: relative; background: none repeat scroll 0 0 #D6D6D6!important; }#oscitas-form-btngrp .tb_multiple_column thead tr th { background: none repeat scroll 0 0 #C2C2C2!important; }#oscitas-table textarea, #oscitas-table input, #oscitas-table select{font-size: 12px;}.osc_ebsp_dropdown .mceFirst a {width: auto !important;}
styles/colorpicker.css ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .colorpicker {
2
+ width: 356px;
3
+ height: 176px;
4
+ overflow: hidden;
5
+ position: absolute;
6
+ background: url(../images/colorpicker_background.png);
7
+ font-family: Arial, Helvetica, sans-serif;
8
+ display: none;
9
+ }
10
+ .colorpicker_color {
11
+ width: 150px;
12
+ height: 150px;
13
+ left: 14px;
14
+ top: 13px;
15
+ position: absolute;
16
+ background: #f00;
17
+ overflow: hidden;
18
+ cursor: crosshair;
19
+ }
20
+ .colorpicker_color div {
21
+ position: absolute;
22
+ top: 0;
23
+ left: 0;
24
+ width: 150px;
25
+ height: 150px;
26
+ background: url(../images/colorpicker_overlay.png);
27
+ }
28
+ .colorpicker_color div div {
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ width: 11px;
33
+ height: 11px;
34
+ overflow: hidden;
35
+ background: url(../images/colorpicker_select.gif);
36
+ margin: -5px 0 0 -5px;
37
+ }
38
+ .colorpicker_hue {
39
+ position: absolute;
40
+ top: 13px;
41
+ left: 171px;
42
+ width: 35px;
43
+ height: 150px;
44
+ cursor: n-resize;
45
+ }
46
+ .colorpicker_hue div {
47
+ position: absolute;
48
+ width: 35px;
49
+ height: 9px;
50
+ overflow: hidden;
51
+ background: url(../images/colorpicker_indic.gif) left top;
52
+ margin: -4px 0 0 0;
53
+ left: 0px;
54
+ }
55
+ .colorpicker_new_color {
56
+ position: absolute;
57
+ width: 60px;
58
+ height: 30px;
59
+ left: 213px;
60
+ top: 13px;
61
+ background: #f00;
62
+ }
63
+ .colorpicker_current_color {
64
+ position: absolute;
65
+ width: 60px;
66
+ height: 30px;
67
+ left: 283px;
68
+ top: 13px;
69
+ background: #f00;
70
+ }
71
+ .colorpicker input {
72
+ background-color: transparent;
73
+ border: 1px solid transparent;
74
+ position: absolute;
75
+ font-size: 10px;
76
+ font-family: Arial, Helvetica, sans-serif;
77
+ color: #898989;
78
+ top: 4px;
79
+ right: 11px;
80
+ text-align: right;
81
+ margin: 0;
82
+ padding: 0;
83
+ height: 11px;
84
+ }
85
+ .colorpicker_hex {
86
+ position: absolute;
87
+ width: 72px;
88
+ height: 22px;
89
+ background: url(../images/colorpicker_hex.png) top;
90
+ left: 212px;
91
+ top: 142px;
92
+ }
93
+ .colorpicker_hex input {
94
+ right: 6px;
95
+ }
96
+ .colorpicker_field {
97
+ height: 22px;
98
+ width: 62px;
99
+ background-position: top;
100
+ position: absolute;
101
+ }
102
+ .colorpicker_field span {
103
+ position: absolute;
104
+ width: 12px;
105
+ height: 22px;
106
+ overflow: hidden;
107
+ top: 0;
108
+ right: 0;
109
+ cursor: n-resize;
110
+ }
111
+ .colorpicker_rgb_r {
112
+ background-image: url(../images/colorpicker_rgb_r.png);
113
+ top: 52px;
114
+ left: 212px;
115
+ }
116
+ .colorpicker_rgb_g {
117
+ background-image: url(../images/colorpicker_rgb_g.png);
118
+ top: 82px;
119
+ left: 212px;
120
+ }
121
+ .colorpicker_rgb_b {
122
+ background-image: url(../images/colorpicker_rgb_b.png);
123
+ top: 112px;
124
+ left: 212px;
125
+ }
126
+ .colorpicker_hsb_h {
127
+ background-image: url(../images/colorpicker_hsb_h.png);
128
+ top: 52px;
129
+ left: 282px;
130
+ }
131
+ .colorpicker_hsb_s {
132
+ background-image: url(../images/colorpicker_hsb_s.png);
133
+ top: 82px;
134
+ left: 282px;
135
+ }
136
+ .colorpicker_hsb_b {
137
+ background-image: url(../images/colorpicker_hsb_b.png);
138
+ top: 112px;
139
+ left: 282px;
140
+ }
141
+ .colorpicker_submit {
142
+ position: absolute;
143
+ width: 22px;
144
+ height: 22px;
145
+ background: url(../images/colorpicker_submit.png) top;
146
+ left: 322px;
147
+ top: 142px;
148
+ overflow: hidden;
149
+ }
150
+ .colorpicker_focus {
151
+ background-position: center;
152
+ }
153
+ .colorpicker_hex.colorpicker_focus {
154
+ background-position: bottom;
155
+ }
156
+ .colorpicker_submit.colorpicker_focus {
157
+ background-position: bottom;
158
+ }
159
+ .colorpicker_slider {
160
+ background-position: bottom;
161
+ }
styles/ebs-setting.css ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #ebs_setting{
2
+ margin: 20px 0 0 0;
3
+ }
4
+ .ebs_page_settings {
5
+ margin-top: 20px;
6
+ }
7
+ .ebs_page_settings h1 {
8
+ background: none repeat scroll 0 0 #D5D5D7;
9
+ color: #555555;
10
+ padding: 10px;
11
+ text-align: center;
12
+ text-decoration: underline;
13
+ width: 88.5%;
14
+ }
15
+ .ebs_details {
16
+ border: 1px solid #CCCCCC;
17
+ float: left;
18
+ width: 90%;
19
+ margin:8px 0;
20
+ border-radius:3px;
21
+ -moz-border-radius:3px;
22
+ -webkit-border-radius:3px;
23
+ -ms-border-radius:3px;
24
+
25
+ }
26
+ .ebs_details label {
27
+ line-height: 30px;
28
+ margin: 0 10px 0 0;
29
+ padding: 5px 10px;
30
+ text-align: right;
31
+ width: 170px;
32
+ }
33
+ .ebs_details > p {
34
+ float: left;
35
+ margin: 5px 0;
36
+ }
37
+ .ebs_details.show_cdn > #cdn_path {
38
+ margin: 8px 0 0 10px;
39
+ width: 462px;
40
+ }
41
+ .ebs_setting_label {
42
+ border-right: 1px solid #CCCCCC;
43
+ display: block;
44
+ float: left;
45
+ }
46
+ .ebs_page_settings .ebs_btn {
47
+ float: left;
48
+ width: 90%;
49
+ }
50
+
51
+ .ebs_page_settings .ebs_btn > input {
52
+ font-size: 15px;
53
+ font-weight: 600;
54
+ padding: 7px;
55
+ width: 19%;
56
+ }
styles/ebs-setting.min.css CHANGED
@@ -1 +1 @@
1
- #ebs_setting{margin:20px 0 0}.ebs_page_settings{margin-top:20px}.ebs_page_settings h1{background:none repeat scroll 0 0 #D5D5D7;color:#555;padding:10px;text-align:center;text-decoration:underline;width:88.5%}.ebs_details{border:1px solid #CCC;float:left;width:90%;margin:8px 0;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;-ms-border-radius:3px}.ebs_details label{line-height:30px;margin:0 10px 0 0;padding:5px 10px;text-align:right;width:170px}.ebs_details>p{float:left;margin:5px 0}.ebs_details.show_cdn>#cdn_path{margin:8px 0 0 10px;width:462px}.ebs_setting_label{border-right:1px solid #CCC;display:block;float:left}.ebs_page_settings .ebs_btn{float:left;width:90%}.ebs_page_settings .ebs_btn>input{font-size:15px;font-weight:600;padding:7px;width:19%}
1
+ #ebs_setting{margin:20px 0 0}.ebs_page_settings{margin-top:20px}.ebs_page_settings h1{background:none repeat scroll 0 0 #D5D5D7;color:#555;padding:10px;text-align:center;text-decoration:underline;width:88.5%}.ebs_details{border:1px solid #CCC;float:left;width:90%;margin:8px 0;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;-ms-border-radius:3px}.ebs_details label{line-height:30px;margin:0 10px 0 0;padding:5px 10px;text-align:right;width:210px}.ebs_details>p{border-left:1px solid #CCC;float:left;margin:0; padding: 5px;}.ebs_details.show_cdn>#cdn_path{margin:8px 0 0 10px;width:462px}.ebs_setting_label{display:block;float:left}.ebs_page_settings .ebs_btn{float:left;width:90%}label.ebs_editor_label{float:left;padding:5px;border:1px solid #F1F1F1;width:auto;margin:0 10px 0 0;}label.ebs_editor_label:hover,.ebs_editor_label.val_selected{background:#fff;padding:5px;border:1px solid #ccc;float: left;width:auto;margin: 0 10px 0 0;}