├── .gitignore ├── .htaccess ├── LICENSE.txt ├── README.md ├── composer.json ├── composer.lock ├── config.yml.dist ├── css ├── bootswatch.min.css └── font-awesome.min.css ├── fonts ├── FontAwesome.otf ├── fontawesome-webfont.eot ├── fontawesome-webfont.svg ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── fontawesome-webfont.woff2 ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff ├── glyphicons-halflings-regular.woff2 ├── lato-bold.eot ├── lato-bold.ttf ├── lato-bold.woff ├── lato-bold.woff2 ├── lato-italic.eot ├── lato-italic.ttf ├── lato-italic.woff ├── lato-italic.woff2 ├── lato-regular.eot ├── lato-regular.ttf ├── lato-regular.woff └── lato-regular.woff2 ├── js ├── bootbox.min.js ├── bootstrap.min.js └── jquery-2.2.3.min.js ├── screenshot.png ├── src └── App │ ├── Controller │ ├── AbstractController.php │ ├── Group.php │ ├── Main.php │ └── User.php │ ├── Provider │ └── RouterProvider.php │ └── Route.php ├── views ├── error.html.twig ├── group-edit.html.twig ├── index.html.twig ├── layout.html.twig ├── samplehtaccess.html.twig └── user-edit.html.twig └── web ├── css └── style.css ├── index.php └── js └── script.js /.gitignore: -------------------------------------------------------------------------------- 1 | config.yml 2 | /vendor/ 3 | build/ 4 | sessions/* 5 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | AuthName "Members Area" 2 | AuthType Basic 3 | AuthUserFile /home/rafael/Dev/Rgou/.htpasswd 4 | AuthGroupFile /home/rafael/Dev/Rgou/.htgroups 5 | 6 | require user admin 7 | require group writer 8 | 9 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | Further resources on The MIT License (MIT) 3 | The MIT License (MIT) 4 | Copyright (c) 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a 7 | copy of this software and associated documentation files (the "Software"), 8 | to deal in the Software without restriction, including without limitation 9 | the rights to use, copy, modify, merge, publish, distribute, sublicense, 10 | and/or sell copies of the Software, and to permit persons to whom the 11 | Software is furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included 14 | in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 20 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 21 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 22 | USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PHP Apache2 Basic Auth Manager 2 | 3 | A really simple manager for .htaccess Basic Auth using .htpasswd and .htgroups 4 | files. 5 | 6 | Uses the 7 | [PHP Apache2 Basic Auth](https://github.com/rafaelgou/php-apache2-basic-auth) 8 | lib. 9 | 10 | ![Screenshot](screenshot.png) 11 | 12 | 13 | ## Install 14 | 15 | 1) Clone the repository under a web: 16 | 17 | Considering you have a Apache Web Server running with ServerRoot= `/var/www`. 18 | 19 | ```bash 20 | cd /var/www 21 | git clone https://github.com/rafaelgou/php-apache2-basic-auth-manager.git 22 | ``` 23 | 24 | 2) Configure the application 25 | 26 | ```bash 27 | cd php-apache2-basic-auth-manager 28 | cp config.yml.dist config.yml 29 | chown -R www-data:www-data * 30 | ``` 31 | 32 | (or whatever user your webserver is running under). 33 | 34 | Edit `config.yml` using your favorite editor, and be sure to point to the 35 | right paths for `.htpasswd` and `.htgroups` files. 36 | 37 | ```yml 38 | # Base URL 39 | baseUrl: http://localhost/php-apache2-basic-auth-manager 40 | 41 | # Path to Apache2 files 42 | htpasswd: '/home/rafael/Dev/Rgou/.htpasswd' 43 | htgroups: '/home/rafael/Dev/Rgou/.htgroups' 44 | 45 | # Debug 46 | debug: false 47 | ``` 48 | 49 | 3) Apache config 50 | 51 | The system directory must have: 52 | 53 | ```apache2 54 | AllowOverride All 55 | ``` 56 | 57 | to permit Basic Auth. 58 | 59 | 4) Create `.htpasswd` and `.htgroups` files 60 | 61 | They can be anywhere, but must be readable by webserver user (e.g. www-data). 62 | You need to create a initial admin user: 63 | 64 | ```bash 65 | htpasswd -cB /var/www/.htpasswd superuser 66 | chown www-data:www-data /var/www/.htpasswd 67 | ``` 68 | 69 | 70 | 71 | ```bash 72 | echo 'admin: superuser' > /var/www/.htgroups 73 | chown www-data:www-data /var/www/.htgroups 74 | ``` 75 | 76 | 5) Create .htaccess file for the system 77 | 78 | ```bash 79 | cd php-apache2-basic-auth-manager 80 | ``` 81 | 82 | Edit `.htaccess` using your favorite editor, and put the following content 83 | 84 | ```apache 85 | AuthName "Members Area" 86 | AuthType Basic 87 | AuthUserFile /var/www/.htpasswd 88 | AuthGroupFile /var/www/.htgroups 89 | 90 | require group admin 91 | # or 92 | # require user superuser 93 | 94 | ``` 95 | 96 | 6) Now you can access 97 | 98 | http://localhost/php-apache2-basic-auth-manager 99 | 100 | Use the user/password created above. 101 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rafaelgou/php-apache2-basic-auth-manager", 3 | "description": "PHP Apache2 Basic Auth Manager", 4 | "type": "project", 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "Rafael Goulart", 9 | "email": "rafaelgou@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "": "src/", 15 | "App\\": "App/" 16 | } 17 | }, 18 | "require": { 19 | "silex/silex": "^2.0", 20 | "twig/twig": "^1.24", 21 | "symfony/yaml": "^3.1", 22 | "symfony/form": "^3.1", 23 | "symfony/twig-bridge": "^3.1", 24 | "symfony/translation": "^3.1", 25 | "symfony/validator": "^3.1", 26 | "symfony/config": "^3.1", 27 | "rafaelgou/php-apache2-basic-auth": "^1.0" 28 | }, 29 | "require-dev": { 30 | "escapestudios/symfony2-coding-standard": "^2.9" 31 | }, 32 | "scripts": { 33 | "phpcs": [ 34 | "./vendor/bin/phpcs --config-set installed_paths vendor/escapestudios/symfony2-coding-standard", 35 | "./vendor/bin/phpcs --standard=Symfony2 src" 36 | ] 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 5 | "This file is @generated automatically" 6 | ], 7 | "hash": "a2a4b47bfc4b5fee94fca40600948a3d", 8 | "content-hash": "a69617ad15a8b2d8d66ec1ca51b6c2a7", 9 | "packages": [ 10 | { 11 | "name": "paragonie/random_compat", 12 | "version": "v2.0.2", 13 | "source": { 14 | "type": "git", 15 | "url": "https://github.com/paragonie/random_compat.git", 16 | "reference": "088c04e2f261c33bed6ca5245491cfca69195ccf" 17 | }, 18 | "dist": { 19 | "type": "zip", 20 | "url": "https://api.github.com/repos/paragonie/random_compat/zipball/088c04e2f261c33bed6ca5245491cfca69195ccf", 21 | "reference": "088c04e2f261c33bed6ca5245491cfca69195ccf", 22 | "shasum": "" 23 | }, 24 | "require": { 25 | "php": ">=5.2.0" 26 | }, 27 | "require-dev": { 28 | "phpunit/phpunit": "4.*|5.*" 29 | }, 30 | "suggest": { 31 | "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." 32 | }, 33 | "type": "library", 34 | "autoload": { 35 | "files": [ 36 | "lib/random.php" 37 | ] 38 | }, 39 | "notification-url": "https://packagist.org/downloads/", 40 | "license": [ 41 | "MIT" 42 | ], 43 | "authors": [ 44 | { 45 | "name": "Paragon Initiative Enterprises", 46 | "email": "security@paragonie.com", 47 | "homepage": "https://paragonie.com" 48 | } 49 | ], 50 | "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", 51 | "keywords": [ 52 | "csprng", 53 | "pseudorandom", 54 | "random" 55 | ], 56 | "time": "2016-04-03 06:00:07" 57 | }, 58 | { 59 | "name": "pimple/pimple", 60 | "version": "v3.0.2", 61 | "source": { 62 | "type": "git", 63 | "url": "https://github.com/silexphp/Pimple.git", 64 | "reference": "a30f7d6e57565a2e1a316e1baf2a483f788b258a" 65 | }, 66 | "dist": { 67 | "type": "zip", 68 | "url": "https://api.github.com/repos/silexphp/Pimple/zipball/a30f7d6e57565a2e1a316e1baf2a483f788b258a", 69 | "reference": "a30f7d6e57565a2e1a316e1baf2a483f788b258a", 70 | "shasum": "" 71 | }, 72 | "require": { 73 | "php": ">=5.3.0" 74 | }, 75 | "type": "library", 76 | "extra": { 77 | "branch-alias": { 78 | "dev-master": "3.0.x-dev" 79 | } 80 | }, 81 | "autoload": { 82 | "psr-0": { 83 | "Pimple": "src/" 84 | } 85 | }, 86 | "notification-url": "https://packagist.org/downloads/", 87 | "license": [ 88 | "MIT" 89 | ], 90 | "authors": [ 91 | { 92 | "name": "Fabien Potencier", 93 | "email": "fabien@symfony.com" 94 | } 95 | ], 96 | "description": "Pimple, a simple Dependency Injection Container", 97 | "homepage": "http://pimple.sensiolabs.org", 98 | "keywords": [ 99 | "container", 100 | "dependency injection" 101 | ], 102 | "time": "2015-09-11 15:10:35" 103 | }, 104 | { 105 | "name": "psr/log", 106 | "version": "1.0.0", 107 | "source": { 108 | "type": "git", 109 | "url": "https://github.com/php-fig/log.git", 110 | "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b" 111 | }, 112 | "dist": { 113 | "type": "zip", 114 | "url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b", 115 | "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b", 116 | "shasum": "" 117 | }, 118 | "type": "library", 119 | "autoload": { 120 | "psr-0": { 121 | "Psr\\Log\\": "" 122 | } 123 | }, 124 | "notification-url": "https://packagist.org/downloads/", 125 | "license": [ 126 | "MIT" 127 | ], 128 | "authors": [ 129 | { 130 | "name": "PHP-FIG", 131 | "homepage": "http://www.php-fig.org/" 132 | } 133 | ], 134 | "description": "Common interface for logging libraries", 135 | "keywords": [ 136 | "log", 137 | "psr", 138 | "psr-3" 139 | ], 140 | "time": "2012-12-21 11:40:51" 141 | }, 142 | { 143 | "name": "rafaelgou/php-apache2-basic-auth", 144 | "version": "v1.0.1", 145 | "source": { 146 | "type": "git", 147 | "url": "https://github.com/rafaelgou/php-apache2-basic-auth.git", 148 | "reference": "4061e16feb5197e7386e983e4df3716d128f4a48" 149 | }, 150 | "dist": { 151 | "type": "zip", 152 | "url": "https://api.github.com/repos/rafaelgou/php-apache2-basic-auth/zipball/4061e16feb5197e7386e983e4df3716d128f4a48", 153 | "reference": "4061e16feb5197e7386e983e4df3716d128f4a48", 154 | "shasum": "" 155 | }, 156 | "require-dev": { 157 | "cvuorinen/phpdoc-markdown-public": "^0.1.2", 158 | "escapestudios/symfony2-coding-standard": "^2.9" 159 | }, 160 | "type": "project", 161 | "autoload": { 162 | "psr-4": { 163 | "": "src/", 164 | "Apache2BasicAuth\\": "Apache2BasicAuth/" 165 | } 166 | }, 167 | "notification-url": "https://packagist.org/downloads/", 168 | "license": [ 169 | "MIT" 170 | ], 171 | "authors": [ 172 | { 173 | "name": "Rafael Goulart", 174 | "email": "rafaelgou@gmail.com" 175 | } 176 | ], 177 | "description": "PHP Apache2 Basic Auth", 178 | "time": "2016-09-01 18:53:02" 179 | }, 180 | { 181 | "name": "silex/silex", 182 | "version": "v2.0.3", 183 | "source": { 184 | "type": "git", 185 | "url": "https://github.com/silexphp/Silex.git", 186 | "reference": "fd0852ebfa0a4cf1e17d746bb81962ec69bbb6d1" 187 | }, 188 | "dist": { 189 | "type": "zip", 190 | "url": "https://api.github.com/repos/silexphp/Silex/zipball/fd0852ebfa0a4cf1e17d746bb81962ec69bbb6d1", 191 | "reference": "fd0852ebfa0a4cf1e17d746bb81962ec69bbb6d1", 192 | "shasum": "" 193 | }, 194 | "require": { 195 | "php": ">=5.5.9", 196 | "pimple/pimple": "~3.0", 197 | "symfony/event-dispatcher": "~2.8|^3.0", 198 | "symfony/http-foundation": "~2.8|^3.0", 199 | "symfony/http-kernel": "~2.8|^3.0", 200 | "symfony/routing": "~2.8|^3.0" 201 | }, 202 | "replace": { 203 | "silex/api": "self.version", 204 | "silex/providers": "self.version" 205 | }, 206 | "require-dev": { 207 | "doctrine/dbal": "~2.2", 208 | "monolog/monolog": "^1.4.1", 209 | "swiftmailer/swiftmailer": "~5", 210 | "symfony/asset": "~2.8|^3.0", 211 | "symfony/browser-kit": "~2.8|^3.0", 212 | "symfony/config": "~2.8|^3.0", 213 | "symfony/css-selector": "~2.8|^3.0", 214 | "symfony/debug": "~2.8|^3.0", 215 | "symfony/doctrine-bridge": "~2.8|^3.0", 216 | "symfony/dom-crawler": "~2.8|^3.0", 217 | "symfony/expression-language": "~2.8|^3.0", 218 | "symfony/finder": "~2.8|^3.0", 219 | "symfony/form": "~2.8|^3.0", 220 | "symfony/intl": "~2.8|^3.0", 221 | "symfony/monolog-bridge": "~2.8|^3.0", 222 | "symfony/options-resolver": "~2.8|^3.0", 223 | "symfony/phpunit-bridge": "~2.8|^3.0", 224 | "symfony/process": "~2.8|^3.0", 225 | "symfony/security": "~2.8|^3.0", 226 | "symfony/serializer": "~2.8|^3.0", 227 | "symfony/translation": "~2.8|^3.0", 228 | "symfony/twig-bridge": "~2.8|^3.0", 229 | "symfony/validator": "~2.8|^3.0", 230 | "symfony/var-dumper": "~2.8|^3.0", 231 | "twig/twig": "~1.8|~2.0" 232 | }, 233 | "type": "library", 234 | "extra": { 235 | "branch-alias": { 236 | "dev-master": "2.0.x-dev" 237 | } 238 | }, 239 | "autoload": { 240 | "psr-4": { 241 | "Silex\\": "src/Silex" 242 | } 243 | }, 244 | "notification-url": "https://packagist.org/downloads/", 245 | "license": [ 246 | "MIT" 247 | ], 248 | "authors": [ 249 | { 250 | "name": "Fabien Potencier", 251 | "email": "fabien@symfony.com" 252 | }, 253 | { 254 | "name": "Igor Wiedler", 255 | "email": "igor@wiedler.ch" 256 | } 257 | ], 258 | "description": "The PHP micro-framework based on the Symfony Components", 259 | "homepage": "http://silex.sensiolabs.org", 260 | "keywords": [ 261 | "microframework" 262 | ], 263 | "time": "2016-08-22 17:50:21" 264 | }, 265 | { 266 | "name": "symfony/config", 267 | "version": "v3.1.3", 268 | "source": { 269 | "type": "git", 270 | "url": "https://github.com/symfony/config.git", 271 | "reference": "a7630397b91be09cdd2fe57fd13612e258700598" 272 | }, 273 | "dist": { 274 | "type": "zip", 275 | "url": "https://api.github.com/repos/symfony/config/zipball/a7630397b91be09cdd2fe57fd13612e258700598", 276 | "reference": "a7630397b91be09cdd2fe57fd13612e258700598", 277 | "shasum": "" 278 | }, 279 | "require": { 280 | "php": ">=5.5.9", 281 | "symfony/filesystem": "~2.8|~3.0" 282 | }, 283 | "suggest": { 284 | "symfony/yaml": "To use the yaml reference dumper" 285 | }, 286 | "type": "library", 287 | "extra": { 288 | "branch-alias": { 289 | "dev-master": "3.1-dev" 290 | } 291 | }, 292 | "autoload": { 293 | "psr-4": { 294 | "Symfony\\Component\\Config\\": "" 295 | }, 296 | "exclude-from-classmap": [ 297 | "/Tests/" 298 | ] 299 | }, 300 | "notification-url": "https://packagist.org/downloads/", 301 | "license": [ 302 | "MIT" 303 | ], 304 | "authors": [ 305 | { 306 | "name": "Fabien Potencier", 307 | "email": "fabien@symfony.com" 308 | }, 309 | { 310 | "name": "Symfony Community", 311 | "homepage": "https://symfony.com/contributors" 312 | } 313 | ], 314 | "description": "Symfony Config Component", 315 | "homepage": "https://symfony.com", 316 | "time": "2016-07-26 08:04:17" 317 | }, 318 | { 319 | "name": "symfony/debug", 320 | "version": "v3.1.3", 321 | "source": { 322 | "type": "git", 323 | "url": "https://github.com/symfony/debug.git", 324 | "reference": "4c1b48c6a433e194a42ce3d064cd43ceb7c3682f" 325 | }, 326 | "dist": { 327 | "type": "zip", 328 | "url": "https://api.github.com/repos/symfony/debug/zipball/4c1b48c6a433e194a42ce3d064cd43ceb7c3682f", 329 | "reference": "4c1b48c6a433e194a42ce3d064cd43ceb7c3682f", 330 | "shasum": "" 331 | }, 332 | "require": { 333 | "php": ">=5.5.9", 334 | "psr/log": "~1.0" 335 | }, 336 | "conflict": { 337 | "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" 338 | }, 339 | "require-dev": { 340 | "symfony/class-loader": "~2.8|~3.0", 341 | "symfony/http-kernel": "~2.8|~3.0" 342 | }, 343 | "type": "library", 344 | "extra": { 345 | "branch-alias": { 346 | "dev-master": "3.1-dev" 347 | } 348 | }, 349 | "autoload": { 350 | "psr-4": { 351 | "Symfony\\Component\\Debug\\": "" 352 | }, 353 | "exclude-from-classmap": [ 354 | "/Tests/" 355 | ] 356 | }, 357 | "notification-url": "https://packagist.org/downloads/", 358 | "license": [ 359 | "MIT" 360 | ], 361 | "authors": [ 362 | { 363 | "name": "Fabien Potencier", 364 | "email": "fabien@symfony.com" 365 | }, 366 | { 367 | "name": "Symfony Community", 368 | "homepage": "https://symfony.com/contributors" 369 | } 370 | ], 371 | "description": "Symfony Debug Component", 372 | "homepage": "https://symfony.com", 373 | "time": "2016-07-26 08:04:17" 374 | }, 375 | { 376 | "name": "symfony/event-dispatcher", 377 | "version": "v3.1.3", 378 | "source": { 379 | "type": "git", 380 | "url": "https://github.com/symfony/event-dispatcher.git", 381 | "reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5" 382 | }, 383 | "dist": { 384 | "type": "zip", 385 | "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c0c00c80b3a69132c4e55c3e7db32b4a387615e5", 386 | "reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5", 387 | "shasum": "" 388 | }, 389 | "require": { 390 | "php": ">=5.5.9" 391 | }, 392 | "require-dev": { 393 | "psr/log": "~1.0", 394 | "symfony/config": "~2.8|~3.0", 395 | "symfony/dependency-injection": "~2.8|~3.0", 396 | "symfony/expression-language": "~2.8|~3.0", 397 | "symfony/stopwatch": "~2.8|~3.0" 398 | }, 399 | "suggest": { 400 | "symfony/dependency-injection": "", 401 | "symfony/http-kernel": "" 402 | }, 403 | "type": "library", 404 | "extra": { 405 | "branch-alias": { 406 | "dev-master": "3.1-dev" 407 | } 408 | }, 409 | "autoload": { 410 | "psr-4": { 411 | "Symfony\\Component\\EventDispatcher\\": "" 412 | }, 413 | "exclude-from-classmap": [ 414 | "/Tests/" 415 | ] 416 | }, 417 | "notification-url": "https://packagist.org/downloads/", 418 | "license": [ 419 | "MIT" 420 | ], 421 | "authors": [ 422 | { 423 | "name": "Fabien Potencier", 424 | "email": "fabien@symfony.com" 425 | }, 426 | { 427 | "name": "Symfony Community", 428 | "homepage": "https://symfony.com/contributors" 429 | } 430 | ], 431 | "description": "Symfony EventDispatcher Component", 432 | "homepage": "https://symfony.com", 433 | "time": "2016-07-19 10:45:57" 434 | }, 435 | { 436 | "name": "symfony/filesystem", 437 | "version": "v3.1.3", 438 | "source": { 439 | "type": "git", 440 | "url": "https://github.com/symfony/filesystem.git", 441 | "reference": "bb29adceb552d202b6416ede373529338136e84f" 442 | }, 443 | "dist": { 444 | "type": "zip", 445 | "url": "https://api.github.com/repos/symfony/filesystem/zipball/bb29adceb552d202b6416ede373529338136e84f", 446 | "reference": "bb29adceb552d202b6416ede373529338136e84f", 447 | "shasum": "" 448 | }, 449 | "require": { 450 | "php": ">=5.5.9" 451 | }, 452 | "type": "library", 453 | "extra": { 454 | "branch-alias": { 455 | "dev-master": "3.1-dev" 456 | } 457 | }, 458 | "autoload": { 459 | "psr-4": { 460 | "Symfony\\Component\\Filesystem\\": "" 461 | }, 462 | "exclude-from-classmap": [ 463 | "/Tests/" 464 | ] 465 | }, 466 | "notification-url": "https://packagist.org/downloads/", 467 | "license": [ 468 | "MIT" 469 | ], 470 | "authors": [ 471 | { 472 | "name": "Fabien Potencier", 473 | "email": "fabien@symfony.com" 474 | }, 475 | { 476 | "name": "Symfony Community", 477 | "homepage": "https://symfony.com/contributors" 478 | } 479 | ], 480 | "description": "Symfony Filesystem Component", 481 | "homepage": "https://symfony.com", 482 | "time": "2016-07-20 05:44:26" 483 | }, 484 | { 485 | "name": "symfony/form", 486 | "version": "v3.1.3", 487 | "source": { 488 | "type": "git", 489 | "url": "https://github.com/symfony/form.git", 490 | "reference": "60baf638fc8713cce24be17649f1dc5ed1d58170" 491 | }, 492 | "dist": { 493 | "type": "zip", 494 | "url": "https://api.github.com/repos/symfony/form/zipball/60baf638fc8713cce24be17649f1dc5ed1d58170", 495 | "reference": "60baf638fc8713cce24be17649f1dc5ed1d58170", 496 | "shasum": "" 497 | }, 498 | "require": { 499 | "php": ">=5.5.9", 500 | "symfony/event-dispatcher": "~2.8|~3.0", 501 | "symfony/intl": "~2.8|~3.0", 502 | "symfony/options-resolver": "~2.8|~3.0", 503 | "symfony/polyfill-mbstring": "~1.0", 504 | "symfony/property-access": "~2.8|~3.0" 505 | }, 506 | "conflict": { 507 | "symfony/doctrine-bridge": "<2.7", 508 | "symfony/framework-bundle": "<2.7", 509 | "symfony/twig-bridge": "<2.7" 510 | }, 511 | "require-dev": { 512 | "doctrine/collections": "~1.0", 513 | "symfony/dependency-injection": "~2.8|~3.0", 514 | "symfony/http-foundation": "~2.8|~3.0", 515 | "symfony/http-kernel": "~2.8|~3.0", 516 | "symfony/security-csrf": "~2.8|~3.0", 517 | "symfony/translation": "~2.8|~3.0", 518 | "symfony/validator": "~2.8|~3.0" 519 | }, 520 | "suggest": { 521 | "symfony/framework-bundle": "For templating with PHP.", 522 | "symfony/security-csrf": "For protecting forms against CSRF attacks.", 523 | "symfony/twig-bridge": "For templating with Twig.", 524 | "symfony/validator": "For form validation." 525 | }, 526 | "type": "library", 527 | "extra": { 528 | "branch-alias": { 529 | "dev-master": "3.1-dev" 530 | } 531 | }, 532 | "autoload": { 533 | "psr-4": { 534 | "Symfony\\Component\\Form\\": "" 535 | }, 536 | "exclude-from-classmap": [ 537 | "/Tests/" 538 | ] 539 | }, 540 | "notification-url": "https://packagist.org/downloads/", 541 | "license": [ 542 | "MIT" 543 | ], 544 | "authors": [ 545 | { 546 | "name": "Fabien Potencier", 547 | "email": "fabien@symfony.com" 548 | }, 549 | { 550 | "name": "Symfony Community", 551 | "homepage": "https://symfony.com/contributors" 552 | } 553 | ], 554 | "description": "Symfony Form Component", 555 | "homepage": "https://symfony.com", 556 | "time": "2016-07-26 08:04:17" 557 | }, 558 | { 559 | "name": "symfony/http-foundation", 560 | "version": "v3.1.3", 561 | "source": { 562 | "type": "git", 563 | "url": "https://github.com/symfony/http-foundation.git", 564 | "reference": "399a44b73f6c176de40fb063dcdaa578bcfb94d6" 565 | }, 566 | "dist": { 567 | "type": "zip", 568 | "url": "https://api.github.com/repos/symfony/http-foundation/zipball/399a44b73f6c176de40fb063dcdaa578bcfb94d6", 569 | "reference": "399a44b73f6c176de40fb063dcdaa578bcfb94d6", 570 | "shasum": "" 571 | }, 572 | "require": { 573 | "php": ">=5.5.9", 574 | "symfony/polyfill-mbstring": "~1.1" 575 | }, 576 | "require-dev": { 577 | "symfony/expression-language": "~2.8|~3.0" 578 | }, 579 | "type": "library", 580 | "extra": { 581 | "branch-alias": { 582 | "dev-master": "3.1-dev" 583 | } 584 | }, 585 | "autoload": { 586 | "psr-4": { 587 | "Symfony\\Component\\HttpFoundation\\": "" 588 | }, 589 | "exclude-from-classmap": [ 590 | "/Tests/" 591 | ] 592 | }, 593 | "notification-url": "https://packagist.org/downloads/", 594 | "license": [ 595 | "MIT" 596 | ], 597 | "authors": [ 598 | { 599 | "name": "Fabien Potencier", 600 | "email": "fabien@symfony.com" 601 | }, 602 | { 603 | "name": "Symfony Community", 604 | "homepage": "https://symfony.com/contributors" 605 | } 606 | ], 607 | "description": "Symfony HttpFoundation Component", 608 | "homepage": "https://symfony.com", 609 | "time": "2016-07-17 14:02:08" 610 | }, 611 | { 612 | "name": "symfony/http-kernel", 613 | "version": "v3.1.3", 614 | "source": { 615 | "type": "git", 616 | "url": "https://github.com/symfony/http-kernel.git", 617 | "reference": "a8df564d323df5a3fec73085c30211a3ee448fb0" 618 | }, 619 | "dist": { 620 | "type": "zip", 621 | "url": "https://api.github.com/repos/symfony/http-kernel/zipball/a8df564d323df5a3fec73085c30211a3ee448fb0", 622 | "reference": "a8df564d323df5a3fec73085c30211a3ee448fb0", 623 | "shasum": "" 624 | }, 625 | "require": { 626 | "php": ">=5.5.9", 627 | "psr/log": "~1.0", 628 | "symfony/debug": "~2.8|~3.0", 629 | "symfony/event-dispatcher": "~2.8|~3.0", 630 | "symfony/http-foundation": "~2.8.8|~3.0.8|~3.1.2|~3.2" 631 | }, 632 | "conflict": { 633 | "symfony/config": "<2.8" 634 | }, 635 | "require-dev": { 636 | "symfony/browser-kit": "~2.8|~3.0", 637 | "symfony/class-loader": "~2.8|~3.0", 638 | "symfony/config": "~2.8|~3.0", 639 | "symfony/console": "~2.8|~3.0", 640 | "symfony/css-selector": "~2.8|~3.0", 641 | "symfony/dependency-injection": "~2.8|~3.0", 642 | "symfony/dom-crawler": "~2.8|~3.0", 643 | "symfony/expression-language": "~2.8|~3.0", 644 | "symfony/finder": "~2.8|~3.0", 645 | "symfony/process": "~2.8|~3.0", 646 | "symfony/routing": "~2.8|~3.0", 647 | "symfony/stopwatch": "~2.8|~3.0", 648 | "symfony/templating": "~2.8|~3.0", 649 | "symfony/translation": "~2.8|~3.0", 650 | "symfony/var-dumper": "~2.8|~3.0" 651 | }, 652 | "suggest": { 653 | "symfony/browser-kit": "", 654 | "symfony/class-loader": "", 655 | "symfony/config": "", 656 | "symfony/console": "", 657 | "symfony/dependency-injection": "", 658 | "symfony/finder": "", 659 | "symfony/var-dumper": "" 660 | }, 661 | "type": "library", 662 | "extra": { 663 | "branch-alias": { 664 | "dev-master": "3.1-dev" 665 | } 666 | }, 667 | "autoload": { 668 | "psr-4": { 669 | "Symfony\\Component\\HttpKernel\\": "" 670 | }, 671 | "exclude-from-classmap": [ 672 | "/Tests/" 673 | ] 674 | }, 675 | "notification-url": "https://packagist.org/downloads/", 676 | "license": [ 677 | "MIT" 678 | ], 679 | "authors": [ 680 | { 681 | "name": "Fabien Potencier", 682 | "email": "fabien@symfony.com" 683 | }, 684 | { 685 | "name": "Symfony Community", 686 | "homepage": "https://symfony.com/contributors" 687 | } 688 | ], 689 | "description": "Symfony HttpKernel Component", 690 | "homepage": "https://symfony.com", 691 | "time": "2016-07-30 09:30:46" 692 | }, 693 | { 694 | "name": "symfony/inflector", 695 | "version": "v3.1.3", 696 | "source": { 697 | "type": "git", 698 | "url": "https://github.com/symfony/inflector.git", 699 | "reference": "1ea83acdd81053bdf35ccf3ee91f01b243664b61" 700 | }, 701 | "dist": { 702 | "type": "zip", 703 | "url": "https://api.github.com/repos/symfony/inflector/zipball/1ea83acdd81053bdf35ccf3ee91f01b243664b61", 704 | "reference": "1ea83acdd81053bdf35ccf3ee91f01b243664b61", 705 | "shasum": "" 706 | }, 707 | "require": { 708 | "php": ">=5.5.9" 709 | }, 710 | "type": "library", 711 | "extra": { 712 | "branch-alias": { 713 | "dev-master": "3.1-dev" 714 | } 715 | }, 716 | "autoload": { 717 | "psr-4": { 718 | "Symfony\\Component\\Inflector\\": "" 719 | }, 720 | "exclude-from-classmap": [ 721 | "/Tests/" 722 | ] 723 | }, 724 | "notification-url": "https://packagist.org/downloads/", 725 | "license": [ 726 | "MIT" 727 | ], 728 | "authors": [ 729 | { 730 | "name": "Bernhard Schussek", 731 | "email": "bschussek@gmail.com" 732 | }, 733 | { 734 | "name": "Symfony Community", 735 | "homepage": "https://symfony.com/contributors" 736 | } 737 | ], 738 | "description": "Symfony Inflector Component", 739 | "homepage": "https://symfony.com", 740 | "keywords": [ 741 | "inflection", 742 | "pluralize", 743 | "singularize", 744 | "string", 745 | "symfony", 746 | "words" 747 | ], 748 | "time": "2016-06-08 11:24:07" 749 | }, 750 | { 751 | "name": "symfony/intl", 752 | "version": "v3.1.3", 753 | "source": { 754 | "type": "git", 755 | "url": "https://github.com/symfony/intl.git", 756 | "reference": "8f3e7d2772173db99617a439f2104b092c51b3a1" 757 | }, 758 | "dist": { 759 | "type": "zip", 760 | "url": "https://api.github.com/repos/symfony/intl/zipball/8f3e7d2772173db99617a439f2104b092c51b3a1", 761 | "reference": "8f3e7d2772173db99617a439f2104b092c51b3a1", 762 | "shasum": "" 763 | }, 764 | "require": { 765 | "php": ">=5.5.9", 766 | "symfony/polyfill-intl-icu": "~1.0" 767 | }, 768 | "require-dev": { 769 | "symfony/filesystem": "~2.8|~3.0" 770 | }, 771 | "suggest": { 772 | "ext-intl": "to use the component with locales other than \"en\"" 773 | }, 774 | "type": "library", 775 | "extra": { 776 | "branch-alias": { 777 | "dev-master": "3.1-dev" 778 | } 779 | }, 780 | "autoload": { 781 | "psr-4": { 782 | "Symfony\\Component\\Intl\\": "" 783 | }, 784 | "classmap": [ 785 | "Resources/stubs" 786 | ], 787 | "exclude-from-classmap": [ 788 | "/Tests/" 789 | ] 790 | }, 791 | "notification-url": "https://packagist.org/downloads/", 792 | "license": [ 793 | "MIT" 794 | ], 795 | "authors": [ 796 | { 797 | "name": "Bernhard Schussek", 798 | "email": "bschussek@gmail.com" 799 | }, 800 | { 801 | "name": "Eriksen Costa", 802 | "email": "eriksen.costa@infranology.com.br" 803 | }, 804 | { 805 | "name": "Igor Wiedler", 806 | "email": "igor@wiedler.ch" 807 | }, 808 | { 809 | "name": "Symfony Community", 810 | "homepage": "https://symfony.com/contributors" 811 | } 812 | ], 813 | "description": "A PHP replacement layer for the C intl extension that includes additional data from the ICU library.", 814 | "homepage": "https://symfony.com", 815 | "keywords": [ 816 | "i18n", 817 | "icu", 818 | "internationalization", 819 | "intl", 820 | "l10n", 821 | "localization" 822 | ], 823 | "time": "2016-07-26 08:04:17" 824 | }, 825 | { 826 | "name": "symfony/options-resolver", 827 | "version": "v3.1.3", 828 | "source": { 829 | "type": "git", 830 | "url": "https://github.com/symfony/options-resolver.git", 831 | "reference": "30605874d99af0cde6c41fd39e18546330c38100" 832 | }, 833 | "dist": { 834 | "type": "zip", 835 | "url": "https://api.github.com/repos/symfony/options-resolver/zipball/30605874d99af0cde6c41fd39e18546330c38100", 836 | "reference": "30605874d99af0cde6c41fd39e18546330c38100", 837 | "shasum": "" 838 | }, 839 | "require": { 840 | "php": ">=5.5.9" 841 | }, 842 | "type": "library", 843 | "extra": { 844 | "branch-alias": { 845 | "dev-master": "3.1-dev" 846 | } 847 | }, 848 | "autoload": { 849 | "psr-4": { 850 | "Symfony\\Component\\OptionsResolver\\": "" 851 | }, 852 | "exclude-from-classmap": [ 853 | "/Tests/" 854 | ] 855 | }, 856 | "notification-url": "https://packagist.org/downloads/", 857 | "license": [ 858 | "MIT" 859 | ], 860 | "authors": [ 861 | { 862 | "name": "Fabien Potencier", 863 | "email": "fabien@symfony.com" 864 | }, 865 | { 866 | "name": "Symfony Community", 867 | "homepage": "https://symfony.com/contributors" 868 | } 869 | ], 870 | "description": "Symfony OptionsResolver Component", 871 | "homepage": "https://symfony.com", 872 | "keywords": [ 873 | "config", 874 | "configuration", 875 | "options" 876 | ], 877 | "time": "2016-05-12 15:59:27" 878 | }, 879 | { 880 | "name": "symfony/polyfill-intl-icu", 881 | "version": "v1.2.0", 882 | "source": { 883 | "type": "git", 884 | "url": "https://github.com/symfony/polyfill-intl-icu.git", 885 | "reference": "0f8dc2c45f69f8672379e9210bca4a115cd5146f" 886 | }, 887 | "dist": { 888 | "type": "zip", 889 | "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/0f8dc2c45f69f8672379e9210bca4a115cd5146f", 890 | "reference": "0f8dc2c45f69f8672379e9210bca4a115cd5146f", 891 | "shasum": "" 892 | }, 893 | "require": { 894 | "php": ">=5.3.3", 895 | "symfony/intl": "~2.3|~3.0" 896 | }, 897 | "suggest": { 898 | "ext-intl": "For best performance" 899 | }, 900 | "type": "library", 901 | "extra": { 902 | "branch-alias": { 903 | "dev-master": "1.2-dev" 904 | } 905 | }, 906 | "autoload": { 907 | "files": [ 908 | "bootstrap.php" 909 | ] 910 | }, 911 | "notification-url": "https://packagist.org/downloads/", 912 | "license": [ 913 | "MIT" 914 | ], 915 | "authors": [ 916 | { 917 | "name": "Nicolas Grekas", 918 | "email": "p@tchwork.com" 919 | }, 920 | { 921 | "name": "Symfony Community", 922 | "homepage": "https://symfony.com/contributors" 923 | } 924 | ], 925 | "description": "Symfony polyfill for intl's ICU-related data and classes", 926 | "homepage": "https://symfony.com", 927 | "keywords": [ 928 | "compatibility", 929 | "icu", 930 | "intl", 931 | "polyfill", 932 | "portable", 933 | "shim" 934 | ], 935 | "time": "2016-05-18 14:26:46" 936 | }, 937 | { 938 | "name": "symfony/polyfill-mbstring", 939 | "version": "v1.2.0", 940 | "source": { 941 | "type": "git", 942 | "url": "https://github.com/symfony/polyfill-mbstring.git", 943 | "reference": "dff51f72b0706335131b00a7f49606168c582594" 944 | }, 945 | "dist": { 946 | "type": "zip", 947 | "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/dff51f72b0706335131b00a7f49606168c582594", 948 | "reference": "dff51f72b0706335131b00a7f49606168c582594", 949 | "shasum": "" 950 | }, 951 | "require": { 952 | "php": ">=5.3.3" 953 | }, 954 | "suggest": { 955 | "ext-mbstring": "For best performance" 956 | }, 957 | "type": "library", 958 | "extra": { 959 | "branch-alias": { 960 | "dev-master": "1.2-dev" 961 | } 962 | }, 963 | "autoload": { 964 | "psr-4": { 965 | "Symfony\\Polyfill\\Mbstring\\": "" 966 | }, 967 | "files": [ 968 | "bootstrap.php" 969 | ] 970 | }, 971 | "notification-url": "https://packagist.org/downloads/", 972 | "license": [ 973 | "MIT" 974 | ], 975 | "authors": [ 976 | { 977 | "name": "Nicolas Grekas", 978 | "email": "p@tchwork.com" 979 | }, 980 | { 981 | "name": "Symfony Community", 982 | "homepage": "https://symfony.com/contributors" 983 | } 984 | ], 985 | "description": "Symfony polyfill for the Mbstring extension", 986 | "homepage": "https://symfony.com", 987 | "keywords": [ 988 | "compatibility", 989 | "mbstring", 990 | "polyfill", 991 | "portable", 992 | "shim" 993 | ], 994 | "time": "2016-05-18 14:26:46" 995 | }, 996 | { 997 | "name": "symfony/polyfill-php70", 998 | "version": "v1.2.0", 999 | "source": { 1000 | "type": "git", 1001 | "url": "https://github.com/symfony/polyfill-php70.git", 1002 | "reference": "a42f4b6b05ed458910f8af4c4e1121b0101b2d85" 1003 | }, 1004 | "dist": { 1005 | "type": "zip", 1006 | "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/a42f4b6b05ed458910f8af4c4e1121b0101b2d85", 1007 | "reference": "a42f4b6b05ed458910f8af4c4e1121b0101b2d85", 1008 | "shasum": "" 1009 | }, 1010 | "require": { 1011 | "paragonie/random_compat": "~1.0|~2.0", 1012 | "php": ">=5.3.3" 1013 | }, 1014 | "type": "library", 1015 | "extra": { 1016 | "branch-alias": { 1017 | "dev-master": "1.2-dev" 1018 | } 1019 | }, 1020 | "autoload": { 1021 | "psr-4": { 1022 | "Symfony\\Polyfill\\Php70\\": "" 1023 | }, 1024 | "files": [ 1025 | "bootstrap.php" 1026 | ], 1027 | "classmap": [ 1028 | "Resources/stubs" 1029 | ] 1030 | }, 1031 | "notification-url": "https://packagist.org/downloads/", 1032 | "license": [ 1033 | "MIT" 1034 | ], 1035 | "authors": [ 1036 | { 1037 | "name": "Nicolas Grekas", 1038 | "email": "p@tchwork.com" 1039 | }, 1040 | { 1041 | "name": "Symfony Community", 1042 | "homepage": "https://symfony.com/contributors" 1043 | } 1044 | ], 1045 | "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", 1046 | "homepage": "https://symfony.com", 1047 | "keywords": [ 1048 | "compatibility", 1049 | "polyfill", 1050 | "portable", 1051 | "shim" 1052 | ], 1053 | "time": "2016-05-18 14:26:46" 1054 | }, 1055 | { 1056 | "name": "symfony/property-access", 1057 | "version": "v3.1.3", 1058 | "source": { 1059 | "type": "git", 1060 | "url": "https://github.com/symfony/property-access.git", 1061 | "reference": "b982bfb21901b130e4f814d2835ee9759fa60f40" 1062 | }, 1063 | "dist": { 1064 | "type": "zip", 1065 | "url": "https://api.github.com/repos/symfony/property-access/zipball/b982bfb21901b130e4f814d2835ee9759fa60f40", 1066 | "reference": "b982bfb21901b130e4f814d2835ee9759fa60f40", 1067 | "shasum": "" 1068 | }, 1069 | "require": { 1070 | "php": ">=5.5.9", 1071 | "symfony/inflector": "~3.1", 1072 | "symfony/polyfill-php70": "~1.0" 1073 | }, 1074 | "type": "library", 1075 | "extra": { 1076 | "branch-alias": { 1077 | "dev-master": "3.1-dev" 1078 | } 1079 | }, 1080 | "autoload": { 1081 | "psr-4": { 1082 | "Symfony\\Component\\PropertyAccess\\": "" 1083 | }, 1084 | "exclude-from-classmap": [ 1085 | "/Tests/" 1086 | ] 1087 | }, 1088 | "notification-url": "https://packagist.org/downloads/", 1089 | "license": [ 1090 | "MIT" 1091 | ], 1092 | "authors": [ 1093 | { 1094 | "name": "Fabien Potencier", 1095 | "email": "fabien@symfony.com" 1096 | }, 1097 | { 1098 | "name": "Symfony Community", 1099 | "homepage": "https://symfony.com/contributors" 1100 | } 1101 | ], 1102 | "description": "Symfony PropertyAccess Component", 1103 | "homepage": "https://symfony.com", 1104 | "keywords": [ 1105 | "access", 1106 | "array", 1107 | "extraction", 1108 | "index", 1109 | "injection", 1110 | "object", 1111 | "property", 1112 | "property path", 1113 | "reflection" 1114 | ], 1115 | "time": "2016-06-29 05:41:56" 1116 | }, 1117 | { 1118 | "name": "symfony/routing", 1119 | "version": "v3.1.3", 1120 | "source": { 1121 | "type": "git", 1122 | "url": "https://github.com/symfony/routing.git", 1123 | "reference": "22c7adc204057a0ff0b12eea2889782a5deb70a3" 1124 | }, 1125 | "dist": { 1126 | "type": "zip", 1127 | "url": "https://api.github.com/repos/symfony/routing/zipball/22c7adc204057a0ff0b12eea2889782a5deb70a3", 1128 | "reference": "22c7adc204057a0ff0b12eea2889782a5deb70a3", 1129 | "shasum": "" 1130 | }, 1131 | "require": { 1132 | "php": ">=5.5.9" 1133 | }, 1134 | "conflict": { 1135 | "symfony/config": "<2.8" 1136 | }, 1137 | "require-dev": { 1138 | "doctrine/annotations": "~1.0", 1139 | "doctrine/common": "~2.2", 1140 | "psr/log": "~1.0", 1141 | "symfony/config": "~2.8|~3.0", 1142 | "symfony/expression-language": "~2.8|~3.0", 1143 | "symfony/http-foundation": "~2.8|~3.0", 1144 | "symfony/yaml": "~2.8|~3.0" 1145 | }, 1146 | "suggest": { 1147 | "doctrine/annotations": "For using the annotation loader", 1148 | "symfony/config": "For using the all-in-one router or any loader", 1149 | "symfony/dependency-injection": "For loading routes from a service", 1150 | "symfony/expression-language": "For using expression matching", 1151 | "symfony/http-foundation": "For using a Symfony Request object", 1152 | "symfony/yaml": "For using the YAML loader" 1153 | }, 1154 | "type": "library", 1155 | "extra": { 1156 | "branch-alias": { 1157 | "dev-master": "3.1-dev" 1158 | } 1159 | }, 1160 | "autoload": { 1161 | "psr-4": { 1162 | "Symfony\\Component\\Routing\\": "" 1163 | }, 1164 | "exclude-from-classmap": [ 1165 | "/Tests/" 1166 | ] 1167 | }, 1168 | "notification-url": "https://packagist.org/downloads/", 1169 | "license": [ 1170 | "MIT" 1171 | ], 1172 | "authors": [ 1173 | { 1174 | "name": "Fabien Potencier", 1175 | "email": "fabien@symfony.com" 1176 | }, 1177 | { 1178 | "name": "Symfony Community", 1179 | "homepage": "https://symfony.com/contributors" 1180 | } 1181 | ], 1182 | "description": "Symfony Routing Component", 1183 | "homepage": "https://symfony.com", 1184 | "keywords": [ 1185 | "router", 1186 | "routing", 1187 | "uri", 1188 | "url" 1189 | ], 1190 | "time": "2016-06-29 05:41:56" 1191 | }, 1192 | { 1193 | "name": "symfony/translation", 1194 | "version": "v3.1.3", 1195 | "source": { 1196 | "type": "git", 1197 | "url": "https://github.com/symfony/translation.git", 1198 | "reference": "7713ddf81518d0823b027fe74ec390b80f6b6536" 1199 | }, 1200 | "dist": { 1201 | "type": "zip", 1202 | "url": "https://api.github.com/repos/symfony/translation/zipball/7713ddf81518d0823b027fe74ec390b80f6b6536", 1203 | "reference": "7713ddf81518d0823b027fe74ec390b80f6b6536", 1204 | "shasum": "" 1205 | }, 1206 | "require": { 1207 | "php": ">=5.5.9", 1208 | "symfony/polyfill-mbstring": "~1.0" 1209 | }, 1210 | "conflict": { 1211 | "symfony/config": "<2.8" 1212 | }, 1213 | "require-dev": { 1214 | "psr/log": "~1.0", 1215 | "symfony/config": "~2.8|~3.0", 1216 | "symfony/intl": "~2.8|~3.0", 1217 | "symfony/yaml": "~2.8|~3.0" 1218 | }, 1219 | "suggest": { 1220 | "psr/log": "To use logging capability in translator", 1221 | "symfony/config": "", 1222 | "symfony/yaml": "" 1223 | }, 1224 | "type": "library", 1225 | "extra": { 1226 | "branch-alias": { 1227 | "dev-master": "3.1-dev" 1228 | } 1229 | }, 1230 | "autoload": { 1231 | "psr-4": { 1232 | "Symfony\\Component\\Translation\\": "" 1233 | }, 1234 | "exclude-from-classmap": [ 1235 | "/Tests/" 1236 | ] 1237 | }, 1238 | "notification-url": "https://packagist.org/downloads/", 1239 | "license": [ 1240 | "MIT" 1241 | ], 1242 | "authors": [ 1243 | { 1244 | "name": "Fabien Potencier", 1245 | "email": "fabien@symfony.com" 1246 | }, 1247 | { 1248 | "name": "Symfony Community", 1249 | "homepage": "https://symfony.com/contributors" 1250 | } 1251 | ], 1252 | "description": "Symfony Translation Component", 1253 | "homepage": "https://symfony.com", 1254 | "time": "2016-07-26 08:04:17" 1255 | }, 1256 | { 1257 | "name": "symfony/twig-bridge", 1258 | "version": "v3.1.3", 1259 | "source": { 1260 | "type": "git", 1261 | "url": "https://github.com/symfony/twig-bridge.git", 1262 | "reference": "5a7f5fa756fef4f287d9adfc479cda043fa8b799" 1263 | }, 1264 | "dist": { 1265 | "type": "zip", 1266 | "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/5a7f5fa756fef4f287d9adfc479cda043fa8b799", 1267 | "reference": "5a7f5fa756fef4f287d9adfc479cda043fa8b799", 1268 | "shasum": "" 1269 | }, 1270 | "require": { 1271 | "php": ">=5.5.9", 1272 | "twig/twig": "~1.23|~2.0" 1273 | }, 1274 | "require-dev": { 1275 | "symfony/asset": "~2.8|~3.0", 1276 | "symfony/console": "~2.8|~3.0", 1277 | "symfony/expression-language": "~2.8|~3.0", 1278 | "symfony/finder": "~2.8|~3.0", 1279 | "symfony/form": "~3.0.4", 1280 | "symfony/http-kernel": "~2.8|~3.0", 1281 | "symfony/polyfill-intl-icu": "~1.0", 1282 | "symfony/routing": "~2.8|~3.0", 1283 | "symfony/security": "~2.8|~3.0", 1284 | "symfony/security-acl": "~2.8|~3.0", 1285 | "symfony/stopwatch": "~2.8|~3.0", 1286 | "symfony/templating": "~2.8|~3.0", 1287 | "symfony/translation": "~2.8|~3.0", 1288 | "symfony/var-dumper": "~2.8.9|~3.0.9|~3.1.3|~3.2", 1289 | "symfony/yaml": "~2.8|~3.0" 1290 | }, 1291 | "suggest": { 1292 | "symfony/asset": "For using the AssetExtension", 1293 | "symfony/expression-language": "For using the ExpressionExtension", 1294 | "symfony/finder": "", 1295 | "symfony/form": "For using the FormExtension", 1296 | "symfony/http-kernel": "For using the HttpKernelExtension", 1297 | "symfony/routing": "For using the RoutingExtension", 1298 | "symfony/security": "For using the SecurityExtension", 1299 | "symfony/stopwatch": "For using the StopwatchExtension", 1300 | "symfony/templating": "For using the TwigEngine", 1301 | "symfony/translation": "For using the TranslationExtension", 1302 | "symfony/var-dumper": "For using the DumpExtension", 1303 | "symfony/yaml": "For using the YamlExtension" 1304 | }, 1305 | "type": "symfony-bridge", 1306 | "extra": { 1307 | "branch-alias": { 1308 | "dev-master": "3.1-dev" 1309 | } 1310 | }, 1311 | "autoload": { 1312 | "psr-4": { 1313 | "Symfony\\Bridge\\Twig\\": "" 1314 | }, 1315 | "exclude-from-classmap": [ 1316 | "/Tests/" 1317 | ] 1318 | }, 1319 | "notification-url": "https://packagist.org/downloads/", 1320 | "license": [ 1321 | "MIT" 1322 | ], 1323 | "authors": [ 1324 | { 1325 | "name": "Fabien Potencier", 1326 | "email": "fabien@symfony.com" 1327 | }, 1328 | { 1329 | "name": "Symfony Community", 1330 | "homepage": "https://symfony.com/contributors" 1331 | } 1332 | ], 1333 | "description": "Symfony Twig Bridge", 1334 | "homepage": "https://symfony.com", 1335 | "time": "2016-07-28 11:13:48" 1336 | }, 1337 | { 1338 | "name": "symfony/validator", 1339 | "version": "v3.1.3", 1340 | "source": { 1341 | "type": "git", 1342 | "url": "https://github.com/symfony/validator.git", 1343 | "reference": "998b8598d0f6f7a61a73983616efb50c11eb5ad4" 1344 | }, 1345 | "dist": { 1346 | "type": "zip", 1347 | "url": "https://api.github.com/repos/symfony/validator/zipball/998b8598d0f6f7a61a73983616efb50c11eb5ad4", 1348 | "reference": "998b8598d0f6f7a61a73983616efb50c11eb5ad4", 1349 | "shasum": "" 1350 | }, 1351 | "require": { 1352 | "php": ">=5.5.9", 1353 | "symfony/polyfill-mbstring": "~1.0", 1354 | "symfony/translation": "~2.8|~3.0" 1355 | }, 1356 | "require-dev": { 1357 | "doctrine/annotations": "~1.0", 1358 | "doctrine/cache": "~1.0", 1359 | "egulias/email-validator": "~1.2,>=1.2.1", 1360 | "symfony/cache": "~3.1", 1361 | "symfony/config": "~2.8|~3.0", 1362 | "symfony/expression-language": "~2.8|~3.0", 1363 | "symfony/http-foundation": "~2.8|~3.0", 1364 | "symfony/intl": "~2.8|~3.0", 1365 | "symfony/yaml": "~2.8|~3.0" 1366 | }, 1367 | "suggest": { 1368 | "doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.", 1369 | "doctrine/cache": "For using the default cached annotation reader and metadata cache.", 1370 | "egulias/email-validator": "Strict (RFC compliant) email validation", 1371 | "psr/cache-implementation": "For using the metadata cache.", 1372 | "symfony/config": "", 1373 | "symfony/expression-language": "For using the Expression validator", 1374 | "symfony/http-foundation": "", 1375 | "symfony/intl": "", 1376 | "symfony/property-access": "For using the Expression validator", 1377 | "symfony/yaml": "" 1378 | }, 1379 | "type": "library", 1380 | "extra": { 1381 | "branch-alias": { 1382 | "dev-master": "3.1-dev" 1383 | } 1384 | }, 1385 | "autoload": { 1386 | "psr-4": { 1387 | "Symfony\\Component\\Validator\\": "" 1388 | }, 1389 | "exclude-from-classmap": [ 1390 | "/Tests/" 1391 | ] 1392 | }, 1393 | "notification-url": "https://packagist.org/downloads/", 1394 | "license": [ 1395 | "MIT" 1396 | ], 1397 | "authors": [ 1398 | { 1399 | "name": "Fabien Potencier", 1400 | "email": "fabien@symfony.com" 1401 | }, 1402 | { 1403 | "name": "Symfony Community", 1404 | "homepage": "https://symfony.com/contributors" 1405 | } 1406 | ], 1407 | "description": "Symfony Validator Component", 1408 | "homepage": "https://symfony.com", 1409 | "time": "2016-07-26 08:04:17" 1410 | }, 1411 | { 1412 | "name": "symfony/yaml", 1413 | "version": "v3.1.3", 1414 | "source": { 1415 | "type": "git", 1416 | "url": "https://github.com/symfony/yaml.git", 1417 | "reference": "1819adf2066880c7967df7180f4f662b6f0567ac" 1418 | }, 1419 | "dist": { 1420 | "type": "zip", 1421 | "url": "https://api.github.com/repos/symfony/yaml/zipball/1819adf2066880c7967df7180f4f662b6f0567ac", 1422 | "reference": "1819adf2066880c7967df7180f4f662b6f0567ac", 1423 | "shasum": "" 1424 | }, 1425 | "require": { 1426 | "php": ">=5.5.9" 1427 | }, 1428 | "type": "library", 1429 | "extra": { 1430 | "branch-alias": { 1431 | "dev-master": "3.1-dev" 1432 | } 1433 | }, 1434 | "autoload": { 1435 | "psr-4": { 1436 | "Symfony\\Component\\Yaml\\": "" 1437 | }, 1438 | "exclude-from-classmap": [ 1439 | "/Tests/" 1440 | ] 1441 | }, 1442 | "notification-url": "https://packagist.org/downloads/", 1443 | "license": [ 1444 | "MIT" 1445 | ], 1446 | "authors": [ 1447 | { 1448 | "name": "Fabien Potencier", 1449 | "email": "fabien@symfony.com" 1450 | }, 1451 | { 1452 | "name": "Symfony Community", 1453 | "homepage": "https://symfony.com/contributors" 1454 | } 1455 | ], 1456 | "description": "Symfony Yaml Component", 1457 | "homepage": "https://symfony.com", 1458 | "time": "2016-07-17 14:02:08" 1459 | }, 1460 | { 1461 | "name": "twig/twig", 1462 | "version": "v1.24.2", 1463 | "source": { 1464 | "type": "git", 1465 | "url": "https://github.com/twigphp/Twig.git", 1466 | "reference": "33093f6e310e6976baeac7b14f3a6ec02f2d79b7" 1467 | }, 1468 | "dist": { 1469 | "type": "zip", 1470 | "url": "https://api.github.com/repos/twigphp/Twig/zipball/33093f6e310e6976baeac7b14f3a6ec02f2d79b7", 1471 | "reference": "33093f6e310e6976baeac7b14f3a6ec02f2d79b7", 1472 | "shasum": "" 1473 | }, 1474 | "require": { 1475 | "php": ">=5.2.7" 1476 | }, 1477 | "require-dev": { 1478 | "symfony/debug": "~2.7", 1479 | "symfony/phpunit-bridge": "~2.7" 1480 | }, 1481 | "type": "library", 1482 | "extra": { 1483 | "branch-alias": { 1484 | "dev-master": "1.24-dev" 1485 | } 1486 | }, 1487 | "autoload": { 1488 | "psr-0": { 1489 | "Twig_": "lib/" 1490 | } 1491 | }, 1492 | "notification-url": "https://packagist.org/downloads/", 1493 | "license": [ 1494 | "BSD-3-Clause" 1495 | ], 1496 | "authors": [ 1497 | { 1498 | "name": "Fabien Potencier", 1499 | "email": "fabien@symfony.com", 1500 | "homepage": "http://fabien.potencier.org", 1501 | "role": "Lead Developer" 1502 | }, 1503 | { 1504 | "name": "Armin Ronacher", 1505 | "email": "armin.ronacher@active-4.com", 1506 | "role": "Project Founder" 1507 | }, 1508 | { 1509 | "name": "Twig Team", 1510 | "homepage": "http://twig.sensiolabs.org/contributors", 1511 | "role": "Contributors" 1512 | } 1513 | ], 1514 | "description": "Twig, the flexible, fast, and secure template language for PHP", 1515 | "homepage": "http://twig.sensiolabs.org", 1516 | "keywords": [ 1517 | "templating" 1518 | ], 1519 | "time": "2016-09-01 17:50:53" 1520 | } 1521 | ], 1522 | "packages-dev": [ 1523 | { 1524 | "name": "escapestudios/symfony2-coding-standard", 1525 | "version": "2.9.1", 1526 | "source": { 1527 | "type": "git", 1528 | "url": "https://github.com/djoos/Symfony2-coding-standard.git", 1529 | "reference": "03bd93ece3dc004fd49e766bf546f8cf58c64cb8" 1530 | }, 1531 | "dist": { 1532 | "type": "zip", 1533 | "url": "https://api.github.com/repos/djoos/Symfony2-coding-standard/zipball/03bd93ece3dc004fd49e766bf546f8cf58c64cb8", 1534 | "reference": "03bd93ece3dc004fd49e766bf546f8cf58c64cb8", 1535 | "shasum": "" 1536 | }, 1537 | "require": { 1538 | "squizlabs/php_codesniffer": "~2.0" 1539 | }, 1540 | "type": "coding-standard", 1541 | "extra": { 1542 | "branch-alias": { 1543 | "dev-master": "2.x-dev" 1544 | } 1545 | }, 1546 | "notification-url": "https://packagist.org/downloads/", 1547 | "license": [ 1548 | "MIT" 1549 | ], 1550 | "authors": [ 1551 | { 1552 | "name": "David Joos", 1553 | "email": "david.joos@escapestudios.com" 1554 | }, 1555 | { 1556 | "name": "Community contributors", 1557 | "homepage": "https://github.com/escapestudios/Symfony2-coding-standard/graphs/contributors" 1558 | } 1559 | ], 1560 | "description": "CodeSniffer ruleset for the Symfony2 coding standard", 1561 | "homepage": "https://github.com/escapestudios/Symfony2-coding-standard", 1562 | "keywords": [ 1563 | "Coding Standard", 1564 | "Symfony2", 1565 | "phpcs" 1566 | ], 1567 | "time": "2016-03-14 16:38:04" 1568 | }, 1569 | { 1570 | "name": "squizlabs/php_codesniffer", 1571 | "version": "2.7.0", 1572 | "source": { 1573 | "type": "git", 1574 | "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", 1575 | "reference": "571e27b6348e5b3a637b2abc82ac0d01e6d7bbed" 1576 | }, 1577 | "dist": { 1578 | "type": "zip", 1579 | "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/571e27b6348e5b3a637b2abc82ac0d01e6d7bbed", 1580 | "reference": "571e27b6348e5b3a637b2abc82ac0d01e6d7bbed", 1581 | "shasum": "" 1582 | }, 1583 | "require": { 1584 | "ext-simplexml": "*", 1585 | "ext-tokenizer": "*", 1586 | "ext-xmlwriter": "*", 1587 | "php": ">=5.1.2" 1588 | }, 1589 | "require-dev": { 1590 | "phpunit/phpunit": "~4.0" 1591 | }, 1592 | "bin": [ 1593 | "scripts/phpcs", 1594 | "scripts/phpcbf" 1595 | ], 1596 | "type": "library", 1597 | "extra": { 1598 | "branch-alias": { 1599 | "dev-master": "2.x-dev" 1600 | } 1601 | }, 1602 | "autoload": { 1603 | "classmap": [ 1604 | "CodeSniffer.php", 1605 | "CodeSniffer/CLI.php", 1606 | "CodeSniffer/Exception.php", 1607 | "CodeSniffer/File.php", 1608 | "CodeSniffer/Fixer.php", 1609 | "CodeSniffer/Report.php", 1610 | "CodeSniffer/Reporting.php", 1611 | "CodeSniffer/Sniff.php", 1612 | "CodeSniffer/Tokens.php", 1613 | "CodeSniffer/Reports/", 1614 | "CodeSniffer/Tokenizers/", 1615 | "CodeSniffer/DocGenerators/", 1616 | "CodeSniffer/Standards/AbstractPatternSniff.php", 1617 | "CodeSniffer/Standards/AbstractScopeSniff.php", 1618 | "CodeSniffer/Standards/AbstractVariableSniff.php", 1619 | "CodeSniffer/Standards/IncorrectPatternException.php", 1620 | "CodeSniffer/Standards/Generic/Sniffs/", 1621 | "CodeSniffer/Standards/MySource/Sniffs/", 1622 | "CodeSniffer/Standards/PEAR/Sniffs/", 1623 | "CodeSniffer/Standards/PSR1/Sniffs/", 1624 | "CodeSniffer/Standards/PSR2/Sniffs/", 1625 | "CodeSniffer/Standards/Squiz/Sniffs/", 1626 | "CodeSniffer/Standards/Zend/Sniffs/" 1627 | ] 1628 | }, 1629 | "notification-url": "https://packagist.org/downloads/", 1630 | "license": [ 1631 | "BSD-3-Clause" 1632 | ], 1633 | "authors": [ 1634 | { 1635 | "name": "Greg Sherwood", 1636 | "role": "lead" 1637 | } 1638 | ], 1639 | "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", 1640 | "homepage": "http://www.squizlabs.com/php-codesniffer", 1641 | "keywords": [ 1642 | "phpcs", 1643 | "standards" 1644 | ], 1645 | "time": "2016-09-01 23:53:02" 1646 | } 1647 | ], 1648 | "aliases": [], 1649 | "minimum-stability": "stable", 1650 | "stability-flags": [], 1651 | "prefer-stable": false, 1652 | "prefer-lowest": false, 1653 | "platform": [], 1654 | "platform-dev": [] 1655 | } 1656 | -------------------------------------------------------------------------------- /config.yml.dist: -------------------------------------------------------------------------------- 1 | # Base URL 2 | baseUrl: http://localhost/php-apache2-basic-auth-manager 3 | 4 | # Path to Apache2 files 5 | htpasswd: '/var/www/.htpasswd' 6 | htgroups: '/var/www/.htgroup' 7 | 8 | # Debug 9 | debug: false 10 | -------------------------------------------------------------------------------- /css/font-awesome.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.1 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.6.1');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.1') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.1') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.1') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.1') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.1#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} 5 | -------------------------------------------------------------------------------- /fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /fonts/lato-bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-bold.eot -------------------------------------------------------------------------------- /fonts/lato-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-bold.ttf -------------------------------------------------------------------------------- /fonts/lato-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-bold.woff -------------------------------------------------------------------------------- /fonts/lato-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-bold.woff2 -------------------------------------------------------------------------------- /fonts/lato-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-italic.eot -------------------------------------------------------------------------------- /fonts/lato-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-italic.ttf -------------------------------------------------------------------------------- /fonts/lato-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-italic.woff -------------------------------------------------------------------------------- /fonts/lato-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-italic.woff2 -------------------------------------------------------------------------------- /fonts/lato-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-regular.eot -------------------------------------------------------------------------------- /fonts/lato-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-regular.ttf -------------------------------------------------------------------------------- /fonts/lato-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-regular.woff -------------------------------------------------------------------------------- /fonts/lato-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/fonts/lato-regular.woff2 -------------------------------------------------------------------------------- /js/bootbox.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * bootbox.js v4.4.0 3 | * 4 | * http://bootboxjs.com/license.txt 5 | */ 6 | !function(a,b){"use strict";"function"==typeof define&&define.amd?define(["jquery"],b):"object"==typeof exports?module.exports=b(require("jquery")):a.bootbox=b(a.jQuery)}(this,function a(b,c){"use strict";function d(a){var b=q[o.locale];return b?b[a]:q.en[a]}function e(a,c,d){a.stopPropagation(),a.preventDefault();var e=b.isFunction(d)&&d.call(c,a)===!1;e||c.modal("hide")}function f(a){var b,c=0;for(b in a)c++;return c}function g(a,c){var d=0;b.each(a,function(a,b){c(a,b,d++)})}function h(a){var c,d;if("object"!=typeof a)throw new Error("Please supply an object of options");if(!a.message)throw new Error("Please specify a message");return a=b.extend({},o,a),a.buttons||(a.buttons={}),c=a.buttons,d=f(c),g(c,function(a,e,f){if(b.isFunction(e)&&(e=c[a]={callback:e}),"object"!==b.type(e))throw new Error("button with key "+a+" must be an object");e.label||(e.label=a),e.className||(e.className=2>=d&&f===d-1?"btn-primary":"btn-default")}),a}function i(a,b){var c=a.length,d={};if(1>c||c>2)throw new Error("Invalid argument length");return 2===c||"string"==typeof a[0]?(d[b[0]]=a[0],d[b[1]]=a[1]):d=a[0],d}function j(a,c,d){return b.extend(!0,{},a,i(c,d))}function k(a,b,c,d){var e={className:"bootbox-"+a,buttons:l.apply(null,b)};return m(j(e,d,c),b)}function l(){for(var a={},b=0,c=arguments.length;c>b;b++){var e=arguments[b],f=e.toLowerCase(),g=e.toUpperCase();a[f]={label:d(g)}}return a}function m(a,b){var d={};return g(b,function(a,b){d[b]=!0}),g(a.buttons,function(a){if(d[a]===c)throw new Error("button key "+a+" is not allowed (options are "+b.join("\n")+")")}),a}var n={dialog:"",header:"",footer:"",closeButton:"",form:"
",inputs:{text:"",textarea:"",email:"",select:"",checkbox:"
",date:"",time:"",number:"",password:""}},o={locale:"en",backdrop:"static",animate:!0,className:null,closeButton:!0,show:!0,container:"body"},p={};p.alert=function(){var a;if(a=k("alert",["ok"],["message","callback"],arguments),a.callback&&!b.isFunction(a.callback))throw new Error("alert requires callback property to be a function when provided");return a.buttons.ok.callback=a.onEscape=function(){return b.isFunction(a.callback)?a.callback.call(this):!0},p.dialog(a)},p.confirm=function(){var a;if(a=k("confirm",["cancel","confirm"],["message","callback"],arguments),a.buttons.cancel.callback=a.onEscape=function(){return a.callback.call(this,!1)},a.buttons.confirm.callback=function(){return a.callback.call(this,!0)},!b.isFunction(a.callback))throw new Error("confirm requires a callback");return p.dialog(a)},p.prompt=function(){var a,d,e,f,h,i,k;if(f=b(n.form),d={className:"bootbox-prompt",buttons:l("cancel","confirm"),value:"",inputType:"text"},a=m(j(d,arguments,["title","callback"]),["cancel","confirm"]),i=a.show===c?!0:a.show,a.message=f,a.buttons.cancel.callback=a.onEscape=function(){return a.callback.call(this,null)},a.buttons.confirm.callback=function(){var c;switch(a.inputType){case"text":case"textarea":case"email":case"select":case"date":case"time":case"number":case"password":c=h.val();break;case"checkbox":var d=h.find("input:checked");c=[],g(d,function(a,d){c.push(b(d).val())})}return a.callback.call(this,c)},a.show=!1,!a.title)throw new Error("prompt requires a title");if(!b.isFunction(a.callback))throw new Error("prompt requires a callback");if(!n.inputs[a.inputType])throw new Error("invalid prompt type");switch(h=b(n.inputs[a.inputType]),a.inputType){case"text":case"textarea":case"email":case"date":case"time":case"number":case"password":h.val(a.value);break;case"select":var o={};if(k=a.inputOptions||[],!b.isArray(k))throw new Error("Please pass an array of input options");if(!k.length)throw new Error("prompt with select requires options");g(k,function(a,d){var e=h;if(d.value===c||d.text===c)throw new Error("given options in wrong format");d.group&&(o[d.group]||(o[d.group]=b("").attr("label",d.group)),e=o[d.group]),e.append("")}),g(o,function(a,b){h.append(b)}),h.val(a.value);break;case"checkbox":var q=b.isArray(a.value)?a.value:[a.value];if(k=a.inputOptions||[],!k.length)throw new Error("prompt with checkbox requires options");if(!k[0].value||!k[0].text)throw new Error("given options in wrong format");h=b("
"),g(k,function(c,d){var e=b(n.inputs[a.inputType]);e.find("input").attr("value",d.value),e.find("label").append(d.text),g(q,function(a,b){b===d.value&&e.find("input").prop("checked",!0)}),h.append(e)})}return a.placeholder&&h.attr("placeholder",a.placeholder),a.pattern&&h.attr("pattern",a.pattern),a.maxlength&&h.attr("maxlength",a.maxlength),f.append(h),f.on("submit",function(a){a.preventDefault(),a.stopPropagation(),e.find(".btn-primary").click()}),e=p.dialog(a),e.off("shown.bs.modal"),e.on("shown.bs.modal",function(){h.focus()}),i===!0&&e.modal("show"),e},p.dialog=function(a){a=h(a);var d=b(n.dialog),f=d.find(".modal-dialog"),i=d.find(".modal-body"),j=a.buttons,k="",l={onEscape:a.onEscape};if(b.fn.modal===c)throw new Error("$.fn.modal is not defined; please double check you have included the Bootstrap JavaScript library. See http://getbootstrap.com/javascript/ for more details.");if(g(j,function(a,b){k+="",l[a]=b.callback}),i.find(".bootbox-body").html(a.message),a.animate===!0&&d.addClass("fade"),a.className&&d.addClass(a.className),"large"===a.size?f.addClass("modal-lg"):"small"===a.size&&f.addClass("modal-sm"),a.title&&i.before(n.header),a.closeButton){var m=b(n.closeButton);a.title?d.find(".modal-header").prepend(m):m.css("margin-top","-10px").prependTo(i)}return a.title&&d.find(".modal-title").html(a.title),k.length&&(i.after(n.footer),d.find(".modal-footer").html(k)),d.on("hidden.bs.modal",function(a){a.target===this&&d.remove()}),d.on("shown.bs.modal",function(){d.find(".btn-primary:first").focus()}),"static"!==a.backdrop&&d.on("click.dismiss.bs.modal",function(a){d.children(".modal-backdrop").length&&(a.currentTarget=d.children(".modal-backdrop").get(0)),a.target===a.currentTarget&&d.trigger("escape.close.bb")}),d.on("escape.close.bb",function(a){l.onEscape&&e(a,d,l.onEscape)}),d.on("click",".modal-footer button",function(a){var c=b(this).data("bb-handler");e(a,d,l[c])}),d.on("click",".bootbox-close-button",function(a){e(a,d,l.onEscape)}),d.on("keyup",function(a){27===a.which&&d.trigger("escape.close.bb")}),b(a.container).append(d),d.modal({backdrop:a.backdrop?"static":!1,keyboard:!1,show:!1}),a.show&&d.modal("show"),d},p.setDefaults=function(){var a={};2===arguments.length?a[arguments[0]]=arguments[1]:a=arguments[0],b.extend(o,a)},p.hideAll=function(){return b(".bootbox").modal("hide"),p};var q={bg_BG:{OK:"Ок",CANCEL:"Отказ",CONFIRM:"Потвърждавам"},br:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Sim"},cs:{OK:"OK",CANCEL:"Zrušit",CONFIRM:"Potvrdit"},da:{OK:"OK",CANCEL:"Annuller",CONFIRM:"Accepter"},de:{OK:"OK",CANCEL:"Abbrechen",CONFIRM:"Akzeptieren"},el:{OK:"Εντάξει",CANCEL:"Ακύρωση",CONFIRM:"Επιβεβαίωση"},en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"},es:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Aceptar"},et:{OK:"OK",CANCEL:"Katkesta",CONFIRM:"OK"},fa:{OK:"قبول",CANCEL:"لغو",CONFIRM:"تایید"},fi:{OK:"OK",CANCEL:"Peruuta",CONFIRM:"OK"},fr:{OK:"OK",CANCEL:"Annuler",CONFIRM:"D'accord"},he:{OK:"אישור",CANCEL:"ביטול",CONFIRM:"אישור"},hu:{OK:"OK",CANCEL:"Mégsem",CONFIRM:"Megerősít"},hr:{OK:"OK",CANCEL:"Odustani",CONFIRM:"Potvrdi"},id:{OK:"OK",CANCEL:"Batal",CONFIRM:"OK"},it:{OK:"OK",CANCEL:"Annulla",CONFIRM:"Conferma"},ja:{OK:"OK",CANCEL:"キャンセル",CONFIRM:"確認"},lt:{OK:"Gerai",CANCEL:"Atšaukti",CONFIRM:"Patvirtinti"},lv:{OK:"Labi",CANCEL:"Atcelt",CONFIRM:"Apstiprināt"},nl:{OK:"OK",CANCEL:"Annuleren",CONFIRM:"Accepteren"},no:{OK:"OK",CANCEL:"Avbryt",CONFIRM:"OK"},pl:{OK:"OK",CANCEL:"Anuluj",CONFIRM:"Potwierdź"},pt:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Confirmar"},ru:{OK:"OK",CANCEL:"Отмена",CONFIRM:"Применить"},sq:{OK:"OK",CANCEL:"Anulo",CONFIRM:"Prano"},sv:{OK:"OK",CANCEL:"Avbryt",CONFIRM:"OK"},th:{OK:"ตกลง",CANCEL:"ยกเลิก",CONFIRM:"ยืนยัน"},tr:{OK:"Tamam",CANCEL:"İptal",CONFIRM:"Onayla"},zh_CN:{OK:"OK",CANCEL:"取消",CONFIRM:"确认"},zh_TW:{OK:"OK",CANCEL:"取消",CONFIRM:"確認"}};return p.addLocale=function(a,c){return b.each(["OK","CANCEL","CONFIRM"],function(a,b){if(!c[b])throw new Error("Please supply a translation for '"+b+"'")}),q[a]={OK:c.OK,CANCEL:c.CANCEL,CONFIRM:c.CONFIRM},p},p.removeLocale=function(a){return delete q[a],p},p.setLocale=function(a){return p.setDefaults("locale",a)},p.init=function(c){return a(c||b)},p}); -------------------------------------------------------------------------------- /js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.6 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under the MIT license 5 | */ 6 | if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(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]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",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(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.6",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.6",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.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},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.6",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.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 in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.6",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");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":"focusin",i="hover"==g?"mouseleave":"focusout";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()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.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},c.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},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.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)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.6",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.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").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.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)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(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]()})}b.VERSION="3.3.6",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).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(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.6",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelgou/php-apache2-basic-auth-manager/5b5086c4e256e05e0338bbfe4383a8fa3b27e013/screenshot.png -------------------------------------------------------------------------------- /src/App/Controller/AbstractController.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | namespace App\Controller; 12 | 13 | use Symfony\Component\HttpFoundation\Response; 14 | use Silex\Application; 15 | use Apache2BasicAuth\Service as HTService; 16 | 17 | /** 18 | * Class AbstractController 19 | * @category Controller 20 | * @author Rafael Goulart 21 | */ 22 | abstract class AbstractController 23 | { 24 | 25 | /** 26 | * @var \Silex\Application 27 | */ 28 | protected $app; 29 | 30 | /** 31 | * @var \Apache2BasicAuth\Service 32 | */ 33 | protected $htService; 34 | 35 | /** 36 | * Constructor 37 | * @param \Silex\Application $app Application instance 38 | */ 39 | public function __construct(Application $app) 40 | { 41 | $this->app = $app; 42 | $this->htService = new HTService($app['config']['htpasswd'], $app['config']['htgroups']); 43 | } 44 | 45 | /** 46 | * Render a Response using Twig 47 | * @param string $template The template 48 | * @param array $data Array of data to the template 49 | * @return string 50 | */ 51 | protected function renderTemplate($template, $data = array()) 52 | { 53 | $data['baseUrl'] = $this->app['config']['baseUrl']; 54 | 55 | return $this->app['twig']->render("{$template}.html.twig", $data); 56 | } 57 | 58 | /** 59 | * Render a template using Twig passing default data 60 | * @param string $template The template 61 | * @param array $data Array of data to the template 62 | * @return \Symfony\Component\HttpFoundation\Response 63 | */ 64 | protected function render($template, $data = array()) 65 | { 66 | return new Response( 67 | $this->renderTemplate($template, $data), 68 | array_key_exists('http-code', $data) ? $data['http-code'] : Response::HTTP_OK 69 | ); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /src/App/Controller/Group.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | namespace App\Controller; 12 | 13 | use Silex\Application; 14 | use Symfony\Component\HttpFoundation\Response; 15 | use Symfony\Component\HttpFoundation\Request; 16 | use Symfony\Component\Form\Extension\Core\Type\FormType; 17 | use Symfony\Component\Form\Extension\Core\Type\ChoiceType; 18 | use Symfony\Component\Form\Form; 19 | 20 | /** 21 | * Class Group Controller 22 | * @category Controller 23 | * @author Rafael Goulart 24 | */ 25 | class Group extends AbstractController 26 | { 27 | /** 28 | * Add a record 29 | * @param Request $request The HTTP Request 30 | * @return Response 31 | */ 32 | public function add(Request $request) 33 | { 34 | $group = $this->htService->createGroup(); 35 | $form = $this->getForm($group); 36 | 37 | if ($request->getMethod() === 'POST') { 38 | $form->handleRequest($request); 39 | 40 | if ($form->isValid()) { 41 | $group = $form->getData(); 42 | $this->htService->persist($group)->write(); 43 | $this->app['session']->getFlashBag()->add('success', "Group {$group->groupname} added successfuly."); 44 | 45 | return $this->app->redirect('/'); 46 | } 47 | } 48 | 49 | return $this->render( 50 | 'group-edit', 51 | array( 52 | 'action' => 'add', 53 | 'title' => 'Add Group', 54 | 'form' => $form->createView(), 55 | ) 56 | ); 57 | } 58 | 59 | /** 60 | * Edit a record 61 | * @param Request $request The HTTP Request 62 | * @param string $groupname Group name 63 | * @throws \Exception User not found 64 | * @return Response 65 | */ 66 | public function edit(Request $request, $groupname) 67 | { 68 | $group = $this->htService->findGroup($groupname); 69 | if (null === $group) { 70 | throw new \Exception('Group not found', 404); 71 | } 72 | 73 | $form = $this->getForm($group); 74 | 75 | if ($request->getMethod() === 'POST') { 76 | $form->handleRequest($request); 77 | 78 | if ($form->isValid()) { 79 | $group = $form->getData(); 80 | $group->setName($groupname); 81 | $this->htService->persist($group)->write(); 82 | $this->app['session']->getFlashBag()->add('success', "Group {$groupname} added successfuly."); 83 | 84 | return $this->app->redirect('/'); 85 | } 86 | } 87 | 88 | return $this->render( 89 | 'group-edit', 90 | array( 91 | 'action' => 'edit', 92 | 'title' => "Edit Group - $groupname", 93 | 'groupname' => $groupname, 94 | 'form' => $form->createView(), 95 | ) 96 | ); 97 | } 98 | 99 | /** 100 | * Delete a record 101 | * @param Request $request The HTTP Request 102 | * @param string $groupname Group name 103 | * @throws \Exception User not found 104 | * @return Response 105 | */ 106 | public function delete(Request $request, $groupname) 107 | { 108 | $group = $this->htService->findGroup($groupname); 109 | if (null === $group) { 110 | throw new \Exception('Group not found', 404); 111 | } 112 | 113 | $this->htService->removeGroup($group)->write(); 114 | $this->app['session']->getFlashBag()->add('success', "Group {$groupname} deleted successfuly."); 115 | 116 | return $this->app->redirect('/'); 117 | } 118 | 119 | /** 120 | * Get Form instance 121 | * @param array $data Form initial data 122 | * @return Form 123 | */ 124 | protected function getForm($data = array()) 125 | { 126 | $usernames = $this->htService->getUsernames(); 127 | $userChoices = array_combine($usernames, $usernames); 128 | 129 | return $this->app['form.factory']->createBuilder(FormType::class, $data) 130 | ->add('name', null, array( 131 | 'label' => 'Group Name', 132 | 'required' => true, 133 | )) 134 | ->add('users', ChoiceType::class, array( 135 | 'choices' => $userChoices, 136 | 'expanded' => true, 137 | 'multiple' => true, 138 | )) 139 | ->getForm(); 140 | } 141 | } 142 | -------------------------------------------------------------------------------- /src/App/Controller/Main.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | namespace App\Controller; 12 | 13 | use Silex\Application; 14 | use Symfony\Component\HttpFoundation\Response; 15 | use Symfony\Component\HttpFoundation\Request; 16 | 17 | /** 18 | * Class Main Controller 19 | * @category Controller 20 | * @author Rafael Goulart 21 | */ 22 | class Main extends AbstractController 23 | { 24 | 25 | /** 26 | * Index page 27 | * @param Request $request The HTTP Request 28 | * @return Response 29 | */ 30 | public function index(Request $request) 31 | { 32 | return $this->render( 33 | 'index', 34 | array( 35 | 'title' => 'Dashboard', 36 | 'users' => $this->htService->getUsers(), 37 | 'groups' => $this->htService->getGroups(), 38 | ) 39 | ); 40 | } 41 | 42 | /** 43 | * Sample HTAccess page 44 | * @param Request $request The HTTP Request 45 | * @return Response 46 | */ 47 | public function sampleHtaccess(Request $request) 48 | { 49 | return $this->render( 50 | 'samplehtaccess', 51 | array( 52 | 'title' => 'Sample .htaccess', 53 | ) 54 | ); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/App/Controller/User.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | namespace App\Controller; 12 | 13 | use Silex\Application; 14 | use Symfony\Component\HttpFoundation\Response; 15 | use Symfony\Component\HttpFoundation\Request; 16 | use Symfony\Component\Form\Extension\Core\Type\FormType; 17 | use Symfony\Component\Form\Extension\Core\Type\PasswordType; 18 | use Symfony\Component\Form\Extension\Core\Type\RepeatedType; 19 | use Symfony\Component\Form\Extension\Core\Type\ChoiceType; 20 | use Symfony\Component\Validator\Constraints as Assert; 21 | use Apache2BasicAuth\Model\User as UserModel; 22 | use Respect\Validation\Validator as V; 23 | 24 | /** 25 | * Class User Controller 26 | * @category Controller 27 | * @author Rafael Goulart 28 | */ 29 | class User extends AbstractController 30 | { 31 | 32 | /** 33 | * Add a record 34 | * @param Request $request The HTTP Request 35 | * @return Response 36 | */ 37 | public function add(Request $request) 38 | { 39 | $user = $this->htService->createUser(); 40 | $form = $this->getForm($user); 41 | 42 | if ($request->getMethod() === 'POST') { 43 | $form->handleRequest($request); 44 | 45 | if ($form->isValid()) { 46 | $user = $form->getData(); 47 | $this->htService->persist($user)->write(); 48 | $this->app['session']->getFlashBag()->add('success', "User {$username} added successfuly."); 49 | 50 | return $this->app->redirect('/'); 51 | } 52 | } 53 | 54 | return $this->render( 55 | 'user-edit', 56 | array( 57 | 'action' => 'add', 58 | 'title' => 'Add User', 59 | 'form' => $form->createView(), 60 | ) 61 | ); 62 | } 63 | 64 | /** 65 | * Edit a record 66 | * @param Request $request The HTTP Request 67 | * @param string $username User name 68 | * @throws \Exception User not found 69 | * @return Response 70 | */ 71 | public function edit(Request $request, $username) 72 | { 73 | $user = $this->htService->findUser($username); 74 | if (null === $user) { 75 | throw new \Exception('User not found', 404); 76 | } 77 | 78 | $form = $this->getForm($user); 79 | #$validator = false; 80 | 81 | if ($request->getMethod() === 'POST') { 82 | $form->handleRequest($request); 83 | 84 | if ($form->isValid()) { 85 | $user = $form->getData(); 86 | $user->setUsername($username); 87 | 88 | if ($user->getPassword() > 0) { 89 | if (strlen($user->getPassword()) < $config['minPassword']) { 90 | $this->app['session']->getFlashBag()->add( 91 | 'error', 92 | "Please fill Password (min {$config['minPassword']} characters)." 93 | ); 94 | 95 | return $this->app->redirect("/user/{$username}/edit"); 96 | } 97 | } 98 | #if (!$validator->validate($user)) { 99 | $this->htService->persist($user)->write(); 100 | $this->app['session']->getFlashBag()->add('success', "User {$username} updated successfuly."); 101 | 102 | return $this->app->redirect('/'); 103 | #} 104 | } 105 | } 106 | 107 | return $this->render( 108 | 'user-edit', 109 | array( 110 | 'action' => 'edit', 111 | 'title' => "Edit User - $username", 112 | 'username' => $username, 113 | 'form' => $form->createView(), 114 | ) 115 | ); 116 | } 117 | 118 | /** 119 | * Delete a record 120 | * @param Request $request The HTTP Request 121 | * @param string $username User name 122 | * @throws \Exception User not found 123 | * @return Response 124 | */ 125 | public function delete(Request $request, $username) 126 | { 127 | $user = $this->htService->findUser($username); 128 | if (null === $user) { 129 | throw new \Exception('User not found', 404); 130 | } 131 | 132 | $this->htService->removeUser($user)->write(); 133 | $this->app['session']->getFlashBag()->add('success', "User {$username} deleted successfuly."); 134 | 135 | return $this->app->redirect('/'); 136 | } 137 | 138 | /** 139 | * Get Form instance 140 | * @param array $data Form initial data 141 | * @return Form 142 | */ 143 | protected function getForm($data = array()) 144 | { 145 | $groupnames = $this->htService->getGroupNames(); 146 | $groupChoices = array_combine($groupnames, $groupnames); 147 | 148 | return $this->app['form.factory']->createBuilder(FormType::class, $data) 149 | ->add('username', null, array( 150 | 'required' => true, 151 | )) 152 | ->add('password', RepeatedType::class, array( 153 | 'type' => PasswordType::class, 154 | 'invalid_message' => 'The password fields must match.', 155 | 'required' => false, 156 | 'first_options' => array('label' => 'Password'), 157 | 'second_options' => array('label' => 'Repeat Password'), 158 | )) 159 | ->add('groups', ChoiceType::class, array( 160 | 'choices' => $groupChoices, 161 | 'expanded' => true, 162 | 'multiple' => true, 163 | )) 164 | ->getForm(); 165 | } 166 | 167 | } 168 | -------------------------------------------------------------------------------- /src/App/Provider/RouterProvider.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | namespace App\Provider; 12 | 13 | use Pimple\Container; 14 | use Pimple\ServiceProviderInterface; 15 | use Silex\Application; 16 | use Silex\Api\BootableProviderInterface; 17 | use Symfony\Component\HttpFoundation\Request; 18 | use App\Route; 19 | 20 | /** 21 | * Router Provider 22 | * @category Provider 23 | * @author Rafael Goulart 24 | */ 25 | class RouterProvider implements ServiceProviderInterface, BootableProviderInterface 26 | { 27 | /** 28 | * Register 29 | * @param Application $app The App 30 | * @return void 31 | */ 32 | public function register(Container $app) 33 | { 34 | $app['app.routing'] = array( 35 | new Route('get', '/', 'App\Controller\Main:index'), 36 | new Route('get', '/samplehtaccess', 'App\Controller\Main:sampleHtaccess'), 37 | new Route('get', '/user/add', 'App\Controller\User:add'), 38 | new Route('post', '/user/add', 'App\Controller\User:add'), 39 | new Route('get', '/user/{username}/edit', 'App\Controller\User:edit'), 40 | new Route('post', '/user/{username}/edit', 'App\Controller\User:edit'), 41 | new Route('get', '/user/{username}/delete', 'App\Controller\User:delete'), 42 | new Route('get', '/group/add', 'App\Controller\Group:add'), 43 | new Route('post', '/group/add', 'App\Controller\Group:add'), 44 | new Route('get', '/group/{groupname}/edit', 'App\Controller\Group:edit'), 45 | new Route('post', '/group/{groupname}/edit', 'App\Controller\Group:edit'), 46 | new Route('get', '/group/{groupname}/delete', 'App\Controller\Group:delete'), 47 | ); 48 | } 49 | 50 | /** 51 | * Boot 52 | * @param Application $app The App 53 | * @return void 54 | */ 55 | public function boot(Application $app) 56 | { 57 | foreach ($app['app.routing'] as $route) { 58 | $route->registerRoute($app); 59 | } 60 | 61 | if (!$app['config']['debug']) { 62 | $app->error(function (\Exception $e, Request $request, $code) use ($app) { 63 | switch ($e->getCode()) { 64 | case 404: 65 | $title = 'Error 404 - '.$e->getMessage(); 66 | break; 67 | default: 68 | $title = "Error $code - We are sorry, but something went terribly wrong. "; 69 | } 70 | 71 | return $app['twig']->render( 72 | 'error.html.twig', 73 | array( 74 | 'title' => $title, 75 | 'error' => $app['debug'] ? $e->getTraceAsString() : false, 76 | ) 77 | ); 78 | }); 79 | } 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/App/Route.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | namespace App; 12 | 13 | use Silex\Application; 14 | 15 | /** 16 | * Class Group Controller 17 | * @author Rafael Goulart 18 | */ 19 | class Route 20 | { 21 | 22 | /** 23 | * @var string 24 | */ 25 | protected $httpMethod; 26 | 27 | /** 28 | * @var string 29 | */ 30 | protected $path; 31 | 32 | /** 33 | * @var string 34 | */ 35 | protected $target; 36 | 37 | /** 38 | * Constructor 39 | * @param string $httpMethod Method get/post/put/delete 40 | * @param string $path URI Path 41 | * @param string $target Target Controller:method 42 | * @return Response 43 | */ 44 | public function __construct($httpMethod = null, $path = null, $target = null) 45 | { 46 | $this->httpMethod = strtolower($httpMethod); 47 | $this->path = $path; 48 | $this->target = $target; 49 | } 50 | 51 | /** 52 | * Get HTTP Method 53 | * @return string 54 | */ 55 | public function getHttpMethod() 56 | { 57 | return $this->httpMethod; 58 | } 59 | 60 | /** 61 | * Set HTTP Method 62 | * @param string $httpMethod Method get/post/put/delete 63 | * @return Route 64 | */ 65 | public function setHttpMethod($httpMethod) 66 | { 67 | $this->httpMethod = $httpMethod; 68 | 69 | return $this; 70 | } 71 | 72 | /** 73 | * Get Path 74 | * @return string 75 | */ 76 | public function getPath() 77 | { 78 | return $this->path; 79 | } 80 | 81 | /** 82 | * Set Path 83 | * @param string $path URI Path 84 | * @return Route 85 | */ 86 | public function setPath($path) 87 | { 88 | $this->path = $path; 89 | 90 | return $this; 91 | } 92 | 93 | /** 94 | * Get HTTP Method 95 | * @return string 96 | */ 97 | public function getTarget() 98 | { 99 | return $this->target; 100 | } 101 | 102 | /** 103 | * Set Target 104 | * @param string $target Target Controller:method 105 | * @return Route 106 | */ 107 | public function setTarget($target) 108 | { 109 | $this->target = $target; 110 | 111 | return $this; 112 | } 113 | 114 | /** 115 | * Register route 116 | * @param Application $app The Silex Application 117 | * @return Route 118 | */ 119 | public function registerRoute(Application $app) 120 | { 121 | $httpMethod = $this->getHttpMethod(); 122 | $target = explode(':', $this->getTarget()); 123 | $controller = $target[0]; 124 | $ctrl = explode('\\', $target[0]); 125 | $action = $target[1]; 126 | 127 | array_walk( 128 | $ctrl, 129 | function (&$item, $key) { 130 | $item = strtolower($item); 131 | } 132 | ); 133 | $ctlrShort = implode('.', $ctrl); 134 | if (!isset($app[$ctlrShort])) { 135 | $app[$ctlrShort] = function () use ($app, $controller) { 136 | $controller = '\\'.$controller; 137 | 138 | return new $controller($app); 139 | }; 140 | } 141 | 142 | $app->$httpMethod($this->getPath(), "{$ctlrShort}:{$action}"); 143 | 144 | return $this; 145 | } 146 | } 147 | -------------------------------------------------------------------------------- /views/error.html.twig: -------------------------------------------------------------------------------- 1 | {% extends "layout.html.twig" %} 2 | 3 | {% block content %} 4 | {% if error is defined %} 5 |
 6 | {{ error }}
 7 | 
8 | {% endif %} 9 | {% endblock %} 10 | -------------------------------------------------------------------------------- /views/group-edit.html.twig: -------------------------------------------------------------------------------- 1 | {% extends "layout.html.twig" %} 2 | 3 | {% block content %} 4 |
5 | {% if action == 'add' %} 6 | {{ form_row(form.name) }} 7 | {% endif %} 8 | {{ form_row(form.users) }} 9 | 10 |
11 | 12 | Back to List 13 | 14 |
15 | {% endblock %} 16 | -------------------------------------------------------------------------------- /views/index.html.twig: -------------------------------------------------------------------------------- 1 | {% extends "layout.html.twig" %} 2 | 3 | {% block content %} 4 |
5 | 6 |
7 |
8 |
USERS
9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | {% for user in users %} 20 | 21 | 22 | 23 | 27 | 28 | {% endfor %} 29 | 30 |
UsernameGroupsActions
{{ user.username }}{{ user.groups | join(', ')}} 24 | 25 | 26 |
31 |
32 |
33 |
34 | 35 |
36 |
37 |
GROUPS
38 |
39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | {% for group in groups %} 49 | 50 | 51 | 52 | 56 | 57 | {% endfor %} 58 | 59 |
GroupsMembersActions
{{ group.name }}{{ group.users | join(', ')}} 53 | 54 | 55 |
60 |
61 |
62 |
63 | 64 |
65 | {% endblock %} 66 | -------------------------------------------------------------------------------- /views/layout.html.twig: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PHP Apache2 Basic Auth Manager 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 36 | 37 |
38 | 39 | 42 | 43 | {% block alerts %} 44 | {% set types = ['notice','error','success','info'] %} 45 | {% for type in types %} 46 | {% for flashMessage in app.session.getFlashBag.get(type) %} 47 | {% if type == 'error' %}{% set type = 'danger' %}{% endif %} 48 |
49 |

{{ flashMessage | raw }}

50 |
51 | {% endfor %} 52 | {% endfor %} 53 | {% endblock alerts %} 54 | 55 | {% block content %}{% endblock content %} 56 |
57 | 58 | 59 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /views/samplehtaccess.html.twig: -------------------------------------------------------------------------------- 1 | {% extends "layout.html.twig" %} 2 | 3 | {% block content %} 4 |
 5 | AuthName "Members Area"
 6 | AuthType Basic
 7 | AuthUserFile /var/www/.htpasswd
 8 | AuthGroupFile /var/www/.htgroups
 9 | {{ '' | escape }}
10 |   require user admin
11 |   require group writer
12 | {{ '' | escape }}
13 | 
14 | {% endblock %} 15 | -------------------------------------------------------------------------------- /views/user-edit.html.twig: -------------------------------------------------------------------------------- 1 | {% extends "layout.html.twig" %} 2 | 3 | {% block content %} 4 |
5 | {% if action == 'add' %} 6 | {{ form_row(form.username) }} 7 | {% endif %} 8 | {{ form_row(form.password) }} 9 | {{ form_row(form.groups) }} 10 |
11 | 12 | Back to List 13 | 14 |
15 | {% endblock %} 16 | -------------------------------------------------------------------------------- /web/css/style.css: -------------------------------------------------------------------------------- 1 | body { padding-top: 60px; } 2 | footer { border-top: 1px solid #ccc; padding: 20px 0; background-color: #ddd; margin-top: 20px;} 3 | 4 | -------------------------------------------------------------------------------- /web/index.php: -------------------------------------------------------------------------------- 1 | 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | require_once __DIR__.'/../vendor/autoload.php'; 12 | 13 | use Silex\Application; 14 | use Symfony\Component\Yaml\Yaml; 15 | use Symfony\Component\HttpFoundation\Request; 16 | use Silex\Provider\ServiceControllerServiceProvider; 17 | use Silex\Provider\TwigServiceProvider; 18 | use Silex\Provider\ValidatorServiceProvider; 19 | use Silex\Provider\FormServiceProvider; 20 | use Silex\Provider\SessionServiceProvider; 21 | use Silex\Provider\LocaleServiceProvider; 22 | use Silex\Provider\TranslationServiceProvider; 23 | use Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler; 24 | 25 | if (!file_exists(__DIR__ . '/../config.yml')) { 26 | die( 27 | '

PHP Apache2 Basic Auth Manager

' 28 | . '

Please create config.yml:

' 29 | . '

cd PATH_TO_PROJECT; cp config.yml.dist config.yml
' 30 | ); 31 | } 32 | 33 | $app = new Application(); 34 | 35 | /** 36 | * config 37 | */ 38 | $config = Yaml::parse(file_get_contents(__DIR__ . '/../config.yml')); 39 | $app['config'] = $config; 40 | $app['debug'] = $config['debug']; 41 | 42 | /** 43 | * Main providers 44 | */ 45 | $app->register(new ServiceControllerServiceProvider()); 46 | $app->register(new FormServiceProvider()); 47 | $app->register(new ValidatorServiceProvider()); 48 | $app->register(new FormServiceProvider()); 49 | $app->register(new LocaleServiceProvider()); 50 | $app->register(new TranslationServiceProvider(), array( 51 | 'locale_fallbacks' => array('pt_br', 'en'), 52 | 'translator.domains' => array(), 53 | )); 54 | $app->register(new Silex\Provider\TwigServiceProvider(), array( 55 | 'twig.path' => __DIR__ . '/../views', 56 | 'twig.form.templates' => array( 57 | 'bootstrap_3_horizontal_layout.html.twig' 58 | ) 59 | )); 60 | 61 | $app->register(new SessionServiceProvider()); 62 | $app['session.storage.handler'] = new NativeFileSessionHandler(__DIR__ . '/../sessions'); 63 | 64 | /** 65 | * Load Routes 66 | */ 67 | $app->register(new App\Provider\RouterProvider()); 68 | 69 | $app->run(); 70 | -------------------------------------------------------------------------------- /web/js/script.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | $('.userDelete').click(function(event) { 4 | event.preventDefault(); 5 | href = $(this).attr('href'); 6 | bootbox.confirm("

Are you sure you want to delete user '" + $(this).data('username') + "'?

", function(result) { 7 | if(result) { 8 | window.location = href; 9 | } 10 | }); 11 | }); 12 | 13 | $('.groupDelete').click(function(event) { 14 | event.preventDefault(); 15 | href = $(this).attr('href'); 16 | bootbox.confirm("

Are you sure you want to delete group '" + $(this).data('groupname') + "'?

", function(result) { 17 | if(result) { 18 | window.location = href; 19 | } 20 | }); 21 | }); 22 | 23 | $('.logout').click(function(event) { 24 | event.preventDefault(); 25 | var request = new XMLHttpRequest(); 26 | request.open("get", "logout", false, "false", "false"); 27 | request.send(); 28 | window.location.replace('/'); 29 | }); 30 | 31 | }); 32 | --------------------------------------------------------------------------------