2020-08-07 12:23:59 +02:00
|
|
|
extends layout.pug
|
|
|
|
|
|
|
|
block append scripts
|
|
|
|
script(src="/JS/polyfill.app.js" defer)
|
2020-11-30 16:10:53 +01:00
|
|
|
script(src="/JS/subscribe.app.js" defer)
|
2020-08-07 12:23:59 +02:00
|
|
|
|
|
|
|
block content
|
|
|
|
|
2020-09-04 12:58:44 +02:00
|
|
|
div(id="home" class="cardboard")
|
2020-08-07 12:23:59 +02:00
|
|
|
p
|
|
|
|
img(id="logo" src="/themes/wikilerni/img/wikilerni-purple-2-512.png" alt="Logo WikiLerni")
|
2020-11-04 10:02:04 +01:00
|
|
|
h2(class="cardboard") #{config.siteName+" - "+configTpl.siteSlogan}
|
2020-08-07 12:23:59 +02:00
|
|
|
|
2020-09-04 12:58:44 +02:00
|
|
|
div(class="engraved framed")
|
2020-08-07 12:23:59 +02:00
|
|
|
h3 #{configTpl.homeTitle1}
|
|
|
|
p !{configTpl.homeP1}
|
|
|
|
h3 #{configTpl.homeTitle2}
|
2020-11-30 16:10:53 +01:00
|
|
|
p !{configTpl.homeP2}
|
|
|
|
//p
|
|
|
|
// a(href="/"+configTpl.aboutPage class="button cardboard" title=configTpl.homeBtnAboutTxt) #{configTpl.homeBtnAboutTxt}
|
|
|
|
|
|
|
|
div(class="engraved framed")
|
|
|
|
// Formulaire d'inscription :
|
|
|
|
noscript
|
|
|
|
div
|
|
|
|
strong #{configTpl.noJSNotification}
|
|
|
|
- const cguOkLabel = txtUser.formsCGUOkLabel.replace("#link", "/"+configTpl.cguPage);
|
|
|
|
form(id="subscription" method="POST" class="needJS")
|
|
|
|
h3 #{configTpl.homeSubcriptionFormTitle}
|
|
|
|
fieldset
|
|
|
|
label(for="email") #{txtUser.formsEmailLabel}
|
|
|
|
input(id="email" type="email" name="email" placeholder=txtUser.formsEmailPlaceholder class="cardboard")
|
|
|
|
input(id="email2" type="email" name="email2" placeholder=txtUser.formsEmail2Placeholder class="needJS")
|
|
|
|
div#emailMessage
|
|
|
|
ul(class="checkbox_li")
|
|
|
|
li(class="checkbox_li")
|
|
|
|
label(for="cguOk" class="check")
|
|
|
|
input(type="checkbox" id="cguOk" name="cguOk" value="true")
|
|
|
|
div(class="checkbox_override")
|
|
|
|
span !{cguOkLabel}
|
|
|
|
div(class="input_wrapper")
|
|
|
|
input(id="submitDatas" type="submit" value=txtUser.formsSubmitTxt class="cardboard")
|
|
|
|
div(id="response")
|
|
|
|
|
2020-08-07 12:23:59 +02:00
|
|
|
- nbQuestionnairesList=configTpl.maxQuestionnairesSiteHomePage;
|
|
|
|
include includes/listing-questionnaires.pug
|