Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Commit 26f35976 authored by robin banquo's avatar robin banquo

contact popup

parent 30191a50
$(document).ready(function () {
$('#editEmailModal').modal()
let email = $('#adminEmail').val()
if (!email) {
$('#editMailBtn').addClass('pulse')
setTimeout(()=>{
$('#editEmailModal').modal('open')
}, 400)
}
//au click sur inerer une section
$('#editEmailModal').modal()
$('.editEmailForm').submit(function (e) {
e.preventDefault()
let sectionId = this.id.split('-')[1]
......
......@@ -21,6 +21,14 @@ var Editable = {
if nothing is passed this is what it used */
text: "Zone de texte"
},
anchor: {
/* These are the default options for anchor form,
if nothing is passed this is what it used */
customClassOption: null,
customClassOptionText: 'Button',
linkValidation: false,
placeholderText: 'copier le lien ici',
},
imageDragging: false,
autoLink: true,
toolbar: {
......
......@@ -48,7 +48,7 @@ $(document).ready(function () {
document.getElementById("ScrollTopBtn").style.opacity = "0";
}
}
$('.editable a').attr('target', '_blank')
// When the user clicks on the button, scroll to the top of the document
$('#ScrollTopBtn').click(()=> {
$('html, body').animate( { scrollTop: $('body').offset().top }, 500 ); // Go
......
......@@ -5,7 +5,7 @@
"fields": {
"text": {
"type": "text",
"value": "<h4>Bienvenue sur votre site web<\/h4>"
"value": "<h4>Bienven<a href=\"https:\/\/www.facebook.com\/\">ue sur votre site web<\/a><\/h4>"
},
"imgUrl": {
"type": "text",
......@@ -13,6 +13,20 @@
}
}
},
{
"id": "5aaba67baf617",
"module": "contact",
"fields": {
"text": {
"type": "text",
"value": "<h5 style=\"text-align:center;\"> Contactez nous :<\/h5><p style=\"text-align:center;\">Lorem ipsum dolor sit amet, cons ectetur adipisicing elit. Doloremque eveniet facilis odio repellendus sunt veritatis.\u00a0<br \/><\/p>"
},
"email": {
"type": "text",
"value": "caramaschi@hotmail.com"
}
}
},
{
"id": "5a9daf76dc5fa",
"module": "three_goals",
......@@ -151,7 +165,7 @@
},
"text": {
"type": "text",
"value": "<p style=\"text-align:center;\">Vous avez des comp\u00e9tences en d\u00e9veloppement ou en design ?<\/p><p style=\"text-align:center;\">Des id\u00e9es pour am\u00e9liorer cet outil ?<\/p><h5 style=\"text-align:center;\">Rejoignez-nous sur Framagit, c\u2019est ouvert \u00e0 toutes et \u00e0 tous !<\/p>"
"value": "<p style=\"text-align:center;\">Vous avez des comp\u00e9tences en d\u00e9veloppement ou en design ?<\/p><p style=\"text-align:center;\">Des id\u00e9es pour am\u00e9liorer cet outil ?<\/p><h5 style=\"text-align:center;\">Rejoignez-nous sur Framagit, c\u2019est ouvert \u00e0 toutes et \u00e0 tous !<\/h5><p><\/p>"
},
"btnLabel": {
"type": "text",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment