Fixed file insertion in wysiywg modal window for qware template. Fixed css in qware template
This commit is contained in:
parent
79fd3fbfea
commit
bb2f049277
@ -21,6 +21,11 @@
|
||||
}
|
||||
|
||||
#data div.tab-content.container-fluid form input{
|
||||
min-width: 59px;
|
||||
max-width: 180px;
|
||||
}
|
||||
|
||||
#data div.tab-content.container-fluid form input.btn{
|
||||
min-width: 180px;
|
||||
max-width: 180px;
|
||||
}
|
||||
@ -63,7 +68,7 @@
|
||||
}
|
||||
|
||||
.input-group-text {
|
||||
min-width: 53px;
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
.input-group-text.large {
|
||||
|
@ -24,7 +24,7 @@
|
||||
</div>
|
||||
</mx:bloc id="blocName">
|
||||
</div>
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<div class="input-group col-xs-12 col-sm-8 col-lg-4 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-group"></i></span>
|
||||
@ -52,7 +52,7 @@
|
||||
<h3><mx:text id="etape2"/><mx:text id="double_dots"/><mx:text id="complementInformation"/></h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-envelope-o"><span class="text-danger"> *</span></i></span>
|
||||
@ -78,7 +78,7 @@
|
||||
<mx:formField id="node_mobilizon" id="node_mobilizon"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-matrix-org"></i></span>
|
||||
@ -104,7 +104,7 @@
|
||||
<mx:formField id="node_twitter" id="node_twitter"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-facebook"></i></span>
|
||||
@ -120,7 +120,7 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<!-- <form id="formUpload" role="form" class="text-center px-0" method="post" enctype="multipart/form-data" mXattribut="action:urlUpload"> -->
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<input type='hidden' class="hidden" name='MAX_FILE_SIZE' value='10000000000000'/>
|
||||
<div class="input-group col-xs-12 col-sm-8 col-lg-3 px-10 m-0 justify-content-center">
|
||||
<div class="custom-file">
|
||||
@ -153,7 +153,7 @@
|
||||
<h3><mx:text id="etape4"/><mx:text id="double_dots"/><mx:text id="briquesList"/></h3> (<a href="javascript:void(0);" onclick="setCheckOptions('fmNodeAdd', 'class_id[]'); return false;"><mx:text id="selectall"/></a>)
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<mx:bloc id="actionAdminClass">
|
||||
<div class="input-group col-xs-12 col-sm-8 col-lg-3 justify-content-center">
|
||||
<div class="input-group-prepend full-large">
|
||||
@ -173,7 +173,7 @@
|
||||
<h3><mx:text id="etape5"/><mx:text id="double_dots"/><mx:text id="user_admin"/></h3>
|
||||
</div>
|
||||
<div class="card-body center-block">
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-venus-mars"></i></span>
|
||||
@ -199,7 +199,7 @@
|
||||
<mx:formField id="user_mail" id="mail"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-user-secret"><span class="text-danger"> *</span></i></span>
|
||||
@ -225,7 +225,7 @@
|
||||
<mx:formField id="user_birthdate" id="birthdate" data-provide="datepicker" data-date-format="dd/mm/yyyy" data-date-language="fr"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
|
||||
@ -251,7 +251,7 @@
|
||||
<mx:formField id="user_country" id="country"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
|
||||
@ -271,7 +271,7 @@
|
||||
<mx:formField id="user_fax" id="fax"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1 w-100">
|
||||
<div class="row mb-0 w-100">
|
||||
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-mastodon"></i></span>
|
||||
|
@ -59,7 +59,7 @@
|
||||
border: 0 !important;
|
||||
/* box-shadow: 4px 3px 8px 1px #969696; */
|
||||
border-radius: 0 !important;
|
||||
opacity: .90;
|
||||
/* opacity: .90; */
|
||||
}
|
||||
|
||||
#data-guest div.tab-content.container-fluid,
|
||||
@ -68,13 +68,13 @@
|
||||
padding-bottom: 0 !important;
|
||||
border: 0 !important;
|
||||
border-radius: 12px !important;
|
||||
opacity: .90;
|
||||
/* opacity: .90; */
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#data div.tab-content.container-fluid div.card.w-100{
|
||||
/* background-color: transparent; */
|
||||
opacity: .90;
|
||||
/* opacity: .90; */
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,9 @@ var $tabForbidden=array("adminentrynode", "admingroup", "adminnode", "home", "ad
|
||||
mxCallJs($arrayCallJs);
|
||||
|
||||
$arrayRawJs[] = "\$('.datepicker').datepicker();";
|
||||
$arrayRawJs[] = "function imgPicto(){if(document.getElementById){if(document.getElementById(\"fmNodeAdd\")){var obj=document.getElementById(\"template\");document.getElementById(\"pictoObject\").src=\"data/image/icons/node/\"+document.getElementById(\"fmNodeAdd\").iconeN.options[(document.getElementById(\"fmNodeAdd\").iconeN.selectedIndex)].value;}}else if(document.all){if(document.all[\"fmNodeAdd\"]){document.all[\"pictoObject\"].src=\"data/image/icons/node/\"+document.all[\"fmNodeAdd\"].iconeN.options[(document.all[\"fmNodeAdd\"].iconeN.selectedIndex)].value;}}}function Valid_register(the_form,the_field){var objectform = document.forms[the_form];var nbr = objectform.length;var flag = 0;for(z=0 ; z < nbr; z++){if(objectform.elements[z].checked == true && objectform.elements[z].name == the_field){flag=1;}}if(flag == 0){alert('<mx:text id=\"selectbriques\"/>');return false;}objectform.submit();}function imgTemplate(){if(document.getElementById){if(document.getElementById(\"fmNodeAdd\")){var obj=document.getElementById(\"template\");document.getElementById(\"pictoTemplate\").src=\"data/template/\"+obj.options[(obj.selectedIndex)].value+\"/preview.png\";}}else if(document.all){if(document.all[\"fmNodeAdd\"]){var obj=document.all[\"template\"];document.all[\"pictoTemplate\"].src=\"data/template/\"+obj.options[(obj.selectedIndex)].value+\"/preview.png\";}}}imgTemplate();function setSelectOptions(the_form, the_select, do_check){var selectObject = document.forms[the_form].elements[the_select];var selectCount = selectObject.length;for (var i = 0; i < selectCount; i++){selectObject.options[i].selected = do_check;}return true;}function setCheckOptions(the_form, the_select){var selectObject = document.forms[the_form];var selectCount = selectObject.length;for (var i = 0; i < selectCount; i++) {if(selectObject.elements[i].name == the_select){if(selectObject.elements[i].checked == true){selectObject.elements[i].checked = false;}else{selectObject.elements[i].checked = true;}}}return true;}\$(document).ready( function(){\$('#contentResumeInfos').summernote({lang: 'fr_FR',toolbar: [['style', ['style','fontsize']],['font', ['bold', 'underline', 'clear']],['fontname', ['fontname']],['color',['backcolor','color']],['para', ['style','ul', 'ol', 'paragraph']],['table', ['table']],['hr', ['hr']],/* File plugin not enabled */ /* ['insert', ['file','link', 'picture', 'video']], */ ['insert', ['link', 'picture', 'video']],['view', ['fullscreen', 'codeview']],['misc', ['undo', 'redo']],],height: 180,disableResizeEditor: true, /* disable resizing editor */ airMode: false,});});\$(document).ready( function(){\$('#contentTextInfos').summernote({lang: 'fr_FR',toolbar: [['style', ['style','fontsize']],['font', ['bold', 'underline', 'clear']],['fontname', ['fontname']],['color',['backcolor','color']],['para', ['style','ul', 'ol', 'paragraph']],['table', ['table']],['hr', ['hr']],/* File plugin not enabled */ /* ['insert', ['file','link', 'picture', 'video']], */ ['insert', ['link', 'picture', 'video']],['view', ['fullscreen', 'codeview']],['misc', ['undo', 'redo']],],height: 650,disableResizeEditor: true, /* disable resizing editor */ airMode: false,});});\$('.custom-file input').change(function (e) {var files = [];for (var i = 0; i < $(this)[0].files.length; i++) {files.push($(this)[0].files[i].name);}$(this).next('.custom-file-label').html(files.join(', '));});";
|
||||
$arrayRawJs[] = "function imgPicto(){if(document.getElementById){if(document.getElementById(\"fmNodeAdd\")){var obj=document.getElementById(\"template\");document.getElementById(\"pictoObject\").src=\"data/image/icons/node/\"+document.getElementById(\"fmNodeAdd\").iconeN.options[(document.getElementById(\"fmNodeAdd\").iconeN.selectedIndex)].value;}}else if(document.all){if(document.all[\"fmNodeAdd\"]){document.all[\"pictoObject\"].src=\"data/image/icons/node/\"+document.all[\"fmNodeAdd\"].iconeN.options[(document.all[\"fmNodeAdd\"].iconeN.selectedIndex)].value;}}}function Valid_register(the_form,the_field){var objectform = document.forms[the_form];var nbr = objectform.length;var flag = 0;for(z=0 ; z < nbr; z++){if(objectform.elements[z].checked == true && objectform.elements[z].name == the_field){flag=1;}}if(flag == 0){alert('<mx:text id=\"selectbriques\"/>');return false;}objectform.submit();}function imgTemplate(){if(document.getElementById){if(document.getElementById(\"fmNodeAdd\")){var obj=document.getElementById(\"template\");document.getElementById(\"pictoTemplate\").src=\"data/template/\"+obj.options[(obj.selectedIndex)].value+\"/preview.png\";}}else if(document.all){if(document.all[\"fmNodeAdd\"]){var obj=document.all[\"template\"];document.all[\"pictoTemplate\"].src=\"data/template/\"+obj.options[(obj.selectedIndex)].value+\"/preview.png\";}}}imgTemplate();function setSelectOptions(the_form, the_select, do_check){var selectObject = document.forms[the_form].elements[the_select];var selectCount = selectObject.length;for (var i = 0; i < selectCount; i++){selectObject.options[i].selected = do_check;}return true;}function setCheckOptions(the_form, the_select){var selectObject = document.forms[the_form];var selectCount = selectObject.length;for (var i = 0; i < selectCount; i++) {if(selectObject.elements[i].name == the_select){if(selectObject.elements[i].checked == true){selectObject.elements[i].checked = false;}else{selectObject.elements[i].checked = true;}}}return true;}
|
||||
|
||||
\$(document).ready( function(){\$('#contentResumeInfos').summernote({lang: 'fr_FR',toolbar: [['style', ['style','fontsize']],['font', ['bold', 'underline', 'clear']],['fontname', ['fontname']],['color',['backcolor','color']],['para', ['style','ul', 'ol', 'paragraph']],['table', ['table']],['hr', ['hr']],/* File plugin not enabled */ /* ['insert', ['file','link', 'picture', 'video']], */ ['insert', ['file', 'link', 'picture', 'video']],['view', ['fullscreen', 'codeview']],['misc', ['undo', 'redo']],],height: 180,disableResizeEditor: true, /* disable resizing editor */ airMode: false,});});\$(document).ready( function(){\$('#contentTextInfos').summernote({lang: 'fr_FR',toolbar: [['style', ['style','fontsize']],['font', ['bold', 'underline', 'clear']],['fontname', ['fontname']],['color',['backcolor','color']],['para', ['style','ul', 'ol', 'paragraph']],['table', ['table']],['hr', ['hr']],/* File plugin not enabled */ /* ['insert', ['file','link', 'picture', 'video']], */ ['insert', ['link', 'picture', 'video']],['view', ['fullscreen', 'codeview']],['misc', ['undo', 'redo']],],height: 650,disableResizeEditor: true, /* disable resizing editor */ airMode: false,});});\$('.custom-file input').change(function (e) {var files = [];for (var i = 0; i < $(this)[0].files.length; i++) {files.push($(this)[0].files[i].name);}$(this).next('.custom-file-label').html(files.join(', '));});";
|
||||
mxRawJs($arrayRawJs);
|
||||
|
||||
/* On inclus la template (voir package.template.php) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user