diff --git a/.gitignore b/.gitignore index 5d1b9316..0bb0f382 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ .DS_Store -public_html/.DS_Store vendor/* .idea/* replica.my.cnf .env .lighttpd.conf - +src/Less/cache/* +!.gitkeep diff --git a/composer.json b/composer.json index 3a0c007a..776f9076 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,6 @@ { "require": { + "oyejorge/less.php": "~1.5", "mediawiki/oauthclient": "~0.1", "wikimedia/slimapp": "dev-master" }, diff --git a/composer.lock b/composer.lock index e54c4d2d..8f256484 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "32e7c4bb62548c162dba362c8149ddca", - "content-hash": "a5f26e77067173509da633ec4820cfd5", + "hash": "6587c493413453203bba4c206532fcc2", + "content-hash": "49b835fe9c0251bd0729d1f166a8b716", "packages": [ { "name": "bd808/monolog-udp2log-handler", @@ -183,6 +183,68 @@ ], "time": "2016-04-12 18:29:35" }, + { + "name": "oyejorge/less.php", + "version": "v1.7.0.10", + "source": { + "type": "git", + "url": "https://github.com/oyejorge/less.php.git", + "reference": "a1e2d3c20794b37ac4d0baeb24613e579584033b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/oyejorge/less.php/zipball/a1e2d3c20794b37ac4d0baeb24613e579584033b", + "reference": "a1e2d3c20794b37ac4d0baeb24613e579584033b", + "shasum": "" + }, + "require": { + "php": ">=5.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.8.18" + }, + "bin": [ + "bin/lessc" + ], + "type": "library", + "autoload": { + "psr-0": { + "Less": "lib/" + }, + "classmap": [ + "lessc.inc.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Matt Agar", + "homepage": "https://github.com/agar" + }, + { + "name": "Martin Jantošovič", + "homepage": "https://github.com/Mordred" + }, + { + "name": "Josh Schmidt", + "homepage": "https://github.com/oyejorge" + } + ], + "description": "PHP port of the Javascript version of LESS http://lesscss.org", + "homepage": "http://lessphp.gpeasy.com", + "keywords": [ + "css", + "less", + "less.js", + "lesscss", + "php", + "stylesheet" + ], + "time": "2015-12-30 05:47:36" + }, { "name": "phpmailer/phpmailer", "version": "v5.2.16", @@ -1716,16 +1778,16 @@ }, { "name": "symfony/yaml", - "version": "v3.1.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "eca51b7b65eb9be6af88ad7cc91685f1556f5c9a" + "reference": "c5a7e7fc273c758b92b85dcb9c46149ccda89623" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/eca51b7b65eb9be6af88ad7cc91685f1556f5c9a", - "reference": "eca51b7b65eb9be6af88ad7cc91685f1556f5c9a", + "url": "https://api.github.com/repos/symfony/yaml/zipball/c5a7e7fc273c758b92b85dcb9c46149ccda89623", + "reference": "c5a7e7fc273c758b92b85dcb9c46149ccda89623", "shasum": "" }, "require": { @@ -1761,7 +1823,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2016-05-26 21:46:24" + "time": "2016-06-14 11:18:07" }, { "name": "webmozart/assert", diff --git a/public_html/templates/base.html b/public_html/templates/base.html index 20e755af..a58d1ffa 100644 --- a/public_html/templates/base.html +++ b/public_html/templates/base.html @@ -6,7 +6,7 @@ {% block stylesheets %} - + {% endblock %} {% block scripts %}