├── .bowerrc ├── .gitignore ├── 404.php ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── admin ├── admin-functions.php ├── admin-interface.php ├── admin-style.css ├── css │ └── colorpicker.css ├── images │ ├── 2cl.png │ ├── 2cr.png │ ├── 3cm.png │ ├── 3cr.png │ ├── Thumbs.db │ ├── accept.png │ ├── colorpicker │ │ ├── Thumbs.db │ │ ├── blank.gif │ │ ├── colorpicker_background.png │ │ ├── colorpicker_hex.png │ │ ├── colorpicker_hsb_b.png │ │ ├── colorpicker_hsb_h.png │ │ ├── colorpicker_hsb_s.png │ │ ├── colorpicker_indic.gif │ │ ├── colorpicker_overlay.png │ │ ├── colorpicker_rgb_b.png │ │ ├── colorpicker_rgb_g.png │ │ ├── colorpicker_rgb_r.png │ │ ├── colorpicker_select.gif │ │ ├── colorpicker_submit.png │ │ └── select.png │ ├── favicon.ico │ ├── icon_option.png │ ├── loading-bottom.gif │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ ├── warning.png │ └── wrench.png ├── js │ ├── ajaxupload.js │ ├── colorpicker.js │ └── jquery.maskedinput-1.2.2.js ├── theme-functions.php └── theme-options.php ├── assets ├── github-activity-master │ ├── .gitignore │ ├── Gruntfile.js │ ├── LICENSE.md │ ├── README.md │ ├── bower.json │ ├── package.json │ └── src │ │ ├── github-activity.css │ │ └── github-activity.js └── img │ └── default.jpg ├── author.php ├── bower.json ├── category.php ├── footer.php ├── functions.php ├── header.php ├── index.php ├── loop.php ├── page.php ├── screenshot.png ├── search.php ├── single.php ├── style.css └── tag.php /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory" : "vendor" 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/* -------------------------------------------------------------------------------- /404.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 |
10 | 11 |
12 | 13 |
14 |

404

15 |
16 |

Oops! Page not found.

17 |

18 | We could not find the page you were looking for. 19 | Meanwhile, you may return to home or try using the search form. 20 |

21 |
22 |
23 | 24 |
25 | 26 |
27 |
28 |
29 |
30 |
31 | 32 | 35 | 36 | 37 |
38 | 39 |
40 | 41 | 42 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Our Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | * Using welcoming and inclusive language 12 | * Being respectful of differing viewpoints and experiences 13 | * Gracefully accepting constructive criticism 14 | * Focusing on what is best for the community 15 | * Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | * Trolling, insulting/derogatory comments, and personal or political attacks 21 | * Public or private harassment 22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | * Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Our Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at erhan_kilic@outlook.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Contribution are always **welcome and recommended**! Here is how: 2 | 3 | - Fork the repository ([here is the guide](https://help.github.com/articles/fork-a-repo/)). 4 | - Clone to your machine ```git clone https://github.com/YOUR_USERNAME/AdminLteWpTheme.git``` 5 | - Make your changes 6 | - Create a pull request 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2015 Erhan Kılıç 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AdminLteWpTheme 2 | ----------------- 3 | AdminLTE Wordpress Theme 4 | 5 | **AdminLteWpTheme** is a wordpress theme based on **[AdminLTE](https://github.com/almasaeed2010/AdminLTE)**. 6 | 7 | !["AdminLteWpTheme Presentation"](https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/master/screenshot.png "AdminLteWpTheme Presentation") 8 | 9 | ### Installing 10 | 11 | 1- "bower install" 12 | 13 | You must have bower installed for installing the requires. If you don't know how to use bower, just download AdminLTE, create "vendor" folder and move under the vendor folder. 14 | 15 | 2- Create a folder at your website "wp-content/themes/" dir. 16 | 17 | 3- Upload the files there. 18 | 19 | 4- Make active theme from admin panel. 20 | 21 | ### License 22 | AdminLteWpTheme is an open source project by [Erhan Kılıç](http://erhankilic.org) that is licensed under [MIT](http://opensource.org/licenses/MIT). 23 | 24 | ### Contribution 25 | Contribution are always **welcome and recommended**! Here is how: 26 | 27 | - Fork the repository ([here is the guide](https://help.github.com/articles/fork-a-repo/)). 28 | - Clone to your machine ```git clone https://github.com/YOUR_USERNAME/AdminLteWpTheme.git``` 29 | - Make your changes 30 | - Create a pull request 31 | -------------------------------------------------------------------------------- /admin/admin-functions.php: -------------------------------------------------------------------------------- 1 | 82 | 89 | -------------------------------------------------------------------------------- /admin/admin-style.css: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------------------------------------------------------*/ 2 | /* OptionsFramework Admin Styles */ 3 | /*-------------------------------------------------------------------------------------------*/ 4 | 5 | .updated, .error { 6 | display: none !important 7 | } 8 | 9 | /* disable the admin notices */ 10 | #of_container { 11 | margin: 15px; 12 | width: 785px; 13 | position: relative; 14 | z-index: 0 15 | } 16 | 17 | #of_container #header { 18 | height: 80px; 19 | background: #dfdfdf url("http://sebekenet.com/wp-content/themes/Bulut/resim/bg.png") repeat-x left top; 20 | border: 1px solid #ccc; 21 | border-top-left-radius: 6px; 22 | -moz-border-radius-topleft: 6px; 23 | -webkit-border-top-left-radius: 6px; 24 | -webkit-border-top-right-radius: 6px; 25 | border-top-right-radius: 6px; 26 | -moz-border-radius-topright: 6px; 27 | } 28 | 29 | #of_container #header .logo { 30 | float: left; 31 | margin: 10px 20px; 32 | } 33 | 34 | #of_container #js-warning { 35 | color: red; 36 | float: left; 37 | margin: 20px 10px; 38 | width: 330px; 39 | } 40 | 41 | .js #of_container #js-warning { 42 | display: none; 43 | } 44 | 45 | #of_container #header .logo h2 { 46 | font-style: normal; 47 | } 48 | 49 | #of_container #header .icon-option { 50 | float: right; 51 | height: 32px; 52 | width: 32px; 53 | background: url(images/icon_option.png) no-repeat; 54 | margin: 25px 20px; 55 | } 56 | 57 | #of_container #main { 58 | background-color: #f1f1f1; 59 | border-left: 1px solid #d8d8d8; 60 | border-right: 1px solid #d8d8d8; 61 | border-bottom: 1px solid #d8d8d8; 62 | } 63 | 64 | #of_container #of-nav { 65 | float: left; 66 | position: relative; 67 | z-index: 9999; 68 | width: 160px; 69 | } 70 | 71 | #of_container #of-nav li { 72 | margin-bottom: 0 73 | } 74 | 75 | #of_container #of-nav ul li a:link, #of-nav ul li a:visited { 76 | display: block; 77 | padding: 10px 10px 10px 15px; 78 | font-family: Georgia, Serif; 79 | font-size: 13px; 80 | text-decoration: none; 81 | color: #797979; 82 | border-bottom: 1px solid #d8d8d8; 83 | } 84 | 85 | #of_container #of-nav ul li.current a, #of-nav ul li a:hover { 86 | color: #21759b; 87 | background-color: #fff; 88 | } 89 | 90 | #of_container #content { 91 | float: left; 92 | min-height: 550px; 93 | width: 595px; 94 | margin-left: -1px; 95 | padding: 0 14px; 96 | font-family: "Lucida Grande", Sans-serif; 97 | background-color: #fff; 98 | border-left: 1px solid #d8d8d8; 99 | } 100 | 101 | #of_container #content .section { 102 | margin-bottom: 10px; 103 | } 104 | 105 | #of_container #content .section h3.heading { 106 | font-family:; 107 | margin: 10px 0 10px 0; 108 | padding: 7px 0px; 109 | border-bottom: 1px solid #e7e7e7; 110 | } 111 | 112 | #of_container #content .section .controls { 113 | float: left; 114 | width: 345px; 115 | margin: 0 15px 0 0; 116 | } 117 | 118 | #of_container #content .section .explain { 119 | float: left; 120 | width: 225px; 121 | padding: 0 10px 0 0; 122 | font-size: 11px; 123 | color: #999999; 124 | } 125 | 126 | #of_container #content .section-checkbox .controls { 127 | width: 25px 128 | } 129 | 130 | #of_container #content .section-checkbox .explain { 131 | width: 540px 132 | } 133 | 134 | #of_container #content .section-color .controls { 135 | width: 125px 136 | } 137 | 138 | #of_container #content .section-color .explain { 139 | width: 440px 140 | } 141 | 142 | #of_container #content .section-info h3.heading { 143 | font-size: 12px; 144 | font-weight: 100; 145 | border: 0; 146 | margin-top: 20px; 147 | letter-spacing: 1px; 148 | border-top: 1px solid #FFF298; 149 | margin-bottom: 0; 150 | background: #EFE186; 151 | padding: 10px 20px; 152 | } 153 | 154 | #of_container #content .section-info .controls { 155 | margin: 0 0 20px; 156 | padding: 15px 20px; 157 | width: auto; 158 | line-height: 1.5em; 159 | font-size: 14px; 160 | font-style: italic; 161 | font-family: Georgia, arial; 162 | background: #FFF298; 163 | border: 1px solid #ECD852; 164 | color: #424242; 165 | } 166 | 167 | #of_container #content .section-info .controls small { 168 | font-size: 12px 169 | } 170 | 171 | #of_container #content .section-info h3.heading { 172 | -moz-border-radius-topleft: 4px; 173 | -moz-border-radius-topright: 4px; 174 | } 175 | 176 | #of_container #content .section-info .controls { 177 | -moz-border-radius-bottomleft: 4px; 178 | -moz-border-radius-bottomright: 4px; 179 | } 180 | 181 | #of_container textarea, #of_container input, #of_container select { 182 | -moz-border-radius-bottomleft: 4px; 183 | -moz-border-radius-bottomright: 4px; 184 | -moz-border-radius-topleft: 4px; 185 | -moz-border-radius-topright: 4px; 186 | border-style: solid; 187 | border-width: 1px; 188 | } 189 | 190 | #of_container .controls input, #of_container .controls select, #of_container .controls textarea { 191 | margin-bottom: 9px !important; 192 | background-color: #f1f1f1; 193 | border: 1px solid; 194 | border-color: #ccc #e6e6e6 #e6e6e6 #ccc; 195 | width: 340px; 196 | padding: 4px; 197 | font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif; 198 | font-size: 12px; 199 | } 200 | 201 | #of_container .controls select { 202 | padding: 0 0 0 4px; 203 | width: 340px 204 | } 205 | 206 | #of_container .controls textarea { 207 | width: 345px; 208 | } 209 | 210 | #of_container input[type=text] { 211 | width: 340px; 212 | } 213 | 214 | #of_container input.checkbox { 215 | width: 30px; 216 | } 217 | 218 | #of_container input.of-radio { 219 | width: 30px; 220 | } 221 | 222 | #of_container .controls .input-text-small { 223 | width: 60px; 224 | margin-right: 10px 225 | } 226 | 227 | #of_container .meta-two { 228 | margin-right: 10px 229 | } 230 | 231 | #of_container .controls .of-color { 232 | float: left; 233 | width: 80px; 234 | margin-left: 5px; /* font-size:20px; height:34px;*/ 235 | } 236 | 237 | #of_container #content .section-typography .controls { 238 | width: 425px 239 | } 240 | 241 | #of_container #content .section-typography .explain { 242 | width: 140px 243 | } 244 | 245 | #of_container .controls .of-typography-size { 246 | width: 80px; 247 | float: left 248 | } 249 | 250 | #of_container .controls .of-typography-unit { 251 | width: 50px; 252 | float: left 253 | } 254 | 255 | #of_container .controls .of-typography-face { 256 | width: 100px; 257 | float: left 258 | } 259 | 260 | #of_container .controls .of-typography-style { 261 | width: 80px; 262 | float: left 263 | } 264 | 265 | #of_container .controls .of-radio-img-img { 266 | border: 3px solid #fff; 267 | margin: 0 5px 10px 0; 268 | display: none; 269 | cursor: pointer; 270 | float: left; 271 | } 272 | 273 | #of_container .controls .of-radio-img-selected { 274 | border: 3px solid #ccc 275 | } 276 | 277 | #of_container .controls .of-radio-img-img:hover { 278 | opacity: .8; 279 | } 280 | 281 | #of_container .controls .of-border-width { 282 | width: 80px; 283 | float: left 284 | } 285 | 286 | #of_container .controls .of-border-style { 287 | width: 120px; 288 | float: left 289 | } 290 | 291 | #of_container .group { 292 | padding-bottom: 20px 293 | } 294 | 295 | #of_container .group h2 { 296 | display: none; 297 | border-bottom: 3px solid #e7e7e7 298 | } 299 | 300 | #of_container .controls input:focus, #of_container select:focus, #of_container textarea:focus { 301 | background: #fff; 302 | } 303 | 304 | #of_container .accept { 305 | background: #DBF6BE no-repeat 10px center; 306 | border: solid #9BBF65; 307 | border-width: 0px 1px 1px 1px; 308 | color: #060; 309 | font-weight: bold; 310 | padding: 10px; 311 | text-align: center; 312 | } 313 | 314 | #of_container .warning { 315 | background: #ffeeee no-repeat 10px center; 316 | border: solid #dfbfbf; 317 | border-width: 0px 1px 1px 1px; 318 | color: #333; 319 | font-weight: bold; 320 | padding: 10px; 321 | text-align: center; 322 | } 323 | 324 | #of_container .update_available { 325 | background: #FFFEEB no-repeat 10px center; 326 | border: solid #CCCCCC; 327 | border-width: 0px 1px 1px 1px; 328 | color: #333; 329 | font-weight: bold; 330 | padding: 10px; 331 | text-align: center; 332 | } 333 | 334 | #of_container .of-save-popup { 335 | position: absolute; 336 | -moz-border-radius: 12px; 337 | -webkit-border-radius: 12px; 338 | border-radius: 12px; 339 | background: rgba(0, 0, 0, 0.4); 340 | color: #fff; 341 | font-size: 24px; 342 | text-align: center; 343 | display: none 344 | } 345 | 346 | #of_container .of-save-save { 347 | background: url(images/accept.png) 20px 50% no-repeat; 348 | padding: 30px 30px 30px 70px 349 | } 350 | 351 | #of_container .of-save-reset { 352 | background: url(images/warning.png) 20px 50% no-repeat; 353 | padding: 30px 30px 30px 70px 354 | } 355 | 356 | .upload_button_div { 357 | margin-bottom: 10px; 358 | } 359 | 360 | .upload_button_div .button { 361 | padding: 4px 14px; 362 | } 363 | 364 | .upload_button_div .image_reset_button { 365 | margin-left: 10px 366 | } 367 | 368 | .upload-error { 369 | float: left; 370 | color: #666; 371 | font-size: 10px; 372 | font-weight: bold; 373 | text-decoration: none; 374 | text-shadow: 1px 1px 0 #FFFFFF; 375 | margin: 0 10px 0 0; 376 | padding: 3px 10px; 377 | background: #FFDFEC; 378 | -moz-border-radius: 4px; 379 | -webkit-border: 4px; 380 | } 381 | 382 | .reset-button { 383 | float: left; 384 | } 385 | 386 | .save_bar_top { 387 | background: #f3f3f3; 388 | border: solid #ccc; 389 | border-width: 0px 1px 1px 1px; 390 | padding: 10px 20px 0px 20px; 391 | height: 35px; 392 | text-align: right; 393 | -moz-border-radius-bottomright: 6px; 394 | -moz-border-radius-bottomleft: 6px; 395 | -webkit-border-bottom-right-radius: 6px; 396 | -webkit-border-bottom-left-radius: 6px; 397 | border-bottom-right-radius: 6px; 398 | border-bottom-left-radius: 6px; 399 | } 400 | 401 | .hide { 402 | display: none 403 | } 404 | 405 | .ajax-loading-img-top { 406 | margin: 8px 4px 0; 407 | float: left 408 | } 409 | 410 | .ajax-loading-img-bottom { 411 | } 412 | 413 | .of-option-image { 414 | max-width: 340px; 415 | } 416 | 417 | #of_container .mini .controls select, #of_container #content .section .mini .controls { 418 | width: 70px; 419 | } 420 | 421 | #of_container .mini .controls input, #of_container #content .mini .controls { 422 | width: 70px; 423 | } 424 | 425 | #of_container #content .mini .explain { 426 | width: 500px; 427 | } 428 | 429 | .of-notice { 430 | background: #ffd1d1; 431 | border: 1px solid #DFA8A7; 432 | -moz-border-radius: 8px; 433 | -webkit-border-radius: 8px; 434 | text-align: center; 435 | margin-bottom: 15px 436 | } 437 | 438 | /*-------------------------------------------------------------------------------------------*/ 439 | /* GENERAL STYLES */ 440 | /*-------------------------------------------------------------------------------------------*/ 441 | 442 | /* http://sonspring.com/journal/clearing-floats */ 443 | 444 | html body * span.clear, html body * div.clear, html body * li.clear, html body * dd.clear { 445 | background: none; 446 | border: 0; 447 | clear: both; 448 | display: block; 449 | float: none; 450 | font-size: 0; 451 | list-style: none; 452 | margin: 0; 453 | padding: 0; 454 | overflow: hidden; 455 | visibility: hidden; 456 | width: 0; 457 | height: 0; 458 | } -------------------------------------------------------------------------------- /admin/css/colorpicker.css: -------------------------------------------------------------------------------- 1 | .colorpicker { 2 | width: 356px; 3 | height: 176px; 4 | overflow: hidden; 5 | position: absolute; 6 | background: url(../images/colorpicker/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/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/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/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: 12px; 84 | } 85 | .colorpicker_hex { 86 | position: absolute; 87 | width: 72px; 88 | height: 22px; 89 | background: url(../images/colorpicker/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/colorpicker_rgb_r.png); 113 | top: 52px; 114 | left: 212px; 115 | } 116 | .colorpicker_rgb_g { 117 | background-image: url(../images/colorpicker/colorpicker_rgb_g.png); 118 | top: 82px; 119 | left: 212px; 120 | } 121 | .colorpicker_rgb_b { 122 | background-image: url(../images/colorpicker/colorpicker_rgb_b.png); 123 | top: 112px; 124 | left: 212px; 125 | } 126 | .colorpicker_hsb_h { 127 | background-image: url(../images/colorpicker/colorpicker_hsb_h.png); 128 | top: 52px; 129 | left: 282px; 130 | } 131 | .colorpicker_hsb_s { 132 | background-image: url(../images/colorpicker/colorpicker_hsb_s.png); 133 | top: 82px; 134 | left: 282px; 135 | } 136 | .colorpicker_hsb_b { 137 | background-image: url(../images/colorpicker/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/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 | } 162 | 163 | .colorSelector { 164 | position: relative; 165 | width: 27px; 166 | height: 27px; 167 | background: url(../images/colorpicker/select.png); 168 | float:left; 169 | } 170 | .colorSelector div { 171 | position: absolute; 172 | top: 4px; 173 | left: 3px; 174 | width: 21px; 175 | height: 19px; 176 | background: url(../images/colorpicker/select.png) center; 177 | } -------------------------------------------------------------------------------- /admin/images/2cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/2cl.png -------------------------------------------------------------------------------- /admin/images/2cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/2cr.png -------------------------------------------------------------------------------- /admin/images/3cm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/3cm.png -------------------------------------------------------------------------------- /admin/images/3cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/3cr.png -------------------------------------------------------------------------------- /admin/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/Thumbs.db -------------------------------------------------------------------------------- /admin/images/accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/accept.png -------------------------------------------------------------------------------- /admin/images/colorpicker/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/Thumbs.db -------------------------------------------------------------------------------- /admin/images/colorpicker/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/blank.gif -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_background.png -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_hex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_hex.png -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_hsb_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_hsb_b.png -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_hsb_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_hsb_h.png -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_hsb_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_hsb_s.png -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_indic.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_indic.gif -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_overlay.png -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_rgb_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_rgb_b.png -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_rgb_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_rgb_g.png -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_rgb_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_rgb_r.png -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_select.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_select.gif -------------------------------------------------------------------------------- /admin/images/colorpicker/colorpicker_submit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/colorpicker_submit.png -------------------------------------------------------------------------------- /admin/images/colorpicker/select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/colorpicker/select.png -------------------------------------------------------------------------------- /admin/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/favicon.ico -------------------------------------------------------------------------------- /admin/images/icon_option.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/icon_option.png -------------------------------------------------------------------------------- /admin/images/loading-bottom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/loading-bottom.gif -------------------------------------------------------------------------------- /admin/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /admin/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/warning.png -------------------------------------------------------------------------------- /admin/images/wrench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erhankilic/AdminLteWpTheme/345976ea038536a2e3ee51d84136b152d9fa4934/admin/images/wrench.png -------------------------------------------------------------------------------- /admin/js/ajaxupload.js: -------------------------------------------------------------------------------- 1 | /** 2 | * AJAX Upload 3 | * Project page - http://valums.com/ajax-upload/ 4 | * Copyright (c) 2008 Andris Valums, http://valums.com 5 | * Licensed under the MIT license (http://valums.com/mit-license/) 6 | */ 7 | (function(){ 8 | 9 | var d = document, w = window; 10 | 11 | /** 12 | * Get element by id 13 | */ 14 | function get(element){ 15 | if (typeof element == "string") 16 | element = d.getElementById(element); 17 | return element; 18 | } 19 | 20 | /** 21 | * Attaches event to a dom element 22 | */ 23 | function addEvent(el, type, fn){ 24 | if (w.addEventListener){ 25 | el.addEventListener(type, fn, false); 26 | } else if (w.attachEvent){ 27 | var f = function(){ 28 | fn.call(el, w.event); 29 | }; 30 | el.attachEvent('on' + type, f) 31 | } 32 | } 33 | 34 | 35 | /** 36 | * Creates and returns element from html chunk 37 | */ 38 | var toElement = function(){ 39 | var div = d.createElement('div'); 40 | return function(html){ 41 | div.innerHTML = html; 42 | var el = div.childNodes[0]; 43 | div.removeChild(el); 44 | return el; 45 | } 46 | }(); 47 | 48 | function hasClass(ele,cls){ 49 | return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)')); 50 | } 51 | function addClass(ele,cls) { 52 | if (!hasClass(ele,cls)) ele.className += " "+cls; 53 | } 54 | function removeClass(ele,cls) { 55 | var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)'); 56 | ele.className=ele.className.replace(reg,' '); 57 | } 58 | 59 | // getOffset function copied from jQuery lib (http://jquery.com/) 60 | if (document.documentElement["getBoundingClientRect"]){ 61 | // Get Offset using getBoundingClientRect 62 | // http://ejohn.org/blog/getboundingclientrect-is-awesome/ 63 | var getOffset = function(el){ 64 | var box = el.getBoundingClientRect(), 65 | doc = el.ownerDocument, 66 | body = doc.body, 67 | docElem = doc.documentElement, 68 | 69 | // for ie 70 | clientTop = docElem.clientTop || body.clientTop || 0, 71 | clientLeft = docElem.clientLeft || body.clientLeft || 0, 72 | 73 | // In Internet Explorer 7 getBoundingClientRect property is treated as physical, 74 | // while others are logical. Make all logical, like in IE8. 75 | 76 | zoom = 1; 77 | 78 | if (body.getBoundingClientRect) { 79 | var bound = body.getBoundingClientRect(); 80 | zoom = (bound.right - bound.left)/body.clientWidth; 81 | } 82 | 83 | if (zoom > 1){ 84 | clientTop = 0; 85 | clientLeft = 0; 86 | } 87 | 88 | var top = box.top/zoom + (window.pageYOffset || docElem && docElem.scrollTop/zoom || body.scrollTop/zoom) - clientTop, 89 | left = box.left/zoom + (window.pageXOffset|| docElem && docElem.scrollLeft/zoom || body.scrollLeft/zoom) - clientLeft; 90 | 91 | return { 92 | top: top, 93 | left: left 94 | }; 95 | } 96 | 97 | } else { 98 | // Get offset adding all offsets 99 | var getOffset = function(el){ 100 | if (w.jQuery){ 101 | return jQuery(el).offset(); 102 | } 103 | 104 | var top = 0, left = 0; 105 | do { 106 | top += el.offsetTop || 0; 107 | left += el.offsetLeft || 0; 108 | } 109 | while (el = el.offsetParent); 110 | 111 | return { 112 | left: left, 113 | top: top 114 | }; 115 | } 116 | } 117 | 118 | function getBox(el){ 119 | var left, right, top, bottom; 120 | var offset = getOffset(el); 121 | left = offset.left; 122 | top = offset.top; 123 | 124 | right = left + el.offsetWidth; 125 | bottom = top + el.offsetHeight; 126 | 127 | return { 128 | left: left, 129 | right: right, 130 | top: top, 131 | bottom: bottom 132 | }; 133 | } 134 | 135 | /** 136 | * Crossbrowser mouse coordinates 137 | */ 138 | function getMouseCoords(e){ 139 | // pageX/Y is not supported in IE 140 | // http://www.quirksmode.org/dom/w3c_cssom.html 141 | if (!e.pageX && e.clientX){ 142 | // In Internet Explorer 7 some properties (mouse coordinates) are treated as physical, 143 | // while others are logical (offset). 144 | var zoom = 1; 145 | var body = document.body; 146 | 147 | if (body.getBoundingClientRect) { 148 | var bound = body.getBoundingClientRect(); 149 | zoom = (bound.right - bound.left)/body.clientWidth; 150 | } 151 | 152 | return { 153 | x: e.clientX / zoom + d.body.scrollLeft + d.documentElement.scrollLeft, 154 | y: e.clientY / zoom + d.body.scrollTop + d.documentElement.scrollTop 155 | }; 156 | } 157 | 158 | return { 159 | x: e.pageX, 160 | y: e.pageY 161 | }; 162 | 163 | } 164 | /** 165 | * Function generates unique id 166 | */ 167 | var getUID = function(){ 168 | var id = 0; 169 | return function(){ 170 | return 'ValumsAjaxUpload' + id++; 171 | } 172 | }(); 173 | 174 | function fileFromPath(file){ 175 | return file.replace(/.*(\/|\\)/, ""); 176 | } 177 | 178 | function getExt(file){ 179 | return (/[.]/.exec(file)) ? /[^.]+$/.exec(file.toLowerCase()) : ''; 180 | } 181 | 182 | /** 183 | * Cross-browser way to get xhr object 184 | */ 185 | var getXhr = function(){ 186 | var xhr; 187 | 188 | return function(){ 189 | if (xhr) return xhr; 190 | 191 | if (typeof XMLHttpRequest !== 'undefined') { 192 | xhr = new XMLHttpRequest(); 193 | } else { 194 | var v = [ 195 | "Microsoft.XmlHttp", 196 | "MSXML2.XmlHttp.5.0", 197 | "MSXML2.XmlHttp.4.0", 198 | "MSXML2.XmlHttp.3.0", 199 | "MSXML2.XmlHttp.2.0" 200 | ]; 201 | 202 | for (var i=0; i < v.length; i++){ 203 | try { 204 | xhr = new ActiveXObject(v[i]); 205 | break; 206 | } catch (e){} 207 | } 208 | } 209 | 210 | return xhr; 211 | } 212 | }(); 213 | 214 | // Please use AjaxUpload , Ajax_upload will be removed in the next version 215 | Ajax_upload = AjaxUpload = function(button, options){ 216 | if (button.jquery){ 217 | // jquery object was passed 218 | button = button[0]; 219 | } else if (typeof button == "string" && /^#.*/.test(button)){ 220 | button = button.slice(1); 221 | } 222 | button = get(button); 223 | 224 | this._input = null; 225 | this._button = button; 226 | this._disabled = false; 227 | this._submitting = false; 228 | // Variable changes to true if the button was clicked 229 | // 3 seconds ago (requred to fix Safari on Mac error) 230 | this._justClicked = false; 231 | this._parentDialog = d.body; 232 | 233 | if (window.jQuery && jQuery.ui && jQuery.ui.dialog){ 234 | var parentDialog = jQuery(this._button).parents('.ui-dialog'); 235 | if (parentDialog.length){ 236 | this._parentDialog = parentDialog[0]; 237 | } 238 | } 239 | 240 | this._settings = { 241 | // Location of the server-side upload script 242 | action: 'upload.php', 243 | // File upload name 244 | name: 'userfile', 245 | // Additional data to send 246 | data: {}, 247 | // Submit file as soon as it's selected 248 | autoSubmit: true, 249 | // The type of data that you're expecting back from the server. 250 | // Html and xml are detected automatically. 251 | // Only useful when you are using json data as a response. 252 | // Set to "json" in that case. 253 | responseType: false, 254 | // Location of the server-side script that fixes Safari 255 | // hanging problem returning "Connection: close" header 256 | closeConnection: '', 257 | // Class applied to button when mouse is hovered 258 | hoverClass: 'hover', 259 | // When user selects a file, useful with autoSubmit disabled 260 | onChange: function(file, extension){}, 261 | // Callback to fire before file is uploaded 262 | // You can return false to cancel upload 263 | onSubmit: function(file, extension){}, 264 | // Fired when file upload is completed 265 | // WARNING! DO NOT USE "FALSE" STRING AS A RESPONSE! 266 | onComplete: function(file, response) {} 267 | }; 268 | 269 | // Merge the users options with our defaults 270 | for (var i in options) { 271 | this._settings[i] = options[i]; 272 | } 273 | 274 | this._createInput(); 275 | this._rerouteClicks(); 276 | } 277 | 278 | // assigning methods to our class 279 | AjaxUpload.prototype = { 280 | setData : function(data){ 281 | this._settings.data = data; 282 | }, 283 | disable : function(){ 284 | this._disabled = true; 285 | }, 286 | enable : function(){ 287 | this._disabled = false; 288 | }, 289 | // removes instance 290 | destroy : function(){ 291 | if(this._input){ 292 | if(this._input.parentNode){ 293 | this._input.parentNode.removeChild(this._input); 294 | } 295 | this._input = null; 296 | } 297 | }, 298 | /** 299 | * Creates invisible file input above the button 300 | */ 301 | _createInput : function(){ 302 | var self = this; 303 | var input = d.createElement("input"); 304 | input.setAttribute('type', 'file'); 305 | input.setAttribute('name', this._settings.name); 306 | var styles = { 307 | 'position' : 'absolute' 308 | ,'margin': '-5px 0 0 -175px' 309 | ,'padding': 0 310 | ,'width': '220px' 311 | ,'height': '30px' 312 | ,'fontSize': '14px' 313 | ,'opacity': 0 314 | ,'cursor': 'pointer' 315 | ,'display' : 'none' 316 | ,'zIndex' : 2147483583 //Max zIndex supported by Opera 9.0-9.2x 317 | // Strange, I expected 2147483647 318 | // Doesn't work in IE :( 319 | //,'direction' : 'ltr' 320 | }; 321 | for (var i in styles){ 322 | input.style[i] = styles[i]; 323 | } 324 | 325 | // Make sure that element opacity exists 326 | // (IE uses filter instead) 327 | if ( ! (input.style.opacity === "0")){ 328 | input.style.filter = "alpha(opacity=0)"; 329 | } 330 | 331 | this._parentDialog.appendChild(input); 332 | 333 | addEvent(input, 'change', function(){ 334 | // get filename from input 335 | var file = fileFromPath(this.value); 336 | if(self._settings.onChange.call(self, file, getExt(file)) == false ){ 337 | return; 338 | } 339 | // Submit form when value is changed 340 | if (self._settings.autoSubmit){ 341 | self.submit(); 342 | } 343 | }); 344 | 345 | // Fixing problem with Safari 346 | // The problem is that if you leave input before the file select dialog opens 347 | // it does not upload the file. 348 | // As dialog opens slowly (it is a sheet dialog which takes some time to open) 349 | // there is some time while you can leave the button. 350 | // So we should not change display to none immediately 351 | addEvent(input, 'click', function(){ 352 | self.justClicked = true; 353 | setTimeout(function(){ 354 | // we will wait 3 seconds for dialog to open 355 | self.justClicked = false; 356 | }, 2500); 357 | }); 358 | 359 | this._input = input; 360 | }, 361 | _rerouteClicks : function (){ 362 | var self = this; 363 | 364 | // IE displays 'access denied' error when using this method 365 | // other browsers just ignore click() 366 | // addEvent(this._button, 'click', function(e){ 367 | // self._input.click(); 368 | // }); 369 | 370 | var box, dialogOffset = {top:0, left:0}, over = false; 371 | 372 | addEvent(self._button, 'mouseover', function(e){ 373 | if (!self._input || over) return; 374 | 375 | over = true; 376 | box = getBox(self._button); 377 | 378 | if (self._parentDialog != d.body){ 379 | dialogOffset = getOffset(self._parentDialog); 380 | } 381 | }); 382 | 383 | 384 | // We can't use mouseout on the button, 385 | // because invisible input is over it 386 | addEvent(document, 'mousemove', function(e){ 387 | var input = self._input; 388 | if (!input || !over) return; 389 | 390 | if (self._disabled){ 391 | removeClass(self._button, self._settings.hoverClass); 392 | input.style.display = 'none'; 393 | return; 394 | } 395 | 396 | var c = getMouseCoords(e); 397 | 398 | if ((c.x >= box.left) && (c.x <= box.right) && 399 | (c.y >= box.top) && (c.y <= box.bottom)){ 400 | 401 | input.style.top = c.y - dialogOffset.top + 'px'; 402 | input.style.left = c.x - dialogOffset.left + 'px'; 403 | input.style.display = 'block'; 404 | addClass(self._button, self._settings.hoverClass); 405 | 406 | } else { 407 | // mouse left the button 408 | over = false; 409 | 410 | var check = setInterval(function(){ 411 | // if input was just clicked do not hide it 412 | // to prevent safari bug 413 | 414 | if (self.justClicked){ 415 | return; 416 | } 417 | 418 | if ( !over ){ 419 | input.style.display = 'none'; 420 | } 421 | 422 | clearInterval(check); 423 | 424 | }, 25); 425 | 426 | 427 | removeClass(self._button, self._settings.hoverClass); 428 | } 429 | }); 430 | 431 | }, 432 | /** 433 | * Creates iframe with unique name 434 | */ 435 | _createIframe : function(){ 436 | // unique name 437 | // We cannot use getTime, because it sometimes return 438 | // same value in safari :( 439 | var id = getUID(); 440 | 441 | // Remove ie6 "This page contains both secure and nonsecure items" prompt 442 | // http://tinyurl.com/77w9wh 443 | var iframe = toElement('