Skip to content
Extraits de code Groupes Projets
Valider 826ddc8d rédigé par jordan's avatar jordan
Parcourir les fichiers

[]

parent a206a5d5
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -2,15 +2,19 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). */
.ethikis-flag{
width: 5%;
width: 25px;
margin: 5px;
}
.ethikis-survey {
font-family: 'Montserrat', sans-serif;
max-width: 900px;
padding: 20px;
margin: 10px auto;
background-image: url('/ethikis_survey/static/src/css/background.jpg');
background-repeat: no-repeat;
background-size: cover;
background-blend-mode: luminosity;
background-color: white;
color:#3D3D3D;
}
.ethikis-survey h1, .ethikis-survey h2, .ethikis-survey h3, .ethikis-survey h4 {
font-weight: 700;
......@@ -53,23 +57,10 @@
text-decoration: none;
}
.ethikis-body {
background-image: url('/ethikis_survey/static/src/css/background.jpg');
background-repeat: no-repeat;
background-size: cover;
background-blend-mode: luminosity;
color:#3D3D3D;
}
.ethikis-body main {
padding-bottom: 150px;
}
.ethikis-footer {
background-color: #3D3D3D;
bottom: 0;
width: 100%;
position: fixed;
}
.fa {
......@@ -117,10 +108,12 @@
background-color: #61C4E1;
color: white;
border-radius: 20px;
text-transform: uppercase;
}
.ethikis-btn-green {
background-color: #009036;
color: white;
border-radius: 20px;
text-transform: uppercase;
}
\ No newline at end of file
......@@ -7,7 +7,7 @@
<!-- remplace le body pour supprimer le header et ajouter le footer -->
<xpath expr="//body" position="replace">
<body class="ethikis-body">
<body>
<header>
</header>
<main class="ethikis-survey">
......@@ -137,6 +137,8 @@
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
<input type="hidden" name="page_id" t-att-value="page.id" />
<input type="hidden" name="token" t-att-value="token" />
<div class="row">
<div class="col-9">
<t t-foreach='page.question_ids' t-as='question'>
<t t-set="prefix" t-value="'%s_%s_%s' % (survey.id, page.id, question.id)" />
<div class="js_question-wrapper" t-att-id="prefix">
......@@ -155,7 +157,9 @@
<div class="js_errzone alert alert-danger" style="display:none;" role="alert"/>
</div>
</t>
<div class="text-right mt16 mb16">
</div>
</div>
<div class="text-right mt16 mb16 mr32">
<button t-if="survey.users_can_go_back and page_nr > 0" type="submit" class="btn ethikis-btn-green" name="button_submit" value="previous">Previous page</button>
<button t-if="not last" type="submit" class="btn ethikis-btn-blue" name="button_submit" value="next">Save or continue</button>
<button t-if="last" type="submit" class="btn ethikis-btn-blue" name="button_submit" value="finish">Submit survey</button>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter