Merge remote-tracking branch 'alchemy/master' into PHRAS-1734_PORT_PHRAS-1589

# Conflicts:
#	resources/locales/messages.de.xlf
#	resources/locales/messages.en.xlf
#	resources/locales/messages.fr.xlf
#	resources/locales/messages.nl.xlf
#	resources/locales/validators.de.xlf
#	resources/locales/validators.en.xlf
#	resources/locales/validators.fr.xlf
#	resources/locales/validators.nl.xlf
This commit is contained in:
Mike Ng
2018-01-09 09:50:27 +04:00
78 changed files with 4604 additions and 2183 deletions

View File

@@ -12,7 +12,7 @@ main:
port: 3306
user: '{{ mariadb.user }}'
password: '{{ mariadb.password }}'
dbname: '{{ mariadb.appbox_db }}'
dbname: '{{ mariadb.appbox_db }}'
driver: pdo_mysql
charset: UTF8
database-test:

View File

@@ -21,6 +21,6 @@
when: php.pecl_packages is defined
- name: Enable extension
shell: php5enmod {{ item.name }}
shell: phpenmod {{ item.name }}
with_items: '{{ php.pecl_packages }}'
when: php.pecl_packages is defined

View File

@@ -48,5 +48,7 @@ gulp.task('build-vendors', [
'build-requirejs',
'build-jquery-treeview',
'build-jquery-lazyload',
'build-jquery-test-paths'
], function() {});
'build-jquery-test-paths',
'build-simple-colorpicker'
], function () {
});

View File

@@ -0,0 +1,12 @@
var gulp = require('gulp');
var config = require('../../config.js');
var utils = require('../../utils.js');
gulp.task('build-simple-colorpicker', function () {
gulp.start('copy-simple-colorpicker');
});
gulp.task('copy-simple-colorpicker', function () {
return gulp.src(config.paths.vendors + 'jquery-simplecolorpicker/*')
.pipe(gulp.dest(config.paths.build + 'vendors/jquery-simplecolorpicker'));
});

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -13080,4 +13080,4 @@
</trans-unit>
</body>
</file>
</xliff>
</xliff>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2017-12-22T11:45:35Z" source-language="en" target-language="de" datatype="plaintext" original="not.available">
<file date="2018-01-09T05:47:20Z" source-language="en" target-language="de" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2017-12-22T11:46:20Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<file date="2018-01-09T05:47:59Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2017-12-22T11:47:12Z" source-language="en" target-language="fr" datatype="plaintext" original="not.available">
<file date="2018-01-09T05:48:46Z" source-language="en" target-language="fr" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2017-12-22T11:48:10Z" source-language="en" target-language="nl" datatype="plaintext" original="not.available">
<file date="2018-01-09T05:49:38Z" source-language="en" target-language="nl" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

View File

@@ -336,6 +336,200 @@ div.switch_right.unchecked {
margin-top: 5px;
}
.alert .close {
text-decoration: none;
}
.subdefs [id^="box"] {
display: none;
}
.subdefs .subviews-submit {
position: fixed;
top: 75px;
right: 40px;
z-index: 1;
}
h2.subdefName {
display: inline-block;
margin-right: 1.5rem;
}
.reload, .loader, .status {
display: inline-block;
}
.langTab {
display: inline-block;
vertical-align: top;
}
.langTab h3 {
font-weight: 700;
font-size: 13px;
margin: 4px 0;
line-height: 11px;
text-align: center;
}
.toggle {
display: block;
margin: 15px 0;
color: #08c;
cursor: pointer;
}
.subdefTab input, .langTab input {
margin: 0;
}
label[for="elasticsearch_settings_highlight"] {
display: inline-block;
margin-left: 0.5rem;
margin-bottom: 1rem;
}
input[id="elasticsearch_settings_highlight"] {
float: left;
}
#downbutton {
margin: 1rem 0;
}
#upbutton {
width: 100%;
text-align: left;
}
#upbutton i {
position: relative;
left: -5px;
}
#downbutton i {
position: relative;
left: -5px;
}
.form-horizontal .controls + div {
margin-left: 180px;
font-style: italic;
}
.ui-dialog .ui-dialog-content {
position: relative;
border: 0;
padding: .5em 1em;
background: none;
margin-bottom: 7rem;
overflow: visible;
}
/******* SETUP *******************************************************************/
#custom-link-table {
width: 100%;
thead {
th {
text-align: left;
font-weight: bold;
}
}
td {
height: 30px;
width: 19%;
input {
width: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
height: 30px;
}
select {
width: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
height: 30px;
}
.simplecolorpicker {
width: 21px;
height: 21px;
background-repeat: no-repeat;
background-size: contain !important;
background-position: center center;
border: none;
margin-right: 3px;
}
button {
height: 30px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
}
td:nth-of-type(5) {
width: 14%;
}
td:nth-of-type(6) {
width: 3%;
}
td:nth-of-type(7) {
width: 3%;
}
td:last-child {
width: 8%;
}
}
span.simplecolorpicker.picker {
min-width: 0px;
width: 22px;
margin-top: -360px;
border-radius: 0px;
margin-left: 4px;
padding: 0;
span {
width: 20px;
margin: 0px;
}
}
#add-row {
margin-top: 10px;
margin-bottom: 20px;
float: right;
}
.link_check_box:before {
content: "";
display: inline-block;
width: 30px;
height: 30px;
background: url(/assets/common/images/icons/Bouton-Bold.png) #fff;
background-repeat: no-repeat;
background-size: 75%;
background-position: center center;
}
.link_check_box:checked:before {
content: "";
display: inline-block;
width: 30px;
height: 30px;
background: url(/assets/common/images/icons/Bouton-bold-active.png) #fff;
background-repeat: no-repeat;
background-size: 75%;
background-position: center center;
}
@media screen and (max-width: 1150px) {
.langTab {
display: block;
}
}
@import './databases';
@import './fields';
@import './tables';
@import './tables';

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

After

Width:  |  Height:  |  Size: 894 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 714 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

View File

@@ -31,10 +31,14 @@ var commonModule = (function ($, p4) {
$(this).removeClass('context-menu-item-hover');
});
$('#help-trigger').contextMenu('#mainMenu .helpcontextmenu', {openEvt: 'click', dropDown: true, theme: 'vista', dropDown: true,
showTransition: 'slideDown',
hideTransition: 'hide',
shadow: false
// $('#help-trigger').contextMenu('#mainMenu .helpcontextmenu', {openEvt: 'click', dropDown: true, theme: 'vista', dropDown: true,
// showTransition: 'slideDown',
// hideTransition: 'hide',
// shadow: false
// });
$('body').on('click', '.infoDialog', function (event) {
infoDialog($(this));
});
});
@@ -89,6 +93,26 @@ var commonModule = (function ($, p4) {
$('#' + div).hide().remove();
}
function infoDialog(el) {
$("#DIALOG").attr('title', '')
.empty()
.append(el.attr('infos'))
.dialog({
autoOpen: false,
closeOnEscape: true,
resizable: false,
draggable: false,
width: 600,
height: 400,
modal: true,
overlay: {
backgroundColor: '#000',
opacity: 0.7
}
}).dialog('open').css({'overflow-x': 'auto', 'overflow-y': 'auto'});
}
// @deprecated
function manageSession(data, showMessages) {