46 lines
2.1 KiB
Plaintext
46 lines
2.1 KiB
Plaintext
extends layout.pug
|
|
|
|
block append scripts
|
|
script(src="/JS/polyfill.app.js" defer)
|
|
script(src="/JS/subscribe.app.js" defer)
|
|
|
|
block content
|
|
|
|
div(id="home" class="cardboard")
|
|
p
|
|
img(id="logo" src="/themes/wikilerni/img/wikilerni-purple-2-512.png" alt="Logo WikiLerni")
|
|
h2(class="cardboard") #{config.siteName+" - "+configTpl.siteSlogan}
|
|
|
|
div(class="engraved framed")
|
|
h3 #{configTpl.homeTitle1}
|
|
p !{configTpl.homeP1}
|
|
h3 #{configTpl.homeTitle2}
|
|
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")
|
|
|
|
- nbQuestionnairesList=configTpl.maxQuestionnairesSiteHomePage;
|
|
include includes/listing-questionnaires.pug |