mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
removed plugin custom styling for account and login
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
"bower-files": "^3.11.3",
|
||||
"browser-sync": "^2.10.0",
|
||||
"del": "^2.1.0",
|
||||
"fs": "0.0.2",
|
||||
"gulp": "^3.9.0",
|
||||
"gulp-autoprefixer": "^3.1.0",
|
||||
"gulp-concat": "^2.6.0",
|
||||
@@ -22,6 +23,7 @@
|
||||
"gulp-watch": "^4.3.5",
|
||||
"jake": "latest",
|
||||
"mocha-phantomjs": ">=2.0 <3.0",
|
||||
"path": "^0.12.7",
|
||||
"tmp": "0.0.23",
|
||||
"uglify-js": "latest",
|
||||
"wrench": "^1.5.8"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
var path = require("path");
|
||||
var fs = require("fs");
|
||||
var gutil = require("gulp-util");
|
||||
var configPaths = {
|
||||
src: 'resources/www/',
|
||||
@@ -8,6 +10,25 @@ var configPaths = {
|
||||
|
||||
exports.paths = configPaths;
|
||||
|
||||
/**
|
||||
* ensure external override config is accessible
|
||||
* @returns {boolean}
|
||||
*/
|
||||
exports.checkPath = function(userPath, log) {
|
||||
"use strict";
|
||||
try {
|
||||
fs.statSync(path.resolve(userPath) );
|
||||
if( log === true ) {
|
||||
gutil.log(gutil.colors.green('[INFO]'), 'folder "'+userPath+'" exists');
|
||||
}
|
||||
return true;
|
||||
} catch(e) {
|
||||
if( log === true ) {
|
||||
gutil.log(gutil.colors.red('[WARNING]'), 'folder "' + userPath + '" not found');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
exports.errorHandler = function(title) {
|
||||
'use strict';
|
||||
|
||||
|
||||
@@ -26,6 +26,11 @@ gulp.task('build-dependencies', ['install-bower-dependencies'], function(){
|
||||
gulp.start('build');
|
||||
gulp.start('build-css');
|
||||
});
|
||||
gulp.task('init-plugins-folder', function(){
|
||||
if( !config.checkPath('plugins', true)) {
|
||||
// something to do in plugins folder?
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
@@ -37,5 +42,8 @@ gulp.task('install-assets', function(){
|
||||
});
|
||||
|
||||
gulp.task('install', ['clean:assetsPath'], function(){
|
||||
|
||||
// ensure plugins path exists
|
||||
gulp.start('init-plugins-folder');
|
||||
gulp.start('build-dependencies');
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// @import '../../../../www/bower_components/normalize-css/normalize'; // not extension for inline import
|
||||
@import '../../_shared/styles/variables';
|
||||
@import '../../../../plugins/account.scss';
|
||||
// @import '../../../../plugins/account.scss';
|
||||
@import 'variables';
|
||||
@import '../../vendors/bootstrap/bootstrap';
|
||||
@import 'skin';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
@import 'variables';
|
||||
@import '../../vendors/bootstrap/bootstrap';
|
||||
@import '../../account/styles/skin';
|
||||
@import '../../../../plugins/login.scss';
|
||||
//@import '../../../../plugins/login.scss';
|
||||
|
||||
@import '../../../../www/bower_components/font-awesome/sass/font-awesome.scss';
|
||||
@import '../../../../www/bower_components/jquery-ui/themes/base/jquery.ui.autocomplete'; // not extension for inline import
|
||||
Reference in New Issue
Block a user