wip - refactoring frontend dependency and build tools - removed deprecated features (client interface)

This commit is contained in:
Florian BLOUET
2015-11-10 18:44:23 +01:00
parent a4081c3de8
commit 285edaf504
170 changed files with 16578 additions and 17901 deletions

View File

@@ -1,3 +1,3 @@
{
"directory" : "tmp-assets"
"directory" : "www/bower_components"
}

1
.gitignore vendored
View File

@@ -4,6 +4,7 @@
# Exclude javascript dependencies folder
/www/assets
/www/bower_components
/tmp-assets
# Exclude thumbnails folder

View File

@@ -24,10 +24,8 @@
"tinymce": "~4.0",
"jquery-galleria": "1.2.9",
"jquery.cookie": "~1.4",
"when": "~2.7.0",
"jquery.treeview": "1.4.1",
"fancytree": "~2.7",
"joyride": "https://github.com/zurb/joyride/archive/v2.0.0.zip",
"bootstrap-sass": "v2.3.2.2"
},
"devDependencies": {
@@ -40,7 +38,6 @@
"js-fixtures": "https://github.com/badunk/js-fixtures/archive/master.zip"
},
"resolutions": {
"jquery": "1.8.3",
"bootstrap-sass": "v2.3.2.2"
"jquery": "1.8.3"
}
}

View File

@@ -27,20 +27,6 @@ $groups = [
'//assets/requirejs/require.js',
'//scripts/apps/login/home/config.js'
],
'client' => [
'//assets/swfobject/swfobject.js'
, '//assets/jquery.ui/i18n/jquery-ui-i18n.js'
, '//assets/jquery.cookie/jquery.cookie.js'
, '//include/jquery.common.js'
, '//assets/json2/json2.js'
, '//include/jslibs/audio-player/audio-player-noswfobject.js'
, '//include/jslibs/jquery.form.2.49.js'
, '//skins/prod/jquery.Dialog.js'
, '//skins/client/jquery.p4client.1.0.js'
, '//include/jquery.tooltip.js'
, '//include/jquery.p4.preview.js'
, '//include/jquery.image_enhancer.js'
, '//include/jslibs/jquery.contextmenu_scroll.js'],
'admin' => [
'//assets/modernizr/modernizr.js'
, '//assets/underscore-amd/underscore.js'

View File

@@ -6,7 +6,9 @@
"bower-files": "^3.11.3",
"del": "^2.0.2",
"gulp-concat": "^2.6.0",
"gulp-concat-util": "^0.5.4",
"gulp-cssmin": "^0.1.7",
"gulp-debug": "^2.1.2",
"gulp-install": "^0.6.0",
"gulp-mocha-phantomjs": "^0.10.1",
"gulp-qunit": "^1.2.1",

278
resources/gulp/build.js Normal file
View File

@@ -0,0 +1,278 @@
var gulp = require('gulp');
var util = require('gulp-util');
var rename = require('gulp-rename');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var cssmin = require('gulp-cssmin');
var sass = require('gulp-sass');
var config = require('./config.js');
var debug = require('gulp-debug');
var fs = require('fs');
var commonGroup = [
// config.paths.dist + 'assets/bootstrap/js/bootstrap.js', // should append no conflict
config.paths.dist + 'include/jslibs/jquery.mousewheel.js',
// jquery ui date picker langs
config.paths.vendors + 'jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js',
config.paths.vendors + 'jquery-ui/ui/i18n/jquery.ui.datepicker-de.js',
config.paths.vendors + 'jquery-ui/ui/i18n/jquery.ui.datepicker-es.js',
config.paths.vendors + 'jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js',
config.paths.vendors + 'jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js',
config.paths.vendors + 'jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js',
config.paths.vendors + 'jquery.cookie/jquery.cookie.js',
config.paths.dist + 'include/jslibs/jquery.contextmenu_scroll.js',
config.paths.dist + 'include/jquery.common.js',
config.paths.dist + 'include/jquery.tooltip.js',
config.paths.dist + 'skins/prod/jquery.Dialog.js',
config.paths.vendors + 'swfobject/swfobject/swfobject.js', // @TODO: should be moved away (embed-bundle)
config.paths.dist + 'include/jslibs/flowplayer/flowplayer-3.2.13.min.js' // @TODO: should be moved away (embed-bundle)
];
var accountGroup = [
// '//include/jslibs/jquery.contextmenu_scroll.js',
//'//assets/jquery.cookie/jquery.cookie.js',
// '//include/jquery.common.js',
config.paths.vendors + 'requirejs/require.js',
config.paths.dist + 'skins/account/account.js'
];
var authenticationGroup = [
config.paths.vendors + 'requirejs/require.js',
config.paths.dist + 'scripts/apps/login/home/config.js'
];
var adminGroup = [
config.paths.vendors + 'underscore-amd/underscore.js',
config.paths.vendors + 'jquery.treeview/jquery.treeview.js',
config.paths.dist + 'include/jquery.kb-event.js',
config.paths.dist + 'skins/admin/template-dialogs.js',
// loaded via requirejs
// config.paths.vendors + 'blueimp-load-image/js/load-image.js',
// config.paths.vendors + 'jquery-file-upload/js/jquery.iframe-transport.js',
// config.paths.vendors + 'jquery-file-upload/js/jquery.fileupload.js',
config.paths.vendors + 'requirejs/require.js',
config.paths.dist + 'scripts/apps/admin/require.config.js',
config.paths.dist + 'scripts/apps/admin/main/main.js',
// /assets/requirejs/require.js,/scripts/apps/admin/require.config.js,/scripts/apps/admin/main/main.js
];
var reportGroup = [
config.paths.dist + 'include/jslibs/jquery.print.js',
config.paths.dist + 'include/jslibs/jquery.cluetip.js',
config.paths.dist + 'include/jquery.nicoslider.js',
config.paths.dist + 'skins/report/report.js'
];
var thesaurusGroup = [
config.paths.dist + 'skins/thesaurus/win.js',
config.paths.dist + 'skins/thesaurus/xmlhttp.js',
config.paths.dist + 'skins/thesaurus/thesaurus.js',
config.paths.dist + 'skins/thesaurus/sprintf.js'
];
var lightboxGroup = [
config.paths.dist + 'skins/lightbox/jquery.lightbox.js'
];
var lightboxIE6Group = [
config.paths.dist + 'skins/lightbox/jquery.lightbox.ie6.js'
];
var uploadFlashGroup = [
config.paths.dist + 'include/jslibs/SWFUpload/swfupload.js',
config.paths.dist + 'include/jslibs/SWFUpload/plugins/swfupload.queue.js'
];
var prodGroup = [
config.paths.vendors + 'underscore-amd/underscore.js',
config.paths.dist + 'include/jslibs/colorpicker/js/colorpicker.js',
config.paths.dist + 'include/jslibs/jquery.lazyload/jquery.lazyload.1.8.1.js',
config.paths.vendors + 'humane-js/humane.js', // @TODO > extra files
config.paths.vendors + 'blueimp-load-image/js/load-image.js', // @TODO > extra files
config.paths.vendors + 'jquery-file-upload/js/jquery.iframe-transport.js',
config.paths.vendors + 'jquery-file-upload/js/jquery.fileupload.js',
config.paths.dist + 'include/jslibs/jquery.form.2.49.js',
config.paths.dist + 'include/jslibs/jquery.vertical.buttonset.js',
config.paths.dist + 'include/js/jquery.Selection.js',
config.paths.dist + 'include/js/jquery.Edit.js',
config.paths.dist + 'include/js/jquery.lists.js',
config.paths.dist + 'skins/prod/jquery.Prod.js',
config.paths.dist + 'skins/prod/jquery.Feedback.js',
config.paths.dist + 'skins/prod/jquery.Results.js',
config.paths.dist + 'skins/prod/jquery.main-prod.js',
config.paths.dist + 'skins/prod/jquery.WorkZone.js',
config.paths.dist + 'skins/prod/jquery.Alerts.js',
config.paths.dist + 'skins/prod/jquery.Upload.js',
config.paths.dist + 'include/jslibs/pixastic.custom.js',
config.paths.dist + 'skins/prod/ThumbExtractor.js',
config.paths.dist + 'skins/prod/publicator.js',
config.paths.dist + 'include/jslibs/jquery.sprintf.1.0.3.js',
config.paths.dist + 'include/jquery.p4.preview.js',
config.paths.dist + 'skins/prod/jquery.edit.js',
config.paths.dist + 'include/jslibs/jquery.color.animation.js',
config.paths.dist + 'include/jquery.image_enhancer.js',
config.paths.vendors + 'jquery.treeview/jquery.treeview.js',
config.paths.vendors + 'jquery.treeview/jquery.treeview.async.js',
config.paths.vendors + 'fancytree/dist/jquery.fancytree-all.min.js'
];
var permaviewGroup = [
config.paths.dist + 'include/jslibs/jquery.mousewheel.js',
config.paths.dist + 'include/jquery.image_enhancer.js',
config.paths.vendors + 'swfobject/swfobject/swfobject.js', // @TODO: should be moved away (embed-bundle)
config.paths.dist + 'include/jslibs/flowplayer/flowplayer-3.2.13.min.js' // @TODO: should be moved away (embed-bundle)
];
var setupGroup = [
config.paths.vendors + 'jquery.cookie/jquery.cookie.js',
config.paths.dist + 'include/jslibs/jquery-validation/jquery.validate.js',
config.paths.dist + 'include/jslibs/jquery-validate.password/jquery.validate.password.js',
config.paths.dist + 'include/path_files_tests.jquery.js'
]
var buildJsGroup = function(srcGroup, name, dest){
if( dest === undefined ) {
dest = name;
}
// ensure all required files exists:
srcGroup.forEach(fs.statSync); //will trow an error if file not found
console.log('building group:', name, ' > ', config.paths.build + dest)
return gulp.src(srcGroup)
.pipe(concat(name + '.js', {newLine: ';'}))
.pipe(gulp.dest( config.paths.build + dest))
.pipe(uglify().on('error', config.errorHandler('UGLIFY ERROR'))) //util.log))
.pipe(rename({ extname: '.min.js' }))
.pipe(gulp.dest( config.paths.build + dest))
};
var buildCssGroup = function(srcGroup, name, dest){
if( dest === undefined ) {
dest = name;
}
// ensure all required files exists:
srcGroup.forEach(fs.statSync); //will trow an error if file not found
console.log('building group:', name, ' > ', config.paths.build + dest)
return gulp.src(srcGroup)
.pipe(sass().on('error', sass.logError))
.pipe(rename(name + '.css'))
.pipe(gulp.dest(config.paths.build + dest))
.pipe(cssmin())
.pipe(rename({suffix: '.min'}))
.pipe(gulp.dest(config.paths.build + dest));
};
gulp.task('build', function(){
//config.paths.dist + 'assets/json2/json2.js', jquery jquery ui
buildJsGroup([
config.paths.vendors + 'jquery/jquery.js'
], 'jquery', 'vendors/jquery');
buildJsGroup([
config.paths.vendors + 'jquery-ui/ui/jquery-ui.js'
], 'jquery-ui', 'vendors/jquery-ui');
buildJsGroup([
config.paths.vendors + 'json2/json2.js'
], 'json2', 'vendors/json2');
buildJsGroup([
config.paths.vendors + 'modernizr/modernizr.js'
], 'modernizr', 'vendors/modernizr');
// build libraries loaded with require js:
// LOGIN
// login/home/config.js
buildJsGroup([
config.paths.vendors + 'backbone-amd/backbone.js'
], 'backbone', 'vendors/backbone');
buildJsGroup([
config.paths.vendors + 'underscore-amd/underscore.js'
], 'underscore', 'vendors/underscore');
buildJsGroup([
config.paths.vendors + 'i18next/release/i18next.amd-1.6.3.js'
], 'i18next', 'vendors/i18next');
buildJsGroup([
config.paths.vendors + 'bootstrap-multiselect/dist/js/bootstrap-multiselect.js'
], 'bootstrap-multiselect', 'vendors/bootstrap-multiselect');
buildJsGroup([
config.paths.vendors + 'geonames-server-jquery-plugin/jquery.geonames.js'
], 'jquery.geonames', 'vendors/jquery.geonames');
// galleria.html.twig
buildJsGroup([
config.paths.vendors + 'jquery-galleria/src/galleria.js'
], 'galleria', 'vendors/jquery-galleria');
buildJsGroup([
config.paths.vendors + 'jquery-galleria/src/themes/classic/galleria.classic.js'
], 'galleria.classic', 'vendors/jquery-galleria');
// copy css too:
buildCssGroup([
config.paths.vendors + 'jquery-galleria/src/themes/classic/galleria.classic.css'
], 'galleria.classic', 'vendors/jquery-galleria');
// galleria.classic.css
// ADMIN
// scripts/apps/admin/require.config.js
buildJsGroup([
config.paths.vendors + 'jquery-file-upload/js/vendor/jquery.ui.widget.js'
], 'jquery.ui.widget', 'vendors/jquery-file-upload');
buildJsGroup([
config.paths.vendors + 'jquery.cookie/jquery.cookie.js'
], 'jquery.cookie', 'vendors/jquery.cookie');
buildJsGroup([
config.paths.vendors + 'jquery.treeview/jquery.treeview.js'
], 'jquery.treeview', 'vendors/jquery.treeview');
buildJsGroup([
config.paths.vendors + 'blueimp-load-image/js/load-image.js'
], 'load-image', 'vendors/blueimp-load-image');
buildJsGroup([
config.paths.vendors + 'jquery-file-upload/js/jquery.iframe-transport.js'
], 'jquery.iframe-transport', 'vendors/jquery-file-upload');
buildJsGroup([
config.paths.vendors + 'jquery-file-upload/js/jquery.fileupload.js'
], 'jquery.fileupload', 'vendors/jquery-file-upload');
// copy tinyMce:
gulp.src([config.paths.vendors + 'tinymce/**'])
.pipe(gulp.dest(config.paths.build + 'vendors/tinymce'));
buildJsGroup([
config.paths.vendors + 'zxcvbn/dist/zxcvbn.js'
], 'zxcvbn', 'vendors/zxcvbn');
buildJsGroup([
config.paths.vendors + 'requirejs/require.js'
], 'require', 'vendors/requirejs');
//gulp.start('build-joyride');
buildJsGroup(commonGroup, 'common', 'common/js');
buildJsGroup(prodGroup, 'prod', 'prod/js');
buildJsGroup(thesaurusGroup, 'thesaurus', 'thesaurus/js');
buildJsGroup(uploadFlashGroup, 'uploadFlash', 'upload/js');
buildJsGroup(lightboxGroup, 'lightbox', 'lightbox/js');
buildJsGroup(lightboxIE6Group, 'lightboxIe6', 'lightbox/js');
buildJsGroup(adminGroup, 'admin', 'admin/js');
buildJsGroup(reportGroup, 'report', 'report/js');
buildJsGroup(accountGroup, 'account', 'account/js');
buildJsGroup(permaviewGroup, 'permaview', 'permaview/js');
buildJsGroup(setupGroup, 'setup', 'setup/js');
buildJsGroup(authenticationGroup, 'authentication', 'authentication/js');
// build mobile group:
buildJsGroup([
config.paths.vendors + 'jquery-mobile-bower/js/jquery.mobile-1.3.2.js'
], 'jquery-mobile', 'vendors/jquery-mobile');
buildCssGroup([
config.paths.vendors + 'jquery-mobile-bower/css/jquery.mobile-1.3.2.css'
], 'jquery-mobile', 'vendors/jquery-mobile');
// uploadflash
});

View File

@@ -1,7 +1,10 @@
var gutil = require("gulp-util");
var configPaths = {
src: 'resources/www/',
vendors: 'tmp-assets/',
dist: 'www/assets/'
distVendors: 'www/assets/', //@deprecated
build: 'www/assets/',
dist: 'www/'
};
exports.paths = configPaths;

View File

@@ -14,169 +14,168 @@ var sass = require('gulp-sass');
var del = require('del');
var config = require('./config.js');
gulp.task('clean:vendors', function(done){
return del([config.paths.dist + '/**/*'], done);
});
var lib = require('bower-files')({
overrides: {
'backbone-amd': {
main: ['./backbone.js', 'LICENSE']
},
'font-awesome': {
main: ['css/*', 'font/*']
},
'humane-js': {
main: ['humane.js', 'themes/libnotify.css']
},
'jquery': {
main: 'jquery.js'
},
'jquery.treeview': {
main: ['images/*',
'jquery.treeview*']
},
'jquery-mobile-bower': {
main: ['css/jquery.mobile-1.3.2.css', 'js/jquery.mobile-1.3.2.js']
},
'json2': {
main: ['json2.js']
},
'modernizr': {
main: 'modernizr.js'
},
'tinymce': {
main: ['plugins/**',
'skins/**',
'themes/**',
'*.js',
'changelog.txt',
'license.txt']
},
'underscore-amd': {
main:
'underscore.js'
},
zxcvbn: {
main: [/* ignore, will be copied manually for legacy code compatibility */]
},
'jquery-galleria': {
main: [/* ignore, will be copied manually for legacy code compatibility */]
},
'bootstrap-multiselect': {
main: [/* ignore, will be copied manually for legacy code compatibility */]
},
'fancytree': {
main: [/* ignore, will be copied manually for legacy code compatibility */]
},
'jquery-ui': {
main: [/* ignore, will be copied manually for legacy code compatibility */]
},
'swfobject': {
main: [/* ignore, will be copied manually for legacy code compatibility */]
},
'blueimp-load-image': {
main: [/* ignore, will be copied manually for legacy code compatibility */]
},
'jquery-file-upload': {
main: [/* ignore, will be copied manually for legacy code compatibility */]
},
'i18next': {
main: [/* ignore, will be copied manually for legacy code compatibility */]
}
}
});
gulp.task('copy-dev-vendors', function(){
gulp.src(config.paths.vendors + 'chai/chai.js')
.pipe(gulp.dest( config.paths.dist + 'chai/'));
gulp.src(config.paths.vendors + 'js-fixtures/fixtures.js')
.pipe(gulp.dest( config.paths.dist + 'js-fixtures/'));
gulp.src([config.paths.vendors + 'mocha/mocha.js', config.paths.vendors + 'mocha/mocha.css'])
.pipe(gulp.dest( config.paths.dist + 'mocha/'));
gulp.src(config.paths.vendors + 'sinon-chai/lib/sinon-chai.js')
.pipe(gulp.dest( config.paths.dist + 'sinon-chai/'));
gulp.src(config.paths.vendors + 'sinonjs/sinon.js')
.pipe(gulp.dest( config.paths.dist + 'sinonjs/'));
gulp.src(config.paths.vendors + 'squire/src/Squire.js')
.pipe(gulp.dest( config.paths.dist + 'squire/'));
gulp.src([config.paths.vendors + 'qunit/qunit/qunit.js', config.paths.vendors + 'qunit/qunit/qunit.css'])
.pipe(gulp.dest( config.paths.dist + 'qunit/'));
gulp.src(config.paths.vendors + 'qunit/addons/phantomjs/*')
.pipe(gulp.dest( config.paths.dist + 'qunit/addons/phantomjs'));
});
gulp.task('copy-vendors-via-bower', function () {
var vendorConfig = {
'jquery-mobile-bower/css': {
dirname: 'jquery-mobile'
},
'jquery-mobile-bower/js': {
dirname: 'jquery-mobile'
}
};
return gulp.src(lib.ext().files, { base: config.paths.vendors })
.pipe(rename(function (path) {
if( vendorConfig[path.dirname] !== undefined ) {
// console.log('reading path', path)
var cuConf = vendorConfig[path.dirname];
path.dirname = cuConf.dirname;
}
return path;
}))
.pipe(gulp.dest(config.paths.dist));
});
// copy additionnal assets from vendors to match old legacy assets:
gulp.task('copy-vendors', ['copy-vendors-via-bower'],function () {
gulp.src([config.paths.vendors + 'fancytree/dist/skin-win8/**/*']) //, config.paths.vendors + 'fancytree/dist/jquery.fancytree-all.min
.pipe(gulp.dest( config.paths.dist + 'fancytree/dist/skin-win8'))
gulp.src(config.paths.vendors + 'jquery-ui/ui/jquery-ui.js')
.pipe(gulp.dest( config.paths.dist + 'jquery.ui/'));
gulp.src(config.paths.vendors + 'jquery-ui/themes/base/*.css')
.pipe(gulp.dest( config.paths.dist + 'jquery.ui/'));
gulp.src(config.paths.vendors + 'jquery-ui/ui/i18n/*')
.pipe(gulp.dest( config.paths.dist + 'jquery.ui/i18n'));
gulp.src(config.paths.vendors + 'jquery-ui/themes/base/images/*')
.pipe(gulp.dest( config.paths.dist + 'jquery.ui/images'));
gulp.src(config.paths.vendors + 'swfobject/swfobject/swfobject.js')
.pipe(gulp.dest( config.paths.dist + 'swfobject'));
gulp.src([config.paths.vendors + 'jquery-file-upload/js/*', config.paths.vendors + 'jquery-file-upload/js/vendor/*', config.paths.vendors + 'jquery-file-upload/css/*'])
.pipe(gulp.dest( config.paths.dist + 'jquery-file-upload'));
gulp.src(config.paths.vendors + 'blueimp-load-image/js/*.js')
.pipe(gulp.dest( config.paths.dist + 'blueimp-load-image'));
gulp.src(config.paths.vendors + 'i18next/release/i18next.amd-1.6.3.js')
.pipe(gulp.dest( config.paths.dist + 'i18next'));
gulp.src(config.paths.vendors + 'bootstrap-multiselect/dist/**/*')
.pipe(gulp.dest( config.paths.dist + 'bootstrap-multiselect'));
gulp.src([config.paths.vendors + 'jquery-galleria/src/galleria.js', config.paths.vendors + 'jquery-galleria/src/themes/classic/*'])
.pipe(gulp.dest( config.paths.dist + 'jquery-galleria'));
gulp.src(config.paths.vendors + 'zxcvbn/dist/zxcvbn.js')
.pipe(gulp.dest( config.paths.dist + 'zxcvbn'));
gulp.start('copy-dev-vendors');
});
// gulp.task('clean:vendors', function(done){
// return del([config.paths.distVendors + '/**/*'], done);
// });
//
//
// var lib = require('bower-files')({
// overrides: {
// 'backbone-amd': {
// main: ['./backbone.js', 'LICENSE']
// },
// 'font-awesome': {
// main: ['css/*', 'font/*']
// },
// 'humane-js': {
// main: ['humane.js', 'themes/libnotify.css']
// },
// 'jquery': {
// main: 'jquery.js'
// },
// 'jquery.treeview': {
// main: ['images/*',
// 'jquery.treeview*']
// },
// 'jquery-mobile-bower': {
// main: ['css/jquery.mobile-1.3.2.css', 'js/jquery.mobile-1.3.2.js']
// },
// 'json2': {
// main: [/* ignore, will be copied manually in groups */]
// },
// 'modernizr': {
// main: [/* ignore, will be copied manually in groups */]
// },
// 'tinymce': {
// main: ['plugins/**',
// 'skins/**',
// 'themes/**',
// '*.js',
// 'changelog.txt',
// 'license.txt']
// },
// 'underscore-amd': {
// main: [/* ignore, will be copied manually in groups */]
// },
// zxcvbn: {
// main: [/* ignore, will be copied manually for legacy code compatibility */]
// },
// 'jquery-galleria': {
// main: [/* ignore, will be copied manually for legacy code compatibility */]
// },
// 'bootstrap-multiselect': {
// main: [/* ignore, will be copied manually for legacy code compatibility */]
// },
// 'fancytree': {
// main: [/* ignore, will be copied manually for legacy code compatibility */]
// },
// 'jquery-ui': {
// main: [/* ignore, will be copied manually for legacy code compatibility */]
// },
// 'swfobject': {
// main: [/* ignore, will be copied manually for legacy code compatibility */]
// },
// 'blueimp-load-image': {
// main: [/* ignore, will be copied manually for legacy code compatibility */]
// },
// 'jquery-file-upload': {
// main: [/* ignore, will be copied manually for legacy code compatibility */]
// },
// 'i18next': {
// main: [/* ignore, will be copied manually for legacy code compatibility */]
// }
// }
// });
//
// gulp.task('copy-dev-vendors', function(){
// gulp.src(config.paths.vendors + 'chai/chai.js')
// .pipe(gulp.dest( config.paths.distVendors + 'chai/'));
//
// gulp.src(config.paths.vendors + 'js-fixtures/fixtures.js')
// .pipe(gulp.dest( config.paths.distVendors + 'js-fixtures/'));
//
// gulp.src([config.paths.vendors + 'mocha/mocha.js', config.paths.vendors + 'mocha/mocha.css'])
// .pipe(gulp.dest( config.paths.distVendors + 'mocha/'));
//
// gulp.src(config.paths.vendors + 'sinon-chai/lib/sinon-chai.js')
// .pipe(gulp.dest( config.paths.distVendors + 'sinon-chai/'));
//
// gulp.src(config.paths.vendors + 'sinonjs/sinon.js')
// .pipe(gulp.dest( config.paths.distVendors + 'sinonjs/'));
//
// gulp.src(config.paths.vendors + 'squire/src/Squire.js')
// .pipe(gulp.dest( config.paths.distVendors + 'squire/'));
//
// gulp.src([config.paths.vendors + 'qunit/qunit/qunit.js', config.paths.vendors + 'qunit/qunit/qunit.css'])
// .pipe(gulp.dest( config.paths.distVendors + 'qunit/'));
//
// gulp.src(config.paths.vendors + 'qunit/addons/phantomjs/*')
// .pipe(gulp.dest( config.paths.distVendors + 'qunit/addons/phantomjs'));
// });
//
// gulp.task('copy-vendors-via-bower', function () {
// var vendorConfig = {
// 'jquery-mobile-bower/css': {
// dirname: 'jquery-mobile'
// },
// 'jquery-mobile-bower/js': {
// dirname: 'jquery-mobile'
// }
// };
//
// return gulp.src(lib.ext().files, { base: config.paths.vendors })
// .pipe(rename(function (path) {
// if( vendorConfig[path.dirname] !== undefined ) {
// // console.log('reading path', path)
// var cuConf = vendorConfig[path.dirname];
// path.dirname = cuConf.dirname;
// }
// return path;
// }))
// .pipe(gulp.dest(config.paths.distVendors));
// });
//
// // copy additionnal assets from vendors to match old legacy assets:
// gulp.task('copy-vendors', ['copy-vendors-via-bower'],function () {
// gulp.src([config.paths.vendors + 'fancytree/dist/skin-win8/**/*']) //, config.paths.vendors + 'fancytree/dist/jquery.fancytree-all.min
// .pipe(gulp.dest( config.paths.distVendors + 'fancytree/dist/skin-win8'))
//
// gulp.src(config.paths.vendors + 'jquery-ui/ui/jquery-ui.js')
// .pipe(gulp.dest( config.paths.distVendors + 'jquery.ui/'));
//
// gulp.src(config.paths.vendors + 'jquery-ui/themes/base/*.css')
// .pipe(gulp.dest( config.paths.distVendors + 'jquery.ui/'));
//
// gulp.src(config.paths.vendors + 'jquery-ui/ui/i18n/*')
// .pipe(gulp.dest( config.paths.distVendors + 'jquery.ui/i18n'));
//
// gulp.src(config.paths.vendors + 'jquery-ui/themes/base/images/*')
// .pipe(gulp.dest( config.paths.distVendors + 'jquery.ui/images'));
//
// gulp.src(config.paths.vendors + 'swfobject/swfobject/swfobject.js')
// .pipe(gulp.dest( config.paths.distVendors + 'swfobject'));
//
//
// gulp.src([config.paths.vendors + 'jquery-file-upload/js/*', config.paths.vendors + 'jquery-file-upload/js/vendor/*', config.paths.vendors + 'jquery-file-upload/css/*'])
// .pipe(gulp.dest( config.paths.distVendors + 'jquery-file-upload'));
//
// gulp.src(config.paths.vendors + 'blueimp-load-image/js/*.js')
// .pipe(gulp.dest( config.paths.distVendors + 'blueimp-load-image'));
//
// gulp.src(config.paths.vendors + 'i18next/release/i18next.amd-1.6.3.js')
// .pipe(gulp.dest( config.paths.distVendors + 'i18next'));
//
// gulp.src(config.paths.vendors + 'bootstrap-multiselect/dist/**/*')
// .pipe(gulp.dest( config.paths.distVendors + 'bootstrap-multiselect'));
//
// gulp.src([config.paths.vendors + 'jquery-galleria/src/galleria.js', config.paths.vendors + 'jquery-galleria/src/themes/classic/*'])
// .pipe(gulp.dest( config.paths.distVendors + 'jquery-galleria'));
//
// gulp.src(config.paths.vendors + 'zxcvbn/dist/zxcvbn.js')
// .pipe(gulp.dest( config.paths.distVendors + 'zxcvbn'));
//
// gulp.start('copy-dev-vendors');
// });
gulp.task('bootstrap-js', function () {
var btSource = [
@@ -196,42 +195,53 @@ gulp.task('bootstrap-js', function () {
gulp.src(btSource)
.pipe(concat('bootstrap.js'))
.pipe(gulp.dest( config.paths.dist + 'bootstrap/js'))
.pipe(gulp.dest( config.paths.build + 'vendors/bootstrap/js'))
.pipe(uglify())
.pipe(rename({ extname: '.min.js' }))
.pipe(gulp.dest( config.paths.dist + 'bootstrap/js'))
.pipe(gulp.dest( config.paths.build + 'vendors/bootstrap/js'))
});
gulp.task('bootstrap-assets', function () {
gulp.src([config.paths.vendors + 'bootstrap-sass/vendor/assets/images/**/*'])
.pipe(gulp.dest( config.paths.dist + 'bootstrap/img'));
.pipe(gulp.dest( config.paths.build + 'vendors/bootstrap/img'));
});
gulp.task('build-bootstrap', ['bootstrap-assets', 'bootstrap-js'], function () {
gulp.src(config.paths.vendors + 'bootstrap-sass/vendor/assets/stylesheets/bootstrap.scss')
.pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError))
.pipe(gulp.dest( config.paths.dist + 'bootstrap/css/'))
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest( config.paths.build + 'vendors/bootstrap/css/'))
.pipe(cssmin())
.pipe(rename({ suffix: '.min' }))
.pipe(gulp.dest( config.paths.dist + 'bootstrap/css'));
.pipe(gulp.dest( config.paths.build + 'vendors/bootstrap/css'));
gulp.src(config.paths.vendors + 'bootstrap-sass/vendor/assets/stylesheets/bootstrap-responsive.scss')
.pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError))
.pipe(gulp.dest( config.paths.dist + 'bootstrap/css/'))
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest( config.paths.build + 'vendors/bootstrap/css/'))
.pipe(cssmin())
.pipe(rename({ suffix: '.min' }))
.pipe(gulp.dest( config.paths.dist + 'bootstrap/css'));
.pipe(gulp.dest( config.paths.build + 'vendors/bootstrap/css'));
});
gulp.task('install-dependencies', function(done){
gulp.task('install-bower-dependencies', function(){
return gulp.src(['./bower.json'])
.pipe(install());
});
gulp.task('copy-dependencies', ['install-dependencies'], function(){
gulp.task('install-dependencies', ['install-bower-dependencies'], function(done){
gulp.start('copy-vendors');
gulp.start('build-bootstrap');
});
gulp.task('deploy-dependencies', ['install-dependencies'], function(){
//gulp.start('copy-vendors');
//gulp.start('build-bootstrap');
gulp.start('build');
});
gulp.task('install-assets', ['clean:vendors'], function(){
gulp.start('copy-dependencies');
gulp.start('deploy-dependencies');
});
gulp.task('install', function(){
gulp.start('build-bootstrap');
gulp.start('build-css');
gulp.start('build');
});

51
resources/gulp/styles.js Normal file
View File

@@ -0,0 +1,51 @@
var gulp = require('gulp');
var util = require('gulp-util');
var rename = require('gulp-rename');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var cssmin = require('gulp-cssmin');
var config = require('./config.js');
var debug = require('gulp-debug');
var sass = require('gulp-sass');
var fs = require('fs');
var buildCssGroup = function(srcGroup, name, dest){
if( dest === undefined ) {
dest = name;
}
// ensure all required files exists:
srcGroup.forEach(fs.statSync); //will trow an error if file not found
console.log('building group:', name, ' > ', config.paths.build + dest)
return gulp.src(srcGroup)
.pipe(sass().on('error', sass.logError))
.pipe(rename(name + '.css'))
.pipe(gulp.dest(config.paths.build + dest))
.pipe(cssmin())
.pipe(rename({suffix: '.min'}))
.pipe(gulp.dest(config.paths.build + dest));
};
gulp.task('build-css', function () {
// copy fontawesome fonts and alt stylesheet:
gulp.src([config.paths.vendors + 'font-awesome/font/*'])
.pipe(gulp.dest( config.paths.build + 'common/font'));
gulp.src([config.paths.vendors + 'font-awesome/css/font-awesome-ie7.min.css'])
.pipe(gulp.dest( config.paths.distVendors + 'common/css'));
buildCssGroup([config.paths.src + 'common/main.scss'], 'common', 'common/css/');
buildCssGroup([config.paths.src + 'admin/main.scss'], 'admin', 'admin/css/');
buildCssGroup([config.paths.src + 'thesaurus/main.scss'], 'thesaurus', 'thesaurus/css/');
buildCssGroup([config.paths.src + 'prod/main.scss'], 'prod', 'prod/css/');
buildCssGroup([config.paths.src + 'prod/skin-000000.scss'], 'skin-000000', 'prod/css/');
buildCssGroup([config.paths.src + 'prod/skin-959595.scss'], 'skin-959595', 'prod/css/');
buildCssGroup([config.paths.src + 'setup/main.scss'], 'setup', 'setup/css/');
buildCssGroup([config.paths.src + 'authentication/main.scss'], 'authentication', 'authentication/css/');
buildCssGroup([config.paths.src + 'account/main.scss'], 'account', 'account/css/');
buildCssGroup([config.paths.src + 'oauth/main.scss'], 'oauth', 'oauth/css/');
buildCssGroup([config.paths.src + 'vendors/jquery-ui/dark-hive.scss'], 'dark-hive', 'vendors/jquery-ui/css/');
buildCssGroup([config.paths.src + 'vendors/jquery-ui/ui-lightness.scss'], 'ui-lightness', 'vendors/jquery-ui/css/');
});

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,346 @@
// Variables
// --------------------------------------------------
@mixin glow($glow) {
box-shadow: $glow;
-webkit-box-shadow: $glow;
-moz-box-shadow: $glow;
}
@mixin gradient ($colorButton, $multiplier){
$colorHsl: lightness($colorButton) * $multiplier;
background: -moz-linear-gradient($colorButton, hsl(hue($colorButton), saturation($colorButton), $colorHsl)); /* FF 3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, $colorButton), color-stop(100%, hsl(hue($colorButton), saturation($colorButton), $colorHsl))); /*Safari 4+, Chrome 2+*/
background: -webkit-linear-gradient($colorButton, hsl(hue($colorButton), saturation($colorButton), $colorHsl)); /* Safari 5.1+, Chrome 10+ */
background: -o-linear-gradient($colorButton, hsl(hue($colorButton), saturation($colorButton), $colorHsl)); /* Opera 11.10 */
/* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#ffffff'); IE6 & IE7
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#ffffff')"; IE8+ */
background: linear-gradient($colorButton, hsl(hue($colorButton), saturation($colorButton), $colorHsl)); /* the standard */
}
// Global values
// --------------------------------------------------
// Grays
// -------------------------
$black: #000;
$grayDarker: #222;
$grayDark: #333;
$gray: #555;
$grayLight: #999;
$grayLighter: #eee;
$white: #fff;
// Accent colors
// -------------------------
$blue: #049cdb;
$blueDark: #0064cd;
$green: #46a546;
$red: #9d261d;
$yellow: #ffc40d;
$orange: #f89406;
$pink: #c3325f;
$purple: #7a43b6;
// Own variables
// ----------------------------
$inputOutsideBorder: #4c4c4c;
$colorError: #af3030;
$colorSuccess: #108946;
$colorFacebook: #3b5a97;
$colorGooglePlus: #ba2828;
$colorViadeo: #242424;
$colorTwitter: #2fa3dc;
$colorLinkedin: #025b8e;
$colorGithub: #908c8b;
$backgroundSideBar: #1a1a1a;
$background: #141414;
$defaultFontFamily: 'tahoma', lucida grande,verdana,arial,sans-serif;
$sideBarGlow: 0 0 15px rgba(0, 0, 0, 1);
$dropDownLanguageGlow: 0 0 15px rgba(0, 0, 0, 1);
$sideBarBlockBorderColorBottom: $black;
$sideBarBlockBorderColorTop: #232222;
$identityPhraseanetBackgroundColor: #f2f2f2;
$identityPhraseanetColor: #323232;
$identityPhraseanetIconColor: #b3b3b3;
$languageCaretColor: $white;
$inputIEBackground: #6D6D6D;
// Scaffolding
// -------------------------
$bodyBackground: $white;
$textColor: $white;
// Links
// -------------------------
$linkColor: #fff;
$linkColorHover: darken($linkColor, 15%);
$footerLinkColor: $linkColor;
$footerLinkColorHover: $linkColorHover;
// Typography
// -------------------------
$sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
$serifFontFamily: Georgia, "Times New Roman", Times, serif;
$monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace;
$baseFontSize: 14px;
$baseFontFamily: $defaultFontFamily;
$baseLineHeight: 20px;
$altFontFamily: $serifFontFamily;
$headingsFontFamily: inherit; // empty to use BS default, $baseFontFamily
$headingsFontWeight: bold; // instead of browser default, bold
$headingsColor: inherit; // empty to use BS default, $textColor
// Component sizing
// -------------------------
// Based on 14px font-size and 20px line-height
$fontSizeLarge: $baseFontSize * 1.25; // ~18px
$fontSizeSmall: $baseFontSize * 0.85; // ~12px
$fontSizeMini: $baseFontSize * 0.75; // ~11px
$paddingLarge: 11px 19px; // 44px
$paddingSmall: 2px 10px; // 26px
$paddingMini: 0 6px; // 22px
$baseBorderRadius: 4px;
$borderRadiusLarge: 6px;
$borderRadiusSmall: 3px;
// Tables
// -------------------------
$tableBackground: transparent; // overall background-color
$tableBackgroundAccent: #f9f9f9; // for striping
$tableBackgroundHover: #f5f5f5; // for hover
$tableBorder: #ddd; // table and cell border
// Buttons
// -------------------------
$btnBackground: $white;
$btnBackgroundHighlight: darken($white, 10%);
$btnBorder: #bbb;
$btnPrimaryBackground: $linkColor;
$btnPrimaryBackgroundHighlight: spin($btnPrimaryBackground, 20%);
$btnInfoBackground: #3d8fa8;
$btnInfoBackgroundHighlight: #0d4461;
$btnSuccessBackground: #2fac74;
$btnSuccessBackgroundHighlight: #118749;
$btnWarningBackground: lighten($orange, 15%);
$btnWarningBackgroundHighlight: $orange;
$btnDangerBackground: #ee5f5b;
$btnDangerBackgroundHighlight: #bd362f;
$btnInverseBackground: #444;
$btnInverseBackgroundHighlight: $grayDarker;
// Forms
// -------------------------
$inputBackground: $black;
$inputBorder: none;
$inputBorderRadius: 0px;
$inputDisabledBackground: $grayLighter;
$formActionsBackground: #f5f5f5;
$inputHeight: $baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
// Dropdowns
// -------------------------
$dropdownBackground: $backgroundSideBar;
$dropdownBorder: rgba(0,0,0,.2);
$dropdownDividerTop: #e5e5e5;
$dropdownDividerBottom: $white;
$dropdownLinkColor: $white;
$dropdownLinkColorHover: $white;
$dropdownLinkColorActive: $white;
$dropdownLinkBackgroundActive: lighten($backgroundSideBar, 10%);
$dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive;
// COMPONENT VARIABLES
// --------------------------------------------------
// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
$zindexDropdown: 1000;
$zindexPopover: 1010;
$zindexTooltip: 1030;
$zindexFixedNavbar: 1030;
$zindexModalBackdrop: 1040;
$zindexModal: 1050;
// Sprite icons path
// -------------------------
$iconSpritePath: "/skins/build/bootstrap/img/glyphicons-halflings.png";
$iconWhiteSpritePath: "/skins/build/bootstrap/img/glyphicons-halflings-white.png";
// Input placeholder text color
// -------------------------
$placeholderText: $grayLight;
// Hr border color
// -------------------------
$hrBorder: $grayLighter;
// Horizontal forms , lists
// -------------------------
$horizontalComponentOffset: 180px;
// Wells
// -------------------------
$wellBackground: #f5f5f5;
// Navbar
// -------------------------
$navbarCollapseWidth: 979px;
$navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
$navbarHeight: 40px;
$navbarBackgroundHighlight: #ffffff;
$navbarBackground: darken($navbarBackgroundHighlight, 5%);
$navbarBorder: darken($navbarBackground, 12%);
$navbarText: #777;
$navbarLinkColor: #777;
$navbarLinkColorHover: $grayDark;
$navbarLinkColorActive: $gray;
$navbarLinkBackgroundHover: transparent;
$navbarLinkBackgroundActive: darken($navbarBackground, 5%);
$navbarBrandColor: $navbarLinkColor;
// Inverted navbar
$navbarInverseBackground: #111111;
$navbarInverseBackgroundHighlight: #222222;
$navbarInverseBorder: #252525;
$navbarInverseText: $grayLight;
$navbarInverseLinkColor: $grayLight;
$navbarInverseLinkColorHover: $white;
$navbarInverseLinkColorActive: $navbarInverseLinkColorHover;
$navbarInverseLinkBackgroundHover: transparent;
$navbarInverseLinkBackgroundActive: $navbarInverseBackground;
$navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%);
$navbarInverseSearchBackgroundFocus: $white;
$navbarInverseSearchBorder: $navbarInverseBackground;
$navbarInverseSearchPlaceholderColor: #ccc;
$navbarInverseBrandColor: $navbarInverseLinkColor;
// Pagination
// -------------------------
$paginationBackground: #fff;
$paginationBorder: #ddd;
$paginationActiveBackground: #f5f5f5;
// Hero unit
// -------------------------
$heroUnitBackground: $grayLighter;
$heroUnitHeadingColor: inherit;
$heroUnitLeadColor: inherit;
// Form states and alerts
// -------------------------
$warningText: $white;
$warningBackground: $grayDark;
$warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
$errorText: $white;
$errorBackground: #c9322b;
$errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
$successText: $white;
$successBackground: #1f914f;
$successBorder: darken(adjust-hue($successBackground, -10), 5%);
$infoText: $white;
$infoBackground: #4889af;
$infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
// Tooltips and popovers
// -------------------------
$tooltipColor: #fff;
$tooltipBackground: #000;
$tooltipArrowWidth: 5px;
$tooltipArrowColor: $tooltipBackground;
$popoverBackground: #fff;
$popoverArrowWidth: 10px;
$popoverArrowColor: #fff;
$popoverTitleBackground: darken($popoverBackground, 3%);
// Special enhancement for popovers
$popoverArrowOuterWidth: $popoverArrowWidth + 1;
$popoverArrowOuterColor: rgba(0,0,0,.25);
// GRID
// --------------------------------------------------
// Default 940px grid
// -------------------------
$gridColumns: 12;
$gridColumnWidth: 60px;
$gridGutterWidth: 20px;
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
// 1200px min
$gridColumnWidth1200: 70px;
$gridGutterWidth1200: 30px;
$gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1));
// 768px-979px
$gridColumnWidth768: 42px;
$gridGutterWidth768: 20px;
$gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1));
// Fluid grid
// -------------------------
$fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth);
$fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth);
// 1200px min
$fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200);
$fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200);
// 768px-979px
$fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768);
$fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768);

View File

@@ -0,0 +1,9 @@
$fontAwesomePath: "../../common/font"; // dist path
@import '../../../www/bower_components/normalize-css/normalize'; // not extension for inline import
@import '../shared/bootstrap';
// @TODO enable importation of: @import "../../../../plugins/login.less";
@import 'variables';
@import 'skin';
@import '../shared/skin/geonames';
@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

View File

@@ -0,0 +1,291 @@
#admin-field-app .row-top {
min-height: 60px;
border-bottom: 1px solid #000;
}
#admin-field-app .row-bottom {
position: relative;
}
#admin-field-app .right-block {
border-left: 1px dashed #000;
overflow: auto;
min-height: 200px;
}
#admin-field-app h4 {
padding: 10px 0;
}
#admin-field-app .lng-label a {
color: #aaa;
text-transform: capitalize;
font-weight: bold;
font-size: 14px;
}
#admin-field-app .lng-label.select a {
color: #0080FF;
}
#admin-field-app #collection-fields li {
background: #FFF;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
height: 55px;
}
#admin-field-app ul.inline li {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
}
#admin-field-app #collection-fields li .trigger-click {
cursor: pointer;
}
#admin-field-app #collection-fields li.border-bottom{
border-bottom: 1px solid #ccc;
}
#admin-field-app #collection-fields li table {
table-layout: fixed;
width: 100%;
height: 100%;
}
#admin-field-app #collection-fields li .field-name {
font-weight: bold;
font-size: 16px;
color: #666;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#admin-field-app #collection-fields li .field-tag {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#admin-field-app #collection-fields li .handle {
width: 10%;
vertical-align: middle;
text-align: center;
cursor: move;
}
#admin-field-app #collection-fields li .trigger-click {
padding: 10px;
}
#admin-field-app #collection-fields li .position {
width: 10%;
vertical-align: bottom;
text-align: center;
}
#admin-field-app #collection-fields li .chip {
width: 10%;
}
#admin-field-app #collection-fields li .handle, #admin-field-app #collection-fields li .position {
color: #ccc;
border-right: 1px solid #ccc;
}
#admin-field-app #collection-fields li.last {
border-bottom: 1px solid #ccc;
}
#admin-field-app #collection-fields li.selected {
border-top-color: #0080FF;
background: #FFF;
color: #000;
}
#admin-field-app #collection-fields li.last.selected {
border-bottom-color: #0080FF;
}
#admin-field-app #collection-fields li.last.selected.error {
border-bottom-color: #9d261d;
}
#admin-field-app #collection-fields li.selected + li {
border-top-color: #0080FF;
}
#admin-field-app #collection-fields li.selected.error {
border-top-color: #9d261d;
}
#admin-field-app #collection-fields li.selected.error + li {
border-top-color: #9d261d;
}
#admin-field-app #collection-fields li.selected .field-name {
color: #0080FF;
}
#admin-field-app #collection-fields li.error .field-name {
color: #9d261d;
}
#admin-field-app .item-list-placeholder {
border-top: 1px solid #ccc;
background-color: red;
height: 70px;
}
#admin-field-app .add-field-block {
margin-bottom: 0px;
}
#admin-field-app .add-field-block .control-label {
width: 80px;
text-align: left;
}
#admin-field-app .add-field-block .controls {
margin-left: 100px;
}
#admin-field-app .edit-form label {
width: 160px;
}
#admin-field-app .edit-form select {
min-width: 220px;
}
#admin-field-app .sidebar-add-block {
margin-top: 20px;
}
#admin-field-app .sidebar-search-block {
margin: 20px 0;
}
#admin-field-app .list-block {
height: 450px;
min-height: 130px;
overflow: auto;
position: relative;
}
#admin-field-app .edit-block {
padding: 5px 20px;
}
#admin-field-app .edit-block table {
table-layout: fixed;
width: 100%;
}
#admin-field-app .edit-block table label {
margin: 0px;
width: auto;
}
#admin-field-app .edit-block table td:first-child {
width: 130px;
}
#admin-field-app .edit-block td {
height: 25px;
}
#admin-field-app .edit-block .dces-help-block {
height: auto;
}
#admin-field-app .info {
color: #aaa;
padding: 10px;
}
#admin-field-app .edit-block .edit-order {
height: 50px;
}
#admin-field-app .edit-block .edit-order td {
height: 50px;
}
#admin-field-app .edit-block .edit-label {
height: 75px;
}
#admin-field-app .edit-block .edit-label ul {
margin: 0;
}
#admin-field-app .edit-block .edit-name td {
font-size: 28px;
color: #0080FF;
height: 42px;
line-height: 42px;
font-weight: bold
}
#admin-field-app .save-all{
padding: 15px;
}
#admin-field-app .overlay {
zoom: 1;
filter: alpha(opacity=50);
opacity: 0.5;
background: #fff;
position: absolute;
width: 100%;
height: 100%;
z-index: 2000;
}
#admin-field-app .list-field-error li {
color: #9d261d;
}
#admin-field-app .save-block.loading {
background: url('#{$iconsPath}loaderFFF.gif') #fff no-repeat center right;
}
/* jquery ui autocomplete style */
.ui-autocomplete-admin-field {
list-style-type: none;
overflow-y: auto;
overflow-x: hidden;
max-height: 180px;
background: #FFF;
max-width: 300px;
-webkit-box-shadow: 0 10px 6px -6px #777;
-moz-box-shadow: 0 10px 6px -6px #777;
box-shadow: 0 10px 6px -6px #777;
}
.ui-autocomplete-admin-field li {
padding: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ui-autocomplete-admin-field li:hover {
padding: 5px;
background: #ccc;
}
.ui-autocomplete-admin-field li a {
text-decoration: none;
}
.ui-autocomplete-admin-field li a:hover {
text-decoration: none;
background: none;
color: #000;
border: none;
}

View File

@@ -1,3 +1,12 @@
$skinsPath: '../../../skins/';
$iconsPath: '../../../skins/icons/';
@import '../vendors/jquery.treeview/jquery.treeview'; // to inline import css file, don't put extension
@import '../../../www/bower_components/jquery-file-upload/css/jquery.fileupload-ui'; // to inline import css file, don't put extension
@import '../shared/jquery.contextmenu';
@import '../shared/skin/main';
@import '../shared/skin/geonames';
/******* GLOBAL CSS for ADMIN *************************************************/
body {
margin: 0;
@@ -81,7 +90,7 @@ div.selected a {
background-color: transparent;
}
#right-ajax.loading {
background-image: url('/skins/icons/loaderFFF.gif');
background-image: url('#{$iconsPath}loaderFFF.gif');
background-repeat: no-repeat;
background-position: center center;
}
@@ -165,7 +174,7 @@ div.no_switch {
width: 12px;
height: 12px;
margin: 0 auto;
background-image: url('/skins/icons/ccoch5.gif');
background-image: url('#{$iconsPath}ccoch5.gif');
background-repeat: no-repeat;
background-position: center center;
}
@@ -181,7 +190,7 @@ div.switch_quota.mixed,
div.switch_masks.mixed,
div.switch_time.mixed,
div.switch_right.mixed {
background-image: url('/skins/icons/ccoch2.gif');
background-image: url('#{$iconsPath}ccoch2.gif');
background-repeat: no-repeat;
background-position: center center;
}
@@ -189,7 +198,7 @@ div.switch_quota.checked,
div.switch_masks.checked,
div.switch_time.checked,
div.switch_right.checked {
background-image: url('/skins/icons/ccoch1.gif');
background-image: url('#{$iconsPath}ccoch1.gif');
background-repeat: no-repeat;
background-position: center center;
}
@@ -197,7 +206,7 @@ div.switch_quota.unchecked,
div.switch_masks.unchecked,
div.switch_time.unchecked,
div.switch_right.unchecked {
background-image: url('/skins/icons/ccoch0.gif');
background-image: url('#{$iconsPath}ccoch0.gif');
background-repeat: no-repeat;
background-position: center center;
}
@@ -227,13 +236,13 @@ div.switch_right.unchecked {
background-position: 5px center;
}
.board_section div[class="section"] ul.setup li.good-enough {
background-image: url(/skins/icons/ok.png);
background-image: url('#{$iconsPath}ok.png');
}
.board_section div[class="section"] ul.setup li.non-blocker {
background-image: url(/skins/icons/alert.png);
background-image: url('#{$iconsPath}alert.png');
}
.board_section div[class="section"] ul.setup li.blocker {
background-image: url(/skins/icons/delete.png);
background-image: url('#{$iconsPath}delete.png');
}
.board_section div[class="section"] ul.setup li:hover {
background-color: #fffbcd;
@@ -303,3 +312,8 @@ div.switch_right.unchecked {
#admin_setup_registry .form-horizontal .controls, #admin_setup_registry .form-horizontal .help-message {
margin-left: 300px;
}
@import './databases';
@import './fields';
@import './tables';

View File

@@ -0,0 +1 @@
@import '../account/main';

View File

@@ -0,0 +1,13 @@
/**
* Common stylesheet, builded into assets/common/css/common.css
*/
@import '../shared/bootstrap.scss';
@import '../shared/bootstrap-responsive.scss';
$fontAwesomePath: "../font"; // dist path
@import '../../../www/bower_components/font-awesome/sass/font-awesome.scss';
// to inline import css file, don't put extension
// assets/fancytree/dist/skin-win8/ui.fancytree.min.css
@import '../shared/skin/main';
@import '../shared/skin/geonames';

View File

@@ -0,0 +1,95 @@
/********* Default CSS Oauth pages *********/
/****************** Page *******************/
html, body {
background: #000000;
font-family: Verdana, sans-serif;
color: #FFFFFF;
}
/**************** Title-box ****************/
#title-box {
height: 40px;
padding: 50px 10px 50px 10px;
background: #666666; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, #666666 0%, #595959 0%, #4c4c4c 12%, #474747 20%, #131313 77%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#666666), color-stop(0%,#595959), color-stop(12%,#4c4c4c), color-stop(20%,#474747), color-stop(77%,#131313)); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, #666666 0%,#595959 0%,#4c4c4c 12%,#474747 20%,#131313 77%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, #666666 0%,#595959 0%,#4c4c4c 12%,#474747 20%,#131313 77%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, #666666 0%,#595959 0%,#4c4c4c 12%,#474747 20%,#131313 77%); /* IE10+ */
background: radial-gradient(center, ellipse cover, #666666 0%,#595959 0%,#4c4c4c 12%,#474747 20%,#131313 77%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666666', endColorstr='#131313',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
#namePhr {
color: #A9A9A9;
text-align: center;
}
/*************** Content-box ***************/
#content-box {
padding: 10px;
text-align: center;
}
p.login_error {
color: #FF0000;
}
p.login_hello {
color: #FFFFFF;
}
#login-form {
text-align: center;
}
#myLogin {
background: #FFFFFF;
box-shadow: 0px 0px 10px #DCDCDC;
border-bottom: 1px solid #DCDCDC;
border-radius: 15px 15px 0 0;
padding: 10px;
margin-bottom: 0;
}
#myPass {
background: #FFFFFF;
box-shadow: 0px 0px 10px #DCDCDC;
border-top: 1px solid #DCDCDC;
border-radius: 0 0 15px 15px;
padding: 10px;
margin-bottom: 0;
}
#button_login {
margin-top: 20px;
}
#hello-box {
padding: 10px;
text-align: center;
}
#text-box {
background: #FFFFFF;
box-shadow: 0px 0px 10px #DCDCDC;
border-radius: 15px;
padding: 10px;
color: #000000;
}
#top-text-box {
padding-bottom: 5px;
border-bottom: 1px dashed #000000;
font-weight: bold;
}
#main-text-box {
padding-top: 10px;
color: #808080;
}
#main-text-box span {
color: #FFA500;
}
#btn-box {
padding: 10px;
text-align: center;
}
form.access-deny {
display: inline-block;
margin-top: 10px;
margin-bottom: 10px;
}

View File

@@ -0,0 +1,32 @@
.lt-ie8 {
div.diapo {
display:inline;
float:left;
position:relative;
margin:7px 4px;
}
#baskets .insidebloc{
left:10px;
position:absolute;
width:70%;
top:0;
}
.list .diapo{
margin:0;
}
#adv_search table.colllist
{
width:270px;
}
#adv_search table.filterlist
{
width:580px;
}
.loading{
background-image:none;
}
}

View File

@@ -0,0 +1,11 @@
.lt-ie9 {
#adv_search table.colllist
{
width:270px;
}
#adv_search table.filterlist
{
width:580px;
}
}

View File

@@ -0,0 +1,107 @@
@import '../../../www/bower_components/fancytree/dist/skin-win8/ui.fancytree'; // to inline import css file, don't put extension
@import '../vendors/jquery.treeview/jquery.treeview'; // to inline import css file, don't put extension
@import '../../../www/bower_components/humane-js/themes/libnotify';
@import '../shared/jquery.contextmenu';
@import '../shared/jquery.image_enhancer';
@import '../shared/colorpicker';
@import '../shared/skin/main';
@import '../shared/skin/geonames';
@import '../shared/skin/basket';
@import '../shared/skin/push';
//include/jslibs/colorpicker/css/colorpicker.css,
#idFrameC {
top: 10px;
bottom: 10px;
}
#idFrameC .ui-tabs {
bottom: 10px;
left: 0;
}
#answers {
overflow-x: hidden;
overflow-y: auto;
}
.caption-tooltip-container {
max-width: 500px;
}
.caption-tooltip-container .popover-inner .popover-content {
max-width: 500px;
max-height: 500px;
overflow: auto;
overflow-x: hidden;
}
.popover-inner .popover-content dl.dl-horizontal {
margin-top: 0;
margin-bottom: 0;
}
.popover-inner .popover-content dl.dl-horizontal:first-child{
border-top: none;
}
.dl-horizontal dt, .popover-inner .popover-content .dl-horizontal dt {
padding-top: 6px;
padding-bottom: 6px;
color: #808080;
text-align: left;
width: 100px ;
/*border-bottom: 1px solid #333;*/
}
.dl-horizontal dd, .popover-inner .popover-content .dl-horizontal dd {
padding-top: 6px;
padding-bottom: 6px;
margin-left: 120px;
}
.break-word {
word-wrap: break-word;
}
.ui-button:focus, .ui-button-text:focus {
outline: none;
}
.descBoxes .dl-horizontal dt{
float: none;
width: 100%;
padding: 0;
}
.descBoxes .dl-horizontal dd{
padding-top: 0;
margin-left: 10px;
}
/** was inline code: */
.noRepresent {
background-color: #A2F5F5;
}
.disable {
display: none;
}
.deployer_opened::before {
content: "\25BC";
}
.deployer_closed::before {
content: "\25B6";
}
/* Vertical Tabs */
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width: 12em; }
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
.ui-tabs-vertical .ui-tabs-nav li a { display:block; }
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; }
.ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: right;}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

View File

@@ -1,3 +1,5 @@
$iconsPath: '../../../skins/icons/';
body, html{
font-family:Helvetica,Verdana,Arial,sans-serif;
font-size:13px;
@@ -116,7 +118,7 @@ p.error {
vertical-align: center;
border:1px dotted #EA1919;
padding-left:20px;
background: url("/skins/icons/delete.png") no-repeat left center;
background: url('#{$iconsPath}delete.png') no-repeat left center;
}
.main_content_wrapper td .warning{
@@ -124,7 +126,7 @@ p.error {
padding-left:20px;
padding-top:5px;
padding-bottom:5px;
background: url('/skins/icons/alert.png') no-repeat left center;
background: url('#{$iconsPath}alert.png') no-repeat left center;
}
.section_title{
@@ -159,7 +161,7 @@ p{
margin:10px 0;
line-height:20px;
}
h2{
h2{
text-align:left;
font-size:1.4em;
font-weight:bold;
@@ -184,15 +186,15 @@ ul, dl{
li{
margin:5px 0;
padding:5px 5px 5px 30px;
background-image:url(/skins/icons/ok.png);
background-image:url('#{$iconsPath}ok.png');
background-repeat:no-repeat;
background-position:5px center;
}
li.non-blocker{
background-image:url(/skins/icons/alert.png);
background-image:url('#{$iconsPath}alert.png');
}
li.blocker{
background-image:url(/skins/icons/delete.png);
background-image:url('#{$iconsPath}delete.png');
}

View File

@@ -0,0 +1,48 @@
/*!
* Bootstrap Responsive v2.3.2
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
// Responsive
// For phone and tablet devices
// -------------------------------------------------------------
// REPEAT VARIABLES & MIXINS
// -------------------------
// Required since we compile the responsive stuff separately
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/variables"; // Modify this for custom colors, font-sizes, etc
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/mixins";
// RESPONSIVE CLASSES
// ------------------
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/responsive-utilities";
// MEDIA QUERIES
// ------------------
// Large desktops
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/responsive-1200px-min";
// Tablets to regular desktops
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/responsive-768px-979px";
// Phones to portrait tablets and narrow desktops
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/responsive-767px-max";
// RESPONSIVE NAVBAR
// ------------------
// From 979px and below, show a button to toggle navbar contents
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/responsive-navbar";

63
resources/www/shared/bootstrap.scss vendored Normal file
View File

@@ -0,0 +1,63 @@
/*!
* Bootstrap v2.3.2
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
// Core variables and mixins
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/variables"; // Modify this for custom colors, font-sizes, etc
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/mixins";
// CSS Reset
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/reset";
// Grid system and page structure
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/scaffolding";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/grid";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/layouts";
// Base CSS
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/type";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/code";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/forms";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/tables";
// Components: common
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/sprites";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/dropdowns";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/wells";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/component-animations";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/close";
// Components: Buttons & Alerts
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/buttons";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/button-groups";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/alerts"; // Note: alerts share common CSS with buttons and thus have styles in buttons
// Components: Nav
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/navs";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/navbar";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/breadcrumbs";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/pagination";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/pager";
// Components: Popovers
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/modals";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/tooltip";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/popovers";
// Components: Misc
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/thumbnails";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/media";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/labels-badges";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/progress-bars";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/accordion";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/carousel";
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/hero-unit";
// Utility classes
@import "../../../www/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/utilities"; // Has to be last to override when necessary

View File

@@ -0,0 +1,162 @@
$colorPickerImagesPath: '../../../include/jslibs/colorpicker/images/' !default;
.colorpicker {
width: 356px;
height: 176px;
overflow: hidden;
position: absolute;
background: url('#{$colorPickerImagesPath}colorpicker_background.png');
font-family: Arial, Helvetica, sans-serif;
display: none;
}
.colorpicker_color {
width: 150px;
height: 150px;
left: 14px;
top: 13px;
position: absolute;
background: #f00;
overflow: hidden;
cursor: crosshair;
}
.colorpicker_color div {
position: absolute;
top: 0;
left: 0;
width: 150px;
height: 150px;
background: url('#{$colorPickerImagesPath}colorpicker_overlay.png');
}
.colorpicker_color div div {
position: absolute;
top: 0;
left: 0;
width: 11px;
height: 11px;
overflow: hidden;
background: url('#{$colorPickerImagesPath}colorpicker_select.gif');
margin: -5px 0 0 -5px;
}
.colorpicker_hue {
position: absolute;
top: 13px;
left: 171px;
width: 35px;
height: 150px;
cursor: n-resize;
}
.colorpicker_hue div {
position: absolute;
width: 35px;
height: 9px;
overflow: hidden;
background: url('#{$colorPickerImagesPath}colorpicker_indic.gif') left top;
margin: -4px 0 0 0;
left: 0px;
}
.colorpicker_new_color {
position: absolute;
width: 60px;
height: 30px;
left: 213px;
top: 13px;
background: #f00;
}
.colorpicker_current_color {
position: absolute;
width: 60px;
height: 30px;
left: 283px;
top: 13px;
background: #f00;
}
.colorpicker input {
background-color: transparent;
border: 1px solid transparent;
position: absolute;
font-size: 10px;
font-family: Arial, Helvetica, sans-serif;
color: #898989;
top: 4px;
right: 11px;
text-align: right;
margin: 0;
padding: 0;
height: 11px;
}
.colorpicker_hex {
position: absolute;
width: 72px;
height: 22px;
background: url('#{$colorPickerImagesPath}colorpicker_hex.png') top;
left: 212px;
top: 142px;
}
.colorpicker_hex input {
right: 6px;
}
.colorpicker_field {
height: 22px;
width: 62px;
background-position: top;
position: absolute;
}
.colorpicker_field span {
position: absolute;
width: 12px;
height: 22px;
overflow: hidden;
top: 0;
right: 0;
cursor: n-resize;
}
.colorpicker_rgb_r {
background-image: url('#{$colorPickerImagesPath}colorpicker_rgb_r.png');
top: 52px;
left: 212px;
}
.colorpicker_rgb_g {
background-image: url('#{$colorPickerImagesPath}colorpicker_rgb_g.png');
top: 82px;
left: 212px;
}
.colorpicker_rgb_b {
background-image: url('#{$colorPickerImagesPath}colorpicker_rgb_b.png');
top: 112px;
left: 212px;
}
.colorpicker_hsb_h {
background-image: url('#{$colorPickerImagesPath}colorpicker_hsb_h.png');
top: 52px;
left: 282px;
}
.colorpicker_hsb_s {
background-image: url('#{$colorPickerImagesPath}colorpicker_hsb_s.png');
top: 82px;
left: 282px;
}
.colorpicker_hsb_b {
background-image: url('#{$colorPickerImagesPath}colorpicker_hsb_b.png');
top: 112px;
left: 282px;
}
.colorpicker_submit {
position: absolute;
width: 22px;
height: 22px;
background: url('#{$colorPickerImagesPath}colorpicker_submit.png') top;
left: 322px;
top: 142px;
overflow: hidden;
}
.colorpicker_focus {
background-position: center;
}
.colorpicker_hex.colorpicker_focus {
background-position: bottom;
}
.colorpicker_submit.colorpicker_focus {
background-position: bottom;
}
.colorpicker_slider {
background-position: bottom;
}

View File

@@ -0,0 +1,242 @@
/* Classic Windows Theme (default) */
/* =============================== */
.context-menu-theme-default {
border:2px outset white;
background-color:#D4D0C8;
}
.context-menu-theme-default .context-menu-item {
text-align:left;
cursor:pointer;
padding:4px 28px 4px 16px;
color:black;
font-family:Tahoma,Arial;
font-size:11px;
}
.context-menu-theme-default .context-menu-separator {
margin:4px 2px;
font-size:0px;
border-top:1px solid #808080;
border-bottom:1px solid white;
}
.context-menu-theme-default .context-menu-item-disabled {
color:#808080;
}
.context-menu-theme-default .context-menu-item .context-menu-item-inner {
background:none no-repeat fixed 999px 999px; /* Make sure icons don't appear */
}
.context-menu-theme-default .context-menu-item-hover {
background-color:#0A246A;
color:white;
}
.context-menu-theme-default .context-menu-item-disabled-hover {
background-color:#0A246A;
}
/* Windows XP Theme */
/* ================ */
.context-menu-theme-xp {
border:1px solid #666;
padding:1px;
background:#F9F8F7 url(jquery.contextmenu.images/cmenu-xp-bg.gif) repeat-y top left;
}
.context-menu-theme-xp .context-menu-separator {
margin:4px 2px;
font-size:0px;
border-top:1px solid #808080;
border-bottom:1px solid white;
}
.context-menu-theme-xp .context-menu-item {
text-align:left;
color:black;
font-family:arial;
font-size:11px;
cursor:pointer;
}
.context-menu-theme-xp .context-menu-item .context-menu-item-inner {
background:none no-repeat 2px center;
padding:4px 10px 4px 30px;
}
.context-menu-theme-xp .context-menu-item-hover .context-menu-item-inner {
background:#B6BDD2 none no-repeat 2px center;
padding:3px 9px 3px 29px;
border:1px solid #0A246A;
}
/* Windows Vista Theme */
/* =================== */
.context-menu-theme-vista {
background:#FAFAFA url(jquery.contextmenu.images/cmenu-vista-bg.gif) repeat-y left top;
border:1px solid #868686;
}
.context-menu-theme-vista .context-menu-item {
text-align:left;
cursor:pointer;
color:black;
font-family:Tahoma,Arial;
font-size:11px;
}
.context-menu-theme-vista .context-menu-separator {
margin:0px 0px 0px 32px;
font-size:0px;
border-top:1px solid #C5C5C5;
border-bottom:1px solid #F5F5F5;
}
.context-menu-theme-vista .context-menu-item-hover {
background:transparent url(jquery.contextmenu.images/cmenu-vista-menu-item-hover.gif) repeat-x left center;
border:1px solid #D7D0B3;
}
.context-menu-theme-vista .context-menu-item .context-menu-item-inner {
padding:4px 16px 4px 35px;
margin-left:1px;
background-color:none;
background-repeat:no-repeat;
background-position:3px center;
background-image:none;
}
.context-menu-theme-vista .context-menu-item-hover .context-menu-item-inner {
padding:3px 15px 3px 35px;
margin-left:0px;
}
.context-menu-theme-vista .context-menu-item-disabled {
color:#A7A7A7;
}
/* OSX Theme */
/* ========= */
.context-menu-theme-osx {
background-color:white;
opacity: .93;
filter: alpha(opacity=93);
zoom:1.0;
border:1px solid #b2b2b2;
}
.context-menu-theme-osx .context-menu-item {
text-align:left;
cursor:pointer;
color:black;
font-family:Lucida Grande,Arial;
font-weight:700;
font-size:12px;
opacity: 1.0;
filter: alpha(opacity=100);
z-index:1;
}
.context-menu-theme-osx .context-menu-separator {
margin:5px 1px 4px 1px;
font-size:0px;
border-top:1px solid #e4e4e4;
}
.context-menu-theme-osx .context-menu-item-hover {
background-color:#1C44F2;
color:white;
}
.context-menu-theme-osx .context-menu-item .context-menu-item-inner {
padding:2px 10px 2px 22px;
background-color:none;
background-repeat:no-repeat;
background-position:4px center;
background-image:none;
}
.context-menu-theme-osx .context-menu-item-disabled {
color:#939393;
}
/* Linux Human Theme */
/* ================= */
.context-menu-theme-human {
background:#F9F5F2;
border:1px solid #963;
}
.context-menu-theme-human .context-menu-item {
text-align:left;
cursor:pointer;
color:black;
font-family:Helvetica,DejaVu Sans,Arial;
font-size:12px;
line-height:20px;
height:28px;
border:1px solid #F9F5F2;
border-left:0;
border-right:0;
}
.context-menu-theme-human .context-menu-separator {
margin:0px 0px 0px 32px;
font-size:0px;
border-top:1px solid #C5C5C5;
border-bottom:1px solid #F5F5F5;
}
.context-menu-theme-human .context-menu-item-hover {
background:transparent url(jquery.contextmenu.images/cmenu-human-menu-item-hover.gif) repeat-x left center;
border-color:#963;
}
.context-menu-theme-human .context-menu-item .context-menu-item-inner {
padding:4px 16px 4px 35px;
margin-left:0px;
background-color:none;
background-repeat:no-repeat;
background-position:3px center;
background-image:none;
}
.context-menu-theme-human .context-menu-item-hover .context-menu-item-inner {
}
.context-menu-theme-human .context-menu-item-disabled {
color:#A7A7A7;
}
/* Gloss Theme */
/* =========== */
.context-menu-theme-gloss {
background:#f4f4f4 url(jquery.contextmenu.images/cmenu-gloss-bg.gif) repeat-y left center;
border:1px solid #f4f4f4;
padding:1px;
padding-right:0;
}
.context-menu-theme-gloss .context-menu-item {
text-align:left;
cursor:pointer;
color:black;
font-family:Helvetica,DejaVu Sans,Arial;
font-size:12px;
line-height:20px;
height:27px;
border:1px solid transparent;
}
.context-menu-theme-gloss .context-menu-separator {
margin:0px 0px 0px 32px;
font-size:0px;
border-top:1px solid #C5C5C5;
border-bottom:1px solid #F5F5F5;
}
.context-menu-theme-gloss .context-menu-item-hover {
background:transparent url(jquery.contextmenu.images/cmenu-gloss-menu-item-hover.gif) repeat-x left center;
color:#fff;
border-color:#000;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
}
.context-menu-theme-gloss .context-menu-item .context-menu-item-inner {
padding:4px 16px 4px 35px;
margin-left:0px;
background-color:none;
background-repeat:no-repeat;
background-position:3px center;
background-image:none;
}
.context-menu-theme-gloss .context-menu-item-hover .context-menu-item-inner {
}
.context-menu-theme-gloss .context-menu-item-disabled {
color:#A7A7A7;
}
.context-menu-theme-gloss-cyan .context-menu-item-hover {
background-image:url(jquery.contextmenu.images/cmenu-gloss-cyan-menu-item-hover.gif);
border-color:#00c;
}
.context-menu-theme-gloss-semitransparent .context-menu-item-hover {
background-image:url(jquery.contextmenu.images/cmenu-item-gloss-semitransparent-menu-item-hover.png);
border-color:#00c;
background-color:#30f;
}

View File

@@ -0,0 +1,21 @@
.geocompleter-menu {
max-height: 180px;
overflow-y: auto;
/* prevent horizontal scrollbar */
overflow-x: hidden;
list-style-type: none;
}
.geocompleter-menu .region {
font-size: 11px;
font-style: italic;
display: block;
}
.geocompleter-input.input-loading {
background: url('/skins/icons/loaderFFF.gif') #fff center right no-repeat;
}
.geocompleter-input.input-error {
color: red !important;
}

View File

@@ -0,0 +1,244 @@
/** skin/common/main.css */
body{
margin:0;
padding:0;
font-family:Helvetica,Arial,sans-serif;
font-size:12px;
overflow:hidden;
}
#mainMenu{
height:30px;
bottom:auto;
-moz-border-radius-bottomleft:4px;
-moz-border-radius-bottomright:4px;
z-index:100;
line-height:30px;
}
#mainMenu ol{
display: block;
margin:0;
padding:0;
list-style: none outside none;
}
#mainMenu li{
display: inline-block;
float:left;
line-height: 30px;
padding: 0;
position: relative;
vertical-align: top;
}
#mainMenu span.selected{
border-top:3px solid white;
}
#mainMenu span{
display: block;
padding:0 5px;
}
#mainMenu .title{
font-size:18px;
color:#F7F7F7;
margin:0 5px;
}
#mainMenu a:hover span{
background-color:#FFFFFF;
color:black;
}
#mainMenu span{
color:#b1b1b1;
font-size:12px;
font-weight:normal;
border-top:3px solid transparent;
}
#mainMenu a{
text-decoration:none;
display:inline-block;
}
#mainMenu #notification_box a {
margin-left:0;
}
#mainMenu .account a{
text-decoration:underline;
}
#mainMenu b{
color:#EDEDED;
font-weight:bold;
}
#mainMenu nobr{
padding:0 5px;
}
img{
border:none;
}
#MODALDL{
z-index:1200;
}
#tooltip{
color:black;
position:absolute;
z-index:32000;
overflow:hidden;
}
#tooltip hr{
margin: 8px 0;
}
#notification_trigger{
cursor:pointer;
}
#notification_trigger .counter{
border:1px solid white;
background:red;
-moz-border-radius:8px;
-webkit-border-radius:8px;
font-size:10px;
font-weight:bold;
display:inline-block;
line-height:12px;
margin:0;
padding:2px 4px;
}
#notification_trigger.open a span{
color:black;
}
#notification_trigger.open{
background-color:white;
border-bottom:1px solid white;
}
#notification_trigger.unread{
}
#notification_box{
background-color:white;
border:1px solid black;
border-top:none;
position:absolute;
height:150px;
top:30px;
overflow-y:auto;
overflow-x:hidden;
z-index:668;
right:20px;
color:black;
}
#notification_box div.notification span.time{
color:#414141;
font-size:11px;
white-space:nowrap;
margin-left:0;
}
#notification_box div.notification a{
color:#999999;
text-decoration:none;
}
#notification_box div.notification a:hover{
text-decoration:underline;
}
#notification_box div.notification{
padding:5px 10px;
}
#notification_box div.notification.hover{
background-color:#E1E1E1;
}
#notification_box div.notification.unread{
background-color:#E1E1E1;
}
#notification_box div.notification_title a{
font-size:13px;
font-weight:bold;
color:blue;
}
#notification_box div.notification_title{
text-align:center;
padding:10px 0;
}
#notifications-dialog a{
color:#999999;
}
#notifications-dialog a:hover{
color:#D9D9D9;
text-decoration:underline
}
#notifications-dialog .time{
font-size:10px;
color:#666666;
}
#notifications-dialog .notification_title{
padding:10px 0 5px;
}
#notifications-dialog .notification_next{
text-align:center;
padding:15px 0;
}
.PNB
{
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
}
.PNB10
{
position:absolute;
top:10px;
left:10px;
right:10px;
bottom:10px;
}
input.checkbox{
background:transparent;
border:none;
}
#ui-datepicker-div{
display:none;
}
#tooltip .popover {
max-width: none;
width: auto;
}
.ui-dialog-titlebar {
min-height: 20px;
}
.ui-dialog[aria-describedby="p4_alerts"]{
z-index:2000 !important;
}

View File

@@ -0,0 +1,399 @@
/** PUSH BOX */
#PushBox .btn {
font-family: verdana,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 12px;
font-weight: bold;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
padding: 4px 10px;
}
.PushBox a.link {
margin: 0 5px;
color: #0088CC;
}
.PushBox a.link:hover {
color: #40A3D4;
}
.PushBox .LeftColumn h1 {
width: 100%;
text-align: center;
margin: 5px 0;
font-weight: bold;
font-size: 16px;
}
.PushBox .LeftColumn ul {
margin:10px 0;
}
.PushBox .LeftColumn ul li img {
margin-right:5px;
vertical-align: middle;
}
.PushBox table {
width: 100%;
border: none;
overflow: hidden;
table-layout: fixed;
}
.PushBox .user_content .header {
height: 35px;
right: 20px;
bottom: auto;
}
.PushBox .user_content .footer {
height: 35px;
top: auto;
right: 20px;
bottom: 10px;
left: 10px;
text-align: right;
}
.PushBox .user_content .badges {
top:50px;
overflow:auto;
height:auto;
bottom:50px;
left:20px;
right:20px;
}
.PushBox .user_content .badges .badge .deleter {
float:right;
}
.PushBox .user_content .badges .badge {
width:230px;
height:80px;
margin:10px;
display:inline-block;
background-color: #515150;
border:3px solid #515150;
padding:3px;
}
.PushBox .user_content .badges .badge.selected {
border:3px solid #EFEFEF;
}
.PushBox .user_content .badges .badge .toggles .status_on .toggle_off {
display:none;
}
.PushBox .user_content .badges .badge .toggles .status_off .toggle_on {
display:none;
}
.PushBox .user_content .badges .badge td{
vertical-align: top;
}
.PushBox .user_content .badges .badge td.toggle{
vertical-align: bottom;
}
.PushBox .user_content .badges .badge .icon{
width:80px;
background-color:#404040;
}
.PushBox .user_content .badges .badge .infos {
padding-top:3px;
padding-left:5px;
}
.PushBox .user_content .badges .badge table {
width:95%;
}
.PushBox .user_content .badges .badge .infos table {
height:75px;
}
.PushBox .user_content .badges .badge .infos tr {
height:20px;
}
.PushBox .user_content .badges .badge .infos tr.toggles {
height:25px;
text-align:center;
}
.PushBox .user_content .badges .badge .icon img {
margin:7px;
}
.PushBox .user_content .badges .badge .name {
font-weight:bold;
white-space:pre-line;
display:block;
font-size:12px;
}
.PushBox .user_content .badges .badge .subtite {
display:block;
font-size:10px;
}
.PushBox .user_content .header .options {
text-align: right;
}
.PushBox .all-lists .lists {
overflow:auto;
}
.PushBox .LeftColumn .content ul.list li:nth-child(odd) {
background-color: none;
}
.PushBox .LeftColumn .content ul.list li:nth-child(even) {
background-color: #515150;
}
.PushBox .lists ul li:nth-child(odd) {
background-color: none;
}
.PushBox .lists ul li:nth-child(even) {
background-color: #515150;
}
.PushBox .LeftColumn .content ul.list li.selected {
background-color: #AAA;
}
.PushBox .lists .list.selected {
background-color: #AAA;
}
.PushBox .lists .list {
padding:3px 0;
}
.PushBox .welcome {
text-align: center;
font-size: 16px;
line-height: 18px;
margin : 20px 0;
}
.PushBox .welcome h1 {
font-weight: bold;
margin:40px 0;
}
#list-editor-search-results {
}
#list-editor-search-results table td {
padding:1px 0;
overflow:hidden;
}
#list-editor-search-results table tr {
line-height: 24px;
vertical-align: middle;
cursor:pointer;
}
#list-editor-search-results table tr.odd {
background-color: #515151;
}
#list-editor-search-results table tr.selected {
background-color:#D18827;
}
#list-editor-search-results table th.sortable span {
margin:0 5px;
}
#list-editor-search-results table th.sortable {
cursor:pointer;
}
#list-editor-search-results table th.sortable.hover,
#list-editor-search-results table th.sortable.sorted {
background-color:#F0AD30;
}
#list-editor-search-results table th.sortable span.ord_notifier {
display:none;
}
#list-editor-search-results table th.sortable.sorted span.ord_notifier {
display:inline;
}
.ui-autocomplete.ui-state-hover,
.ui-autocomplete.ui-widget-content .ui-state-hover,
.ui-autocomplete.ui-widget-header .ui-state-hover,
.ui-autocomplete.ui-state-focus,
.ui-autocomplete.ui-widget-content .ui-state-focus,
.ui-autocomplete.ui-widget-header .ui-state-focus {
background-image:none;
background-color:#515151;
border:none;
margin:0;
border-radius: 0;
}
.ui-autocomplete.ui-menu .ui-menu-item a.ui-state-hover,
.ui-autocomplete.ui-menu .ui-menu-item a.ui-state-active {
margin:0;
}
.ui-autocomplete li.list-item {
width:280px;
min-height:45px;
display:block;
}
.ui-autocomplete li.list-item .icon {
width:42px;
}
.ui-autocomplete li.list-item .icon img {
max-width:32px;
max-height:32px;
text-align: center;
vertical-align: middle;
margin:5px;
}
.ui-autocomplete {
min-height: 42px;
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
padding:1px 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
padding-right: 20px;
}
#ListShare table {
width:100%;
margin:5px;
background-color:#505050;
}
#ListManager .content.readonly .badge {
width:250px;
display:inline-block;
margin:5px;
background-color: #515150;
padding:5px;
}
#ListManager .content.readonly .badge .deleter {
float:right;
}
#ListManager .content.readonly .badge table{
width:auto;
table-layout: fixed;
}
#ListManager .content.readonly .badge .infos{
padding:2px;
}
#ListManager h1 span.title{
font-size:24px;
line-height:24px;
font-weight:bold;
vertical-align:middle;
}
#PushBox .general_togglers li {
margin-top:5px;
}
#PushBox .general_togglers button {
margin: 0;
padding: 4px 5px;
width: 100%;
}
#PushBox .general_togglers button .ui-button-text {
font-weight: lighter;
}
#PushBox .content .list_saver {
padding-top: 20px;
padding-bottom: 20px;
display: block;
}
#PushBox .content .list_saver input {
margin: 0;
padding: 4px 2px;
width: 115px;
}
#PushBox .content .list_saver .btn {
margin: 0;
padding: 0;
height: 23px;
}
#find-user {
line-height: 15px;
}
#ListManager .content .lists span.action {
display:block;
text-align:center;
font-weight: bold;
width:100%;
}
#recommanded-users {
margin-top:25px;
line-height:15px;
}
#recommanded-users a:last-child {
color: #0088CC;
text-decoration: none;
}
#QuickAddUser table {
width:100%;
table-layout:auto;
}
#QuickAddUser table tr td {
padding: 5px;
}
#QuickAddUser table td:last-child {
text-align: left;
}
#QuickAddUser input {
border: 1px solid #CCCCCC;
border-radius: 4px 4px 4px 4px;
box-shadow: 0 1px 1px #EEEEEE;
display: inline-block;
margin: 0 5px 0 0;
padding: 4px;
width: 95%;
}

View File

@@ -0,0 +1,342 @@
BODY, TD, INPUT
{
FONT-FAMILY: Verdana, Arial, helvetica, sans-serif;
font-size: 12px;
}
FORM
{
padding:0px;
margin:0px;
}
BODY.dialog
{
background-color:ButtonFace;
}
BODY.dialog .x3Dbox
{
position:relative;
top:0px;
left:0px;
text-align:left;
padding:5px;
border-top: 1px solid #808080;
border-left: 1px solid #808080;
border-bottom: 1px solid #ffffff;
border-right: 1px solid #ffffff;
}
BODY.dialog .x3Dbox .title
{
position:absolute;
top:-9px;
left:20px;
background-color:ButtonFace;
padding-left:4px;
padding-right:4px;
}
INPUT.textNofocus
{
position:relative;
top:1px;
height:14px;
padding:0px;
margin:2px;
border-top:1px solid #ffffff;
border-left:1px solid #ffffff;
border-right:1px solid #d0d0d0;
border-bottom:1px solid #d0d0d0;
}
INPUT.textFocus
{
position:relative;
top:1px;
height:14px;
padding:0px;
margin:0px;
border:3px solid #99a2d0;
}
H3, H4
{
display: inline;
}
DIV.thbox
{
BACKGROUND-COLOR:#ffffff;
border-top:1px solid #d0d0d0;
border-left:1px solid #d0d0d0;
border-right:2px solid black;
border-bottom:2px solid black;
margin:0px;
padding:0px;
z-index:1;
}
DIV.thbox .onglet
{
position:absolute;
top: -22px;
left:5px;
height:20px;
BACKGROUND-COLOR:#ffffff;
border-top:1px solid #d0d0d0;
border-left:1px solid #d0d0d0;
border-right:2px solid black;
border-bottom:1px solid #ffffff;
margin:0px;
padding:0px;
padding-left:5px;
padding-right:15px;
font-size: 14px;
z-index:2;
}
DIV.thbox HR
{
COLOR:#d0d0d0;
height:1px;
margin:0px;
padding:0px;
}
DIV.glossaire
{
position:relative;
left:4px;
white-space: nowrap;
}
DIV.glossaire U
{
position:relative;
left:1px;
TEXT-DECORATION: none;
margin-right: 5px;
width: 9px;
height:10px;
text-align:center;
display:inline-block;
font-size: 8px;
border: 1px solid #b0b0b0;
color: #000000;
BACKGROUND-COLOR:#FFFFFF;
cursor:pointer;
}
DIV.glossaire U.nots
{
border: 1px solid #F0F0F0;
BACKGROUND-COLOR:#F0F0F0;
cursor:default;
}
DIV.glossaire DIV.S_
{
cursor:pointer;
BACKGROUND-COLOR:#99a2d0;
COLOR:#FFFFFF;
}
DIV.glossaire DIV.s_
{
cursor:pointer;
}
DIV.glossaire DIV.r0_
{
}
DIV.glossaire DIV.r1_
{
COLOR:#FF4000;
}
DIV.glossaire DIV.OB
{
position:relative;
top:0px;
padding-top:0px;
padding-left:8px;
margin-left:6px;
border-left: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
}
DIV.glossaire DIV.ob
{
display:none;
}
DIV.glossaire DIV.hb
{
position:relative;
top:0px;
padding-top:0px;
padding-left:8px;
margin-left:6px;
border-left: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
}
DIV.glossaire DIV.ctroot
{
position:relative;
top:0px;
padding:0px;
border:none;
}
DIV.glossaire P.sy
{
}
DIV.glossaire P.ta
{
}
DIV.glossaire P.tc
{
}
DIV.glossaire P.tce
{
}
DIV.tableContainer
{
margin:2px;
border:1px solid #000000;
background-color:#ffffff;
}
DIV.tableContainerDragOver
{
margin:0px;
border:3px solid #99a2d0;
}
DIV.tableContainer DIV.tbody
{
position:relative;
overflow:auto;
}
DIV.tableContainer TABLE
{
table-layout:fixed;
}
DIV.tableContainer THEAD TH
{
background: #e0ece8;
border-left: 1px solid #ffffff;
border-right: 1px solid #c0ccc8;
border-top: 1px solid #ffffff;
border-bottom: 1px solid #c0ccc8;
font-weight: normal;
padding-left: 2px;
padding-right: 2px;
text-align: left;
cursor:pointer;
margin: 0px;
}
DIV.tableContainer TBODY TR.s_
{
}
DIV.tableContainer TBODY TR.S_
{
BACKGROUND-COLOR:#99a2d0;
COLOR:#FFFFFF;
}
DIV.tableContainer TBODY TD
{
border-left: 1px solid #ffffff;
border-right: 1px solid #cccccc;
font-weight: normal;
padding-left: 2px;
padding-right: 2px;
text-align: left;
cursor:pointer;
margin: 0px;
}
DIV.menu
{
FONT-FAMILY: Arial, helvetica, sans-serif;
font-size: 12px;
border-left: 1px solid #ffffff;
border-top: 1px solid #ffffff;
border-right: 2px solid #000000;
border-bottom: 2px solid #000000;
padding:0px;
margin:0px;
visibility:hidden;
position:absolute;
top:0px;
left:0px;
background-color:#d4d0c8;
}
DIV.menu IMG
{
padding:0px;
margin:0px;
position:relative;
left:-10px;
top:2px;
}
DIV.menu A
{
font-size: 12px;
display:block;
position:relative;
text-decoration: none;
color:#000000;
padding-top:1px;
padding-bottom:1px;
padding-left:13px;
padding-right:3px;
overflow:hidden;
border:none 0px #FFFFFF;
white-space:nowrap;
}
DIV.menu A:hover
{
font-size: 12px;
display:block;
position:relative;
text-decoration: none;
color:#ffffff;
background-color:#000080;
}
DIV.menu A.disabled
{
font-size: 12px;
display:block;
position:relative;
text-decoration: none;
color:#A0A0A0;
padding-top:1px;
padding-bottom:1px;
padding-left:13px;
padding-right:3px;
overflow:hidden;
}
DIV.menu A.disabled:hover
{
font-size: 12px;
display:block;
position:relative;
text-decoration: none;
color:#A0A0A0;
background-color:#d4d0c8;
}
DIV.menu .line
{
display:block;
position:relative;
height:0px;
overflow:hidden;
margin-top:5px;
margin-bottom:4px;
padding:0px;
border-top: 1px solid #555555;
border-bottom: 1px solid #ffffff;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,75 @@
$imagesPath: '../../../../include/jslibs/jquery-treeview/images/';
.treeview, .treeview ul {
padding: 0;
margin: 0;
list-style: none;
}
.treeview ul {
background-color: white;
margin-top: 4px;
}
.treeview .hitarea {
background: url('#{$imagesPath}/treeview-default.gif') -64px -25px no-repeat;
height: 16px;
width: 16px;
margin-left: -16px;
float: left;
cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
display: inline;
float:none;
}
.treeview li {
margin: 0;
padding: 3px 0pt 3px 16px;
}
.treeview a.selected {
background-color: #eee;
}
#treecontrol { margin: 1em 0; display: none; }
.treeview .hover { color: red; cursor: pointer; }
.treeview li { background: url('#{$imagesPath}/treeview-default-line.gif') 0 0 no-repeat; }
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
.treeview .expandable-hitarea { background-position: -80px -3px; }
.treeview li.last { background-position: 0 -1766px }
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url('#{$imagesPath}/treeview-default.gif'); }
.treeview li.lastCollapsable { background-position: 0 -111px }
.treeview li.lastExpandable { background-position: -32px -67px }
.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
.treeview-red li { background-image: url('#{$imagesPath}/treeview-red-line.gif'); }
.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url('#{$imagesPath}/treeview-red.gif'); }
.treeview-black li { background-image: url('#{$imagesPath}/treeview-black-line.gif'); }
.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url('#{$imagesPath}/treeview-black.gif'); }
.treeview-gray li { background-image: url('#{$imagesPath}/treeview-gray-line.gif'); }
.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url('#{$imagesPath}/treeview-gray.gif'); }
.treeview-famfamfam li { background-image: url('#{$imagesPath}/treeview-famfamfam-line.gif'); }
.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url('#{$imagesPath}/treeview-famfamfam.gif'); }
.treeview .placeholder {
background: url('#{$imagesPath}/ajax-loader.gif') 0 0 no-repeat;
height: 16px;
width: 16px;
display: block;
}
.filetree li { padding: 3px 0 2px 16px; }
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }
.filetree span.folder { background: url('#{$imagesPath}/folder.gif') 0 0 no-repeat; }
.filetree li.expandable span.folder { background: url('#{$imagesPath}/folder-closed.gif') 0 0 no-repeat; }
.filetree span.file { background: url('#{$imagesPath}/file.gif') 0 0 no-repeat; }

View File

@@ -9,13 +9,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- styles -->
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap-responsive.css' }) }}" />
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'skins/oauth/default.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/common/css/common{% if not app.debug %}.min{% endif %}.css">
<link type="text/css" rel="stylesheet" href="/assets/oauth/css/oauth{% if not app.debug %}.min{% endif %}.css">
<!-- All JavaScript at the bottom, except this Modernizr build.
Modernizr enables HTML5 elements & feature detects for optimal performance. -->
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/modernizr/modernizr.js' }) }}"></script>
<script type="text/javascript" src="/assets/vendors/modernizr/modernizr{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/bootstrap/js/bootstrap{% if not app.debug %}.min{% endif %}.js"></script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
@@ -95,8 +96,5 @@
</div>
</div>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/bootstrap/js/bootstrap.js' }) }}"></script>
</body>
</html>

View File

@@ -15,13 +15,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- styles -->
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap-responsive.css' }) }}" />
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'skins/oauth/default.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/common/css/common{% if not app.debug %}.min{% endif %}.css">
<link type="text/css" rel="stylesheet" href="/assets/oauth/css/oauth{% if not app.debug %}.min{% endif %}.css">
<!-- All JavaScript at the bottom, except this Modernizr build.
Modernizr enables HTML5 elements & feature detects for optimal performance. -->
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/modernizr/modernizr.js' }) }}"></script>
<script type="text/javascript" src="/assets/vendors/modernizr/modernizr{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/bootstrap/js/bootstrap{% if not app.debug %}.min{% endif %}.js"></script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
@@ -72,8 +73,5 @@
</div>
</div>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/bootstrap/js/bootstrap.js' }) }}"></script>
</body>
</html>

View File

@@ -6,9 +6,9 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="initial-scale=1">
<title>{{ app['conf'].get(['registry', 'general', 'title']) }} - {{ module_name }} </title>
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/jquery-mobile/jquery.mobile-1.3.2.css' }) }}" />
<script src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
<script src="{{ path('minifier', { 'f' : 'assets/jquery-mobile/jquery.mobile-1.3.2.js' }) }}"></script>
<link rel="stylesheet" href="/assets/vendors/jquery-mobile/jquery-mobile{% if not app.debug %}.min{% endif %}.css" />
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery-mobile/jquery-mobile{% if not app.debug %}.min{% endif %}.js"></script>
<style type="text/css">
html,body, div[data-role ="page"] {
height: 100%;

View File

@@ -5,7 +5,6 @@
{% set selected = "informations" %}
{% block stylesheet %}
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'skins/geonames/geonames.css' }) }}">
{{ parent() }}
{% endblock %}
@@ -15,9 +14,9 @@
requirejs.config({
baseUrl: "/scripts",
paths: {
"jquery": "../assets/jquery/jquery",
"jquery.ui": "../assets/jquery.ui/jquery-ui",
"jquery.geonames": "../assets/geonames-server-jquery-plugin/jquery.geonames"
jquery: "../assets/vendors/jquery/jquery.min",
"jquery.ui": "../assets/vendors/jquery-ui/jquery-ui.min",
"jquery.geonames": "../assets/vendors/jquery.geonames/jquery.geonames"
},
shim: {
"jquery.geonames": {

View File

@@ -4,7 +4,7 @@
{% extends "common/index_bootstrap.html.twig" %}
{% block stylesheet %}
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'assets/build/account.css,include/jslibs/jquery.contextmenu.css' }) }}"/>
<link type="text/css" rel="stylesheet" href="/assets/account/css/account{% if not app.debug %}.min{% endif %}.css">
<style type="text/css">
.context-menu-theme-vista .context-menu-item .context-menu-item-inner {
padding: 4px 20px;
@@ -36,7 +36,8 @@
{% endblock %}
{% block javascript %}
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'account' }) }}"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/account/js/account{% if not app.debug %}.min{% endif %}.js"></script>
{% endblock %}
{% block content %}

View File

@@ -54,5 +54,30 @@
{% block scripts %}
{{ parent() }}
<script type="text/javascript" src="{{ path('minifier', {'f': 'assets/zxcvbn/zxcvbn-async.js,/scripts/apps/login/home/renewPassword.js'}) }}"></script>
<script type="text/javascript" src="{{ path('minifier', {'f': '/scripts/apps/login/home/renewPassword.js'}) }}"></script>
<script>
// cross-browser asynchronous script loading for zxcvbn.
// adapted from http://friendlybit.com/js/lazy-loading-asyncronous-javascript/
(function() {
var ZXCVBN_SRC = 'assets/vendors/zxcvbn/zxcvbn{% if not app.debug %}.min{% endif %}.js';
var async_load = function() {
var first, s;
s = document.createElement('script');
s.src = ZXCVBN_SRC;
s.type = 'text/javascript';
s.async = true;
first = document.getElementsByTagName('script')[0];
return first.parentNode.insertBefore(s, first);
};
if (window.attachEvent != null) {
window.attachEvent('onload', async_load);
} else {
window.addEventListener('load', async_load, false);
}
}).call(this);
</script>
{% endblock %}

View File

@@ -62,5 +62,5 @@
{% block scripts %}
{{ parent() }}
<script type="text/javascript" src="{{ path('minifier', {'f': 'assets/requirejs/require.js,/scripts/apps/login/home/config.js,/scripts/apps/login/home/renewEmail.js'}) }}"></script>
<script type="text/javascript" src="{{ path('minifier', {'f': 'assets/vendors/requirejs/require.min.js,/scripts/apps/login/home/config.js,/scripts/apps/login/home/renewEmail.js'}) }}"></script>
{% endblock %}

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title> </title>
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/common/main.css' }) }}">
<link type="text/css" rel="stylesheet" href="/assets/common/css/common{% if not app.debug %}.min{% endif %}.css" />
{% block stylesheet %}{% endblock %}
{% block javascript %}{% endblock %}
</head>

View File

@@ -8,15 +8,16 @@
{% endblock %}
{% block stylesheet %}
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/jquery.treeview/jquery.treeview.css,include/jslibs/jquery.contextmenu.css,skins/common/main.css,skins/admin/css/Main.css,skins/admin/css/Bases.css,skins/admin/css/Tables.css,skins/admin/css/fields.css,skins/geonames/geonames.css,assets/jquery-file-upload/jquery.fileupload-ui.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/admin/css/admin{% if not app.debug %}.min{% endif %}.css" />
{% endblock %}
{% block javascript %}
{% include "common/templates.html.twig" %}
{# note: Tinymce must be include here without minify else URL resolution for tinymce plugins will fail #}
<script type="text/javascript" src="/assets/tinymce/tinymce.min.js"></script>
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'admin' }) }}"></script>
<script type="text/javascript" src="/assets/vendors/tinymce/tinymce.min.js"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/admin/js/admin{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript">
var p4 = p4 || {};
p4.users = {sel:[]};
@@ -54,7 +55,7 @@
$(window).bind('resize',function(){resize();});
</script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : '/assets/requirejs/require.js,/scripts/apps/admin/require.config.js,/scripts/apps/admin/main/main.js' }) }}"></script>
{#<script type="text/javascript" src="{{ path('minifier', { 'f' : '/assets/requirejs/require.js,/scripts/apps/admin/require.config.js,/scripts/apps/admin/main/main.js' }) }}"></script>#}
{% endblock %}
{% block content %}

View File

@@ -2,7 +2,7 @@
{% extends "admin/common/iframe_wrap.html.twig" %}
{% block stylesheet %}
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery-ui-1.10.3/css/ui-lightness/jquery-ui-1.10.3.custom.css' }) }}" >
<link type="text/css" rel="stylesheet" href="/assets/vendors/jquery-ui/css/ui-lightness{% if not app.debug %}.min{% endif %}.css">
<style>
body{
overflow:auto;
@@ -11,8 +11,9 @@
{% endblock %}
{% block javascript %}
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js,include/path_files_tests.jquery.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery.ui/jquery-ui.js' }) }}"></script>
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery-ui/jquery-ui{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'include/path_files_tests.jquery.js' }) }}"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.path_testable').path_file_test();

View File

@@ -9,14 +9,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- styles -->
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap-responsive.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/common/css/common{% if not app.debug %}.min{% endif %}.css">
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'skins/oauth/default.css' }) }}" />
<!-- All JavaScript at the bottom, except this Modernizr build.
Modernizr enables HTML5 elements & feature detects for optimal performance. -->
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/modernizr/modernizr.js' }) }}"></script>
<script type="text/javascript" src="/assets/vendors/modernizr/modernizr{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/bootstrap/js/bootstrap{% if not app.debug %}.min{% endif %}.js"></script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
@@ -96,8 +96,5 @@
</div>
</div>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/bootstrap/js/bootstrap.js' }) }}"></script>
</body>
</html>

View File

@@ -15,13 +15,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- styles -->
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap-responsive.css' }) }}" />
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'skins/oauth/default.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/common/css/common{% if not app.debug %}.min{% endif %}.css">
<link type="text/css" rel="stylesheet" href="/assets/oauth/css/oauth{% if not app.debug %}.min{% endif %}.css">
<!-- All JavaScript at the bottom, except this Modernizr build.
Modernizr enables HTML5 elements & feature detects for optimal performance. -->
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/modernizr/modernizr.js' }) }}"></script>
<script type="text/javascript" src="/assets/vendors/modernizr/modernizr{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/bootstrap/js/bootstrap{% if not app.debug %}.min{% endif %}.js"></script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
@@ -72,9 +73,5 @@
</div>
</div>
<!-- JavaScript at the bottom for fast page loading -->
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/bootstrap/js/bootstrap.js' }) }}"></script>
</body>
</html>

View File

@@ -1,227 +0,0 @@
{% set available_results = result.getTotal() %}
{% set query_string = result.getQuery() %}
{% set current_page = result.getCurrentPage(per_page) %}
{% set total_page = result.getTotalPages(per_page) %}
{% set pagination_html = '' %}
{% set pagination_offset = 3 %}
{% set max = 2 * pagination_offset + 3 %}
{% if app['conf'].get(['registry', 'modules', 'thesaurus']) %}
<script type="text/javascript" language="javascript">
$('#proposals').empty().append("<div style='height:0px; overflow:hidden'>{{ query_string|e('js') }}</div>{{ proposals is not none ? proposals|e('js') : ''}}");
{% if app['conf'].get(['registry', 'classic', 'auto-show-proposals']) %}
{% if proposals is not none %}
chgOng(4);
{% endif %}
{% endif %}
</script>
{% endif %}
<script language="javascript" type="text/javascript">
$("#history").empty().append("{{ history|e('js') }}")
</script>
{% set tooltip_html %}
<div>{{ "client::answers: rapport de questions par bases" | trans }}</div>
{% endset %}
{% set txt %}
<b>
{{ query_string[0:36] }}{% if query_string|length > 36 %}...{% endif %}
</b>
{% trans with {'%available_results%' : available_results} %}client::answers: %available_results% reponses{% endtrans %}
<a style="float:none;display:inline-block;padding:2px 3px" class="infoTips" title="{{ tooltip_html }}">&nbsp;</a>
{% endset %}
<script type="text/javascript" language="javascript">
$(document).ready(function(){
p4.tot = {{ available_results > 0 ? available_results : 0 }};
$("#nb_answers").append("{{ txt|e('js') }}");
});
</script>
{% if total_page > 0 %}
{% if total_page > max %}
{% for p in 1..total_page %}
{% if p == current_page %}
{% set pagination_html = pagination_html ~ '<span class="naviButton sel">' ~ p ~ '</span>' %}
{% elseif (p >= (current_page - pagination_offset)) and ((p - 1) <= (current_page + pagination_offset)) %}
{% set pagination_html = pagination_html ~ '<span onclick="gotopage(' ~ p ~ ');" class="naviButton">' ~ p ~ '</span>' %}
{% elseif (current_page < (pagination_offset + 2)) and (p < (max - pagination_offset + 2)) %}
{% set pagination_html = pagination_html ~ '<span onclick="gotopage(' ~ p ~ ');" class="naviButton">' ~ p ~ '</span>' %}
{% elseif (current_page >= (total_page - pagination_offset - 2)) and (p >= (total_page - (2 * pagination_offset))) %}
{% set pagination_html = pagination_html ~ '<span onclick="gotopage(' ~ p ~ ');" class="naviButton">' ~ p ~ '</span>' %}
{% elseif p == (total_page - 1) %}
{% set pagination_html = pagination_html ~ '<span onclick="gotopage(' ~ p ~ ');" class="naviButton">...' ~ p ~ '</span>' %}
{% elseif p == 1 %}
{% set pagination_html = pagination_html ~ '<span onclick="gotopage(' ~ p ~ ');" class="naviButton">' ~ p ~ '...</span>' %}
{% endif %}
{% if p != (total_page - 1) %}
{% set pagination_html = pagination_html ~ '<span class="naviButton" style="cursor:default;"> - </span>' %}
{% endif %}
{% endfor %}
{% else %}
{% for p in 1..total_page %}
{% if p == current_page %}
{% set pagination_html = pagination_html ~ '<span class="naviButton sel">' ~ p ~ '</span>' %}
{% else %}
{% set pagination_html = pagination_html ~ '<span onclick="gotopage(' ~ p ~ ');" class="naviButton">' ~ p ~ '</span>' %}
{% endif %}
{% if p < total_page %}
{% set pagination_html = pagination_html ~ '<span class="naviButton" style="cursor:default;"> - </span>' %}
{% endif %}
{% endfor %}
{% endif %}
{% set pagination_html = pagination_html ~ '<div class="navigButtons"><div id="PREV_PAGE" class="PREV_PAGE"></div><div id="NEXT_PAGE" class="NEXT_PAGE"></div></div>' %}
{% endif %}
<script type="text/javascript" language="javascript">
$(document).ready(function(){
$("#navigation").empty().append("{{ pagination_html|e('js') }}");
{% if current_page != 0 and available_results > 0 %}
$("#PREV_PAGE").bind('click',function(){gotopage({{ current_page - 1 }})});
{% else %}
$("#PREV_PAGE").unbind('click');
{% endif %}
{% if current_page != (total_page - 1) and available_results > 0 %}
$("#NEXT_PAGE").bind('click',function(){gotopage({{ current_page + 1 }})});
{% else %}
$("#NEXT_PAGE").unbind('click');
{% endif %}
});
</script>
{% if result_data|length > 0 %}
<div>
<table id="grid" cellpadding="0" cellspacing="0" border="0" style="xwidth:95%;">
{% if mod_col == 1 %}
<tr style="visibility:hidden">
<td class="w160px"></td>
<td></td>
</tr>
{% else %}
<tr style="visibility:hidden">
{% for i in 1..mod_col %}
<td class="w160px"></td>
{% endfor %}
</tr>
{% endif %}
{% for data in result_data %}
{% set record = data['record'] %}
{% set thumbnail = record.get_thumbnail() %}
{% if loop.first %}
<tr>
{% endif %}
{% if (loop.index0 % mod_col) == 0 and not loop.first %}
</tr>
<tr>
{% endif %}
{% if mod_col == 1 and not loop.first %}
</tr>
<tr style="height:20px;">
<td colspan="2" class="td_mod_lst_img"><hr /></td>
</tr>
<tr>
{% endif %}
{% if mod_col == 1 %}
<td valign="top" class="td_mod_lst_desc">
{% else %}
<td class="w160px">
{% endif %}
<div class="diapo w160px" style="margin-bottom:0;border-bottom:none;">
<div class="title" style="max-height:100%" title="{{ record.get_title() }}">{{ record.get_title() }}</div>
<div class="status">
{% for flag in record_flags(record) %}
<img src="{{ flag.path }}" title="{{ attribute(flag.labels, app.locale) }}" />
{% endfor %}
</div>
<table cellpadding="0" cellspacing="0" style="margin: 0pt auto;">
<tr class="h160px">
<td class="image w160px h160px">
{% if data['is_video'] or data['is_audio'] %}
{% if record.get_formated_duration() is not empty %}
<div class="dmco_text duration">{{ record.get_formated_duration() }}</div>
{% endif %}
{% endif %}
{% if record.isStory %}
{% set on_click_html = "openPreview('REG',0, '" ~ record.get_serialize_key() ~ "');" %}
{% else %}
{% set on_click_html = "openPreview('RESULT','" ~ record.getNumber() ~ "');" %}
{% endif %}
{% if mod_col == 1 %}
{% set pic_roll = "/prod/tooltip/preview/" ~ record.get_sbas_id() ~ "/" ~ record.get_record_id() ~ "/" %}
{% else %}
{% set pic_roll = "/prod/tooltip/caption/" ~ record.get_sbas_id() ~ "/" ~ record.get_record_id() ~ "/answer/" %}
{% endif %}
<img
onclick="{{ on_click_html }}"
class="captionTips {{ thumbnail.get_width() > thumbnail.get_height() ? 'hthbimg' : 'vthbimg' }}"
id="IMG{{ record.get_serialize_key() }}"
src="{{ thumbnail.get_url() }}"
tooltipsrc="{{ pic_roll }}"
/>
</td>
</tr>
</table>
</div>
<div class="diapo w160px" style="border-top:none;">
<div class="buttons">
<div class="minilogos">{{ data['mini_logo']|raw }}</div>
{% if data['can_download'] %}
<div class="downloader" title="{{ 'action : exporter' | trans }}" onclick="evt_dwnl('{{ record.get_serialize_key() }}');"></div>
{% endif %}
<div class="printer" title="{{ 'action : print' | trans }}" onClick="evt_print('{{ record.get_serialize_key() }}');"></div>
{% if data['can_add_to_basket'] %}
<div class="baskAdder" title="{{ 'action : ajouter au panier' | trans }}" onClick="evt_add_in_chutier({{ record.get_sbas_id() }}, {{ record.get_record_id() }});"></div>
{% endif %}
{% if mod_col != 1 %}
<div style="margin-right:3px;" class="infoTips" id="INFO{{ record.get_serialize_key() }}" tooltipsrc="{{ path('prod_tooltip_technical_data', { 'sbas_id' : record.get_sbas_id(), 'record_id' : record.get_record_id() }) }}"></div>
{% if data['preview_exists'] %}
<div class="previewTips" tooltipsrc="{{ path('prod_tooltip_preview', { 'sbas_id' : record.get_sbas_id(), 'record_id' : record.get_record_id() }) }}" id="ZOOM{{ record.get_serialize_key() }}">&nbsp;</div>
{% endif %}
{% endif %}
</div>
</div>
</td>
{% if mod_col == 1 %}
<td valign="top">
<div class="desc1">
<div class="caption" class="desc2">
{{ data['caption'] }}
<hr />
{{ data['light_info'] }}
</div>
</div>
</td>
{% endif %}
{% endfor %}
</table>
<script type="text/javascript">
$(document).ready(function(){
p4.tot = {{ available_results }};
p4.tot_options = '{{ search_engine_option|raw }}';
p4.tot_query = "{{ query_string }}";
});
</script>
</div>
{% endif %}

View File

@@ -1,147 +0,0 @@
{% set nb_basket_elements = selected_basket_elements.count() %}
<div id="blocBask" class="bodyLeft" style="height:314px;bottom:0px;">
<div class="baskTitle">
<div id="flechenochu" class="flechenochu"></div>
<div class="baskName">
{% if selected_basket is not none %}
{{ selected_basket.getName() }}
:
{% trans with {'%nb_basket_elements%' : nb_basket_elements} %}paniers:: %nb_basket_elements% documents dans le panier{% endtrans %}
{% if app['conf'].get(['registry', 'classic', 'basket-size-display']) %}
({{ selected_basket.getSize(app) }} Mo)
{% endif %}
{% endif %}
</div>
</div>
<div>
<table style='width:99%' class='baskIndicator' id='baskMainTable'>
<tr>
<td>
{% if total_baskets > 0 %}
<select id="chutier_name" name="chutier_name" onChange="chg_chu();" style="width:120px;">
<optgroup label="{{ 'paniers::categories: mes paniers' | trans }}">
{% for basket in user_baskets %}
<option class="chut_choice" {% if basket.getId() == selected_basket.getId() %}selected{% endif %} value="{{ basket.getId() }}">
{{ basket.getName() }}
</option>
{% endfor %}
</optgroup>
<optgroup label="{{ 'paniers::categories: paniers recus' | trans }}">
{% for basket in recept_user_basket %}
<option class="chut_choice" {% if basket.getId() == selected_basket.getId() %}selected{% endif %} value="{{ basket.getId() }}">
{{ basket.getName() }}
</option>
{% endfor %}
</optgroup>
</select>
{% endif %}
</td>
<td style="width:40%">
{% if total_baskets > 0 %}
<div class="baskDel" title="{{ 'action : supprimer' | trans }}" onclick="evt_chutier('DELSSEL');"/></div>
{% endif %}
<div class="baskCreate" title="{{ 'action:: nouveau panier' | trans }}" onclick="newBasket();"></div>
<div style="float:right;position:relative;width:3px;height:16px;"></div>
{% if total_baskets > 0 and (app.getAclForUser(app.getAuthenticatedUser()).has_right("candwnldhd") or app.getAclForUser(app.getAuthenticatedUser()).has_right("candwnldpreview") or app.getAclForUser(app.getAuthenticatedUser()).has_right("cancmd") > 0) %}
<div class="baskDownload" title="{{ 'action : exporter' | trans }}" onclick="evt_dwnl();"></div>
{% endif %}
{% if total_baskets > 0%}
<div class="baskPrint" title="{{ 'action : print' | trans }}" onclick="evt_print();"></div>
{% endif %}
{% if total_baskets > 0 %}
<div class="baskComparator" onclick="openCompare({{ selected_basket.getId() }})" title="{{ 'action : ouvrir dans le comparateur' | trans }}"></div>
{% endif %}
</td>
</tr>
</table>
</div>
<div class="divexterne" style="height:270px;overflow-x:hidden;overflow-y:auto;position:relative">
{% if selected_basket is not none and selected_basket.getPusher() is not none %}
{% set pusher_name = selected_basket.getPusher().getDisplayName() %}
<div class="txtPushClient">
{% trans with {'%pusher_name%' : pusher_name} %}paniers:: panier emis par %pusher_name%{% endtrans %}
</div>
{% endif %}
{% for element in selected_basket_elements %}
{% set record = element.getRecord(app) %}
{% set thumbnail = record.get_thumbnail() %}
{% if thumbnail.get_width() > thumbnail.get_height() %} {# paysage #}
{% if thumbnail.get_width() > 67 %}
{% set width = 67 %}
{% set top = ((67 - (67 * thumbnail.get_height() / thumbnail.get_width())) / 2)|round(0, constant('PHP_ROUND_HALF_UP')) %}
{% else %}
{% set width = thumbnail.get_width() %}
{% set top = ((67 - thumbnail.get_height()) / 2)|round(0, constant('PHP_ROUND_HALF_UP')) %}
{% endif %}
{% set dim = "width:" ~ width ~ "px" %}
{% else %} {# portrait #}
{% if thumbnail.get_height() > 55 %}
{% set height = 55 %}
{% set top = ((67 - 55) / 2)|round(0, constant('PHP_ROUND_HALF_UP')) %}
{% else %}
{% set height = thumbnail.get_height() %}
{% set top = ((67 - thumbnail.get_height()) / 2)|round(0, constant('PHP_ROUND_HALF_UP')) %}
{% endif %}
{% set dim = "height:" ~ height ~ "px" %}
{% endif %}
{% set tooltip = '' %}
{% if app['conf'].get(['registry', 'classic', 'basket-rollover']) %}
{% set tooltip = path('prod_tooltip_caption', { 'sbas_id' : record.get_sbas_id(), 'record_id' : record.get_record_id(), 'context' : 'basket', 'number' : record.getNumber() }) %}
{% endif %}
<div class="diapochu">
<div class="image">
<img
onclick="openPreview('BASK',{{ record.getNumber() }}, {{ selected_basket.getId() }}); return(false);"
{% if tooltip %}tooltipsrc="{{ tooltip }}"{% endif %}
style="position:relative; top:{{ top }}px; {{ dim }}"
class="{{ thumbnail.get_height() > 42 ? 'hThumbnail' : 'vThumbnail' }} baskTips"
src="{{ thumbnail.get_url() }}"
/>
</div>
<div class="tools">
<div
class="baskOneDel"
onclick="evt_del_in_chutier({{ element.getId() }});"
title="{{ 'action : supprimer' | trans }}">
</div>
{% if app.getAclForUser(app.getAuthenticatedUser()).has_right_on_base(record.get_base_id(), 'candwnldhd')
or app.getAclForUser(app.getAuthenticatedUser()).has_right_on_base(record.get_base_id(), 'candwnldpreview')
or app.getAclForUser(app.getAuthenticatedUser()).has_right_on_base(record.get_base_id(), 'cancmd')
or app.getAclForUser(app.getAuthenticatedUser()).has_preview_grant(record) %}
<div class="baskOneDownload" onclick="evt_dwnl('{{ record.get_serialize_key() }}');" title="{{ 'action : exporter' | trans }}"></div>
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
<div id="blocNoBask" class="bodyLeft" style="height: 22px;display:none;bottom:0px;">
<div class="baskTitle">
<div id="flechechu" class="flechenochu"></div>
<div id="viewtext" class="baskName">
{% if selected_basket is not none %}
{{ selected_basket.getName() }}
:
{% trans with {'%nb_basket_elements%' : nb_basket_elements} %}paniers:: %nb_basket_elements% documents dans le panier{% endtrans %}
{% endif %}
<span style="width:16px;height:16px;position: absolute; right: 10px;background-position:center center;" class='baskIndicator'></span></div>
</div>
</div>
<script type="text/javascript">
var oldNoview = p4.nbNoview;
p4.nbNoview = 0;
if(p4.nbNoview > oldNoview) {
alert('{{ 'paniers:: vous avez de nouveaux paniers non consultes' | trans }}');
}
</script>

View File

@@ -1,129 +0,0 @@
{% if app['locale'] not in ['fr', 'en', 'us'] %}
{% set lng = 'fr' %}
{% else %}
{% set lng = app['locale'] %}
{% endif %}
{% if lng == 'fr' %}
<div class="client_help">
<h5>La recherche s'effectue grâce à la boîte de dialogue qui se trouve en haut à gauche de l'écran. Sachez que vous pouvez utiliser les opérateurs ou caractères spéciaux suivants :</h5>
<h5 style="border:#CCCCCC 2px solid">* , ? , ET , OU , SAUF , DANS , DERNIERS , TOUT&nbsp;&nbsp; &nbsp;(ou AND , OR , EXCEPT , LAST , ALL)</h5>
<H5>Caractères de troncature</H5>
<table>
<tr>
<td valign="top"><kbd class="ky">auto<b>*</b></kbd></td>
<td valign="top"> : "automobile", "automate", "autoroute", ...</td>
</tr>
<tr>
<td valign="top"><kbd class="ky">dé<b>?</b>it</kbd></td>
<td valign="top"> : "délit", "débit", ...</td>
</tr>
</table>
<H5>Visualiser toutes les photos / les dernières photos</H5>
<table>
<tr>
<td valign="top"><kbd class="ky"><b>TOUT</b></kbd></td>
<td valign="top"> : toutes les photos des collections sélectionnées</td>
</tr>
<tr>
<td valign="top"><kbd class="ky"><b>LAST</b> 20</kbd></td>
<td valign="top"> : les 20 dernières photos archivées dans la base</td>
</tr>
</table>
<H5>Recherche multicritères</H5>
Vous pouvez affiner votre recherche avec les opérateurs : ET, OU, SAUF ou DANS<br>
<table>
<tr>
<td valign="top"><kbd class="ky">sport <b>ET</b> automobile</kbd></td>
<td valign="top"> : photos comprenant les deux mots.</td>
</tr>
<tr>
<td valign="top"><kbd class="ky">journal <b>OU</b> jt</kbd></td>
<td valign="top"> : photos comprenant un mot ou l'autre (ou les deux).</td>
</tr>
<tr>
<td valign="top"><kbd class="ky">cannes <b>SAUF</b> festival</kbd></td>
<td valign="top"> : cannes, hors festival.</td>
</tr>
<tr>
<td valign="top"><kbd class="ky">thalassa <b>DANS</b> titre</kbd></td>
<td valign="top"> : photos où le terme est au moins présent dans le titre, en évitant par exemple celles où le terme est uniquement cité dans la légende.</td>
</tr>
</table>
<center>
<h3 style="background-color:#CCCCCC; color:#000000">Attention :</h3>
<h4> pour chercher une phrase contenant un des mots-clé ci-dessus,<br/>utilisez les <i>&nbsp;guillemets&nbsp;</i> :</h4>
<kbd class='tx'><i>"</i>C <b>dans</b> l'air<i>"</i></kbd>
, <kbd class='tx'><i>"</i><b>Et</b> Dieu créa la femme<i>"</i></kbd>
, <kbd class='tx'><i>"</i>bijou en <b>or</b><i>"</i></kbd>
, <kbd class='tx'><i>"</i><b>tout</b> le sport<i>"</i></kbd>
, ...
</center>
</div>
{% elseif lng == 'en' or lng == 'us' %}
<div class="client_help">
<h5>The search can be made through a dialogue box which can be found up left of your screen. Please note that you can use the following specific characters or boolean operators :</h5>
<h5 style="border:#CCCCCC 2px solid">* , ? , AND , OR , EXCEPT , IN, LAST , ALL</h5>
<H5>Truncation characters :</H5>
<table>
<tr>
<td valign="top"><kbd class="ky">autho<b>*</b></kbd></td>
<td valign="top"> : "authority", "authorization", "autorized", ...</td>
</tr>
<tr>
<td valign="top"><kbd class="ky">de<b>?</b>t</kbd></td>
<td valign="top"> : "debt", "dent", ...</td>
</tr>
</table>
<H5>View all pictures / last documents : </H5>
<table>
<tr>
<td valign="top"><kbd class="ky"><b>ALL</b></kbd></td>
<td valign="top"> : toutes les photos des collections sélectionnées</td>
</tr>
<tr>
<td valign="top"><kbd class="ky"><b>LAST</b> 20</kbd></td>
<td valign="top"> : The last 20 documents archived in database</td>
</tr>
</table>
<H5>Multi criteria search :</H5>
You can refine your search with the following operators : AND , OR , EXCEPT or IN<br>
<table>
<tr>
<td valign="top"><kbd class="ky">sport <b>AND</b> cars</kbd></td>
<td valign="top"> : documents including both words.</td>
</tr>
<tr>
<td valign="top"><kbd class="ky">new <b>OR</b> recent</kbd></td>
<td valign="top"> : documents including one word or the other (or both).</td>
</tr>
<tr>
<td valign="top"><kbd class="ky">cannes <b>EXCEPT</b> festival</kbd></td>
<td valign="top"> : documents including the word « Cannes », except the word « festival »..</td>
</tr>
<tr>
<td valign="top"><kbd class="ky">thalassa <b>IN</b> title</kbd></td>
<td valign="top"> : documents where the word is at least in the title, avoiding for instance the ones where the word is quoted in the caption only.</td>
</tr>
</table>
<center>
<h3 style="background-color:#CCCCCC; color:#000000">Be careful :</h3>
<h4>To make a search in a sentence including one of the keywords above,<br/>please use the <i>quotation</i> marks :</h4>
<kbd class='tx'><i>"</i>come <b>and</b> see<i>"</i></kbd>
, <kbd class='tx'><i>"</i><b>except</b> for<i>"</i></kbd>
, <kbd class='tx'><i>"</i>at <b>last</b><i>"</i></kbd>
, <kbd class='tx'><i>"</i><b>all</b> along<i>"</i></kbd>
, ...
</center>
</div>
{% endif %}

View File

@@ -1,118 +0,0 @@
<div style="height:50px;" class="homePubTitleBox">
<div style="float:left;width:350px;"><h1 style="font-size:20px;margin-top:15px;">
<h1>{{ "publications:: dernieres publications" | trans }}</h1>
</div>
</div>
<div>
{% for entry in feeds.entries.slice(0, 5) %}
<div class="boxPubli">
<div class="titlePubli">
<h2 class="htitlePubli">
<a class="homePubTitle" onclick="openCompare('{{ entry.getId() }}');">
{{ entry.getTitle() }}
</a>
</h2>
<span class="publiInfos">
{{ app['date-formatter'].getPrettyString(entry.getCreatedOn()) }}
{% if entry.getAuthorEmail() %}
<a class="homePubLink" href="mailto:{{ entry.getAuthorEmail() }}">
{{ entry.getAuthorName() }}
</a>
{% if entry.getUpdatedOn() > entry.getCreatedOn() %}
<br/>
<span style="font-style:italic;">
{{ "publications:: derniere mise a jour" | trans }} {{ app['date-formatter'].getPrettyString(entry.getUpdatedOn()) }}
</span>
<br />
<br />
{% endif %}
{% endif %}
</span>
</div>
<div class="descPubli">
<div style="margin:10px 0 10px 20px;width:80%;">
{% if entry.getSubtitle()|trim is not empty %}
{{ entry.getSubtitle()|nl2br }}
{% endif %}
</div>
</div>
<div style="width:100%;position:relative;float:left;" id="PUBLICONT{{ entry.getId() }}">
{% for item in entry.getItems() %}
{% set record = item.getRecord(app) %}
{% set thumbnail = record.get_thumbnail() %}
{% set docType = record.get_type() %}
{% set duration = "" %}
{% if thumbnail.get_height() > 0 %}
{% set ratio = thumbnail.get_width() / thumbnail.get_height() %}
{% else %}
{% set ratio = 1 %}
{% endif %}
{% set wrapper_size = image_size + 30 %}
{% set types = {
"isVideo" : (docType == "video" ? true : false),
"isAudio" : (docType == "audio" ? true : false),
"isImage" : (docType == "image" or (docType != "video" and docType != "audio") ? true : false)
} %}
{% if types["isVideo"] or types["isAudio"] %}
{% set duration = record.get_formated_duration() %}
{% endif %}
{% if ratio > 1 %}
{% set cw = [(image_size - 30), (thumbnail.get_width())]|min %}
{% set ch = cw / ratio %}
{% set pv = ((image_size - ch) / 2)|floor %}
{% set ph = ((image_size - cw) / 2)|floor %}
{% set image_style %}
width:{{ cw }}px;xpadding:{{ pv }}px {{ ph }}px;
{% endset %}
{% else %}
{% set ch = [(image_size - 30), (thumbnail.get_height())]|min %}
{% set cw = ch * ratio %}
{% set pv = ((image_size - ch) / 2)|floor %}
{% set ph = ((image_size - cw) / 2)|floor %}
{% set image_style %}
height:{{ ch }}px;xpadding:{{ pv }}px {{ ph }}px;
{% endset %}
{% endif %}
<div style="width:{{ wrapper_size }}px;" sbas="{{ record.get_sbas_id() }}" id="{{"IMGT_" ~ record.get_serialize_key() ~ "_PUB_" ~ entry.getId() }}" class="IMGT diapo" onclick="openPreview('FEED','{{ item.getOrd() }}','{{ entry.getId() }}');">
<div>
<div class="title" style="height:40px;">
{{ record.get_title() }}
</div>
</div>
<table class="thumb w160px h160px" style="xheight:{{ image_size }}px;" cellpadding="0" valign="middle">
<tr>
<td>
{% if duration is not empty %}
<div class="duration">
{{ duration }}
</div>
{% endif %}
<img title="{% embed "common/caption.html.twig" with {'view': 'publi', 'record': record} %}{% endembed %}" class="captionTips" src="{{ thumbnail.get_url() }}" style="{{ image_style }}" />
</td>
</tr>
</table>
<div style="height: 25px;position:relative;">
<table class="bottom">
<tr>
<td></td>
<td style='text-align:right;' valign='bottom' nowrap>
<div tooltipsrc="{{ path('prod_tooltip_preview', { 'sbas_id' : record.get_sbas_id(), 'record_id' : record.get_record_id() }) }}" class="previewTips"></div>&nbsp;
</td>
</tr>
</table>
</div>
</div>
{% endfor %}
</div>
</div>
{% endfor %}
</div>

View File

@@ -1,524 +0,0 @@
<html lang="{{ app['locale'] }}">
<head>
<title>{{ app['conf'].get(['registry', 'general', 'title']) }} Client</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" type="image/x-icon" href="/skins/client/favicon.ico" />
<style ID="MYS" type="text/css">
IMG.hthbimg {
WIDTH: 108px;
}
IMG.vthbimg {
HEIGHT: 108px;
}
.w160px {
WIDTH: 128px;
}
.h160px {
HEIGHT: 128px;
}
</style>
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery-ui-1.10.3/css/dark-hive/jquery-ui-1.10.3.custom.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery.contextmenu.css,skins/common/main.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/client/clientcolor.css' }) }}" />
{% if css_file %}
<link id="skinCss" type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : css_file }) }}" />
{% endif %}
<style>
#PREVIEWCURRENTCONT {
top:0;
left:0;
right:0;
bottom:0;
}
</style>
<!--[if IE 6]>
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/client/ie6.css' }) }}" >
<![endif]-->
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery.ui/jquery-ui.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'client' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'include/jslibs/flowplayer/flowplayer-3.2.13.min.js' }) }}"></script>
</head>
<body class="PNB" style="overflow:hidden;width:100%;height:100%;">
{% if app['phraseanet.configuration']['deprecate-client']|default(true) %}
<div id="clientModal" >
<div class="modal-body">
<p style="background-color: red">
{{ "Pour des raisons techniques cette interface n'est plus maintenue et serta bientôt rendue
inacessible. Nous vous invitons si vous le souhaitez à utiliser production dés maintenant."|trans }}
</p>
<br />
<p><a href="{{ path('prod') }}" >{{ 'Production '|trans }} > </a></p>
</div>
</div>
<script type="text/javascript">
$('#clientModal').dialog();
</script>
{% endif %}
<div id="container" style="position:absolute;top:0;left:0;overflow:hidden;width:100%;height:100%;">
{% include 'common/menubar.html.twig' %}
<div style="top:30px;position:relative;float:left;">
<div id="left" style="height:100%;width:265px;position:relative;float:left;">
<div style="overflow:hidden;border:none;padding:0;margin:0;position:relative;top:0px;height:0px;width:265px;" id="search">
<div class="bodyLeft" style="top:3px;">
<div id="bigTabsBckg">
<table align="center" border="0" style="table-layout:fixed; top:1px; left:2px;height:22px; width:253px;" cellpadding="0" cellspacing="0">
<tr>
{% set active_tab = '' %}
{% for key_tab, tab in tabs_setup %}
{% if key_tab != 0 %}
{% set tab_active = key_tab == app['conf'].get(['registry', 'classic', 'active-tab']) ? 'actif' : 'inactif' %}
{% if tab == 1 %}
{% if tab_active == 'actif' %}
{% set active_tab = 'ongSearch' %}
{% endif %}
<td class="bigTabs {{ tab_active }}" id="ongSearch" onclick="chgOngSearch('ongSearch');">{{ 'client:: recherche' | trans }}</td>
{% elseif tab == 2 %}
{% if tab_active == 'actif' %}
{% set active_tab = 'ongAdvSearch' %}
{% endif %}
<td class="bigTabs {{ tab_active }}" id="ongAdvSearch" onclick="chgOngSearch('ongAdvSearch');return(false);">{{ 'client:: recherche avancee' | trans }}</td>
{% elseif tab == 3 %}
{% if tab_active == 'actif' %}
{% set active_tab = 'ongTopic' %}
{% endif %}
<td class="bigTabs {{ tab_active }}" id="ongTopic" onclick="chgOngSearch('ongTopic');return(false);"><{{ 'client:: topics' | trans }}</td>
{% endif %}
{% endif %}
{% endfor %}
</tr>
</table>
</div>
<form style="margin:0px; padding:0px;" name="search" id="searchForm" action="{{ path('client_query') }}" onkeypress="if(event.keyCode==13){ doSearch();return false;}" method="post">
<div id="idongSearch">
<div id="mainSearch" style="overflow:hidden;">
<div>
<div>
<input type="text" name="qry" value="{{ start_page_query }}" id="qry" style="width:245px;">
</div>
<div id="idongAdvSearch" style="display:none;">
<div>
<select name="opAdv[]" style="width:54px">
<option value="{{ "phraseanet::technique:: et" | trans }}">{{ "phraseanet::technique:: et" | trans }}</option>
<option value="{{ "phraseanet::technique:: or" | trans }}">{{ "phraseanet::technique:: or" | trans }}</option>
<option value="{{ "phraseanet::technique:: except" | trans }}">{{ "phraseanet::technique:: except" | trans }}</option>
</select>
<input type="text" name="qryAdv[]" id="qryAdv1" style="width:185px">
</div>
<div>
<select name="opAdv[]" style="width:54px">
<option value="{{ "phraseanet::technique:: et" | trans }}">{{ "phraseanet::technique:: et" | trans }}</option>
<option value="{{ "phraseanet::technique:: or" | trans }}">{{ "phraseanet::technique:: or" | trans }}</option>
<option value="{{ "phraseanet::technique:: except" | trans }}">{{ "phraseanet::technique:: except" | trans }}</option>
</select>
<input type="text" name="qryAdv[]" id="qryAdv2" style="width:185px">
</div>
</div>
{% if app['conf'].get(['registry', 'classic', 'collection-presentation']) == 'popup' %}
<div>
{{ "client::recherche: rechercher dans les bases :" | trans }}
{% if app.getApplicationBox().get_databoxes()|length > 0 %}
<select id="basSelector" onchange="beforeAnswer();" style="width:245px;">
<option value="{{ storage_access['collections']|keys|join(';') }}">{{ "client::recherche: rechercher dans toutes les bases" | trans }}</option>
{% for sbasId, databoxWrapper in storage_access['databoxes'] %}
{% set databox = databoxWrapper['databoxes'] %}
{% set collections = databoxWrapper['collections'] %}
{% if collections|length > 0 %}
<optgroup label="{{ databox.get_label(app['locale']) }}">
<option value="{{ collection|keys|join(';') }}">{{ databox.get_label(app['locale']) }}</option>
{% for collId, collection in collections %}
<option value="{{ collId }}" checked="checked">{{ collection.get_name() }}</option>
{% endfor %}
</optgroup>
{% endif %}
{% endfor %}
</select>
{% endif %}
</div>
{% endif %}
<div>
<select title="{{ "phraseanet:: presentation des resultats" | trans }}" name="mod" id="mod" onChange="changeModCol();" >
{% for property in grid_properties %}
{% set selected = '' %}
{% if mod_pres is empty %}
{% if property['selected'] == '1' %}
{% set selected = 'selected' %}
{% endif %}
{% elseif mod_pres == property['h'] ~ 'X' ~ property['w'] %}
{% set selected = 'selected' %}
{% endif %}
<option {{ selected }} value="{{ property['h'] ~ 'X' ~ property['w'] }}"> {{ property['name'] }}</option>
{% endfor %}
</select>
<input type="radio" value="0" class="checkbox" {% if app['conf'].get(['registry', 'searchengine', 'default-query-type']) == 0 %}checked="checked"{% endif %} id="search_type_docs" name="search_type" /><label for="search_type_docs">{{ "phraseanet::type:: documents" | trans }}</label>
<input type="radio" value="1" class="checkbox" {% if app['conf'].get(['registry', 'searchengine', 'default-query-type']) != 0 %}checked="checked"{% endif %} id="search_type_group" name="search_type" /><label for="search_type_group">{{ "phraseanet::type:: reportages" | trans }}</label>
<input type="hidden" name="sort" value=""/>
<input type="hidden" name="ord" id="searchOrd" value="{{ search_order }}" />
</div>
<div>
<div style="text-align:center;"><input class="pointer" type="button" onclick="doSearch();" value="{{ "boutton::rechercher" | trans }}" /></div>
</div>
</div>
<input type="hidden" name="pag" id="formAnswerPage" value="">
<input type="hidden" name="nba" value="">
<div class="onglets" style="white-space: nowrap; margin-left: 5px; width: 227px;">
{% if app['conf'].get(['registry', 'classic', 'collection-presentation']) == 'checkbox' %}
<span id="idOnglet1" class="actif actives" onclick="chgOng(1);">
{{ "phraseanet:: collections" | trans }} <img onclick="removeFilters();" id="filter_danger" src="/skins/icons/alert.png" title="{{ "client::recherche: cliquez ici pour desactiver tous les filtres de toutes base" | trans }}" style="vertical-align:bottom;width:12px;height:12px;display:none;"/>
</span>
{% endif %}
{% if app['conf'].get(['registry', 'modules', 'thesaurus']) %}
<span id="idOnglet4" class="{{ app['conf'].get(['registry', 'classic', 'collection-presentation']) == 'checkbox' ? "inactif" : "actif" }} actives" onclick="chgOng(4);">
{{ "phraseanet:: propositions" | trans }}
</span>
{% endif %}
<span id="idOnglet5" class="{{ not app['conf'].get(['registry', 'classic', 'collection-presentation']) == 'checkbox' and not app['conf'].get(['registry', 'modules', 'thesaurus']) ? 'actif' : 'inactif' }} actives" onclick="chgOng(5);">
{{ "phraseanet:: historique" | trans }}
</span>
</div>
</div>
<div id="searchMiddle" style="">
{% if app['conf'].get(['registry', 'classic', 'collection-presentation']) == 'checkbox' %}
<div id="onglet1" style="display:block;height:100%;overflow-x: hidden; overflow-y: auto;" class="searchZone" >
<div>
<div style="text-align:center;margin:5px;">
<input id="bases_all" class="actives" type="button" value="{{ 'boutton:: selectionner toutes les bases' | trans }}" onclick="checkBases(true);"/>
<input id="bases_none" class="actives" type="button" value="{{ 'boutton:: selectionner aucune base' | trans }}" onclick="checkBases(false);"/>
</div>
</div>
<div>
<div class="basesContainer">
{% for sbasId, databoxWrapper in storage_access['databoxes'] %}
{% set databox = databoxWrapper['databox'] %}
{% if app['conf'].get(['registry', 'actions', 'collection-display']) %}
<div class="basContainer">
<div class="basContTitle">
<div class="basTitle">
<input class="basChecker checkbox" id="basChecker{{ sbasId }}" type="checkbox" onclick="chkSbas({{ sbasId }},this)" />
<label for="basChecker{{ sbasId }}">{{ databox.get_label(app['locale']) }}</label>
<img onclick="removeFilters({{ sbasId }});" id="filter_danger{{ sbasId }}" class="filter_danger" src="/skins/icons/alert.png" title="{{ "client::recherche: cliquez ici pour desactiver tous les filtres de cette base" | trans }}" style="vertical-align:bottom;width:12px;height:12px;display:none;"/>
</div>
{% set status_bit_filters = '' %}
{% for bit, data in databox.getStatusStructure.getStatuses if data['searchable'] %}
{% set html_status_bit %}
<div style="text-align:center;overflow:hidden;">
<table style="table-layout:fixed;width:90%;text-align:left;" cellspacing="0" cellpadding="0">
<tr>
<td style="width:50%" nowrap>
<input class="checkbox" db="{{ sbasId }}" onchange="checkFilters();" type="checkbox" name="status[]" id="statusfil_{{ sbasId }}_off{{ sbasId }}" value="{{ sbasId }}_of{{ sbasId }}"/>
<label title="{{ data['labels_off_i18n'][app['locale']] }}" for="statusfil_{{ sbasId }}_off{{ bit }}">{% if data['img_off'] %}<img src="{{ data['img_off'] }}" title="{{ data['labels_off_i18n'][app['locale']] }}" style="width:16px;height:16px;vertical-align:bottom" />{% endif %}{{ data['labels_off_i18n'][app['locale']] }}</label>
</td>
<td style="width:50%" nowrap>
<input class="checkbox" db="{{ sbasId }}" onchange="checkFilters();" type="checkbox" name="status[]" id="statusfil_{{ sbasId }}_on{{ sbasId }}" value="{{ sbasId }}_on{{ sbasId }}"/>
<label title="{{ data['labels_on_i18n'][app['locale']] }}" for="statusfil_{{ sbasId }}_on{{ bit }}">{% if data['img_on']%}<img src="{{ data['img_on'] }}" title="{{ data['labels_on_i18n'][app['locale']] }}" style="width:16px;height:16px;vertical-align:bottom" />{% endif %}{{ data['labels_on_i18n'][app['locale']] }}</label>
</td>
</tr>
</table>
</div>
{% endset %}
{% set status_bit_filters = status_bit_filters ~ '' ~ html_status_bit %}
{% endfor %}
{% set xml_structure = databox.get_sxml_structure() %}
{% if xml_structure %}
{% set date_filters = '' %}
{% set fields_filters = '' %}
{% if xml_structure.description %}
{% for f, field in xml_structure.description.children() %}
{% set field_type = '' %}
{% set field_searchclient = '' %}
{% for name, value in field.attributes() %}
{% if name == "type" %}
{% set field_type = value %}
{% endif %}
{% if name == "searchclient" %}
{% set field_searchclient = value %}
{% endif %}
{% endfor %}
{% if field_type == 'date' and field_searchclient == '1' %}
{% set date_filter_html %}
<div>
<table style="width:98%;text-align:left;" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
{{ f }}
</td>
</tr>
<tr>
<td style="width:50%;">
{{ "phraseanet::time:: de" | trans }}
</td>
<td style="width:50%;">
{{ "phraseanet::time:: a" | trans }}
</td>
</tr>
<tr>
<td style="width:50%;">
<input type="hidden" name="dateminfield[]" value="{{ sbasId }}_{{ f }}">
<input db="{{ sbasId }}" onchange="checkFilters();" class="datepicker" type="text" name="datemin[]">
</td>
<td style="width:50%;">
<input type="hidden" name="datemaxfield[]" value="{{ sbasId }}_{{ f }}">
<input db="{{ sbasId }}" onchange="checkFilters();" class="datepicker" type="text" name="datemax[]">
</td>
</tr>
</table>
</div>
{% endset %}
{% set date_filters = date_filters ~ '' ~ date_filter_html %}
{% elseif field_type != 'date' %}
{% set field_filter_html %}
<option value="{{ sbasId }}_{{ f }}">{{ f }}</option>
{% endset %}
{% set fields_filters = fields_filters ~ '' ~ field_filter_html %}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% if status_bit_filters is not empty or fields_filters is not empty or date_filters is not empty %}
<div class="filter">
<span class="actives" onclick="toggleFilter('Filters{{sbasId}}',this);">
{{ "client::recherche: filter sur" | trans }}
</span>
</div>
<div id="Filters{{ sbasId }}" class="base_filter" style="display:none;">
{% if date_filters is not empty %}
<div class="filterTitle">{{ "client::recherche: filtrer par dates" | trans }}</div>
{{ date_filters|raw }}
{% endif %}
{% if status_bit_filters is not empty %}
<div class="filterTitle">{{ "client::recherche: filtrer par status" | trans }}</div>
{{ status_bit_filters|raw }}
{% endif %}
{% if fields_filters is not empty %}
<div class="filterTitle">{{ "client::recherche: filtrer par champs" | trans }}</div>
<div>
<select db="{{sbasId}}" onchange="checkFilters();" name="infield[]" style="width:165px;">
<option value="" selected="selected">{{ 'client::recherche: filtrer par champs : tous les champs' | trans }}</option>
{{ fields_filters|raw }}
</select>
</div>
{% endif %}
</div>
<div style="height:4px;">&nbsp;</div>
{% endif %}
</div>
</div>
{% endif %} {# decalage ici a verifier l 421 fichier original #}
<div class="basGrp">
{% for collId, collection in storage_access['collections'] %}
<div>
<input type="checkbox" class="checkbox basItem basItem{{ sbasId }}" checked name="bases[]" id="basChk{{ collId}}" value="{{ collId }}">
<label for="basChk{{ collId }}">{{ collection.get_name() }}</label>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if app['conf'].get(['registry', 'modules', 'thesaurus']) %}
<div id="onglet4" style="{% if app['conf'].get(['registry', 'classic', 'collection-presentation']) == 'checkbox' %}display:none;{% endif %}height:100%;overflow-x: hidden; overflow-y: auto;" class="searchZone" >
<div>
<div id="proposals" style="width:235px; overflow:hidden"></div>
</div>
</div>
{% endif %}
<div id="onglet5" style="{% if app['conf'].get(['registry', 'classic', 'collection-presentation']) == 'checkbox' or app['conf'].get(['registry', 'modules', 'thesaurus']) %}display:none;{% endif %}height:100%;overflow-x: hidden; overflow-y: auto;" class="searchZone" >
<div id="history"></div>
</div>
</div>
</form>
<div id="idongTopic" style="overflow-x:hidden;overflow-y:auto;">
{{ render_topics|raw }}
</div>
<div class="bodySearchBottom">
</div>
</div>
</div>
</div>
<div id="baskets" class="loading" style="overflow:hidden;border:none;padding:0;margin:0;position:relative;bottom:0;width:265px;height:320px;">
</div>
</div>
<div id="right" style="position:relative;top:0;height:100%;float:right;">
<div id="nb_answersEXT">
<div id="nb_answers"></div>
</div>
<div id="answers" style="overflow-x:auto;overflow-y:auto;border:none;padding:0;margin:0;position:relative;left:0;top:0;margin:10px 0;">
{{ phrasea_home|raw }}
</div>
<div class="divNavig" id="navigation"></div>
</div>
</div>
<div id="OVERLAY" style="display:none;"></div>
<div id="PREVIEWBOX" style="overflow:hidden;">
<div id="PREVIEWTITLE" style="height:50px;">
<div style="margin:0 20px 8px;height:34px;">
<span id="SPANTITLE" style="font-size:16px;font-weight:bold;"> </span>
<div style="position:absolute;right:0;top:0;">
<div onclick="closePreview();" style="cursor:pointer;color:#CCCCCC;font-size:12px;font-weight:bold;text-align:right;text-decoration:underline;">
{{ 'boutton::fermer' | trans }}
</div>
</div>
</div>
</div>
<div id="PREVIEWLEFT" class="preview_col" style="width:49%;position:relative;float:left;overflow:hidden;">
<div id="PREVIEWCURRENT" class="debug preview_col_film" style="margin-left:20px;">
<div id="PREVIEWCURRENTGLOB" style="position:relative;float:left;">
</div>
</div>
<div id="PREVIEWIMGCONT" class="preview_col_cont" style="overflow-x:hidden;overflow-y:hidden;text-align:left;"></div>
</div>
<div id="PREVIEWRIGHT" class="preview_col" style="width:49%;position:relative;float:right;overflow:hidden;">
<div style="margin-right:10px;">
<div id="PREVIEWIMGDESC" class="preview_col_cont" style="overflow-x:hidden;overflow-y:auto;">
<ul style="height:30px;overflow:hidden;">
<li><a href="#PREVIEWIMGDESCINNER-BOX">{{ 'preview:: Description' | trans }}</a></li>
<li><a href="#HISTORICOPS-BOX">{{ 'preview:: Historique' | trans }}</a></li>
<li><a href="#popularity-BOX">{{ 'preview:: Popularite' | trans }}</a></li>
</ul>
<div id="PREVIEWIMGDESCINNER-BOX" class="descBoxes">
<div id="PREVIEWIMGDESCINNER" style="margin:10px;overflow-x:hidden;overflow-y:auto;">
</div>
</div>
<div id="HISTORICOPS-BOX" class="descBoxes">
<div id="HISTORICOPS" style="margin:10px;overflow-x:hidden;overflow-y:auto;">
</div>
</div>
<div id="popularity-BOX" class="descBoxes">
<div id="popularity" style="margin:10px;overflow-x:hidden;overflow-y:auto;">
</div>
</div>
</div>
<div id="PREVIEWOTHERS" class="preview_col_film" style="overflow-x:hidden;overflow-y:auto;">
<div id="PREVIEWOTHERSINNER" style="margin:0 0 0 20px;position:relative;float:left;width:100%;"></div>
</div>
</div>
</div>
</div>
<div id="PREVIEWHD"></div>
<div id="DIALOG"></div>
<div id="MESSAGE"></div>
</div>
<iframe id="MODALDL" class="modalbox" src="" name="download" frameborder="0"></iframe>
<div id="dialog_dwnl" title="{{ 'action : exporter' | trans }}" style="display:none;z-index:12000;">
</div>
<form name="formChu" id="formChu" action="{{ path('get_client_baskets') }}" method="post" style="visibility:hidden; display:none" >
<input type="hidden" name="sbas" id="formChubas" value="">
{#<input type="hidden" name="act" id="formChuact" value="">#}
<input type="hidden" name="p0" id="formChup0" value="">
<input type="hidden" name="ssel_id" value="">
<input type="hidden" name="courChuId" id="formChuBaskId" value="">
</form>
<form name="validatorEject" target="wVal" id="validatorEject" action="{{ path('lightbox') }}" method="get" style="visibility:hidden; display:none" >
<input type="hidden" name="ssel_id" id="ssel2val" value="">
<input type="hidden" name="mode" value="0">
</form>
<form name="logout" target="_self" id="logout" action="{{ path('logout') }}" method="post" style="visibility:hidden; display:none" >
<input type="hidden" name="app" value="client">
</form>
<script type="text/javascript">
function reModCol()
{
var mod_col = $('#mod')[0].options[$('#mod')[0].selectedIndex].value.split('X');
if(mod_col[0])
mod_col = mod_col[1]
var w = Math.round((bodyW - 16) / (mod_col==1?4:mod_col)) - 12;
if(w < 128)
w = 128;
var propname = document.styleSheets[0].cssRules ? "cssRules":"rules"; // firefox=cssRules ; safari,ie=rules
document.styleSheets[0][propname][0].style.width = (w-20)+"px"; // IMG.hthbimg
document.styleSheets[0][propname][1].style.height = (w-20)+"px"; // IMG.vthbimg
document.styleSheets[0][propname][2].style.width = (w)+"px"; // .w160px
document.styleSheets[0][propname][3].style.height = (w)+"px"; // .h160px
}
function pollNotifications(){
$.ajax({
type: "POST",
url: "/session/notifications/",
dataType: 'json',
data: {
app : 2,
usr : {{ app.getAuthenticatedUser().getId() }}
},
error: function(){
window.setTimeout("pollNotifications();", 10000);
},
timeout: function(){
window.setTimeout("pollNotifications();", 10000);
},
success: function(data){
if(data)
manageSession(data);
var t = 120000;
if(data.apps && parseInt(data.apps)>1)
t = Math.round((Math.sqrt(parseInt(data.apps)-1) * 1.3 * 120000));
window.setTimeout("pollNotifications();", t);
return;
}
})
};
</script>
<script type="text/javascript" language="javascript">
var lastAct = null;
var baskDisplay = true;
$(document).ready(function(){
chgOngSearch('{{ active_tab }}');
checkBases(true);
{% if last_action is not none %}
lastAct = $.parseJSON('{{ last_action }}');
execLastAct(lastAct);
{% endif %}
{% if basket_status == '0' %}
baskDisplay = false;
{% else %}
baskDisplay = true;
{% endif %}
setBaskStatus();
});
</script>
{% if app['conf'].get(['registry', 'general', 'analytics']) is not empty %}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("{{ app['conf'].get(['registry', 'general', 'analytics']) }}");
pageTracker._setDomainName("none");
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
} catch(err) {}
</script>
{% endif %}
</body>
</html>

View File

@@ -1,26 +1,28 @@
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="{{ app['locale'] }}"> <![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="{{ app['locale'] }}"> <![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9" lang="{{ app['locale'] }}"> <![endif]-->
<!--[if gt IE 8]><!--><html lang="{{ app['locale'] }}" class="no-js "> <!--<![endif]-->
<html lang="{{ app['locale'] }}" style="overflow:hidden;">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{% if local_title is defined%}{{local_title}} | {% endif %}{{ app['conf'].get(['registry', 'general', 'title']) }} {% if module_name is defined %} - {{ module_name }} {% endif %}</title>
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery-ui-1.10.3/css/'~ jquery_theme|default('ui-lightness') ~'/jquery-ui-1.10.3.custom.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/bootstrap/css/bootstrap-responsive.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/font-awesome/css/font-awesome.css' }) }}" />
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/common/main.css' }) }}"/>
<link type="text/css" rel="stylesheet" href="/assets/vendors/jquery-ui/css/{{ jquery_theme|default('ui-lightness') }}{% if not app.debug %}.min{% endif %}.css">
<link type="text/css" rel="stylesheet" href="/assets/common/css/common{% if not app.debug %}.min{% endif %}.css">
<!--[if lte IE 8]>
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/font-awesome/css/font-awesome-ie7.min.css' }) }}">
<script type="text/javascript" src="{{ path('minifier', {'f' : 'assets/json2/json2.js'}) }}"></script>
<link type="text/css" rel="stylesheet" href="/assets/common/css/font-awesome-ie7.min.css">
<script type="text/javascript" src="/assets/vendors/json2/json2{% if not app.debug %}.min{% endif %}.js"></script>
<![endif]-->
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery.ui/jquery-ui.js' }) }}"></script>
<script type="text/javascript" src="/assets/vendors/modernizr/modernizr{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery-ui/jquery-ui{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript">
$.widget.bridge('uitooltip', $.ui.tooltip);
</script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/bootstrap/js/bootstrap.js' }) }}"></script>
<script type="text/javascript" src="/assets/vendors/bootstrap/js/bootstrap{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript">
var btn = $.fn.button.noConflict(); // reverts $.fn.button to jqueryui btn
$.fn.btn = btn; // assigns bootstrap button functionality to $.fn.btn

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{% if local_title is defined%}{{local_title}} | {% endif %}{{ app['conf'].get(['registry', 'general', 'title']) }} - {{ module_name }} </title>
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/common/main.css' }) }}">
<link type="text/css" rel="stylesheet" href="/assets/common/css/common{% if not app.debug %}.min{% endif %}.css" />
{% block stylesheet %}{% endblock %}
{% block icon %}{% endblock %}
{% block rss %}{% endblock %}

View File

@@ -4,7 +4,8 @@
{% import 'common/macros.html.twig' as macro %}
{% block javascript %}
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'lightboxie6' }) }}"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/lightbox/js/lightboxIe6{% if not app.debug %}.min{% endif %}.js"></script>
{% endblock %}
{% block content %}

View File

@@ -3,7 +3,8 @@
{% import 'common/thumbnail.html.twig' as thumbnail %}
{% block javascript %}
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'lightbox' }) }}"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/lightbox/js/lightboxIe6{% if not app.debug %}.min{% endif %}.js"></script>
{% endblock %}
{% block stylesheet %}

View File

@@ -4,7 +4,8 @@
{% import 'common/macros.html.twig' as macro %}
{% block javascript %}
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'lightboxie6' }) }}"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/lightbox/js/lightboxIe6{% if not app.debug %}.min{% endif %}.js"></script>
{% endblock %}
{% block content %}

View File

@@ -4,7 +4,8 @@
{% import 'common/macros.html.twig' as macro %}
{% block javascript %}
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'lightbox' }) }}"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/lightbox/js/lightbox{% if not app.debug %}.min{% endif %}.js"></script>
{% endblock %}
{% block stylesheet %}

View File

@@ -3,7 +3,8 @@
{% import 'common/thumbnail.html.twig' as thumbnail %}
{% block javascript %}
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'lightbox' }) }}"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/lightbox/js/lightbox{% if not app.debug %}.min{% endif %}.js"></script>
{% endblock %}
{% block stylesheet %}

View File

@@ -4,7 +4,8 @@
{% import 'common/macros.html.twig' as macro %}
{% block javascript %}
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'lightbox' }) }}"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/lightbox/js/lightbox{% if not app.debug %}.min{% endif %}.js"></script>
{% endblock %}
{% block stylesheet %}

View File

@@ -7,7 +7,7 @@
<script type="text/javascript">
requirejs.config({
paths: {
'galleria' : '../assets/jquery-galleria/galleria'
'galleria' : '../assets/vendors/jquery-galleria/galleria.min'
},
shim: {
'galleria': {
@@ -18,7 +18,7 @@
});
require(["jquery", "galleria"], function($, Galleria) {
Galleria.loadTheme('/assets/jquery-galleria/galleria.classic.js');
Galleria.loadTheme('/assets/vendors/jquery-galleria/galleria.classic.min.js');
Galleria.run("#galleria");
$("#galleria").removeClass("hidden");
});

View File

@@ -30,22 +30,22 @@
{% endblock favicon %}
{% block header_stylesheet %}
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/geonames/geonames.css' }) }}">
<link rel="stylesheet" href="{{ path('minifier', { 'g' : 'authentication_css' }) }}">
<!--[if IE 7]>
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/font-awesome/css/font-awesome-ie7.min.css' }) }}">
<link type="text/css" rel="stylesheet" href="/assets/authentication/css/authentication{% if not app.debug %}.min{% endif %}.css">
<!--[if lte IE 8]>
<link type="text/css" rel="stylesheet" href="/assets/common/css/font-awesome-ie7.min.css">
<![endif]-->
{% endblock header_stylesheet %}
{% block header_javascript %}
<!--[if lte IE 8]>
<script type="text/javascript" src="{{ path('minifier', {'f' : 'assets/json2/json2.js'}) }}"></script>
<link type="text/css" rel="stylesheet" href="/assets/common/css/font-awesome-ie7.min.css">
<script type="text/javascript" src="/assets/vendors/json2/json2{% if not app.debug %}.min{% endif %}.js"></script>
<![endif]-->
<script type="text/javascript" src="/assets/vendors/modernizr/modernizr{% if not app.debug %}.min{% endif %}.js"></script>
{# include backbone templates #}
{% include "login/common/templates.html.twig" %}
<script type="text/javascript" src="{{ path('minifier', {'g' : 'authentication'}) }}"></script>
<script type="text/javascript" src="/assets/authentication/js/authentication{% if not app.debug %}.min{% endif %}.js"></script>
{% endblock header_javascript %}
{% endblock header %}
</head>

View File

@@ -105,5 +105,30 @@
{% block scripts %}
{{ parent() }}
<script type="text/javascript" src="{{ path('minifier', {'f': 'assets/zxcvbn/zxcvbn-async.js,/scripts/apps/login/home/register.js'}) }}"></script>
<script type="text/javascript" src="{{ path('minifier', {'f': '/scripts/apps/login/home/register.js'}) }}"></script>
<script>
// cross-browser asynchronous script loading for zxcvbn.
// adapted from http://friendlybit.com/js/lazy-loading-asyncronous-javascript/
(function() {
var ZXCVBN_SRC = 'assets/vendors/zxcvbn/zxcvbn{% if not app.debug %}.min{% endif %}.js';
var async_load = function() {
var first, s;
s = document.createElement('script');
s.src = ZXCVBN_SRC;
s.type = 'text/javascript';
s.async = true;
first = document.getElementsByTagName('script')[0];
return first.parentNode.insertBefore(s, first);
};
if (window.attachEvent != null) {
window.attachEvent('onload', async_load);
} else {
window.addEventListener('load', async_load, false);
}
}).call(this);
</script>
{% endblock %}

View File

@@ -50,5 +50,30 @@
{% block scripts %}
{{ parent() }}
<script type="text/javascript" src="{{ path('minifier', {'f': 'assets/zxcvbn/zxcvbn-async.js,/scripts/apps/login/home/recoverPassword.js'}) }}"></script>
<script type="text/javascript" src="{{ path('minifier', {'f': '/scripts/apps/login/home/recoverPassword.js'}) }}"></script>
<script>
// cross-browser asynchronous script loading for zxcvbn.
// adapted from http://friendlybit.com/js/lazy-loading-asyncronous-javascript/
(function() {
var ZXCVBN_SRC = 'assets/vendors/zxcvbn/zxcvbn{% if not app.debug %}.min{% endif %}.js';
var async_load = function() {
var first, s;
s = document.createElement('script');
s.src = ZXCVBN_SRC;
s.type = 'text/javascript';
s.async = true;
first = document.getElementsByTagName('script')[0];
return first.parentNode.insertBefore(s, first);
};
if (window.attachEvent != null) {
window.attachEvent('onload', async_load);
} else {
window.addEventListener('load', async_load, false);
}
}).call(this);
</script>
{% endblock %}

View File

@@ -7,7 +7,6 @@
{% endblock %}
{% block stylesheet %}
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'include/jslibs/yui2.8/build/reset/reset.css' }) }}" >
<style type="text/css">
html{
@@ -44,25 +43,12 @@
.caption{
padding:50px 0 20px;
}
</style>
{% endblock %}
{% block javascript %}
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js,include/jslibs/jquery.mousewheel.js,include/jquery.image_enhancer.js,assets/swfobject/swfobject.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery.ui/jquery-ui.js' }) }}"></script>
<script type="text/javascript" src="/include/jslibs/flowplayer/flowplayer-3.2.13.min.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery-ui/jquery-ui{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/permaview/js/permaview{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.preview .thumb_wrapper').width('100%');

View File

@@ -67,44 +67,8 @@
{% endblock %}
{% block stylesheet %}
<style type="text/css">
.noRepresent {
background-color: #A2F5F5;
}
.disable {
display: none;
}
.deployer_opened::before {
content: "\25BC";
}
.deployer_closed::before {
content: "\25B6";
}
</style>
<style type="text/css">
/* Vertical Tabs */
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width: 12em; }
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
.ui-tabs-vertical .ui-tabs-nav li a { display:block; }
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; }
.ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: right;}
</style>
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery.contextmenu.css,include/jslibs/colorpicker/css/colorpicker.css,assets/jquery.treeview/jquery.treeview.css,skins/common/main.css,include/jquery.image_enhancer.css,skins/geonames/geonames.css' }) }}" >
<link id="skinCss" type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/prod/' ~ cssfile ~ '/prodcolor.css' }) }}" >
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/humane-js/themes/libnotify.css,skins/prod/Prod.css,skins/prod/Basket.css,skins/prod/Push.css' }) }}" >
<!--[if IE 7]>
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/prod/ie7.css' }) }}" >
<![endif]-->
<!--[if IE 8]>
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/prod/ie8.css' }) }}" >
<![endif]-->
<link type="text/css" rel="stylesheet" href="/assets/prod/css/prod{% if not app.debug %}.min{% endif %}.css">
<link id="skinCss" type="text/css" rel="stylesheet" href="/assets/prod/css/skin-{{ cssfile }}{% if not app.debug %}.min{% endif %}.css">
<style title="color_selection" type="text/css">
/* .diapo.ui-selecting,#reorder_box .diapo.selecting, #EDIT_ALL .diapo.selecting, .list.selecting, .list.selecting .diapo {
color: #{{ app['settings'].getUserSetting(app.getAuthenticatedUser(), 'fontcolor-selection', 'FFFFFF') }};
@@ -115,47 +79,10 @@
background-color: {{"#" ~ app['settings'].getUserSetting(app.getAuthenticatedUser(), 'background-selection', '404040')}};
}
</style>
<!-- Include Fancytree skin and library -->
<link href="{{ path('minifier', { 'f' : 'assets/fancytree/dist/skin-win8/ui.fancytree.min.css'}) }}" rel="stylesheet" type="text/css">
{% if step %}
<link type="text/css" rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/joyride/joyride-2.1.css' }) }}" >
<style>
.joyride-tip-guide {
background-color: #eee;
color: #000;
}
.joyride-tip-guide h1 {
font-weight: 100;
font-size: 20px;
color: #0a212b;
line-height: 22px;
margin-bottom: 10px;
}
.joyride-tip-guide span.joyride-nub.top {
border-color: #eee;
}
.joyride-tip-guide span.joyride-nub.right {
border-left-color: #eee !important;
}
.joyride-expose-wrapper {
background-color: transparent;
}
.joyride-tip-guide .joyride-next-tip {
background: #0a212b;
border: none;
}
</style>
{% endif %}
{% endblock %}
{% block javascript %}
<script src="/assets/fancytree/dist/jquery.fancytree-all.min.js" type="text/javascript"></script>
{% include "common/templates.html.twig" %}
{% endblock %}
@@ -804,174 +731,11 @@
<div id="modal_feed" title="{{ 'action : publier' | trans }}" style="display:none;"></div>
<div id="dialog_dwnl" title="{{ 'action : exporter' | trans }}" style="display:none;"></div>
{% if step %}
<ol id="step_by_step" style="visibility: hidden;">
/* data-id needs to be the same as the parent it will attach to */
<li data-id="EDIT_query">
<div>
<h1>
{{ "Rechercher"|trans }}
</h1>
<p>
{{ "Taper ici les termes de recherche afin de retrouver les documents souhaités."|trans }}
</p>
</div>
</li>
<li data-id="ADV_query">
<div>
<h1>
{{ "Recherche Avancée"|trans }}
</h1>
<p>
{{ "Séléctionner les champs et les collections sur lesquels vous voulez rechercher."|trans }}
</p>
</div>
</li>
<li data-id="recordtype_sel">
<div>
<h1>
{{ "Types de documents"|trans }}
</h1>
<p>
{{ "Séléctionner ici le type de document que vous souhaitez rechercher."|trans }}
</p>
</div>
</li>
<li data-id="TOOL_disktt">
<div>
<h1>
{{ "Barre d'outils"|trans }}
</h1>
<p>
{{ "Utilisez la barre d'outils pour télécharger les documents ou pour agir sur ces documents."|trans }}
</p>
</div>
</li>
<li data-id="answers" data-options="tipLocation:left">
<div>
<h1>
{{ "Sélection et Prévisualisation de documents"|trans }}
</h1>
<p>
{{ "Sélectionner les documents en cliquant dessus.
Pour sélectionner plusieurs documents, maintenez la touche maj enfoncée et
cliquez sur les documents souhaités.
Pour prévisualier un document cliquez dessus."|trans }}
</p>
</div>
</li>
<li data-id="basket_menu_trigger">
<div>
<h1>
{{ "Paniers"|trans }}
</h1>
<p>
{{ "Consulter et administrer vos paniers dans cet onglet.
Pour créer un panier et affichez le menu déroulant en cliquant sue la
flèche blanche."|trans }}
</p>
</div>
</li>
<li data-id="answers" data-options="tipLocation:left">
<div>
<h1>
{{ "Ajouter au panier"|trans }}
</h1>
<p>
{{ "Ajoutez des médias simplement en les faisant glisser vers le panier
désiré et en relachant au dessus."|trans }}
</p>
</div>
</li>
</ol>
{% endif %}
{% if step %}
<ol id="step_by_step" style="visibility: hidden;">
/* data-id needs to be the same as the parent it will attach to */
<li data-id="EDIT_query">
<div>
<h1>
{{ "Search"|trans }}
</h1>
<p>
{{ "Type words to retrieve documents or stories."|trans }}
</p>
</div>
</li>
<li data-id="ADV_query">
<div>
<h1>
{{ "Advanced Search"|trans }}
</h1>
<p>
{{ "Select the fields and collections on which to search."|trans }}
</p>
</div>
</li>
<li data-id="recordtype_sel">
<div>
<h1>
{{ "Types of documents"|trans }}
</h1>
<p>
{{ "Select the type of documents on which to search."|trans }}
</p>
</div>
</li>
<li data-id="TOOL_disktt">
<div>
<h1>
{{ "Barre d'outils"|trans }}
</h1>
<p>
{{ "Utilisez la barre d'outils pour télécharger les documents ou pour agir sur ces documents."|trans }}
</p>
</div>
</li>
<li data-id="answers" data-options="tipLocation:left">
<div>
<h1>
{{ "Sélection et Prévisualisation de documents"|trans }}
</h1>
<p>
{{ "Sélectionner les documents en cliquant dessus.
Pour sélectionner plusieurs documents, maintenez la touche maj enfoncée et
cliquez sur les documents souhaités.
Pour prévisualier un document cliquez dessus."|trans }}
</p>
</div>
</li>
<li data-id="basket_menu_trigger">
<div>
<h1>
{{ "Paniers"|trans }}
</h1>
<p>
{{ "Consulter et administrer vos paniers dans cet onglet.
Pour créer un panier et affichez le menu déroulant en cliquant sue la
flèche blanche."|trans }}
</p>
</div>
</li>
<li data-id="answers" data-options="tipLocation:left">
<div>
<h1>
{{ "Ajouter au panier"|trans }}
</h1>
<p>
{{ "Ajoutez des médias simplement en les faisant glisser vers le panier
désiré et en relachant au dessus."|trans }}
</p>
</div>
</li>
</ol>
{% endif %}
<script type="text/javascript">
{% include "prod/thesaurus.js.twig" with {'search_datas': search_datas} %}
</script>
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'prod' }) }}"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/prod/js/prod{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript">
$(document).ready(function(){
p4.reg_delete="{% if app['settings'].getUserSetting(app.getAuthenticatedUser(), "warning_on_delete_story") %}true{% else %}false{% endif %}";
@@ -1006,7 +770,7 @@
};
function setCss(color) {
$("#skinCss").attr("href","/include/minify/?f=skins/prod/"+color+"/prodcolor.css");
$("#skinCss").attr("href","/assets/prod/css/skin-" + color + "{% if not app.debug %}.min{% endif %}.css");
$.post("{{ path('save_pref') }}", {
prop: "css",
value: color,
@@ -1020,19 +784,4 @@
</script>
<script type="text/javascript" id="bitly_loader"></script>
{% if step %}
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/joyride/jquery.cookie.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/joyride/modernizr.mq.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/joyride/jquery.joyride-2.1.js' }) }}"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#step_by_step").joyride({
autoStart : true,
modal:true,
expose: true
});
});
</script>
{% endif %}
{% endblock %}

View File

@@ -126,7 +126,7 @@
</div>
{% include "prod/templates/upload.html.twig" %}
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'uploadflash' }) }}"></script>
<script type="text/javascript" src="/assets/upload/js/uploadFlash{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript">
$(document).ready(function(){

View File

@@ -33,7 +33,8 @@
</script>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'report' }) }}"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/report/js/report{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'include/jslibs/jquery.gvChart-0.1.js' }) }}"></script>
<script type="text/javascript">
gvChartInit();

View File

@@ -3,11 +3,15 @@
<html lang="{{ locale }}">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<script src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js,include/jslibs/jquery-validation/jquery.validate.js,include/jslibs/jquery-validate.password/jquery.validate.password.js,assets/jquery.cookie/jquery.cookie.js' }) }}" type="text/javascript"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery.ui/jquery-ui.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'include/path_files_tests.jquery.js' }) }}"></script>
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery-ui-1.10.3/css/dark-hive/jquery-ui-1.10.3.custom.css' }) }}" />
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'skins/setup/setup.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/vendors/jquery-ui/css/dark-hive{% if not app.debug %}.min{% endif %}.css">
<link type="text/css" rel="stylesheet" href="/assets/setup/css/setup{% if not app.debug %}.min{% endif %}.css">
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery-ui/jquery-ui{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/setup/js/setup{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var date = new Date();

View File

@@ -8,7 +8,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ 'thesaurus:: accepter...' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<style type="text/css">
.path_separator
{

View File

@@ -4,7 +4,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ 'thesaurus:: export au format texte' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<script type="text/javascript">
var format = "text";

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ 'thesaurus:: export au format texte' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<script type="text/javascript">
function loaded()
{

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ 'thesaurus:: export en topics' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<script type="text/javascript">
var format = '???';
function clkBut(button)

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ 'thesaurus:: export en topics' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<style>
.toscreen
{

View File

@@ -9,7 +9,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<base target="_self">
<title>{{ 'thesaurus:: Importer' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<script type="text/javascript">
function clkBut(button)
{

View File

@@ -4,7 +4,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ app['conf'].get(['registry', 'general', 'title']) }} - {{ 'phraseanet:: thesaurus' | trans }}</title>
<link rel="shortcut icon" type="image/x-icon" href="/skins/thesaurus/favicon.ico">
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
</head>
<body>
<br/>

View File

@@ -4,7 +4,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ 'thesaurus:: Lier la branche de thesaurus au champ' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<script type="text/javascript">
function ckField()

View File

@@ -4,7 +4,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ 'thesaurus:: Lier la branche de thesaurus' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<script type="text/javascript">
function clkBut(button)

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ 'thesaurus:: Lier la branche de thesaurus' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
</head>
<body class="dialog">
<center>

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{% if typ == "TS" %}{{ 'thesaurus:: Nouveau terme specifique' | trans }}{% else %}{{ 'thesaurus:: Nouveau synonyme' | trans }}{% endif %}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'skins/thesaurus/xmlhttp.js' }) }}"></script>
</head>
<body onload="loaded();" class="dialog" style="text-align:center">

View File

@@ -8,7 +8,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ 'thesaurus:: Proprietes' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<style type="text/css">
a
{
@@ -24,10 +24,10 @@
font-weight:900;
}
</style>
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'skins/thesaurus/win.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'skins/thesaurus/xmlhttp.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js,include/jslibs/jquery.sprintf.1.0.3.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'include/jslibs/jquery.sprintf.1.0.3.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'skins/thesaurus/sprintf.js' }) }}"></script>
<script type="text/javascript">

View File

@@ -9,17 +9,17 @@
display: none;
}
</style>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery-ui-1.10.3/css/ui-lightness/jquery-ui-1.10.3.custom.css' }) }}" />
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<link type="text/css" rel="stylesheet" href="/assets/vendors/jquery-ui/css/ui-lightness{% if not app.debug %}.min{% endif %}.css">
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
<script type="text/javascript">
var p4 = {};
</script>
<link rel="shortcut icon" type="image/x-icon" href="/skins/thesaurus/favicon.ico">
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'assets/jquery.ui/jquery-ui.js' }) }}"></script>
<script type="text/javascript" src="{{ path('minifier', { 'g' : 'thesaurus' }) }}"></script>
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery-ui/jquery-ui{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/thesaurus/js/thesaurus{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript">
var currentBaseName = "";

View File

@@ -1,242 +0,0 @@
/* Classic Windows Theme (default) */
/* =============================== */
.context-menu-theme-default {
border:2px outset white;
background-color:#D4D0C8;
}
.context-menu-theme-default .context-menu-item {
text-align:left;
cursor:pointer;
padding:4px 28px 4px 16px;
color:black;
font-family:Tahoma,Arial;
font-size:11px;
}
.context-menu-theme-default .context-menu-separator {
margin:4px 2px;
font-size:0px;
border-top:1px solid #808080;
border-bottom:1px solid white;
}
.context-menu-theme-default .context-menu-item-disabled {
color:#808080;
}
.context-menu-theme-default .context-menu-item .context-menu-item-inner {
background:none no-repeat fixed 999px 999px; /* Make sure icons don't appear */
}
.context-menu-theme-default .context-menu-item-hover {
background-color:#0A246A;
color:white;
}
.context-menu-theme-default .context-menu-item-disabled-hover {
background-color:#0A246A;
}
/* Windows XP Theme */
/* ================ */
.context-menu-theme-xp {
border:1px solid #666;
padding:1px;
background:#F9F8F7 url(jquery.contextmenu.images/cmenu-xp-bg.gif) repeat-y top left;
}
.context-menu-theme-xp .context-menu-separator {
margin:4px 2px;
font-size:0px;
border-top:1px solid #808080;
border-bottom:1px solid white;
}
.context-menu-theme-xp .context-menu-item {
text-align:left;
color:black;
font-family:arial;
font-size:11px;
cursor:pointer;
}
.context-menu-theme-xp .context-menu-item .context-menu-item-inner {
background:none no-repeat 2px center;
padding:4px 10px 4px 30px;
}
.context-menu-theme-xp .context-menu-item-hover .context-menu-item-inner {
background:#B6BDD2 none no-repeat 2px center;
padding:3px 9px 3px 29px;
border:1px solid #0A246A;
}
/* Windows Vista Theme */
/* =================== */
.context-menu-theme-vista {
background:#FAFAFA url(jquery.contextmenu.images/cmenu-vista-bg.gif) repeat-y left top;
border:1px solid #868686;
}
.context-menu-theme-vista .context-menu-item {
text-align:left;
cursor:pointer;
color:black;
font-family:Tahoma,Arial;
font-size:11px;
}
.context-menu-theme-vista .context-menu-separator {
margin:0px 0px 0px 32px;
font-size:0px;
border-top:1px solid #C5C5C5;
border-bottom:1px solid #F5F5F5;
}
.context-menu-theme-vista .context-menu-item-hover {
background:transparent url(jquery.contextmenu.images/cmenu-vista-menu-item-hover.gif) repeat-x left center;
border:1px solid #D7D0B3;
}
.context-menu-theme-vista .context-menu-item .context-menu-item-inner {
padding:4px 16px 4px 35px;
margin-left:1px;
background-color:none;
background-repeat:no-repeat;
background-position:3px center;
background-image:none;
}
.context-menu-theme-vista .context-menu-item-hover .context-menu-item-inner {
padding:3px 15px 3px 35px;
margin-left:0px;
}
.context-menu-theme-vista .context-menu-item-disabled {
color:#A7A7A7;
}
/* OSX Theme */
/* ========= */
.context-menu-theme-osx {
background-color:white;
opacity: .93;
filter: alpha(opacity=93);
zoom:1.0;
border:1px solid #b2b2b2;
}
.context-menu-theme-osx .context-menu-item {
text-align:left;
cursor:pointer;
color:black;
font-family:Lucida Grande,Arial;
font-weight:700;
font-size:12px;
opacity: 1.0;
filter: alpha(opacity=100);
z-index:1;
}
.context-menu-theme-osx .context-menu-separator {
margin:5px 1px 4px 1px;
font-size:0px;
border-top:1px solid #e4e4e4;
}
.context-menu-theme-osx .context-menu-item-hover {
background-color:#1C44F2;
color:white;
}
.context-menu-theme-osx .context-menu-item .context-menu-item-inner {
padding:2px 10px 2px 22px;
background-color:none;
background-repeat:no-repeat;
background-position:4px center;
background-image:none;
}
.context-menu-theme-osx .context-menu-item-disabled {
color:#939393;
}
/* Linux Human Theme */
/* ================= */
.context-menu-theme-human {
background:#F9F5F2;
border:1px solid #963;
}
.context-menu-theme-human .context-menu-item {
text-align:left;
cursor:pointer;
color:black;
font-family:Helvetica,DejaVu Sans,Arial;
font-size:12px;
line-height:20px;
height:28px;
border:1px solid #F9F5F2;
border-left:0;
border-right:0;
}
.context-menu-theme-human .context-menu-separator {
margin:0px 0px 0px 32px;
font-size:0px;
border-top:1px solid #C5C5C5;
border-bottom:1px solid #F5F5F5;
}
.context-menu-theme-human .context-menu-item-hover {
background:transparent url(jquery.contextmenu.images/cmenu-human-menu-item-hover.gif) repeat-x left center;
border-color:#963;
}
.context-menu-theme-human .context-menu-item .context-menu-item-inner {
padding:4px 16px 4px 35px;
margin-left:0px;
background-color:none;
background-repeat:no-repeat;
background-position:3px center;
background-image:none;
}
.context-menu-theme-human .context-menu-item-hover .context-menu-item-inner {
}
.context-menu-theme-human .context-menu-item-disabled {
color:#A7A7A7;
}
/* Gloss Theme */
/* =========== */
.context-menu-theme-gloss {
background:#f4f4f4 url(jquery.contextmenu.images/cmenu-gloss-bg.gif) repeat-y left center;
border:1px solid #f4f4f4;
padding:1px;
padding-right:0;
}
.context-menu-theme-gloss .context-menu-item {
text-align:left;
cursor:pointer;
color:black;
font-family:Helvetica,DejaVu Sans,Arial;
font-size:12px;
line-height:20px;
height:27px;
border:1px solid transparent;
}
.context-menu-theme-gloss .context-menu-separator {
margin:0px 0px 0px 32px;
font-size:0px;
border-top:1px solid #C5C5C5;
border-bottom:1px solid #F5F5F5;
}
.context-menu-theme-gloss .context-menu-item-hover {
background:transparent url(jquery.contextmenu.images/cmenu-gloss-menu-item-hover.gif) repeat-x left center;
color:#fff;
border-color:#000;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
}
.context-menu-theme-gloss .context-menu-item .context-menu-item-inner {
padding:4px 16px 4px 35px;
margin-left:0px;
background-color:none;
background-repeat:no-repeat;
background-position:3px center;
background-image:none;
}
.context-menu-theme-gloss .context-menu-item-hover .context-menu-item-inner {
}
.context-menu-theme-gloss .context-menu-item-disabled {
color:#A7A7A7;
}
.context-menu-theme-gloss-cyan .context-menu-item-hover {
background-image:url(jquery.contextmenu.images/cmenu-gloss-cyan-menu-item-hover.gif);
border-color:#00c;
}
.context-menu-theme-gloss-semitransparent .context-menu-item-hover {
background-image:url(jquery.contextmenu.images/cmenu-item-gloss-semitransparent-menu-item-hover.png);
border-color:#00c;
background-color:#30f;
}

View File

@@ -11,20 +11,19 @@
require.config({
baseUrl: "/scripts",
paths: {
jquery: "../assets/jquery/jquery",
"jquery.ui": "../assets/jquery.ui/jquery-ui",
underscore: "../assets/underscore-amd/underscore",
backbone: "../assets/backbone-amd/backbone",
"jquery.ui.widget": "../assets/jquery-file-upload/jquery.ui.widget",
"jquery.cookie": "../assets/jquery.cookie/jquery.cookie",
"jquery.geonames": "../assets/geonames-server-jquery-plugin/jquery.geonames",
"jquery.treeview": "../assets/jquery.treeview/jquery.treeview",
jquery: "../assets/vendors/jquery/jquery.min",
"jquery.ui": "../assets/vendors/jquery-ui/jquery-ui.min",
underscore: "../assets/vendors/underscore/underscore.min",
backbone: "../assets/vendors/backbone/backbone.min",
"jquery.ui.widget": "../assets/vendors/jquery-file-upload/jquery.ui.widget.min",
"jquery.cookie": "../assets/vendors/jquery.cookie/jquery.cookie.min",
"jquery.treeview": "../assets/vendors/jquery.treeview/jquery.treeview",
"jquery.tooltip": "../include/jquery.tooltip",
"blueimp.loadimage" : "../assets/blueimp-load-image/load-image",
"jfu.iframe-transport": "../assets/jquery-file-upload/jquery.iframe-transport",
"jfu.fileupload": "../assets/jquery-file-upload/jquery.fileupload",
i18n: "../assets/i18next/i18next.amd-1.6.3",
bootstrap: "../assets/bootstrap/js/bootstrap.min"
"blueimp.loadimage" : "../assets/vendors/blueimp-load-image/load-image",
"jfu.iframe-transport": "../assets/vendors/jquery-file-upload/jquery.iframe-transport",
"jfu.fileupload": "../assets/vendors/jquery-file-upload/jquery.fileupload",
i18n: "../assets/vendors/i18next/i18next.min",
bootstrap: "../assets/vendors/bootstrap/js/bootstrap.min",
},
shim: {
"jquery.treeview": {

View File

@@ -11,14 +11,14 @@
require.config({
baseUrl: "/scripts",
paths: {
jquery: "../assets/jquery/jquery",
"jquery.ui": "../assets/jquery.ui/jquery-ui",
underscore: "../assets/underscore-amd/underscore",
backbone: "../assets/backbone-amd/backbone",
i18n: "../assets/i18next/i18next.amd-1.6.3",
bootstrap: "../assets/bootstrap/js/bootstrap.min",
multiselect: "../assets/bootstrap-multiselect/js/bootstrap-multiselect",
"jquery.geonames": "../assets/geonames-server-jquery-plugin/jquery.geonames"
jquery: "../assets/vendors/jquery/jquery.min",
"jquery.ui": "../assets/vendors/jquery-ui/jquery-ui.min",
underscore: "../assets/vendors/underscore/underscore.min",
backbone: "../assets/vendors/backbone/backbone.min",
i18n: "../assets/vendors/i18next/i18next.min",
bootstrap: "../assets/vendors/bootstrap/js/bootstrap.min",
multiselect: "../assets/vendors/bootstrap-multiselect/bootstrap-multiselect",
"jquery.geonames": "../assets/vendors/jquery.geonames/jquery.geonames"
},
shim: {
bootstrap: ["jquery"],

View File

@@ -1,291 +0,0 @@
#admin-field-app .row-top {
min-height: 60px;
border-bottom: 1px solid #000;
}
#admin-field-app .row-bottom {
position: relative;
}
#admin-field-app .right-block {
border-left: 1px dashed #000;
overflow: auto;
min-height: 200px;
}
#admin-field-app h4 {
padding: 10px 0;
}
#admin-field-app .lng-label a {
color: #aaa;
text-transform: capitalize;
font-weight: bold;
font-size: 14px;
}
#admin-field-app .lng-label.select a {
color: #0080FF;
}
#admin-field-app #collection-fields li {
background: #FFF;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
height: 55px;
}
#admin-field-app ul.inline li {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
}
#admin-field-app #collection-fields li .trigger-click {
cursor: pointer;
}
#admin-field-app #collection-fields li.border-bottom{
border-bottom: 1px solid #ccc;
}
#admin-field-app #collection-fields li table {
table-layout: fixed;
width: 100%;
height: 100%;
}
#admin-field-app #collection-fields li .field-name {
font-weight: bold;
font-size: 16px;
color: #666;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#admin-field-app #collection-fields li .field-tag {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#admin-field-app #collection-fields li .handle {
width: 10%;
vertical-align: middle;
text-align: center;
cursor: move;
}
#admin-field-app #collection-fields li .trigger-click {
padding: 10px;
}
#admin-field-app #collection-fields li .position {
width: 10%;
vertical-align: bottom;
text-align: center;
}
#admin-field-app #collection-fields li .chip {
width: 10%;
}
#admin-field-app #collection-fields li .handle, #admin-field-app #collection-fields li .position {
color: #ccc;
border-right: 1px solid #ccc;
}
#admin-field-app #collection-fields li.last {
border-bottom: 1px solid #ccc;
}
#admin-field-app #collection-fields li.selected {
border-top-color: #0080FF;
background: #FFF;
color: #000;
}
#admin-field-app #collection-fields li.last.selected {
border-bottom-color: #0080FF;
}
#admin-field-app #collection-fields li.last.selected.error {
border-bottom-color: #9d261d;
}
#admin-field-app #collection-fields li.selected + li {
border-top-color: #0080FF;
}
#admin-field-app #collection-fields li.selected.error {
border-top-color: #9d261d;
}
#admin-field-app #collection-fields li.selected.error + li {
border-top-color: #9d261d;
}
#admin-field-app #collection-fields li.selected .field-name {
color: #0080FF;
}
#admin-field-app #collection-fields li.error .field-name {
color: #9d261d;
}
#admin-field-app .item-list-placeholder {
border-top: 1px solid #ccc;
background-color: red;
height: 70px;
}
#admin-field-app .add-field-block {
margin-bottom: 0px;
}
#admin-field-app .add-field-block .control-label {
width: 80px;
text-align: left;
}
#admin-field-app .add-field-block .controls {
margin-left: 100px;
}
#admin-field-app .edit-form label {
width: 160px;
}
#admin-field-app .edit-form select {
min-width: 220px;
}
#admin-field-app .sidebar-add-block {
margin-top: 20px;
}
#admin-field-app .sidebar-search-block {
margin: 20px 0;
}
#admin-field-app .list-block {
height: 450px;
min-height: 130px;
overflow: auto;
position: relative;
}
#admin-field-app .edit-block {
padding: 5px 20px;
}
#admin-field-app .edit-block table {
table-layout: fixed;
width: 100%;
}
#admin-field-app .edit-block table label {
margin: 0px;
width: auto;
}
#admin-field-app .edit-block table td:first-child {
width: 130px;
}
#admin-field-app .edit-block td {
height: 25px;
}
#admin-field-app .edit-block .dces-help-block {
height: auto;
}
#admin-field-app .info {
color: #aaa;
padding: 10px;
}
#admin-field-app .edit-block .edit-order {
height: 50px;
}
#admin-field-app .edit-block .edit-order td {
height: 50px;
}
#admin-field-app .edit-block .edit-label {
height: 75px;
}
#admin-field-app .edit-block .edit-label ul {
margin: 0;
}
#admin-field-app .edit-block .edit-name td {
font-size: 28px;
color: #0080FF;
height: 42px;
line-height: 42px;
font-weight: bold
}
#admin-field-app .save-all{
padding: 15px;
}
#admin-field-app .overlay {
zoom: 1;
filter: alpha(opacity=50);
opacity: 0.5;
background: #fff;
position: absolute;
width: 100%;
height: 100%;
z-index: 2000;
}
#admin-field-app .list-field-error li {
color: #9d261d;
}
#admin-field-app .save-block.loading {
background: url('/skins/icons/loaderFFF.gif') #fff no-repeat center right;
}
/* jquery ui autocomplete style */
.ui-autocomplete-admin-field {
list-style-type: none;
overflow-y: auto;
overflow-x: hidden;
max-height: 180px;
background: #FFF;
max-width: 300px;
-webkit-box-shadow: 0 10px 6px -6px #777;
-moz-box-shadow: 0 10px 6px -6px #777;
box-shadow: 0 10px 6px -6px #777;
}
.ui-autocomplete-admin-field li {
padding: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ui-autocomplete-admin-field li:hover {
padding: 5px;
background: #ccc;
}
.ui-autocomplete-admin-field li a {
text-decoration: none;
}
.ui-autocomplete-admin-field li a:hover {
text-decoration: none;
background: none;
color: #000;
border: none;
}

View File

@@ -1,7 +0,0 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
for i in $( ls less ); do
lessc $DIR/less/$i $DIR/css/`echo $i | sed -e 's/less/css/g'`
done

View File

@@ -1,132 +0,0 @@
//****** LESS SETTINGS ********************************************************/
// Colors & bg settings
@white: #FFF;
@black: #000;
@dark: #333;
@grey: #CCC;
@blue: #0088CC;
@red: #F00;
@orange: #FAA732; //F0AD30;
@lemon: #FCEB3F;
@sand: #FFFBCD;
@dk-sand: #E5D4A0;
.bg(@c: @white) {
background-color: @c;
}
.bgi(@url: '') {
background-image: url(@url);
background-repeat: no-repeat;
background-position: center center;
}
// Spaces settings
.no-space() {
margin: 0;
padding: 0;
}
// Text settings
@size: 12px;
.title(@size, @m1, @m2) {
font-weight: bold;
font-size: @size;
text-align: left;
margin: @m1 @m2;
}
.color(@c: @dark) {
color: @c;
}
// Misc.
.cursor(@type: pointer) {
cursor: @type;
}
/******* DATABASES ************************************************************/
.db_recommand {
.color;
font-weight: bold;
}
.db_exception {
margin-top: 10px;
.bg(@lemon);
}
.db_infos {
width: 100%;
padding-bottom: 10px;
h2 {
line-height: 22px;
}
input[type="text"],
input[type="password"],
input[type="submit"],
select, textarea, ul {
margin-bottom: 9px
}
}
/******* DATABASE *************************************************************/
.db_box {
margin: 0 10px 10px;
p {
margin: 0 0 9px;
}
}
#INDEX_P_BAR p {
.no-space;
}
div[id$="_indexed_bar"] {
width: 0;
height: 15px;
position: absolute;
z-index: 6;
background: @dk-sand;
}
div[id$="_indexed_percent"] {
width: 198px;
height: 13px;
position: absolute;
z-index: 10;
border: 1px solid @dark;
line-height: 15px;
text-align: center;
}
.logo_box {
margin: 0 10px 10px;
hr {
border-top: 1px solid @grey;
margin-bottom: 10px;
}
div[id^="printLogoDIV_"] {
margin: 0 0 5px 0;
display: none;
}
}
/******* DATABASE - FIELDS ****************************************************/
#field_adder .help-block label {
.color(lighten(@dark, 20%));
}
#form_struct {
margin: 10px 0;
thead tr th:not(:first-child) {
min-width: 70px;
text-align: center;
}
}
a.btn {
text-decoration: none;
}

View File

@@ -1,336 +0,0 @@
//****** LESS SETTINGS ********************************************************/
// Colors & bg settings
@white: #FFF;
@black: #000;
@dark: #333;
@grey: #CCC;
@blue: #0088CC;
@red: #F00;
@orange: #FAA732; //F0AD30;
@lemon: #FCEB3F;
@sand: #FFFBCD;
@dk-sand: #E5D4A0;
.bg(@c: @white) {
background-color: @c;
}
.bgi(@url: '') {
background-image: url(@url);
background-repeat: no-repeat;
background-position: center center;
}
// Spaces settings
.no-space() {
margin: 0;
padding: 0;
}
// Text settings
@size: 12px;
.title(@size, @m1, @m2) {
font-weight: bold;
font-size: @size;
text-align: left;
margin: @m1 @m2;
}
.color(@c: @dark) {
color: @c;
}
// Misc.
.cursor(@type: pointer) {
cursor: @type;
}
/******* GLOBAL CSS for ADMIN *************************************************/
body {
.no-space;
.bg;
.color;
overflow-y: auto;
}
.clear {
clear: both;
}
h1 {
.title(@size * 2,10px,0);
}
h2 {
.title(@size + 6,7px,0);
}
h3 {
.title(@size + 2,4px,0);
}
h4 {
.title(@size,2px,0);
}
a {
.color;
text-decoration: underline;
.cursor;
&:hover {
.color(@blue);
text-decoration: underline;
.cursor;
}
}
blockquote {
margin: 20px 15px;
padding: 10px;
border: 1px dotted @black;
.bg(lighten(@grey, 15%));
}
img {
vertical-align: middle;
}
input, textarea, .uneditable-input {
margin: 0;
padding: 4px;
}
select {
margin: 0;
padding: 5px 4px;
*padding: 4px;
}
.help-block, .help-inline {
.color(lighten(@dark, 20%));
}
li.selected, div.selected {
.bg(@orange);
.color(@white);
a {
.bg(@orange);
.color(@white);
}
}
.treeview ul {
.bg(transparent);
}
#right-ajax.loading{
.bgi('/skins/icons/loaderFFF.gif');
}
div.finder div.content div.title {
margin-top: -2px;
position: relative;
top: 0;
left: 0;
white-space: nowrap;
overflow: hidden;
}
/******* MAIN MENU ************************************************************/
#mainMenu {
.bg(@lemon);
a, b, .title, span {
.color(@black);
}
a {
&:hover {
span {
.bg(@sand);
}
}
}
span {
&.selected {
border-top: 3px solid @black;
}
}
}
/******* LEFT SIDE ************************************************************/
#left {
.bg(@sand);
overflow: auto;
}
#FNDR {
overflow: auto;
li.selected {
.bg(@orange);
.color(@white);
}
a {
text-decoration: none;
&:hover {
text-decoration: none;
}
span {
text-decoration: underline;
&:hover {
text-decoration: underline;
}
}
}
}
/******* USERS ****************************************************************/
.admin_head_opts {
margin: 5px 0 10px 0;
span {
margin: 0 10px;
}
a {
margin: 0 5px;
}
}
#users_page_form {
p {
margin: 5px 5px 10px;
}
.input-mini {
width: 30px;
}
}
#users_check_uncheck div {
padding: 5px 10px;
.bg(@grey);
.color(@black);
.cursor;
&.hovered {
padding: 5px 10px;
.bg(darken(@grey, 50%));
.color(@white);
}
}
/******* EDIT USERS ***********************************************************/
div.no_switch {
width: 12px;
height: 12px;
margin: 0 auto;
.bgi('/skins/icons/ccoch5.gif');
}
div.switch_quota,
div.switch_masks,
div.switch_time,
div.switch_right {
width: 12px;
height: 12px;
margin: 0 auto;
&.mixed {
.bgi('/skins/icons/ccoch2.gif');
}
&.checked {
.bgi('/skins/icons/ccoch1.gif');
}
&.unchecked {
.bgi('/skins/icons/ccoch0.gif');
}
}
.ui-datepicker {
z-index:1500;
}
/******* BOARD ****************************************************************/
.board_section {
margin: 0 0 30px;
ul {
margin: 0 0 20px 15px;
}
div[class="section"] {
height: auto;
h2 {
line-height: 24px;
}
ul.setup {
border: 1px solid @grey;
list-style-type: none;
li {
padding: 2px 5px 2px 30px;
background-repeat: no-repeat;
background-position: 5px center;
&.good-enough {
background-image: url(/skins/icons/ok.png);
}
&.non-blocker {
background-image: url(/skins/icons/alert.png);
}
&.blocker {
background-image: url(/skins/icons/delete.png);
}
&:hover {
.bg(@sand);
}
}
}
}
}
/******* PUBLICATIONS *********************************************************/
.form_publication {
.controls {
margin-left: 10px;
}
}
@ico-size: 32px;
#pub_icon {
width: (@ico-size + 10px);
height: (@ico-size + 10px);
float: left;
.thumb_wrapper {
width: @ico-size;
height: @ico-size;
margin: 5px auto;
img {
width: @ico-size;
height: @ico-size;
}
}
}
#pub_fileupload {
height: (@ico-size + 10px);
line-height: (@ico-size + 10px);
margin-left: (@ico-size + 10px) + 5px;
}
/******* GLOBAL VALUES FORM ***************************************************/
#GV_form {
.controls {
margin-left: 260px;
}
.error, .NEW {
.color(@red);
font-weight: bold;
}
.section {
padding-bottom: 10px;
h1 {
.title(16px, 10px, 0);
line-height: 22px;
}
}
}

View File

@@ -1,193 +0,0 @@
//****** LESS SETTINGS ********************************************************/
// Colors & bg settings
@white: #FFF;
@black: #000;
@dark: #333;
@grey: #CCC;
@blue: #0088CC;
@red: #F00;
@orange: #FAA732; //F0AD30;
@lemon: #FCEB3F;
@sand: #FFFBCD;
@dk-sand: #E5D4A0;
.bg(@c: @white) {
background-color: @c;
}
// Spaces settings
.no-space() {
margin: 0;
padding: 0;
}
// Text settings
.titleTable(@m1, @m2, @size, @align, @deco) {
margin: @m1 @m2;
font-weight: bold;
font-size: @size;
text-align: @align;
text-decoration: @deco;
}
.color(@c: @dark) {
color: @c;
}
// Misc.
.cursor(@type: pointer) {
cursor: @type;
}
/******* TABLES ***************************************************************/
div.center {
width: 100%;
margin: auto;
}
.tableTitle {
.titleTable(20px, auto, 14px, center, underline);
}
table.whoisTable {
margin: auto;
border: @black 1px solid;
table-layout: fixed;
tr {
border: @grey 1px solid;
&:hover {
.bg(@sand);
}
}
td {
padding: 3px;
&.colTitle {
width: 120px;
text-align: left;
}
&.colValue {
width: 60px;
text-align: right;
}
}
}
.spacehr {
margin-top: 40px;
margin-bottom: 30px;
border-top: 1px solid @grey;
}
table.admintable {
width: 100%;
margin: 10px 0;
border: none;
tr {
height: 28px;
vertical-align: middle;
&.selected {
&:hover {
.bg(@orange);
}
}
}
thead {
.bg(@dk-sand);
th {
padding: 3px;
text-align: left;
font-weight: bold;
}
}
tbody {
tr {
&.even {
.bg(@sand);
}
&.selected {
.bg(@orange);
}
&:hover {
.bg(@orange);
.cursor;
}
}
td {
padding: 3px;
}
&.dropdown {
.cursor;
}
}
.centered {
text-align: center;
}
}
/******* USERS TABLE **********************************************************/
#users th.sortable {
.cursor;
span {
margin: 0 5px;
&.ord_notifier {
display: none;
}
}
&.hover {
.bg(@orange);
}
&.sorted {
.bg(@orange);
span {
&.ord_notifier {
display: inline;
}
}
}
}
/******* EDIT-USERS TABLE *****************************************************/
td.users_col {
width: 23px;
border: 0px solid transparent;
vertical-align: middle;
text-align: center;
&.options {
.color(#AFAFAF);
.cursor;
}
}
/******* TOOLTIP CONNECTED USERS **********************************************/
#tooltip-usr {
position: relative;
top: 0;
left: 0;
.color;
#tabledescexp {
table-layout: fixed;
width: 300px;
td {
border: none;
text-align: left;
strong {
font-weight: bold;
}
&.tooltip-title {
.bg(@orange);
border: 1px solid (darken(@orange, 10%));
.titleTable(10px, auto, 14px, center, none);
.color(@white);
}
}
}
}
.detail-table tr.even {
background-color: #FAFBDF;
}

View File

@@ -1,505 +0,0 @@
/********************
*********************
HTML
*********************
********************/
BODY
{
BACKGROUND-COLOR: #000000;
COLOR:#FFFFFF;
}
input,select{
border:1px solid #999999;
background:#444444;
color:#FFFFFF;
}
.ui-helper-reset
{
line-height:auto;
}
.ui-tabs .ui-tabs-nav li a
{
padding:3px 5px 0;
}
.ui-tabs
{
background-color:tranparent;
padding:0;
border-style:none;
}
.ui-tabs .ui-tabs-nav
{
border:none;
padding:0px;
}
#sizeAns_slider,#nperpage_slider{
background-color:#666666;
border-color:#666666;
height:10px;
}
#sizeAns_slider .ui-slider-handle,#nperpage_slider .ui-slider-handle{
background-color:#1a1a1a;
width:8px;
cursor:col-resize;
}
.ui-widget-header
{
background:none;
border:transparent 0px none;
}
.ui-tabs .ui-tabs-nav li
{
background-color:transparent;
height:30px;
border:none;
overflow:hidden;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected
{
background-color:#404040;
border:none;
}
.ui-tabs .ui-tabs-nav li a
{
padding: 10px 8px;
font-size:0.8em;
font-weight:normal;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a
{
cursor:pointer;
}
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a
{
cursor: pointer;
}
.ui-tabs .ui-tabs-panel
{
overflow-x:hidden;
overflow-y:auto;
display: block;
border-width:0;
padding:0px;
background-color:#404040;
}
.ui-tabs .ui-tabs-panel.tabBox{
height:310px;
overflow:auto;
position:relative;
padding:10px;
}
.ui-tabs .ui-tabs-hide
{
display: none !important;
}
.ui-state-default, .ui-widget-content .ui-state-default
{
background:none;
}
.ui-tabs li.ui-state-active a, .ui-state-active a:link, .ui-state-active a
{
color:#b2b2b2;
font-weight:bold;
font-size:0.8em;
}
.ui-state-active, .ui-widget-content .ui-state-active
{
background:none;
}
.ui-widget-content
{
background-image:none;
background-color:transparent;
}
.ui-dialog.ui-widget-content
{
background-color:#111111;
}
.ui-accordion .ui-accordion-content
{
padding:0;
}
.ui-accordion .ui-accordion-header, .ui-accordion .ui-accordion-content
{
margin:3px 0;
}
.ui-accordion .ui-accordion-header
{
border:none;
background-image:url(../../icons/bask_back.png);
background-repeat:repeat-x;
margin-bottom:0;
height:20px;
}
#mainMenu a, #mainMenu b{
color:white;
}
.loading{
background-image:url('../../icons/loader000.gif');
background-position:center center;
background-repeat:no-repeat;
}
.baskLoading{
background-image:url('../../icons/baskLoader000.gif');
}
.prevLoading{
background-image:url('../../icons/prevloader000.gif');
}
A
{
COLOR: #FFFFFF;
}
.bodyprofile
{
background-color: #000000;
}
DIV.onglets SPAN
{
BACKGROUND-COLOR: #000000;
COLOR: #FFFFFF;
}
DIV.onglets SPAN.actif
{
BACKGROUND-COLOR: #444444;
COLOR: #FFFFFF;
}
#tooltip
{
BACKGROUND-COLOR: #333333;
color:#FFFFFF;
BORDER:1px solid white;
}
.descimpair
{
background:black;
}
#tooltip em{
background:red;
}
.bigTabs{
background-color:#000000;
}
.bigTabs.actif{
background-color:#333333;
}
#bigTabsBckg{
background-color:#000000;
}
/********************
*********************
TOPICS
*********************
********************/
#idongTopic UL.opened
{
border-left:1px solid #c0c0c0;
border-bottom:1px solid #c0c0c0;
}
#idongTopic LI A
{
color:#FFFFFF;
}
#idongTopic LI SPAN.static
{
background-image: url(../../tri_static.gif);
}
#idongTopic div.searchZonePop{
background-color:#333333;
}
/********************
*********************
RECHERCHE
*********************
********************/
.searchZone
{
background-color:#444444;
}
.bodyLeft{
background-color:#333333;
}
.basContTitle{
background-color:#4F4F4F;
COLOR:#FFFFFF;
}
.filter, .base_filter{
color:#999999;
}
.base_filter{
background-color:#444444;
}
.filterTitle{
background-color:#333333;
}
.basContTitle div.filter{
background-image:url('../../icons/filters_cl.gif');
}
.basContTitle div.open{
background-image:url('../../icons/filters_op.gif');
}
.basContainer{
border:2px solid #4F4F4F;
}
/********************
*********************
CHUTIER
*********************
********************/
.bodynochu
{
BACKGROUND-COLOR: #333333;
}
.diapochu
{
BACKGROUND-COLOR:#444444;
}
.flechenochu /*** page ***/
{
background-image:url('../../icons/light_bas2.gif');
}
#flechechu{
background-image:url('../../icons/light_haut2.gif');
}
.baskCreate{
background-image:url('../../icons/add.gif');
}
.baskDel,.baskOneDel{
background-image:url('../../icons/delete.gif');
}
.baskDownload,.baskOneDownload{
background-image:url('../../icons/download.gif');
}
.baskPrint{
background-image:url('../../icons/print.gif');
}
/********************
*********************
ANSWERS
*********************
********************/
.diapo
{
border: 1px solid #333333;
BACKGROUND-COLOR :#333333;
}
.duration
{
background-color:black;
color: white;
}
.PREV_PAGE, .NEXT_PAGE
{
background-image:url('../../icons/light_left.gif');
}
.NEXT_PAGE{
background-image:url('../../icons/light_right.gif');
}
.previewTips,.infoTips,.baskAdder,.printer,.downloader{
background-image:url('../../icons/zoom.gif');
}
.infoTips{
background-image:url('../../icons/info.gif');
}
.baskAdder{
background-image:url('../../icons/basket.gif');
}
.printer{
background-image:url('../../icons/print.gif');
}
.downloader{
background-image:url('../../icons/download.gif');
}
/********************
*********************
HOME
*********************
********************/
.homePubTitleBox
{
color:#FFFFFF;
}
.homePubLink
{
color:#FFFFFF;
}
.homePubTitle
{
color:#FFFFFF;
}
.moreLess{
color:white;
}
.boxPubli{
border:2px solid #444444;
}
.titlePubli{
background-color:#444444;
}
span.sel
{
color:#000000;
BACKGROUND-COLOR:#FFFFFF;
}
.divNavig
{
BACKGROUND-COLOR:#333333;
}
/********************
*********************
BANDEAU TOP
*********************
********************/
.colorpicker{
border:1px solid white;
}
#bandeau .box{
background-color:#000000;
}
#bandeau li.hover{
background-color:#333333;
}
#bandeau .hoverlist{
background-color:#444444;
border:1px solid #DDDDDD;
}
.colorpicker{
border:1px solid white;
}
/********************
*********************
MODAL
*********************
********************/
#OVERLAY,#OVERLAY2{
background-color:#111111;
}
.modalbox{
color:black;
display:none;
}
.modaltitle{
color:white;
background:black;
}
/********************
*********************
PREVIEW
*********************
********************/
#PREVIEWBOX
{
background-color:#000000;
color:white;
border-color:#BBBBBB;
}
#PREVIEWBOX A.bounce
{
BORDER-BOTTOM:#ffe000 1px dashed;
}
#PREVIEWCURRENT li.selected
{
background-color:white;
}
#PREVIEWIMGDESC em
{
background-color:red;
}
.cont_infos
{
background-color:#CCCCCC;
}
/********************
*********************
HELP
*********************
********************/
.client_help {
background-color:#000000;
}
.client_help kbd.ky {
background-color:#000000;
color:#FFFFFF;
border:#FFFFFF 1px solid;
}
.client_help kbd.tx {
background-color:#000000;
color:#FFFFFF;
border:#FFFFFF 1px solid;
}
.client_help no_i {
border-bottom:#ff0000 2px dotted;
}
.client_help i{
color:#FFFFFF;
}
/********************
*********************
BANDEAU ANSWER
*********************
********************/
#nb_answersEXT
{
background-color:#333333;
}
/********************
*********************
Onglets
*********************
********************/
#proposals h1{
color:#949494;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

Some files were not shown because too many files have changed in this diff Show More